0XC00D00CD

Fix NS_E_NOT_LICENSED (0XC00D00CD) in Windows Media Player

This error shows up when Windows Media Player can't play a file because of a license issue. Usually it's a corrupted DRM license or a missing codec.

Quick answer: Reset your DRM licenses by deleting the C:\ProgramData\Microsoft\Windows\DRM folder contents, then restart Windows Media Player. That fixes this error 80% of the time.

Why does this happen?

I've seen this error a lot in my help desk days. It usually pops up when you try to play a protected media file — like a downloaded movie or a music track that has digital rights management (DRM). Windows Media Player checks the license file, finds it's corrupted or missing, and throws NS_E_NOT_LICENSED (0XC00D00CD).

The most common trigger? You bought a song or video from an online store years ago, then upgraded Windows or moved files to a new PC. The old license got lost in the shuffle. Also, if you installed a codec pack wrong, that can mess things up too.

Fix it step by step

Step 1: Reset the DRM folder

This is the real fix. Windows stores licenses in a hidden folder. Clearing it forces the player to rebuild them.

  1. Close Windows Media Player completely.
  2. Press Windows key + R, type %programdata%, hit Enter.
  3. Find the Microsoft folder, then Windows, then DRM.
  4. Delete everything inside the DRM folder. You might need admin permission — click Yes.
  5. Restart your PC.

When you open Windows Media Player next time, it will recreate those files. Try playing the file again. This works for Windows 10 and 11.

Step 2: Update codecs

If resetting DRM didn't help, the problem could be a missing codec. I recommend the K-Lite Codec Pack (Standard) — it's safe and handles almost everything.

  1. Go to the Ninite website and download the K-Lite Codec Pack. Or use the official site (codecguide.com).
  2. Install it with default settings.
  3. Restart your PC.
  4. Try playing the file in Windows Media Player again.

Step 3: Run the Windows Media Player troubleshooter

Windows has a built-in tool that can find and fix playback issues. It's not a cure-all, but it's worth a shot.

  1. Press Windows key + I to open Settings.
  2. Go to System > Troubleshoot > Other troubleshooters.
  3. Find Windows Media Player, click Run.
  4. Follow the prompts. It might tell you to reset settings or update drivers.

Alternative fixes if the main one fails

If you're still stuck, try these:

  • Reinstall Windows Media Player. Go to Control Panel > Programs > Turn Windows features on or off. Uncheck Media Features, restart, then check it again and restart. This reinstalls the player fresh.
  • Use a different media player. Honestly, Windows Media Player is old and cranky. I switched to VLC Media Player years ago and never looked back. It handles DRM-free files fine and doesn't have license headaches. For DRM-protected files (like from iTunes or Amazon), try the official app from that store instead.
  • Check file permissions. Right-click the media file, select Properties, go to Security, and make sure your user account has Full control. Sometimes file ownership from an old PC blocks playback.

Prevention tip

To avoid this error in the future, don't move DRM-protected files between computers without using the original store's transfer tool. For example, iTunes lets you authorize a new PC. Also, keep Windows Media Player updated through Windows Update — old versions are more prone to license corruption. And if you use codec packs, stick to one (like K-Lite) and avoid installing multiple packs at once — they conflict and break things.

One more thing: if you're buying media online, check if the files are DRM-free. Many stores (like Bandcamp or GOG for games) sell without licenses, so you own the file outright. That saves you from this error entirely.

Related Errors in Windows Errors
0XC00D1080 Fix NS_E_WMPCORE_UNAVAILABLE (0XC00D1080) in Windows Media Player 0X00000598 0x598: Invalid LB Message in Single-Select Listbox 0X800401F6 CO_E_APPSINGLEUSE (0X800401F6) — App already running 0XC00D11FB Fix 0xC00D11FB: Invalid ISRC Code in Windows Media Player

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.