Fix NS_E_WMP_IMAPI2_ERASE_FAIL (0XC00D11E0) Fast
Windows Media Player can't erase a rewritable disc. Usually it's a bad disc or locked drive. Here's the fix from real-world calls.
1. Bad or incompatible rewritable disc (most common)
I've seen this more times than I can count. You pop in a CD-RW or DVD-RW, hit erase in Windows Media Player, and get that error. Nine times out of ten, the disc itself is the problem. Either it's old, scratched, or it's the wrong type for your drive.
Here's the thing: rewritable discs have a limited lifespan. After about 1000 erase cycles, they start to degrade. Also, some cheap discs just don't work with certain drives. Had a client last month whose entire print queue died because of this – wait, no, that was a printer issue. But I did have a client who bought a 50-pack of no-name DVD-RWs that all failed to erase after the first use.
What to do:
- Try a different rewritable disc. If you have a spare CD-RW or DVD-RW, test with that.
- Check the disc for scratches or smudges. Clean it gently with a lint-free cloth.
- Make sure you're using the right disc for your burner. If your drive is DVD-compatible, don't try to erase an old CD-RW in a DVD drive – some older drives are picky.
- If the disc works in another computer's drive, throw it out and buy a fresh one. They're cheap.
Real fix: Swap in a known-good disc. If that works, your old disc is toast. Toss it and move on.
2. Drive is locked or in use by another program
Windows Media Player isn't the only app that can lock a disc drive. If you've got something like Nero, Roxio, or even Windows Explorer open to the disc, the drive might refuse to erase. Also, background services like Windows Update or antivirus scans can interfere.
I've seen this happen when someone tries to erase a disc while a movie is playing from it – not that you can play a rewritable disc like that, but you get the idea. Another time, a user had Dropbox set to auto-sync, and it kept polling the drive.
What to do:
- Close all programs that might be using the drive. That includes Windows Explorer, any burning software, media players, and even your antivirus's CD scan feature.
- Right-click the disc drive in File Explorer and select Eject. Then push the tray back in. This often resets the drive's lock state.
- If that doesn't work, reboot your computer. It clears any lingering locks.
Real fix: Reboot, then immediately try to erase before opening anything else. If it works, you've got a program that was locking it.
3. Outdated or corrupted IMAPI2 driver
Windows Media Player uses IMAPI2 (Image Mastering API version 2) to burn and erase discs. If this component is broken or outdated, you'll get that error. This is less common, but it happens after Windows updates or if some third-party burner software messed with the system files.
I've seen it once after a user installed a cheap CD-labeling program that replaced the IMAPI2 files with an older version. Caused nothing but headaches.
What to do:
- Open Command Prompt as Administrator. Press Win + X, then choose "Command Prompt (Admin)" or "PowerShell (Admin)".
- Run these commands one at a time:
Theregsvr32 /s imapi2.dll regsvr32 /s imapi2fs.dll/sswitch runs it silently. You won't see a success message unless there's an error. - Reboot your PC after.
If that doesn't work, try the Windows Media Player troubleshooting tool. In Windows 10/11, go to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Media Player. Run it and follow the prompts.
Real fix: If registering the DLLs doesn't help, do a System File Checker scan. Open Command Prompt as Admin and run sfc /scannow. Let it finish, then reboot. This fixed it for my client with the labeling software.
Quick-Reference Summary
| Cause | What to check | Fix |
|---|---|---|
| Bad disc | Scratches, age, compatibility | Try a different rewritable disc |
| Drive locked | Other programs using the drive | Close all apps, eject/insert, reboot |
| IMAPI2 driver issue | Corrupted or outdated driver | Run regsvr32 commands, then sfc /scannow |
Try these in order. Most of the time it's the disc. If you've tried all three and it's still failing, your drive might be dying. I've had to replace a few optical drives over the years. They're cheap now – under $20 for a basic DVD burner. Sometimes it's just not worth the hassle.
Was this solution helpful?