NS_E_DRM_INVALID_APPDATA (0XC00D2740) – DRM data is corrupt
This error pops up when Windows Media Player or a DRM-protected app can't read your license data. The DRM store is corrupt or missing. Fix: reset it.
When this error hits
You're trying to play a purchased song or video in Windows Media Player on Windows 10 or 11. The file is DRM-protected — maybe an old Zune pass track or a store-bought movie. Instead of playing, you get a pop-up: "A problem has occurred in the Digital Rights Management component." The exact error code is 0XC00D2740. If you check Event Viewer, you'll see NS_E_DRM_INVALID_APPDATA under the WMP source. This tripped me up the first time too.
Root cause
Windows stores your DRM licenses in a folder under %PROGRAMDATA%\Microsoft\Windows\DRM. That folder contains a file named drmstore.hds — it's a small database of your content keys. Over time, that database can get corrupted. Maybe a power loss happened while WMP was writing to it. Or an antivirus tool locked the file mid-write. Or you restored a system image that broke the DRM state. Once that store is corrupt, WMP can't validate any license, so it throws the NS_E_DRM_INVALID_APPDATA error. The fix is simple: delete the DRM folder and let Windows recreate it.
How to fix it (5 steps)
- Close everything – Kill Windows Media Player, any store apps, and your browser. Open Task Manager to be sure no
wmplayer.exeorsihost.exeis running. This step is crucial — if WMP holds a lock on the DRM store, the delete will fail. - Open File Explorer – In the address bar, paste:
%PROGRAMDATA%\Microsoft\Windows\DRM. Hit Enter. You should see a folder with a few files, includingdrmstore.hds. If you don't see anything, enable hidden items from the View ribbon. - Delete the entire DRM folder – Yes, the whole thing. Right-click the DRM folder in the address bar, then choose Cut. Paste it to your Desktop as a backup if you're nervous (I get it). But really, it's safe to just delete it. Windows will rebuild it from scratch.
- Reset the DRM component via Command Prompt (Admin) – Open Start, type
cmd, right-click Command Prompt, select Run as administrator. Run this command:
This nukes the registry keys WMP uses to cache license paths. Without this step, even after deleting the folder, WMP might still look at old references and fail.reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\MediaPlayer\DRM /f - Reboot – Restart your PC. When you log back in, open Windows Media Player and try to play the same file. You'll be prompted to reacquire the license (a dialog that says "Do you want to acquire a license for this file?"). Click Yes. It'll connect to the license server online and download a fresh
drmstore.hds. Done.
If it still fails
Sometimes the license server for really old content (e.g., Zune Marketplace, MSN Music) is shut down. In that case, no amount of resetting will help — the file is permanently unplayable. You can try stripping the DRM with a tool like DRM Removal 2.1 (legal gray area, only if you own the content). But honestly, if the server is gone, you're better off re-ripping the CD or buying a DRM-free version. Another rare issue: some corporate antivirus suites (like McAfee Endpoint Security) lock the entire DRM folder. Add %PROGRAMDATA%\Microsoft\Windows\DRM to your antivirus exclusion list and repeat the steps above. Finally, if you're on Windows 10 22H2 with Media Feature Pack installed, a Windows Update in early 2024 broke DRM for some users. Check KB5034441 — uninstall it if present, then reinstall the Media Feature Pack. That's a corner case, but it's real.
Was this solution helpful?