Quick answer: Delete the DRM license store in %PROGRAMDATA%\Microsoft\Windows\WizardData and reset Windows Media Player's DRM component by running regsvr32 drmstor.dll from an elevated command prompt, then re-sync the device.
What's actually happening here is that Windows Media Player (WMP) uses Microsoft's DRM (Digital Rights Management) framework to manage licenses for protected files—usually purchased music or audiobooks. When you copy a protected file to a portable device, WMP performs a device activation handshake. The 0XC00D2765 error means that handshake was canceled, either because the device refused to accept the DRM challenge or because the local DRM store became corrupted. In my experience, this shows up most often after a Windows update or when you've swapped out the portable device's storage card. The DRM store doesn't survive those changes well.
The reason step 3 works is that drmstor.dll is the heart of the license store. Re-registering it forces Windows to rebuild the store from scratch, which clears any corrupted entries that were blocking the activation. Let's walk through it.
Fix Steps
- Kill WMP and any sync processes. Open Task Manager (Ctrl+Shift+Esc) and end
wmplayer.exeif it's running. Also check fordrmupgrd.exe—that's the DRM upgrade process, and it can hold locks on the store. - Back up your license store. Navigate to
%PROGRAMDATA%\Microsoft\Windows\WizardData. Copy the entireWizardDatafolder to your Desktop. This is your DRM license database—if something goes wrong, you can restore it. - Delete the license store contents. Select everything inside
WizardDataand delete it. Don't delete the folder itself, just what's inside. Windows will recreate the files when you re-register the DLL. - Re-register the DRM store. Open Command Prompt as Administrator (right-click Start, select "Command Prompt (Admin)" or "Terminal (Admin)"). Run:
regsvr32 drmstor.dll
You'll see a confirmation dialog. Restart the machine after this—don't skip the reboot, the DRM service needs a clean start.
- Re-sync your device. After rebooting, open WMP, plug in the portable device, and try copying the protected file again. WMP will prompt you to re-activate the device for DRM. Accept it.
If That Doesn't Work
The main fix handles 80% of cases. For the stubborn ones, try these in order.
1. Force a DRM client reset
Run this from an elevated command prompt:
del /f /q "%PROGRAMDATA%\Microsoft\Windows\WizardData\*.*"
regsvr32 /u drmstor.dll
regsvr32 drmstor.dll
The unregister step clears any lingering COM references. I've seen cases where a simple re-register didn't fully reset the store, but unregistering first did the trick.
2. Check the device's DRM support
Not all devices support DRM playback. Older MTP devices—especially cheap MP3 players from 2010-era—often fail the activation handshake because they don't have the right DRM SDK. If your device is more than a few years old, check the manual. If it says "PlaysForSure" or "WMDRM" somewhere, it should work. If not, you're fighting a hardware limitation.
3. Re-download the protected files
If you bought the files from a store like iTunes or a now-defunct service, re-downloading often assigns a fresh license that syncs cleanly. For iTunes, go to the Purchased section and grab the tracks again. For other stores, check your account's download page.
4. Convert to a non-protected format
This is the nuclear option, but it works if you own the content. Burn the protected WMA or AAC files to a CD (using WMP), then rip the CD back to MP3. The burned CD has no DRM, so ripping gives you unprotected MP3s. Yes, it's tedious, but it's also a permanent fix that removes the DRM headache entirely.
Prevention
Keep your DRM store clean by not interrupting syncs. If you yank the USB cable mid-copy, the license handshake gets canceled—that's literally what the error code says. Always use "Safely Remove Hardware" before unplugging. Also, if you're switching to a new portable device, do a fresh sync instead of copying the old store. The store is tied to the device's unique ID, and trying to reuse it causes exactly this problem.
One more thing: the error code 0XC00D2765 is sometimes accompanied by a message about "security required to copy protected files." That's just the human-readable translation of the same failure. The underlying cause is the same—DRM activation got aborted.
I've seen this error on Windows 7 through Windows 11, and the fix hasn't changed. The DRM component is ancient but stubbornly persistent. The steps above target the root cause, not the symptom. If you're still stuck after step 4, the device itself likely doesn't support DRM, and you'll need to convert your files or use a different player.