What triggers this error
You're playing a video or audio file in Windows Media Player 11 or 12 (Windows 7 through 11) and get the error 0XC00D1096 with the message An illegal value for a playlist item attribute name was found. This usually happens when a playlist file — .wpl, .asx, .m3u, or an online radio stream — has a stray character or a malformed XML tag in its metadata. I've seen it most often with old Winamp-created playlists and corrupted .wpl files synced from portable devices.
Quick fix (30 seconds): Reset the WMP library database
This is the fix that works 9 times out of 10. The error’s coming from a corrupt entry in the local playlist database, not from the actual media file. So let's nuke the database and let WMP rebuild it.
- Close Windows Media Player completely. Check the system tray — sometimes it's still running there.
- Press Win + R, type
%LOCALAPPDATA%\Microsoft\Media Player, and hit Enter. - Delete everything in that folder. Yes, everything. I know it feels aggressive, but WMP recreates these files on next launch. You won't lose your actual media files.
- Open Windows Media Player again. It'll rescan your monitored folders and rebuild the library. Give it a minute if you have a lot of music.
The reason this works: WMP keeps a local SQLite database of every playlist attribute value. When a corrupt entry stops it from parsing a playlist item attribute name, deleting the database forces a clean rebuild from the actual playlist files on disk. The corrupt data is gone.
If the error comes back the second you try the same file, move to the moderate fix below.
Moderate fix (5 minutes): Locate and repair the offending playlist
The database cleanup didn't stick, which means the actual playlist file is corrupted. You need to find it and clean it up.
- Go to
%USERPROFILE%\Music\Playlists. This is where WMP stores your saved playlists. - Sort files by date modified. The most recent one is probably the culprit.
- Open the suspicious .wpl file in Notepad (or any text editor).
- Look for XML elements like
<meta name="...">or<param name="...">. The error says the attribute name is illegal — check for weird characters, empty names (e.g.,name=""), or names longer than 128 characters. - Delete the entire
<meta>block that looks wrong, or delete the whole file if you can't isolate it. Playlist files are just references — you won't lose your original media.
What's actually happening here is the .wpl file is XML, and WMP's parser is strict about attribute value lengths and allowed characters. A common trigger is an old playlist where the media file had a long filename with Unicode characters — something like name="01 - Són[remastered]" with a non-breaking space or zero-width space. The parser sees that as illegal.
If you can't find the file, check %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Network Shortcuts\Playlists — sometimes network-synced playlists land there.
Advanced fix (15+ minutes): Manual XML repair or move to MP3Tag
You've gone through the first two steps and the error still appears, maybe on a specific file you play often. The file itself has bad metadata embedded in its ID3 or RIFF INFO chunk, and WMP is trying to create a dynamic playlist item from it.
- Identify the exact file that triggers the error. Use Process Monitor from Sysinternals — filter on
wmp.exeand look forCreateFileoperations withNAME NOT FOUNDorINVALID PARAMETER. That's your file. - Open that file in a metadata editor like MP3Tag (free, works for audio and video). Look at custom fields (e.g.,
WM/Genre,WM/ContentDistributor). WMP stores some attributes in the file itself, and if a key has a null byte or is too long, it triggers the error. - Remove any custom fields with odd names. I've seen empty
WM/attributes andASINtags from Amazon downloads cause this. - Save the file and retry in WMP.
Why step 3 works: Windows Media Player uses Windows Media Format SDK under the hood, which validates attribute names against a whitelist. Any custom attribute name that doesn't match the pattern WM/[A-Za-z0-9]+ or a known standard gets rejected with this error. MP3Tag lets you see and delete those rogue attributes. It's the nuclear option but it's the only one that fixes the actual file's metadata.
When all else fails
If you've done all three and the error still appears on a fresh file, you might have a corrupted WMP installation. Run sfc /scannow from an elevated command prompt, then reinstall Windows Media Player via Windows Features (turn it off, reboot, turn it back on). I've only seen that needed twice in ten years, but it's there if you need it.