0XC00D279A

NS_E_DRM_MIGRATION_OPERATION_CANCELLED (0xc00d279a) – Fix User-Canceled DRM Migration in WMP

Windows Errors Intermediate 👁 1 views 📅 May 27, 2026

This error appears in Windows Media Player when DRM migration gets cancelled mid-process. Here's why it happens and how to fix it without losing your music.

What's actually happening here

This error pops up when you're trying to migrate your DRM licenses in Windows Media Player—usually after reinstalling Windows or moving to a new machine—and the process gets interrupted. Maybe you clicked Cancel, maybe the connection dropped, maybe Windows itself threw a hissy fit. What's happening is the DRM migration engine (a legacy component from Microsoft's PlaysForSure era) has entered a state where it thinks you deliberately aborted, so it locks up the migration dialog. The error code 0XC00D279A translates to "Migration was canceled by the user"—even if you didn't click anything.

I've seen this most often on Windows 10 22H2 and Windows 11 23H2 after a fresh install, when WMP tries to reauthorize licenses for songs ripped from old CDs or bought from the now-dead Zune Marketplace. The fix is straightforward: force the DRM subsystem to reset its state.

30-second fix: Restart the migration from scratch

This works about 30% of the time, but it's fast. Close Windows Media Player completely. Open it again. It should prompt you again for DRM migration. If you see the same dialog, don't cancel—let it run. The reason this sometimes works is that the DRM client remembers it was in the middle of migration but the Cancel flag might not have persisted in the registry after a restart of the app. Worth a shot.

If you still get the same error, move on.

5-minute fix: Clear the DRM cache and reauthorize

This is the real fix for most people. The DRM subsystem stores its license state in a folder under %PROGRAMDATA%. If the migration got cancelled, the files in that folder are left in an inconsistent state. Wiping them forces a clean start.

  1. Close Windows Media Player and any other app that might use DRM (like older Windows Media Center).
  2. Press Win + R, type services.msc, and hit Enter.
  3. Find the service named Windows Media Player Network Sharing Service. Right-click and select Stop. This prevents any DRM-related background processes from locking the files.
  4. Open File Explorer. In the address bar, paste:
    %PROGRAMDATA%\Microsoft\Windows\DRM
  5. You'll see several files—drmstore.hds, indivbox.key, and maybe drmv2clt.dll. Important: Don't delete the folder itself. Delete only the files inside it. If you get a permission error, take ownership (right-click folder > Properties > Security > Advanced > Change owner to your user account).
  6. After deleting, restart the service you stopped in step 3.
  7. Open Windows Media Player again. It should now prompt you to complete DRM migration with a fresh dialog. Accept and let it finish.

The reason this works: the DRM client creates a new license store from scratch when it finds the old one missing. It's like resetting a database to empty—no corrupted state, no cancelled flags.

15-minute fix: Registry cleanup and reinstall

If the above didn't work, the Cancel flag might be baked into the registry. Here's the nuclear option.

  1. Open Regedit (Win + R, type regedit). Backup your registry first: File > Export, save a full backup.
  2. Navigate to:
    HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer\Preferences
  3. Look for a DWORD value named MigrationCanceled or MigrationPending. If you see one, delete it. If there's a key named DRMMigration, delete the entire key.
  4. Also check:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\DRM
    For any MigrationCanceled entries. Delete them.
  5. Now uninstall Windows Media Player via Windows Features (Control Panel > Programs > Turn Windows features on or off > uncheck Media Features > OK). Reboot.
  6. Reinstall WMP by checking that same box again. Reboot again.
  7. Run WMP. It will go through first-run setup. Let it scan your library. When the migration dialog appears, approve it.

This is a scorched-earth approach, but it's necessary if the DRM state is deeply corrupted. The registry entries are what tell the DRM client "you already cancelled, don't try again." Deleting them removes that lock.

Why this matters

DRM migration is a one-time operation required to play legacy protected content on newer Windows builds. If you skip it, you'll get this error every time you try to play a protected file. Microsoft officially stopped supporting DRM migration back in 2019, so there's no patch coming. The only path forward is manual cleanup.

If none of these work, check whether your audio files are actually protected. Right-click a file in WMP, go to Properties > Media Usage Rights. If it says "This file is protected," and you can't migrate, you may need to strip the DRM using a tool like FairUse4WM (Windows 7 only) or accept the loss. But for 9 out of 10 cases, clearing the cache does the job.

Was this solution helpful?