Fix NS_E_PDA_INITIALIZINGDEVICES (0xC00D118D) in WMP
Windows Media Player can't sync because it's stuck initializing devices. This usually means a corrupt sync partnership or a hung background process.
Quick answer (for advanced users)
Close WMP. Open File Explorer. Delete everything inside %userprofile%\AppData\Local\Microsoft\Media Player\. Restart WMP. The error should be gone.
What's happening here?
When you plug in a phone, MP3 player, or USB drive, Windows Media Player tries to detect it and set up a sync partnership. That process is handled by a background service and a set of hidden files in your user folder. If those files get corrupted—often from a crash, a bad USB disconnect, or antivirus interfering—WMP gets stuck in a loop. It keeps trying to initialize the device but can't finish. The error code 0xC00D118D is just WMP saying "I'm busy, leave me alone." But it never finishes, so you're stuck.
I've seen this most often on Windows 10 (version 22H2) and Windows 11 (version 23H2) with Android phones connected via MTP. Also happens with old Zune or Creative MP3 players. The fix is the same across all versions.
Step-by-step fix
- Close Windows Media Player completely. Don't just minimize it. Click the X. If it's still running in the system tray, right-click the icon and pick Exit.
- Open File Explorer. Press Win + E on your keyboard.
- Paste this path into the address bar and press Enter:
%userprofile%\AppData\Local\Microsoft\Media Player\
This takes you to the folder where WMP stores its sync database and device cache. - Delete everything inside that folder. You can select all files (Ctrl + A) and press Delete. Windows might say some files are in use—if it does, skip those files for now. We'll handle that next.
- Restart Windows Media Player. It'll recreate all those files fresh. After a few seconds, you should see the library load. If you had playlists or sync partnerships, they'll be gone. That's normal—you'll need to set them up again.
- Plug in your device again. Wait 10-15 seconds. WMP should now detect it normally without the error.
If the error still shows up
Sometimes the background service won't let go of the old files. Here's what to do:
- Press Ctrl + Shift + Esc to open Task Manager.
- Find any process named
wmplayer.exeorMediaPlayer.exe. Right-click it and choose End Task. - Run Command Prompt as Administrator. Press the Start button, type
cmd, right-click Command Prompt, and pick Run as administrator. - Type this command and press Enter:
net stop WMPNetworkSvc
This stops the Windows Media Player Network Sharing Service. It's part of the sync system. - Now delete the folder contents again (step 4 from above). This time everything should delete cleanly.
- Restart the service: In the same Command Prompt, type:
net start WMPNetworkSvc - Open WMP and reconnect your device. The error should be gone.
Alternative fix: use a different sync method
If this keeps happening, consider switching away from WMP entirely. Windows 10 and 11 have a built-in Photos app that syncs music to phones using the same MTP protocol but without the corrupt partnership files. Or use something like MediaMonkey or VLC—they're free, they handle sync better, and they don't get stuck like this.
One more thing: Some cheap USB cables cause WMP to detect and lose the device repeatedly, triggering this error. If the fix above works but the error returns the next time you plug in, swap your cable.
How to prevent this from happening again
- Always eject your device safely. Use the Safely Remove Hardware icon in the system tray. Yanking the cable out mid-sync is the number one cause of this error.
- Don't let WMP auto-sync unless you really need it. Go to the Sync tab, right-click your device, and pick "Set up sync" then choose manual instead of automatic. That way, sync only runs when you click a button.
- Run Disk Cleanup occasionally. WMP's database can bloat over time. Open Disk Cleanup, select your system drive, check "Thumbnails" and "Temporary files," then run it. Keeps things lean.
Was this solution helpful?