Fix NS_E_WMP_UNKNOWN_ERROR (0XC00D11CD) in Windows Media Player
This error hits when Windows Media Player can't play a file due to codec or corruption issues. We'll walk through the real fixes.
You're trying to play a video or audio file in Windows Media Player. Everything looks normal until you hit play. Then that maddening pop-up: "Windows Media Player encountered an unknown error." The error code? 0XC00D11CD (or NS_E_WMP_UNKNOWN_ERROR). I've seen this on Windows 10, Windows 11, and even back on Windows 7. It usually triggers when you're trying to play an AVI, MKV, or FLAC file—something not natively supported.
Let me save you time. This isn't a Windows corruption issue. It's almost always a codec problem. Or, less often, a corrupted file or a broken registry entry. Here's how I'd fix it if you were sitting at my desk.
Why you're seeing this error
Windows Media Player relies on codecs—little software pieces that decode audio and video. If a file uses a codec WMP doesn't have (like FLAC for audio or H.264 for video in some older versions), you get this generic error. Sometimes the file itself is damaged mid-download. In rare cases, a third-party app like a video editor or screen recorder messed with WMP's registry settings.
Step-by-step fix
Step 1: Install a codec pack (the real fix for 90% of cases)
Don't chase registry fixes first. Go straight to codecs. I recommend the K-Lite Codec Pack Basic. It's lightweight, free, and covers almost every format WMP can't handle.
- Download K-Lite Codec Pack Basic from codecguide.com.
- Run the installer. Choose "Normal" installation mode. Leave all defaults.
- Restart Windows Media Player and try your file again.
If that doesn't work, try the Mega version—it includes more obscure codecs. But start with Basic. I've seen this fix work for people who spent hours on Windows forums.
Step 2: Check if the file itself is corrupt
Sometimes it's not WMP's fault. The file is just broken.
- Try opening the file in VLC Media Player (free download). VLC has its own codecs built in. If VLC plays it fine, the file is okay—WMP's codecs are the issue.
- If VLC won't play it either, the file is corrupt. Re-download it from the original source. If it's a downloaded video, sometimes a partial download causes this. Delete and try again.
- For your own recordings (like from a phone or camera), re-encode the file using a free tool like HandBrake. Convert to MP4 (H.264 video, AAC audio). HandBrake is free and works on Windows 10 and 11.
Step 3: Reset Windows Media Player settings
If codecs didn't help and the file plays in VLC, WMP's settings might be stuck.
- Close Windows Media Player completely.
- Press Win + R, type
regedit, and hit Enter. - Navigate to:
HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Player
- Delete the MRUList and RecentFileList keys (right-click each -> Delete). Important: This clears your recent files list but can fix corrupted cache.
- Close Registry Editor. Restart WMP.
I've also had success with this command line reset:
- Open Command Prompt as Administrator (right-click Start -> Command Prompt (Admin)).
- Type:
regsvr32 jscript.dlland press Enter. - Type:
regsvr32 vbscript.dlland press Enter. - Restart your computer.
These re-register the scripting engines WMP uses. Yeah, it sounds like a long shot, but on Windows 10, it fixed a stubborn case for me after the codec pack didn't.
What to check if it still fails
If you've done all three steps and still get the error, here are my last-resort checks:
- Run the Windows Media Player troubleshooter. Open Settings -> Update & Security -> Troubleshoot -> Additional troubleshooters -> Windows Media Player. Run it. I know built-in troubleshooters are often useless, but this one can fix corrupted library files.
- Check for Windows updates. Sometimes a missing update (like KB5001330 for Windows 10) breaks WMP. Go to Settings -> Windows Update -> Check for updates.
- Try a different file. If all files give this error, WMP itself might be corrupted. Go to Control Panel -> Programs -> Turn Windows features on or off. Uncheck "Windows Media Player" (if listed), restart, then re-enable it.
- Switch to VLC. Honestly, if you've spent more than 30 minutes on this, just use VLC. It plays everything, doesn't rely on system codecs, and hasn't given me this error in 10 years of using it. Save your sanity.
That's it. I've seen this error pop up from a corrupted FLAC file, a bad codec pack install, and once from a broken Windows update. The steps above cover 99% of reasons. You'll be listening to that file in five minutes.
Was this solution helpful?