| Previous | Next |
| NS_E_WMP_ACCESS_DENIED | NS_E_WMP_INVALID_REQUEST |
NS_E_WMP_LICENSE_RESTRICTS
Why the symbolic result matters
When NS_E_WMP_LICENSE_RESTRICTS is returned, the system has already established that the content license explicitly prohibits the selected Player action. Within Windows Media Player rights processing, this result is raised while processing the Player layer that opens protected media, queries the local license state, performs silent or interactive rights acquisition, validates DRM components and applies play, burn or sync restrictions.
Confirm the producer by doing one thing first: query the action-specific rights and restriction attributes rather than treating the result as corruption.
Objects involved
The object graph behind this result includes content KID and header, license-store entry, requested action, acquisition URL, user/store context, secure clock and DRM component generation. A trace should retain the content KID, requested action, license-state query, acquisition callback sequence, server response category and the first lower-level DRM HRESULT.
That observation distinguishes this result from file corruption because the content license explicitly prohibits the selected Player action.
Cause and successor state
Reconstruct the transition from the requested action to the rejected condition. The proof step is to query the action-specific rights and restriction attributes rather than treating the result as corruption; the repaired transition must then disable the prohibited command or obtain rights that explicitly allow it. The result model is suitable for a regression fixture because its expected state change is observable without weakening the DRM policy.
What separates this code
| Field | Value |
|---|---|
| Policy input | requested action plus the exact license, certificate, profile, output or registration property evaluated by it |
| Temporal state | trusted/system time, validity interval, request sequence and retry number when they influence it |
| Lower result | the earliest store, network, cryptographic, driver or provider status preceding the final it wrapper |
| Owner | operation, API/callback, object or session identifier, and component/device version associated with it |
| Direct check | query the action-specific rights and restriction attributes rather than treating the result as corruption |
Adjacent HRESULTs
| Result | Why it points elsewhere |
|---|---|
NS_E_WMP_DRM_DRIVER_AUTH_FAILURE | the protected playback path cannot authenticate the audio driver at the required trust level |
NS_E_WMP_DRM_NEEDS_AUTHORIZATION | the Player DRM components require an online authorization or security update before the action can continue |
NS_E_WMP_DRM_NEW_HARDWARE | machine binding changed enough that previously stored rights no longer validate against the current hardware identity |
First failure versus cleanup
The established fact is that the content license explicitly prohibits the selected Player action. That fact does not independently establish damaged media bytes, a missing decoder, a generally broken network, or invalid rights for every other action.
If the Player, encoder, setup program or device layer later emits a broader error, retain it as the first specific result. The object and operation attached to it are usually more diagnostic than a later cleanup or user-interface summary.
Verification sequence
- Preserve it and
0xC00D11D3before cleanup, fallback or another media item changes the context. - Compare the failure with a known-good case that changes only the property named by this condition: the content license explicitly prohibits the selected Player action.
- Apply the narrow correction for this HRESULT: disable the prohibited command or obtain rights that explicitly allow it.
- Associate it with its current Windows Media Player rights processing object and the requested action.
- Run the direct check for this HRESULT: query the action-specific rights and restriction attributes rather than treating the result as corruption.
- Repeat the same action with the same content/device identity and verify that it is not replaced by another policy or trust failure.
Safe recovery
Recovery should change the failed precondition by choosing to disable the prohibited command or obtain rights that explicitly allow it. Success means that the same requested action is accepted after that precise state change, not merely that another file or device happens to work.
- A broad reset is not the first step for this HRESULT; Do not reset the local DRM store before recording the content KID and license-state result; a reset can turn a precise rights or signature failure into a generic missing-license condition.
- Do not alter trusted time, revocation enforcement, certificate validation or output policy merely to suppress it; that bypasses the decision instead of correcting its input.
- Retain one failing artifact and one corrected artifact so the resolution of it can be regression-tested.
A useful automated test
For the final it test, keep the content KID or file hash, requested action, user/account, device identity and output route unchanged wherever they apply.
Technical references
- Windows Media DRM overview — provides the normative workflow relevant to it.
- Acquiring licenses — lists the security and state transitions used to interpret it.
- Licenses and the local license store — defines the platform objects used when diagnosing it.
- Windows Media Format SDK error codes — documents the protocol or API boundary behind it.
Looking for a different code? Search another status or error code.