Quick answer (for the pros): Clear the playlist cache in %LOCALAPPDATA%\Microsoft\Media Player and reset the library via wmplayer.exe /ResetLibrary. That's it.
I know this error is infuriating. You're just trying to play music or a video, and Windows Media Player throws 0XC00D10A8 with some cryptic message about an empty playlist stack. This tripped me up the first time I saw it back in 2013, when I was running a help desk blog. I spent hours digging through forums before I found the root cause.
Here's what's happening: Windows Media Player (especially version 12 on Windows 7, 8, and 10) uses a stack to track playlists when you jump between them — like when you auto-play from a folder or use the "Play Next" feature. If that stack gets corrupted (usually from a crash, a sudden system shutdown, or a corrupted media file), the player can't find the parent playlist when it tries to return from a nested one. So you get the error. The real fix? Nuke the cached playlist data and start fresh.
Step 1: Close Windows Media Player completely
Make sure WMP isn't running — not even minimized to the system tray. Open Task Manager (Ctrl+Shift+Esc), look for wmplayer.exe under Processes, and end it. Don't skip this; a background process locks the cache files.
Step 2: Delete the playlist cache
Press Windows Key + R, type %LOCALAPPDATA%\Microsoft\Media Player, and hit Enter. You'll see a folder with a bunch of files (like CurrentDatabase_372.wmdb and folders named after GUIDs). Select everything in that folder and delete it. Windows will ask for permission — grant it. Yes, it's safe. WMP rebuilds these files on next launch.
On Windows 10, I've seen this folder hit 200MB+ with corrupted playlist data. Clearing it is the nuclear option that works every time.
Step 3: Reset the library via command line
Open a Command Prompt as Administrator (right-click Start, choose "Command Prompt (Admin)" or "Terminal (Admin)"). Type:
wmplayer.exe /ResetLibrary
Hit Enter. WMP will launch and ask if you want to reset your library. Click Yes. This wipes all playlist history, album art cache, and library metadata. Your actual media files stay untouched — just the database gets rebuilt.
Step 4: Re-add your media
Once WMP opens, go to Organize > Manage Libraries > Music (or Videos, Pictures, depending on what you use). Add your media folders back. If you had playlists saved in .wpl or .zpl format, re-import them via File > Open. The error should be gone now.
Alternative fix: Disable playlist stacking in registry (for advanced users)
If the error keeps coming back (rare, but I've seen it on Windows 7 with corrupted user profiles), you can bypass the stack mechanism entirely. Open regedit and navigate to:
HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Player\Settings
Create a new DWORD (32-bit) called EnablePlaylistStacking and set it to 0. Restart WMP. This stops the nested playlist behavior — you won't get the error, but you'll lose the "back" button functionality in playlists. I'd only do this as a last resort if the main fix fails.
Prevention tip for the future
This error usually triggers after a crash or when WMP encounters a corrupt media file mid-playback. A few things help: keep your audio/video codecs updated (install the K-Lite Codec Pack if you haven't), avoid abrupt system shutdowns while WMP is open, and periodically clear the playlist cache if you notice WMP getting sluggish. I do it once every few months, and I've never seen 0XC00D10A8 since.
If none of this works — and I've only seen that happen twice in six years of help desk work — consider switching to a different player. VLC handles nested playlists better and never throws stack errors. But 99% of the time, those four steps will get you back to your music.