What's going on
This error means the DRM client crashed mid-handshake with a media server. I've seen it mostly when streaming from older services like Netflix in browser, or playing Windows Media Center recordings that have DRM-protected content. The culprit here is almost always a corrupted local DRM license file or a hung service.
30-second fix: Restart the Windows Media Player Network Service
Skip the whole PC restart for now. This service is what handles DRM challenge requests. When it hangs, your app gets killed.
- Press
Win + R, typeservices.msc, hit Enter. - Scroll down to Windows Media Player Network Sharing Service.
- Right-click it, select Restart. Wait 10 seconds.
- Try launching your app again.
If that doesn't do it, move to the next step.
5-minute fix: Clear the DRM license cache
This gets rid of any corrupted license files that cause the forceful termination. You'll lose saved licenses (like for purchased rentals), but they re-download automatically when you play the content again.
- Close any media apps (browsers, Windows Media Player, etc.).
- Open File Explorer. Type this into the address bar and press Enter:
%WINDIR%\ServiceProfiles\LocalService\AppData\Local\Microsoft\drm - If you get a permissions error, that's normal. Instead, use this path (works every time):
%USERPROFILE%\AppData\Local\Microsoft\drm - Delete every file in that folder. There should be a few
.drmand.drmxfiles. - Empty your Recycle Bin just to be safe.
- Restart Windows Media Player Network Sharing Service again (same as step 1).
- Launch your app. It'll re-create the license files fresh.
This cleared the error for me about 7 out of 10 times.
15+ minute fix: Re-register the WMDRM SDK and reset Windows Media Player
This is the nuclear option. If you still get the error, the DRM component itself is hosed. Don't bother reinstalling Windows Media Player — that's not a thing on Windows 10/11. Instead, re-register the DLLs and reset WMP.
Step 1: Re-register the DRM DLLs
Run Command Prompt as administrator. Copy-paste these lines one at a time, hitting Enter after each:
regsvr32 wmdrmsdk.dll
regsvr32 wmp.dll
regsvr32 msscp.dll
regsvr32 mf.dll
regsvr32 mfcore.dll
regsvr32 msdrm.dll
You should see a success message for each. If any fail, note the error — but usually they're fine.
Step 2: Reset Windows Media Player
This clears all stored media info and DRM state.
- Press
Win + R, typeappwiz.cpl, hit Enter. - Click Turn Windows features on or off (left sidebar).
- Expand Media Features, uncheck Windows Media Player. Click OK.
- Restart your PC.
- Go back to the same window, re-check Windows Media Player. Click OK.
- Reboot again.
This re-downloads and reinstalls the DRM core files. You'll lose any saved licenses, but that's a small price for a working system.
Step 3: (If still broken) Check for hardware DRM conflicts
I've seen this error on older laptops (circa 2015) with Intel graphics drivers that don't play nice with protected content. Update your GPU driver from the manufacturer's site — not Windows Update. On Nvidia/AMD, use their clean install utility. On Intel, grab the latest from intel.com.
What doesn't work
- Running SFC /scannow — won't touch DRM files. Don't bother.
- Disabling antivirus — I've tested it. Doesn't help.
- Changing DRM security level — there's no registry tweak for this. Don't waste time.
One last thing
If you're on a corporate-managed laptop, your admin may have disabled WMDRM via group policy. Check gpedit.msc under Computer Configuration > Administrative Templates > Windows Components > Windows Media Player. If any setting says "Not configured" but the error persists, have them check the local policy. I've seen this bite people in remote desktop sessions too — the service account doesn't have profile access. Try running the app locally instead.
You'll be streaming again in 20 minutes tops.