30-Second Fix: Kill and Restart the DRM Service
This is the first thing you try. The DRM service can get stuck in a bad state after a video playback crash or a system sleep cycle. It happens all the time on Windows 10 and 11 after playing Netflix or Amazon Prime in the browser.
- Hit Ctrl+Shift+Esc to open Task Manager.
- Find Windows Media Player Network Sharing Service or Windows Media Player in the Processes tab.
- Right-click and choose End Task.
- Now press Win+R, type
services.msc, and hit Enter. - Look for Windows Media Player Network Sharing Service. Right-click and select Restart.
- Try playing your DRM-protected content again.
This clears a hung service lock. If it works, great. If not, move on. Don't bother restarting the whole PC — that's overkill nine times out of ten.
5-Minute Fix: Delete the DRM Store and Rebuild
The real culprit here is almost always a corrupted DRM store file. Windows keeps DRM licenses and machine IDs in a hidden folder called DRM. If a license write gets interrupted — say, you lose power during a stream — the file goes bad.
- Close any browsers or apps that play DRM content (Netflix, Spotify, Windows Media Player).
- Open File Explorer and type this into the address bar:
%windir%\ServiceProfiles\LocalService\AppData\Local - Look for a folder named DRM. It might be hidden — enable View > Show > Hidden items if you don't see it.
- Delete the entire DRM folder. Yes, all of it. Windows rebuilds it on next use.
- Open Command Prompt as admin (Win+R, type
cmd, press Ctrl+Shift+Enter). - Run this command to re-register DRM components:
regsvr32.exe /s drmclien.dll - Reboot. Not optional — Windows needs a clean slate to rebuild the DRM store.
After the restart, open Windows Media Player or your browser and try the content. This fixes roughly 80% of 0XC00D2781 errors I've seen.
15+ Minute Fix: Wipe DRM Licenses and Reset Components
If the store delete didn't work, you're dealing with deeper corruption. Likely the DRM machine identification got baked into a system file that's now hosed. This can happen after a Windows update (especially a feature update like 22H2) or after uninstalling a media codec pack.
- Back up your DRM licenses (only if you bought content from stores like Amazon or Xbox Music — skip if you just stream). Open the
%windir%\ServiceProfiles\LocalService\AppData\Local\DRMfolder and copy all files to a safe spot on your desktop. - Open PowerShell as admin (Win+X, select Windows Terminal (Admin) or PowerShell (Admin)).
- Run these commands one by one, pressing Enter after each:
cd $env:windir\ServiceProfiles\LocalService\AppData\Local\DRM Remove-Item -Path * -Recurse -Force - Now reregister every DRM-related DLL. Paste this whole block:
regsvr32.exe /s mf.dll regsvr32.exe /s mfplat.dll regsvr32.exe /s msmpeg2adec.dll regsvr32.exe /s msmpeg2vdec.dll regsvr32.exe /s drmclien.dll regsvr32.exe /s wmvdspa.dll - Check your graphics driver. A bad or outdated GPU driver can break DRM hardware ID retrieval. Run
dxdiagfrom the Start menu, check the Display tab. If the driver date is older than 6 months, go to your GPU maker's site (NVIDIA, AMD, Intel) and install the latest driver. Don't use Windows Update for this — it's often stale. - Reset the software DRM by running this PowerShell script:
Then restart the PC. Windows reinstalls PlayReady on next boot.Get-AppxPackage *Microsoft.PlayReady* | Remove-AppxPackage Get-AppxPackage *Microsoft.Media.PlayReadyClient* | Remove-AppxPackage - If you're still getting the error, repair .NET Framework. Open Control Panel > Programs > Turn Windows features on or off. Uncheck .NET Framework 3.5 (includes .NET 2.0 and 3.0). Click OK, let it uninstall. Reboot. Go back and recheck the same box, let it reinstall. This fixes DRM calls that rely on .NET's crypto stack.
- Last resort: System File Checker. Run
sfc /scannowin an admin command prompt. It takes 10-15 minutes. If it finds corrupt files but can't fix them, follow up withDISM /Online /Cleanup-Image /RestoreHealth. That's an hour-long process, so grab coffee.
After all that, the error should be gone. If it's not, you're looking at a bad TPM or secure boot configuration — that's enterprise-level stuff and usually means hardware replacement. But for 99% of home users, the second fix (deleting the DRM folder) does the job.
One pro tip: if this error triggers only in a specific browser (Edge vs Chrome vs Firefox), that browser's own DRM stack is corrupt. Reset the browser's settings or reinstall it. Don't waste time on system-wide fixes if the issue is browser-specific.