| Previous | Next |
| NS_E_WMP_BAD_DRIVER | NS_E_WMP_LICENSE_RESTRICTS |
NS_E_WMP_ACCESS_DENIED
Diagnosing NS_E_WMP_ACCESS_DENIED in the Windows Media Player playback path
NS_E_WMP_ACCESS_DENIED (0xC00D11D2) is returned when the Player was denied access to a file, share, server resource or proxy-protected object.
Trace path or URL resolution, proxy and network selection, parser and codec discovery, graph construction, rendering and optional DRM as separate layers. The actionable checkpoint is the Player was denied access to a file, share, server resource or proxy-protected object. Although this result may appear as “cannot play” or “cannot save,” it belongs to a specific object state that should be diagnosed directly.
Playback boundary
AllStat already supplies the standard user-facing description for this HRESULT; this custom block instead isolates the additional technical boundary. Earlier success in file lookup, network connection, parser creation or graph construction does not prove that the later the operation is valid.
Case-specific checkpoint: resolved object, access token, ACL/share permissions, HTTP status, proxy challenge, sharing mode and impersonation state. The controlled comparison for this HRESULT is: open the exact resource under the same account through the same path and operation mode.
Closest distinction: NS_E_WMP_LOGON_FAILURE specifically indicates rejected credentials rather than every form of authorization denial.
Capture the first failing layer
| Capture | Why it matters for this HRESULT |
|---|---|
| Object or resource | resolved object, access token, ACL/share permissions, HTTP status, proxy challenge, sharing mode and impersonation state |
| State snapshot | Record the Player openState/playState or operation phase, object identity and exact timestamp when this result was returned. |
| First lower result | Keep the earliest Win32, Winsock, COM, parser, codec, DRM or device result that appears before this result. |
| Comparison record | Use one known-good case that follows the same API, protocol and component path while changing only the rejected precondition. |
Controlled playback comparison
- Capture the resource identity and resolved object, access token, ACL/share permissions, HTTP status, proxy challenge, sharing mode and impersonation state.
- verify that the caller uses the current Playlist, Media, Network, graph, device or DRM object generation.
- Run the narrow experiment: open the exact resource under the same account through the same path and operation mode.
- Do not mix the result experiment with a codec pack, Player reset or broad registry cleanup.
- After this result, treat a new specific HRESULT as evidence that this boundary was cleared.
How to interpret the retest
| Retest outcome | Interpretation |
|---|---|
| Same it on the same object | The governing state or value is unchanged, or the caller is reusing an object created before the relevant change. |
| Fresh object succeeds | Lifetime, cached configuration or stale playlist/graph state contributed to it. |
| A later HRESULT appears | The rejected condition — the Player was denied access to a file, share, server resource or proxy-protected object — was cleared for this HRESULT; diagnose the new code at its own layer. |
| Only one item or endpoint fails for this HRESULT | The evidence favors resource-specific data, rights, routing or device state rather than a global Player failure. |
Actions that obscure the cause
- running permanently as administrator instead of correcting the narrow ACL or credential boundary.
- Do not discard the first occurrence by repeatedly invoking Play, open, save or retry; later events can replace its original state.
- do not publish credentials, private URLs, license material or complete protected-content headers; retain only redacted identifiers, lengths, hashes and protocol fields.
Technical references
- Supported protocols and file types
- Using Windows Media in DirectShow
- Working with codecs
- DirectShow filters
- Microsoft HRESULT registry
The result fix is demonstrated by the same Player path succeeding with the same resource, not by another application opening it.
Looking for a different code? Search another status or error code.