Cause 1: Corrupted registry entry for a plug-in
The most common trigger for this error is a damaged or incomplete registry key under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Plugins. This usually happens after uninstalling a codec pack or if a plug-in installer crashed halfway. You'll see the error when you try to open a video file that tries to load that broken plug-in.
- Press Windows + R, type
regedit, and hit Enter. Click Yes if prompted by UAC. - Go to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Plugins. You'll see a list of GUIDs (long strings of numbers and letters). Each one represents a plug-in. - Look for any entry that has a subkey named
LoadType. If the value is missing, set to0, or invalid, that's your problem. - Right-click the problematic GUID and select Export to back it up. Save it somewhere safe, like your Desktop.
- Now delete that entire GUID key. Right-click it and choose Delete. Confirm.
- Close Registry Editor and restart Windows Media Player. Try playing the file again.
After deleting the key, Windows Media Player will rebuild the plug-in list on next launch. You should see the error go away. If it doesn't, you may have deleted the wrong key—use your backup to restore it.
Cause 2: Outdated or conflicting codec packs
Codec packs like K-Lite or CCCP often register their own plug-ins. When two packs fight over the same file type, they can leave a plug-in with no valid load type. The fix is to remove all codec packs and reinstall only one.
- Open Control Panel → Programs and Features (or Settings → Apps).
- Look for any codec pack (K-Lite, Combined Community Codec Pack, etc.) and uninstall each one. Restart your PC when done.
- Download a single, well-maintained codec pack—I recommend K-Lite Standard from the official site. Run the installer and choose the default options.
- After installation, restart your PC again. This clears out any stale plug-in registrations.
- Launch Windows Media Player and test your video.
Why does this work? Because a fresh codec pack installs its plug-ins with proper load type values (usually 1 for local playback). The old conflicting entries are gone.
Cause 3: Windows Media Player itself is corrupted
Sometimes the problem isn't a plug-in at all—the whole player is broken. This often shows up after a Windows update or when system files get damaged. You'll get the same error with almost every media file.
- Open Command Prompt as administrator (search "cmd", right-click, Run as administrator).
- Run this command to check system file integrity:
This will take a few minutes. Let it finish.sfc /scannow - Then run the Windows Media Player repair tool. Go to Settings → Apps → Optional features (or Windows Features in older versions). Find Media Features and uncheck Windows Media Player. Click OK and restart.
- After restart, go back, re-check Windows Media Player, and restart again.
- Try playing your file. If the error persists, the last resort is running the DISM command:
Then repeatDISM /Online /Cleanup-Image /RestoreHealthsfc /scannow.
I've seen this fix work when nothing else did. It takes longer, but it addresses the underlying OS corruption.
Quick-reference summary
| Cause | Symptom | Fix | Time |
|---|---|---|---|
| Corrupt registry plug-in entry | Error only with one file type | Delete the GUID key in Registry Editor | 10 min |
| Conflicting codec packs | Error after installing a codec pack | Uninstall all packs, reinstall one cleanly | 30 min |
| Damaged Windows Media Player | Error with all media files | Run SFC, reinstall Media Features | 45 min |
Start with the registry fix—it's the quickest and most common. If that doesn't do it, move to codec cleanup, then the system repair. Both require a restart, so set aside some time.