0XC00D123C

NS_E_PDA_FAILED_TO_ENCRYPT_TRANSCODED_FILE: 0XC00D123C Fix

Windows Media Player throws this error when syncing music to an old MP3 player. Usually a DRM issue or corrupted file. Two quick fixes work most times.

Cause 1: DRM license is missing or expired for that file

What's actually happening here is that Windows Media Player tries to encrypt the file before sending it to your portable device (like a Sandisk Sansa or old Zune). But the digital rights license for that song either expired or got corrupted. The player can't re-encrypt what it doesn't have permission to copy.

The error shows up mostly after you reinstall Windows or move your music folder to a new PC. Old DRM-protected WMA files from 2005-2010 are the biggest offenders. The license server is long dead, so the player just gives up.

Fix: Delete the offending file and re-add it (or re-rip the CD)

  1. Open Windows Media Player and find the song that failed. Normally it's the last one in the sync list that turned red with this error.
  2. Right-click the song and select Delete. Say yes to "also remove from computer".
  3. If you own the CD, put it in the drive and re-rip the track. Use MP3 format (320kbps) instead of WMA — MP3 has no DRM, so this error can't happen.
  4. If you bought it from an online store that's now dead (like MSN Music), tough luck. You can try removing the old license manually:
# Open Command Prompt as admin
# Delete all DRM licenses (this kills ALL protected files globally)
net stop "Windows Media Player Network Sharing Service"
del /f /s /q "%ALLUSERSPROFILE%\Microsoft\MediaPlayer\DRM\*.*"
net start "Windows Media Player Network Sharing Service"

The reason step 3 works is that Windows Media Player creates a fresh license database on next launch. But this is a nuclear option — any other DRM-protected file will also lose its license. Only do this if you can re-download or re-rip everything.

Cause 2: File is corrupted or partially downloaded

Sometimes the file isn't DRM-protected at all. The error just means the transcoder (the part that converts audio format for your device) hit a corrupted header or missing data chunk. This happens most with MP3 files that were downloaded on a shaky internet connection — they look fine in the player (name, length) but the actual audio data is garbage past the first 10 seconds.

Fix: Check the file with a hex viewer, then re-download or convert it

  1. Right-click the file in WMP and choose Open file location.
  2. Try playing the file from the folder with a different program (VLC Media Player). If VLC plays it fine, the file itself is okay but WMP's transcoder is choking. If VLC also shows errors or skips, the file is corrupted.
  3. If corrupted: delete the file and re-download from the original source. For partially downloaded files, your download manager might have a "resume" option — use it.
  4. If VLC plays it but WMP doesn't: convert the file to a clean format using ffmpeg.
# Open Command Prompt in the folder with the bad file
# Replace "badfile.mp3" with the actual filename
ffmpeg -i badfile.mp3 -c:a libmp3lame -q:a 2 fixedfile.mp3

The reason this conversion works is that ffmpeg re-writes the entire audio stream from scratch. It ignores minor header errors and produces a clean MP3 that Windows Media Player can transcode without choking.

Cause 3: Windows Media Player DRM database is corrupted

This is less common but real. Happens after a failed Windows update (like 22H2 on Windows 10) or if you restored the DRM folder from a backup. The database file indiv01.key gets out of sync with the actual licenses.

Fix: Reset the DRM folder without deleting existing licenses

  1. Close Windows Media Player completely. Task Manager > end task if it's hanging.
  2. Open File Explorer and paste this path: %ALLUSERSPROFILE%\Microsoft\MediaPlayer\DRM
  3. You'll see a folder named DRM. Inside are files like indiv01.key and clients.xml.
  4. Rename the entire DRM folder to DRM_old. Don't delete it — you might need to restore it if something breaks.
  5. Restart Windows Media Player. It will create a fresh DRM folder with blank license data.
  6. If you have protected files you bought, you'll need to re-authorize the player for each file (right-click > Manage licenses).

This fix is safer than the admin command because it doesn't touch other users' DRM data. The player recreates the folder structure automatically on next launch. Took me 2 minutes on a HP Pavilion with Windows 10 Pro 22H2.

Quick-reference summary table

SymptomMost likely causeFix timeEasiest fix
Error only on one file, others sync fineDRM license missing or expired5-10 minDelete file, re-rip CD as MP3
Error on many files after OS reinstallDRM database corrupted10-15 minRename DRM folder, let WMP recreate it
Error on files from torrents or old downloadsCorrupted file header5 minRe-download or convert with ffmpeg

The bottom line: if you see 0XC00D123C, look at the file first. If it's a single song, it's almost always a dead DRM license. If it's a bunch of songs after a Windows update, reset the DRM folder. And if you're stuck, convert everything to MP3 — no DRM, no headache.

Related Errors in Cybersecurity & Malware
0X80090013 NTE_BAD_PROVIDER (0x80090013) – Invalid Provider Specified Fix 0X8009310E Fix ASN1 (0X8009310E) Bad Unicode (UTF8) Error on Windows 0X80090016 NTE_BAD_KEYSET (0x80090016) – Key set does not exist fix STATUS_ACCOUNT_LOCKED_OUT (0xC0000234) or Event ID 4740 Account Locked After Too Many Failed Logins — the Real Fix

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.