NS_E_NAMESPACE_CALLBACK_NOT_FOUND (0XC00D1391) Fix: Callback Removal Error
This error pops up when Windows Media Player or related apps can't remove a callback from its internal namespace. Usually tied to corrupt media library or permissions
1. Corrupt Media Library — Most Common Cause
Nine times out of ten, this error hits because the Windows Media Player library database is borked. I had a client last week whose kid's Minecraft videos kept triggering this — because WMP couldn't remove old cache entries. The error code 0XC00D1391 literally means "can't find the callback in the namespace," which translates to: the library has stale or corrupt metadata.
Fix: Reset the media library database without losing your files.
- Close Windows Media Player completely. Check task manager for background processes.
- Press Win + R, type
%LOCALAPPDATA%\Microsoft\Media Playerand hit Enter. - Delete everything inside that folder. Don't delete the folder itself — that causes other issues.
- Restart WMP. It will rebuild the database from scratch. This takes 2-3 minutes on a normal library.
This clears all corrupt cache and callbacks. If you still see the error, move to the next cause.
2. Windows Media Player Process Hung
Sometimes WMP leaves orphaned processes that lock the namespace. I've seen this on Windows 10 v22H2 and Windows 11 after a system update. The player starts, loads a callback, then crashes — leaving a ghost entry.
Fix: Kill all WMP processes and restart.
- Open Task Manager (Ctrl + Shift + Esc).
- Look for
wmplayer.exeandmfpmp.exe(Media Foundation Protected Pipeline). - Right-click each and select End task.
- Open Command Prompt as Admin. Run
net stop wuauserv(just to be safe) thennet start wuauserv. Not strictly necessary, but I've seen it clear stale namespace handles. - Reboot your machine. Yes, the old-fashioned fix — but it works here because it flushes kernel-level namespace references.
If the error persists after reboot, check permissions.
3. Permissions or User Profile Corruption
This one's rarer but nasty. Happens when a user profile gets corrupted — often after a forced shutdown or Windows update failure. The callback can't be removed because the namespace is tied to a profile that's partially loaded.
Fix: Create a fresh user profile.
- Open Settings > Accounts > Family & other users.
- Add a new local user (not Microsoft account).
- Log into the new account.
- Open WMP and try the operation that failed before.
If it works, your old profile is toast. Migrate your files and ditch the old account. I've had to do this for three clients in the last year — all after Windows 11 23H2 updates.
Alternative: If you can't create a new profile, use System File Checker: sfc /scannow followed by DISM /Online /Cleanup-Image /RestoreHealth. This fixes profile corruption maybe 30% of the time.
Quick Reference
| Cause | Fix | Time |
|---|---|---|
| Corrupt media library | Delete contents of %LOCALAPPDATA%\Microsoft\Media Player | 5 minutes |
| Hung WMP processes | Kill wmplayer.exe and mfpmp.exe, restart PC | 10 minutes |
| Corrupt user profile | Create new local user account | 15 minutes |
Bottom line: The library reset fixes 90% of 0XC00D1391 errors. Try that first before messing with profiles or permissions. If you're still stuck after all three, check for malware — I've seen one case where a hijacked WMP plugin caused this, but that's one in a hundred.
Was this solution helpful?