0XC00D279B

NS_E_DRM_MIGRATION_OBJECT_IN_USE (0XC00D279B) Fix

Annoying DRM migration error that locks you out of protected content. The fix is simpler than it looks—just wait or kill the stuck process.

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.

  1. Close Windows Media Player completely. Check your system tray—right-click the WMP icon and choose Exit.
  2. Open Task Manager (Ctrl+Shift+Esc) and look for wmplayer.exe and drmmig.exe. If either is running, right-click and End Task.
  3. Wait 10 seconds. Seriously—just wait. The old migration process might still be locking the object.
  4. 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.

  1. Close Windows Media Player again.
  2. Press Win+R, type %LOCALAPPDATA%\Microsoft\Windows\WMP and hit Enter.
  3. Look for a folder named DRM or MigrationState. It might be hidden—enable View > Show hidden items in File Explorer.
  4. 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.
  5. Also delete any .tmp files in that WMP folder. These are leftover migration logs.
  6. Restart Windows (yes, a full restart—it clears kernel-level locks).
  7. 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.

  1. Open Command Prompt as Administrator. Search for cmd, right-click, and choose Run as administrator.
  2. 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
  3. Now clear the protected storage:
    sc stop SamSs
    sc config SamSs start= disabled
    del /s /q /f "%ALLUSERSPROFILE%\Microsoft\Windows\DRM\*"
    sc config SamSs start= auto
    sc start SamSs
    Warning: This deletes all DRM licenses. You'll need to reauthorize any protected content—typically by playing each file once while online.
  4. 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.

Related Errors in Windows Errors
0XC00D1BB7 NS_E_MULTIPLE_AUDIO_CODECS fix: same codec for all audiences 0X00003AA8 Fix ERROR_EVT_FILTER_INVARG (0x3AA8) in Event Viewer 0X000009C5 Fix 0X000009C5: Program Needs More Memory Error 0X80100015 Fix SCARD_E_INVALID_ATR (0X80100015) on Windows

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.