Fix NS_E_INVALIDPROFILE (0XC00D0BC6) Invalid Profile Error
This error hits when Windows Media Player can't load a corrupted or mismatched profile. Usually after a failed codec install or a bad registry edit.
When This Error Shows Up
You're trying to launch Windows Media Player (WMP) on Windows 10 or 11. Maybe it crashed on you earlier after you installed a nonsense codec pack like K-Lite or a sketchy audio converter. Or you edited the registry trying to fix another issue and botched a key. Now you get a popup saying NS_E_INVALIDPROFILE (0XC00D0BC6) - The Profile is invalid. WMP won't open, won't play anything, and the error repeats every time.
Root Cause
The culprit here is almost always a corrupted or mismatched profile registry entry. WMP stores profiles — things like video renderer settings, audio codec preferences, and playback configurations — in HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences or HKEY_LOCAL_MACHINE\Software\Microsoft\MediaPlayer\Profiles. If a third-party codec mangles those keys, or if you accidentally delete or overwrite them, WMP sees an invalid structure and throws this error. Don't bother with SFC or DISM scans here — they rarely help because the root is user-specific profile data, not system files.
How to Fix It
Skipping the BS — here's what works 9 times out of 10.
- Kill WMP processes. Open Task Manager (Ctrl+Shift+Esc), find
wmplayer.exe, right-click it, and hit End task. Do it twice if it respawns. - Back up the registry key. Hit Win+R, type
regedit, press Enter. Navigate toHKEY_CURRENT_USER\Software\Microsoft\MediaPlayer. Right-click theMediaPlayerkey, select Export, save it somewhere safe (just in case). - Delete the Preferences subkey. Inside
MediaPlayer, right-clickPreferencesand choose Delete. Confirm the prompt. Don't worry — WMP will rebuild it from scratch on next launch. - If that doesn't do it, delete the whole MediaPlayer key. Right-click
MediaPlayerinHKEY_CURRENT_USER\Software\Microsoft\, select Delete. This nukes all WMP user settings. You'll lose any custom playlists or library history, but the error will clear. - Reboot the machine. Not a restart of WMP — a full system reboot. This forces Windows to reinitialize the Media Player service and profiles.
- Launch WMP again. It'll take a few seconds to rebuild profiles the first time. You'll see a setup wizard — just accept defaults. Test playing an MP3 or video file.
If It Still Fails
Sometimes the problem isn't the user profile — it's a system-wide codec conflict. Try a clean boot: msconfig -> Services tab -> check Hide all Microsoft services -> Disable all -> Apply -> Restart. If WMP works now, you've got a third-party service or startup app causing the mess. Uninstall any recent codec packs or media tools (like Shark007, Combined Community Codec Pack) using the Programs and Features control panel. Reboot and test again. Still broken? Try running sfc /scannow from an admin command prompt — it rarely fixes this specific error, but it costs nothing. If none of that works, back up your data and do a Windows repair install via the Media Creation Tool. That's the nuclear option, but it'll nail whatever corruption is hiding deep.
Was this solution helpful?