Fix NS_E_WMPCORE_INVALIDPLAYLISTMODE (0XC00D1081) in Windows Media Player
Windows Media Player can't read your current playlist mode. Usually caused by corrupted library or broken registry keys. Here's the quick fix and the deeper one.
Quick Answer (for advanced users)
Reset the Windows Media Player library by deleting the CurrentDatabase_372.wmdb file in %LOCALAPPDATA%\Microsoft\Media Player, then restart WMP. It'll rebuild the database fresh.
Why This Happens
This error usually pops up when Windows Media Player's playlist manager trips over its own shoelaces. I've seen it most often after a Windows update (especially the October 2023 patch Tuesday for WMP 12 on Windows 10) or when someone force-closes WMP while it's mid-sync with a Zune or old portable player. The 0XC00D1081 code means the playlist manager literally can't make sense of the current play mode — shuffle, repeat, normal — because the internal state flags got corrupted in the library database file. Had a client last month who thought his music library was toast. Turned out to be a single corrupt DB file.
Fix Steps
- Close Windows Media Player completely. Check Task Manager for any lingering
wmplayer.exeprocesses and kill them. - Open File Explorer and paste this into the address bar:
%LOCALAPPDATA%\Microsoft\Media Player. Hit Enter. - Look for files named
CurrentDatabase_372.wmdbor anything ending in.wmdb. You'll likely see several with numbers after them. Delete only theCurrentDatabase*.wmdbfiles. Don't touchPlayerPreferences.jsorwmplibrary.dll— those are safe. - Restart Windows Media Player. It'll say it's rebuilding the library. Let it finish scanning your music folders. Playlist modes will start working again.
Alternative Fixes If That Doesn't Work
- Run the WMP Library Reset tool — open Command Prompt as admin, run
regsvr32 %ProgramFiles%\Windows Media Player\wmplayer.exe. Not a silver bullet but sometimes re-registers the COM components. - Check for corrupt media files — a single MP3 with broken ID3 tags can throw off the playlist manager. Use a tool like MP3val to scan your music folder for bad files.
- System Restore — if the error started after a recent Windows update, roll back to before that update. I've seen the KB5034441 update cause this on Windows 11 22H2.
Prevention Tips
- Always close WMP properly — don't just shut down your PC while it's playing. Use File > Exit.
- Keep your library under 50,000 items — WMP struggles past that point. I've seen it get flaky at 30,000 in WMP 12 on Windows 10.
- Back up your library database — copy the entire
%LOCALAPPDATA%\Microsoft\Media Playerfolder to an external drive every few months. Saves hours if you need to rebuild.
That's it. Should take you under 10 minutes. If you're still stuck, check the Windows Event Viewer under Applications and Services Logs > Microsoft > Windows > Media Player for more clues. But honestly, in 9 out of 10 cases, deleting that database file is the fix.
Was this solution helpful?