NS_E_DRM_INVALID_DATA (0XC00D2761) — Corrupt DRM fix
Windows Media Player or Zune software hits this when DRM license data is corrupt. The fix involves resetting the DRM store or reinstalling the media components.
The 30-Second Fix: Kill and Restart the DRM Service
This error usually shows up when you try to play protected content in Windows Media Player, Zune software, or any app using the Windows Media DRM stack. What's actually happening here is the DRM client has encountered a license file or initialization blob that it can't parse — the data is partially corrupt or mismatched with the player version.
The quickest thing to try: open Task Manager (Ctrl+Shift+Esc), find any wmplayer.exe or Zune.exe process, right-click and end it. Then restart the app. If the error disappears, the corruption was temporary (likely a stale handle). This works maybe 15% of the time — worth a shot.
The 5-Minute Fix: Reset the DRM Store Manually
This is the real fix for most people. The DRM store lives in a hidden folder inside your user profile. Clearing it forces Windows Media Player to reinitialize the DRM subsystem from scratch on the next launch.
- Press Win+R, type
services.msc, and hit Enter. - Find the service named Windows Media Player Network Sharing Service. Right-click and Stop it.
- Now open File Explorer. In the address bar, paste this exact path:
%LOCALAPPDATA%\Microsoft\Media Player - Inside that folder you'll see subfolders like
_migrate,_store,_temp. Delete everything inside the Media Player folder. Don't delete the folder itself — just its contents. - Still in File Explorer, go to:
Delete the contents there too. You'll need admin permission — just confirm the prompt.%WINDIR%\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Media Player - Restart the Windows Media Player Network Sharing Service (right-click → Start).
- Launch Windows Media Player. It'll rebuild the DRM store — this takes about 10 seconds.
The reason step 3 works is that the corrupt DRM license data is stored in those subfolders. By deleting them, you force the DRM client to regenerate a fresh license store, which the player then syncs with the license server when you next play protected content.
The 15+ Minute Fix: Re-register DRM Libraries and Reinstall Media Features
If resetting the store didn't help, the corruption runs deeper — system files or COM registrations are damaged. Here's the nuclear option.
Step 1: Re-register all DRM-related DLLs
Open an admin Command Prompt (right-click Start → Windows Terminal (Admin)). Run these commands one by one:
regsvr32 /u %WINDIR%\system32\wmp.dll
regsvr32 %WINDIR%\system32\wmp.dll
regsvr32 /u %WINDIR%\system32\drvmgr.dll
regsvr32 %WINDIR%\system32\drvmgr.dll
regsvr32 /u %WINDIR%\system32\drmclien.dll
regsvr32 %WINDIR%\system32\drmclien.dll
regsvr32 /u %WINDIR%\system32\blackbox.dll
regsvr32 %WINDIR%\system32\blackbox.dll
Each regsvr32 call re-registers the COM interface for that DLL. The /u flag unregisters it first, which ensures a clean re-registration. Blackbox.dll is the actual DRM license store manager — if that's corrupted, you'll get this error almost every time.
Step 2: Reinstall Windows Media Player via Features
Windows 10 and 11 let you remove and re-add WMP as an optional feature. This fixes system-level corruption:
- Go to Settings → Apps → Optional Features.
- Find Windows Media Player in the list. Click it and choose Uninstall.
- Reboot.
- Go back to Settings → Apps → Optional Features → Add a feature.
- Search for Windows Media Player, check it, and install.
- Reboot again.
Step 3: Run the System File Checker
This is insurance — catches any other system file corruption that might interfere with DRM. In an admin Command Prompt:
sfc /scannow
Let it finish. If it finds corrupt files it can't fix, run DISM /Online /Cleanup-Image /RestoreHealth next, then sfc /scannow again.
Step 4: Clear the Windows Store DRM cache (Windows 10/11 only)
Modern apps that play protected content (like Netflix or Amazon Video) use a separate DRM store inside the Windows Store cache. This can also throw the same error code. Navigate to:
%LOCALAPPDATA%\Packages\Microsoft.WindowsStore_8wekyb3d8bbwe\LocalCache
Delete everything inside LocalCache. Don't worry — the Store regenerates it on next launch. This fixes the error for Store-purchased content specifically.
When to Give Up and Use a Different Player
If none of these work — and I've seen this on some older Windows 10 builds that have a corrupted DRM stack beyond repair — your best bet is to switch to a different media player like VLC or MPC-HC. They don't use the Windows Media DRM system at all. For protected content you legally own, you'll need to strip the DRM first using tools like FairUse4WM (for older WM-DRM files) or re-download the content in DRM-free format. But that's a whole other conversation.
Was this solution helpful?