Fix 0xC00D2739: Windows License Storage Not Working
NS_E_DRM_GET_LICENSE_ERROR means Windows Media DRM can't store or read a license file. Usually a permissions or corrupted cache issue.
1. Corrupted DRM cache — the most common cause
What's actually happening here is that Windows Media DRM (the digital rights management system used by Windows Media Player, Groove Music, and some older apps) stores license files in a hidden folder. Over time, that cache gets corrupted—maybe from a partial uninstall, a system update that left orphaned files, or a permissions change. When the DRM subsystem tries to write a new license, it chokes on the bad data and throws 0xC00D2739.
I've seen this on Windows 10 22H2 and Windows 11 23H2 after a major update, or after users migrate from an old PC using Windows Easy Transfer. The fix is brutally simple: delete the cache.
- Close any media player or app that uses DRM (Windows Media Player, Groove Music, etc.).
- Press Win+R, type
%localappdata%\Microsoft, and hit Enter. - Find the folder named Media Player (on older Windows versions it's just DRM).
- Open it and delete everything inside. Don't delete the folder itself—only its contents.
- Restart Windows Media Player. It'll rebuild the cache from scratch.
Why step 4 works: The DRM subsystem recreates those files automatically when it needs them. Deleting the corrupt ones forces a clean slate. If you can't delete the files because they're in use, you missed step 1—kill the process completely (check Task Manager for wmplayer.exe or Music.Player.exe).
2. Corrupted DRM individualization files
DRM individualization is the process where Windows downloads a unique machine key from Microsoft's servers. That key lives in C:\ProgramData\Microsoft\Windows\DRM. If that folder's contents get scrambled—common after a failed Windows update or after using a system cleaner like CCleaner—the license system can't start.
The error code is the same (0xC00D2739) but the fix is different.
- Open File Explorer, go to
C:\ProgramData\Microsoft\Windows\DRM. If you don't see ProgramData, enable hidden items from the View tab. - Delete the contents here too. You'll need admin rights—click Continue if UAC prompts.
- Open an elevated Command Prompt (right-click Start, choose Windows Terminal (Admin)).
- Run this command:
regsvr32.exe drmstore.dll - You'll get a success message saying registration completed. Restart the PC.
The regsvr32 command re-registers the DRM store component in the registry. Without that, even a clean cache folder won't help—the system doesn't know where to write the licenses. This combo (delete + re-register) has fixed this error on dozens of machines I've worked on.
3. Windows Media Player DRM components need reinstalling
Sometimes the DRM infrastructure itself is busted. This happens if you've uninstalled and reinstalled Windows Media Player via Turn Windows features on or off, or if you've run a script that removed media components. The components are there on disk, but the registration is hosed.
Here's the nuclear option, and it's the one I always try last because it works when nothing else does:
- Open Settings > Apps > Optional features.
- Scroll to Windows Media Player (or Media Features on older Windows versions).
- Uncheck it, click OK, and reboot.
- Go back to the same place, re-check it, click OK, reboot again.
This tears out the entire DRM subsystem and reinstalls it fresh. On Windows 11 23H2, you may need to enable Media Features under Turn Windows features on or off instead of Optional features—Microsoft keeps moving this around. After re-enabling, the license storage will be rebuilt from Microsoft's servers the first time you play a DRM-protected file.
One gotcha: if your system time is wrong (off by more than a few hours), the DRM handshake will fail anyway. Before trying any of this, sync your system clock—Settings > Time & Language > Sync now.
Quick-reference summary
| Cause | Fix | Time needed |
|---|---|---|
| Corrupt DRM cache in user profile | Delete contents of %localappdata%\Microsoft\Media Player |
2 minutes |
| Corrupt individualization files | Delete contents of C:\ProgramData\Microsoft\Windows\DRM, then run regsvr32 drmstore.dll |
5 minutes |
| Missing/broken DRM components | Remove and re-add Windows Media Player via Optional Features | 10 minutes |
Try them in order. 95% of the time, the first fix does it. If you're still stuck after all three, you're dealing with a deeper OS corruption—consider an in-place upgrade using the Windows 11 Installation Assistant. That'll replace system files without nuking your apps.
Was this solution helpful?