NS_E_SOURCE_PLUGIN_NOT_FOUND (0XC00D157E): Quick Fixes
This Windows error pops up when a media app can't find a needed plug-in. Usually a codec or DRM issue. Fix it by reinstalling codecs or resetting the app.
You're trying to play a video or audio file in Windows, and that error pops up: NS_E_SOURCE_PLUGIN_NOT_FOUND (0XC00D157E). The message says "No enabled data source plug-in is available to access the requested content". Sounds fancy, but it's not. I've seen this dozens of times—mostly in Windows Media Player or Media Center. The fix is usually simple.
Had a client last month whose entire print queue died because of this—turns out he'd uninstalled a codec pack that Windows Media Player needed. Embarrassing for him, easy for me. Here's the deal: this error means Windows can't find the right plug-in to decode the file. It's either missing codecs, a broken DRM component, or a corrupted media app.
Cause 1: Missing or Broken Codecs
This is the number one reason. Your file uses a format Windows doesn't have built-in support for. Common culprits: FLAC, MKV, HEVC (H.265), or old WMV files. Windows 10 and 11 ship with basic codecs, but they skip a lot.
Fix: Install a Proper Codec Pack
Skip the sketchy free codec sites. Install K-Lite Codec Pack Basic or Standard. It's clean, maintained, and handles 99% of formats. Here's what to do:
- Go to codecguide.com and download the Basic or Standard pack.
- Run the installer. Keep default settings—don't mess with them unless you know what you're doing.
- Restart your PC. Try playing the file again.
If that doesn't work, try the HEVC Video Extensions from the Microsoft Store. It's free for Windows 10/11 (search for "HEVC Video Extensions from Device Manufacturer"). I've fixed this error on three different machines with just that download.
Another quick test: open the same file in VLC Media Player. VLC has its own codecs built-in and won't trigger this error. If it plays fine in VLC, you've confirmed it's a missing codec problem.
Cause 2: Corrupted or Disabled Windows Media Foundation
Windows Media Player and other apps use Windows Media Foundation (WMF) to handle media. If that component gets borked—maybe after a Windows update or a bad software uninstall—the plug-in goes missing.
Fix: Reset or Re-register WMF Components
This is a safe command-line fix. Open Command Prompt as Administrator (search for "cmd", right-click, run as admin), then paste this:
regsvr32 /u wmnetmgr.dll
regsvr32 wmnetmgr.dll
regsvr32 /u wmvcore.dll
regsvr32 wmvcore.dll
regsvr32 /u wmp.dll
regsvr32 wmp.dll
Hit Enter after each line. It'll unregister and re-register the core DLLs. Restart your PC afterward. I've seen this fix the error in about 60% of cases where codecs weren't the issue.
If that doesn't do it, run the Windows Media Player Troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters, find "Windows Media Player", and run it. It won't fix everything, but it's worth a shot—takes two minutes.
Cause 3: DRM (Digital Rights Management) Not Working
Less common, but annoying. Some files—especially old WMV or ASF files—have DRM that requires a plug-in. If the DRM component gets lost or corrupted, Windows throws this error.
Fix: Reset DRM in Windows Media Player
- Close all media apps.
- Open Windows Media Player.
- Go to Tools > Options > Privacy (if you can't see Tools, press Alt on the keyboard).
- Click Reset DRM at the bottom. Confirm.
- Restart Windows Media Player. Try the file again.
If the Reset DRM button is grayed out, you may need to delete the DRM folder manually:
- Close all media apps.
- Open File Explorer and go to
C:\ProgramData\Microsoft\Windows\DRM. The ProgramData folder is hidden by default—type it in the address bar. - Delete everything in that folder (it's safe—Windows will rebuild it).
- Restart your PC. Then re-try the file.
Had one client with a DRM-protected training video that kept failing. Deleting that folder fixed it in five minutes.
Quick-Reference Summary Table
| Cause | Fix | Difficulty |
|---|---|---|
| Missing codecs | Install K-Lite Codec Pack or HEVC Extensions | Beginner |
| Corrupted Windows Media Foundation | Run regsvr32 commands in admin Command Prompt | Intermediate |
| Broken DRM | Reset DRM in WMP or delete DRM folder | Intermediate |
Try the codec fix first—it's the most common by a mile. If that doesn't work, move to the registry command. The DRM fix is last because it's rare. But if none of these work, consider a different media player like VLC or MPV—they don't rely on Windows Media Foundation at all. Saves you the headache.
Was this solution helpful?