0XC00D1B8F

Fix NS_E_DRM_PROFILE_NOT_SET on Windows Media Player

Windows Errors Intermediate 👁 8 views 📅 Jul 19, 2026

This error pops up when Windows Media Player can't find a DRM profile. Usually a corrupted DRM store or missing license files. Let's fix it.

What Causes This Error

This error means Windows Media Player can't load a Digital Rights Management (DRM) profile for the current session. It happens when the DRM store gets corrupted. I've seen this most often on Windows 10 and 11 after a big update or when someone manually deleted files in the DRM folder.

The real trigger is usually a failed license download. Maybe you tried to play a protected WMA file and the license server timed out. Or you copied a DRM-protected file from another PC. The store gets confused and throws error 0XC00D1B8F.

Don't bother reinstalling Windows Media Player. That rarely fixes it. The fix is simpler.

Fix #1: Reset the DRM Store (Works 90% of the Time)

This is the main fix. You need to delete the DRM folder and let Windows rebuild it.

  1. Close Windows Media Player and any other app using DRM (like iTunes, Netflix app, etc.).
  2. Press Win + R, type %windir%\System32\DRM, and hit Enter.
  3. You'll see a folder called DRM. Right-click it and choose Properties.
  4. Go to the Security tab and click Advanced.
  5. Next to the owner name, click Change. Type Administrators and click OK.
  6. Check Replace owner on subcontainers and objects and click OK.
  7. Now delete everything inside the DRM folder. You might need to boot into Safe Mode if some files won't delete. But usually you can delete them.
  8. Restart your PC.

After restart, Windows rebuilds the DRM store automatically. Try playing the file again. The error should be gone.

If you can't delete files, use this command in an admin command prompt:

takeown /f C:\Windows\System32\DRM /r /d y
icacls C:\Windows\System32\DRM /grant Administrators:F /t
rmdir /s /q C:\Windows\System32\DRM

Then restart. Windows will recreate the folder.

Fix #2: Re-register DRM Components

If resetting the store didn't work, some DRM DLLs might be unregistered. This happens after a botched Windows update.

  1. Open Command Prompt as Administrator.
  2. Run these commands one by one:
regsvr32 /u c:\windows\system32\drmv2clt.dll
regsvr32 /u c:\windows\system32\blackbox.dll
regsvr32 c:\windows\system32\drmv2clt.dll
regsvr32 c:\windows\system32\blackbox.dll

You should see success messages for each. If you get errors, you're probably not running as admin. Fix that and try again.

Also register these Media Foundation DLLs — they handle DRM playback:

regsvr32 mf.dll
regsvr32 mfreadwrite.dll
regsvr32 wmdrmsdk.dll

Restart and test.

Fix #3: Check for Corrupted System Files

Sometimes the problem is deeper. System File Checker can fix it.

  1. Open Command Prompt as Administrator.
  2. Run sfc /scannow. Wait for it to finish — takes 10-15 minutes.
  3. If it finds errors but can't fix them, run DISM /Online /Cleanup-Image /RestoreHealth next.
  4. Restart and try again.

This fixes issues where the DRM store itself is fine, but the system components that talk to it are broken. I've seen this three times after Windows 11 22H2 update.

Quick-Reference Summary Table

FixWhat It DoesComplexitySuccess Rate
Reset DRM StoreDeletes corrupted DRM folder, forces rebuildIntermediate90%
Re-register DRM DLLsFixes unregistered DRM componentsBeginner70%
System File Checker + DISMRepairs corrupted system filesBeginner50%

Start with fix #1. It solves almost all cases. If you're still stuck, the DRM file itself is probably beyond repair. Try converting the file using a tool like Audacity — record the audio output. That bypasses DRM completely.

Was this solution helpful?