You're in Windows Media Player or some app that handles media files – maybe you're ripping a CD, saving a playlist, or copying a video. Then bam: NS_E_FILE_EXISTS (0XC00D001B). The message just says the file already exists. Annoying, right? It usually happens when you try to save a file with the same name as one already in the target folder. Had a client last month whose whole music library sync failed because of this – turned out his software kept trying to overwrite tracks he'd already ripped.
Root Cause
Straightforward: the file you're trying to create or rename already exists in that location. Windows and apps like Media Player won't overwrite it by default – that's a safety feature. The app throws this error instead of asking if you want to replace it. Could be a leftover .wma, .mp3, or even a hidden file. Sometimes it's a permissions issue where the app can't see the existing file but knows something's there. Rarely, it's a corrupted index in the media library.
Fix: Here's What Works
- Find the duplicate file – Note the filename from the error. Open File Explorer and go to the folder where you're saving. Sort by name and look for an exact match. If you can't find it, enable hidden files: in Explorer, click View > Show > Hidden items. Files with a dot prefix are often hidden.
- Delete or rename the existing file – Right-click it and choose Delete (or rename it by pressing F2). If it's in use, close any app that might have it open – like Media Player, VLC, or a photo viewer. If it won't delete, reboot and try again.
- Try saving again – Go back to your app and repeat the save or rip operation. Should work now. If it still errors, try saving to a different folder (like Desktop) to rule out a folder-specific issue.
- Clear the media library cache – If you're using Windows Media Player, open it, press Ctrl+M to show the menu, then click Tools > Advanced > Restore Media Library. That rebuilds the database. Alternatively, close WMP, then in File Explorer go to
%userprofile%\AppData\Local\Microsoft\Media Playerand delete everything inside. WMP will recreate it next time you open it. - Check file permissions – Right-click the target folder, select Properties, go to Security tab. Your user account should have Full Control. If not, click Edit, select your user, and check Full Control. Apply, then retry.
Still Fails? Check These
If you've done the above and the error persists, look for these leftovers:
- Thumbs.db or desktop.ini – These hidden system files sometimes confuse apps. Delete them from the folder (enable hidden files first). They'll regenerate.
- OneDrive or sync conflict – If the folder is synced to OneDrive, a conflicting copy might be there. Check the OneDrive status in the system tray. Pause sync, fix the file, then resume.
- Antivirus locking the file – Temporarily disable real-time protection (Windows Defender or third-party) and try the save again. If it works, add an exception for that folder.
- Corrupted file system – Open Command Prompt as admin and run
chkdsk C: /f(replace C: with your drive). Let it scan and fix errors on next reboot.
This error is almost always a simple duplicate. Don't overthink it. But if you run into it repeatedly, check if the app keeps trying to save with the same default name – you might need to change the save-as settings. Fixed it for a small biz client who had a video editing app that always defaulted to "output.mp4". Just renamed it once and never saw the error again.