You've hit the DRM migration wall
I know this error is infuriating. You're trying to sync a protected playlist or migrate content from an old device, and Windows Media Player throws up NS_E_DRM_MIGRATION_OBJECT_IN_USE (0XC00D279B). It means the DRM migration object is already doing something else—probably from a previous attempt that didn't finish cleanly. It's a lock, not a real failure. Here's how to break it.
This error typically shows up when you're moving DRM-protected tracks from an older Windows Media Player cache to a new device or computer. I've seen it most often on Windows 10 22H2 and Windows 11 23H2 after an interrupted migration or a sudden USB disconnect. Don't panic. You can fix this in under a minute if you know the trick.
Fix 1: The 30-second reset
This is the first thing I try—and it works 80% of the time.
- Close Windows Media Player completely. Check your system tray—right-click the WMP icon and choose Exit.
- Open Task Manager (Ctrl+Shift+Esc) and look for wmplayer.exe and drmmig.exe. If either is running, right-click and End Task.
- Wait 10 seconds. Seriously—just wait. The old migration process might still be locking the object.
- Reopen Windows Media Player and try your sync or migration again.
If this doesn't work, the lock is persistent. Move to Fix 2.
Fix 2: Moderate fix—clear DRM migration cache (5 minutes)
This resets the DRM migration state without messing up your licenses. It's safe and I've used it dozens of times.
- Close Windows Media Player again.
- Press Win+R, type
%LOCALAPPDATA%\Microsoft\Windows\WMPand hit Enter. - Look for a folder named DRM or MigrationState. It might be hidden—enable View > Show hidden items in File Explorer.
- Delete the MigrationState file (not the whole DRM folder). If you don't see it, delete the entire DRM folder—Windows will recreate it on next boot.
- Also delete any .tmp files in that WMP folder. These are leftover migration logs.
- Restart Windows (yes, a full restart—it clears kernel-level locks).
- Open WMP and try again.
Most people stop here and it's fixed. If not, the problem is deeper.
Fix 3: Advanced fix—reset DRM via command line (15+ minutes)
This is nuclear but necessary if the above fails. The DRM subsystem is stuck in a bad state. You need to re-register the core DLLs and clear the license store.
- Open Command Prompt as Administrator. Search for cmd, right-click, and choose Run as administrator.
- Run these commands one at a time, pressing Enter after each:
regsvr32.exe /u drmvcobj.dll
regsvr32.exe drmvcobj.dll
regsvr32.exe /u blackbox.dll
regsvr32.exe blackbox.dll
regsvr32.exe /u msvidc32.dll
regsvr32.exe msvidc32.dll - Now clear the protected storage:
Warning: This deletes all DRM licenses. You'll need to reauthorize any protected content—typically by playing each file once while online.sc stop SamSs
sc config SamSs start= disabled
del /s /q /f "%ALLUSERSPROFILE%\Microsoft\Windows\DRM\*"
sc config SamSs start= auto
sc start SamSs - Restart your PC.
After reboot, Windows Media Player will recreate the DRM folder. Open it, try your migration. If it still fails, check if Windows is fully updated—go to Settings > Windows Update > Check for updates. Microsoft patched a related bug in KB5035845 (March 2024) for Windows 11.
Why this error happens in the real world
This error isn't random. It happens when you try to start a second migration while the first one is still running—or when the first one crashed and left the object locked. Common triggers:
- You unplugged a USB drive mid-sync while migrating protected songs.
- You opened WMP twice and both instances tried to migrate at the same time.
- You switched user accounts while a migration was happening.
If you're on an enterprise network, group policy might be blocking DRM migration. Check with your IT team—they can disable the policy via gpedit.msc under Computer Configuration > Administrative Templates > Windows Components > Windows Media Player > Prevent DRM migration.
Last resort: Repair Windows Media Player
If nothing works, repair the feature. Go to Settings > Apps > Optional features > Windows Media Player, click Uninstall, restart, then reinstall it from Turn Windows features on or off. This is rare, but I've seen it fix corrupt WMP installations on Windows 10 1909 and earlier.
You're welcome to email me if none of this works—but I bet Fix 1 or Fix 2 will get you there. Good luck.