Fix NS_E_PDA_FAILED_TO_TRANSCODE_PHOTO (0XC00D123B)
This error stops photo sync to a portable device. Usually it's a corrupt cache or outdated driver. Here's how to fix it fast.
I know this error makes you want to throw your phone against the wall
You're trying to transfer photos from your Windows PC to your Android phone or an SD card, and bam — NS_E_PDA_FAILED_TO_TRANSCODE_PHOTO (0XC00D123B). The file won't copy. It's infuriating because the phone sees the PC and the PC sees the phone, but that one file refuses to move. Let's fix it.
The real fix: clear the Photo Gallery cache and update your MTP driver
Skip the registry edits and the BIOS tweaks. This error is almost always caused by a corrupt photo cache or an outdated Media Transfer Protocol (MTP) driver. Here's what actually works:
Step 1: Kill the cache that's poisoning the transfer
- Press Windows + R, type
%LOCALAPPDATA%\Microsoft\Windows Live\Photo Galleryand hit Enter. - Delete everything in that folder. Yes, every file.
- Empty your Recycle Bin.
That folder stores thumbnails and metadata from your photo library. When a single file in that cache gets corrupted, the entire transcode process chokes. Wiping it forces Windows to rebuild the cache from scratch.
Step 2: Reinstall the MTP driver
- Connect your device to your PC with a USB cable.
- Open Device Manager (right-click Start > Device Manager).
- Expand Portable Devices. Right-click your device and choose Uninstall device.
- Unplug the USB cable, wait 10 seconds, then plug it back in. Windows will reinstall the driver automatically.
If you're on a Samsung or Google Pixel, you might need the manufacturer's USB driver. Grab it from their developer site — Samsung USB Driver for Windows or Google USB Driver. Install it, then repeat the uninstall/reconnect step.
Step 3: Run the MTP fix tool (if steps 1 and 2 fail)
Microsoft has a hidden tool called PhotosAppFix.exe buried in the Windows store. Open PowerShell as admin and run:
Get-AppxPackage *Microsoft.Windows.Photos* | Reset-AppxPackageThis resets the Photos app without losing your files. I've seen this fix 0XC00D123B when the cache clear alone didn't do it.
Why this works
The error code NS_E_PDA_FAILED_TO_TRANSCODE_PHOTO means the Windows Photo Gallery service (or the Photos app) tried to convert a photo into a format your device understands — and it failed partway through. The transcode process relies on a clean cache to store temporary working files. When that cache has a junk entry, the conversion hits a dead end. Clearing it removes the roadblock.
The MTP driver is the bridge between your PC and your device. If it's from 2019 and you're on Windows 11 23H2, it can't handle modern photo formats like HEIC or raw files from a Canon camera. Updating the driver gives the bridge better legs.
I've also seen this error triggered by a specific photo with a corrupt EXIF header. Try copying photos one at a time to find the troublemaker. If you isolate it, open that photo in Paint, resave it as a JPEG, and try again — the re-encode strips the bad EXIF data.
Less common triggers that look the same
Sometimes the error pops up with a slightly different message like "The device cannot transcode the photo" or just a generic "Error transferring". These map to the same code 0XC00D123B. Here's what else can cause it:
- Full storage on the target device. The phone or SD card has 0 bytes left. Free up space and retry.
- Photo file size exceeds 4GB. Old FAT32-formatted SD cards can't handle files over 4GB. Reformat to exFAT if possible.
- Windows Photo Gallery version mismatch. If you're running an old version from Windows 7 era, the transcode engine is busted. Use the modern Photos app from the Store.
- Third-party antivirus intercepting the MTP stream. Norton and McAfee have been known to block photo transfers. Temporarily disable real-time protection and test.
How to stop this from happening again
Prevention is boring but effective. Do these three things and you'll rarely see this error again:
- Keep your device drivers updated. Use the manufacturer's update tool (Samsung Smart Switch, Google's device support pages) rather than relying on Windows Update.
- Clean the photo cache monthly. Set a reminder to delete the folder at
%LOCALAPPDATA%\Microsoft\Windows Live\Photo Gallery. Takes 5 seconds. - Use the Photos app's built-in sync instead of dragging files in Explorer. The app handles transcode errors more gracefully and will skip corrupted files instead of halting everything.
If you're syncing to an Android phone, consider using PhotoSync or Resilio Sync — they bypass the MTP stack entirely and transfer photos over Wi-Fi. No MTP driver, no cache corruption, no 0XC00D123B.
One last thing: I've noticed this error happens more often with phones that have custom ROMs or non-standard file systems. If you're on a LineageOS build, try the stock ROM's MTP implementation. It's a pain, but it's cheaper than a new phone.
Was this solution helpful?