Fix NS_E_DRM_LICENSE_NOTACQUIRED (0XC00D2759) in Windows Media Player
This error pops up when Windows Media Player can't grab a DRM license for protected content, often due to outdated DRM files or a busted credential cache.
When this error hits
You're trying to play a song or video you bought—maybe an old WMA file from a store that went under, or a protected stream from a subscription service. Windows Media Player spins for a second, then throws NS_E_DRM_LICENSE_NOTACQUIRED (0xC00D2759). The player says it can't get the license. This usually happens after a Windows update (like the 22H2 update for Windows 10) or after you reinstalled the OS but kept your media files.
Why it happens
The root cause is simple: the DRM files Windows uses to store and negotiate licenses got corrupted or expired. Microsoft's DRM (Digital Rights Management) system—called Windows Media DRM—stores license URLs and user credentials in a local folder. If that folder's contents are damaged, Windows Media Player can't talk to the license server. It's not that your license is invalid; it's that the local cache is broken. I've seen this after a system restore, a failed update, or even after running a disk cleaner that nuked the DRM directory.
The real fix: reset DRM files
Skip all the voodoo about reinstalling codecs or running sfc /scannow. The actual fix is to delete the DRM file store and let Windows rebuild it.
- Close Windows Media Player and any app that uses DRM (like a video store app or a streaming service).
- Open File Explorer and go to
C:\ProgramData\Microsoft\Windows\DRM. If you don't see ProgramData, type it directly into the address bar. - Delete everything in that folder. Don't worry—Windows will recreate them on the next boot. If you get a permission error, take ownership: right-click the DRM folder, go to Properties > Security > Advanced, change the owner to your user account, and give yourself full control. Then delete the contents.
- Empty the Recycle Bin (optional but recommended).
- Restart your PC. This forces Windows to rebuild the DRM store.
- Open Windows Media Player and try playing the file again. You'll likely see a prompt to acquire the license—click OK and let it do its thing.
That's it. Nine times out of ten, this kills the error. But here's a nuance: if you're using Windows 11 (especially 23H2 or later), the DRM folder might be in a slightly different spot—try %PROGRAMDATA%\Microsoft\Windows\DRM instead.
If it still fails
Sometimes the problem is deeper. A few things to check:
- Is the file actually yours? If you downloaded it from a now-defunct store (like the old MSN Music or Zune Marketplace), the license server might be offline permanently. There's no fix for that except a DRM-free copy.
- Check your date and time. DRM licenses often have expiration dates tied to system time. If your clock is off by more than a few minutes, the license negotiation fails. Sync with time.windows.com.
- Run the Windows Media Player DRM reset tool. It's buried in the system: go to Control Panel > Programs and Features > Turn Windows features on or off, expand Media Features, uncheck Windows Media Player, reboot, then re-enable it. This nukes the entire DRM subsystem, including the cache and the license store.
- Consider switching players. I hate to say it, but if you're dealing with old DRM content, VLC Media Player can often play WMA files without license checks (though it's legally gray). For modern apps, use the built-in Movies & TV app in Windows 10/11—it handles DRM better than WMP.
I know this error is infuriating, especially when you're trying to enjoy something you paid for. But the DRM reset is almost always the fix. Give it a try, and you'll be back to your music or movie in minutes.
Was this solution helpful?