0XC00D1037

Fix JPEG Error 0xC00D1037 in Windows Photos App

Internal library error when opening JPEGs in Windows Photos app. Corrupt thumbnails or broken codec chain cause this.

Quick answer: Reset the Windows Photos app via Settings > Apps > Photos > Advanced > Reset, or delete the thumbnail cache in %localappdata%\Microsoft\Windows\Explorer.

What's Causing 0xC00D1037?

You double-click a JPEG, the Photos app opens, and instead of your vacation pic you get a blank frame with 0xC00D1037Internal Library Error. I've seen this on Windows 10 and 11 after a recent update or when you copy images from an external drive. The real culprit is almost always a corrupt thumbnail cache or a broken codec registration. The Photos app tries to load a cached preview that's gone bad, hits a dead end, and throws this generic error instead of showing you the image.

Last month I had a client whose entire photo library from a wedding shoot gave this error. Turned out his antivirus had quarantined part of the Windows Imaging Component (WIC) codec. Easy fix once we knew where to look.

Step-by-Step Fix

  1. Clear the thumbnail cache. Open File Explorer, type %localappdata%\Microsoft\Windows\Explorer into the address bar, and hit Enter. Delete everything inside that folder (you'll see files like thumbcache_*.db). You might need to close File Explorer first – open Task Manager, right-click Windows Explorer, and restart it. Then try opening the JPEG again.
  2. Reset the Photos app. Go to Settings > Apps > Apps & features, find Microsoft Photos, click it, choose Advanced options, then scroll down and click Reset. This wipes the app's temporary data and resets its codec registration. It won't delete your photos, just the app's config.
  3. Run DISM and SFC. Open Command Prompt as admin and run:
    DISM /Online /Cleanup-Image /RestoreHealth
    sfc /scannow
    DISM fixes the system image; SFC replaces corrupt system files. Let both finish. Reboot and try again.
  4. Check the file itself. If the JPEG is from a camera or download, try opening it in another app – like Paint or a browser. If it opens fine there, the problem is the Photos app. If it won't open anywhere, the JPEG is genuinely corrupt (maybe a truncated download).

Alternative Fixes If the Main One Fails

Reinstall the Photos App via PowerShell

Open PowerShell as admin and run:

Get-AppxPackage *Microsoft.Windows.Photos* | Remove-AppxPackage

Then reinstall from the Microsoft Store. This nukes the app entirely – good for stubborn cases.

Use a Different Image Viewer

The Windows Photos app is bloated and fragile. Install IrfanView (free, lightweight) or FastStone Image Viewer. Right-click the JPEG, choose Open with > IrfanView. If it works, you've confirmed the issue is in the Photos app codec chain. You might stick with the replacement – I do on all my machines.

Repair the Windows Imaging Component

If resetting doesn't cut it, the WIC codec itself might be corrupt. Run the Media Feature Pack installer (for Windows N editions) or reinstall the latest Microsoft Visual C++ Redistributables. Both are available from Microsoft's site. This fixed the issue for that wedding-shoot client – the C++ runtime had gotten nuked by a security update.

Prevention Tips

  • Keep Windows updated. Microsoft ships codec fixes in cumulative updates. Don't skip them.
  • Don't rely on thumbnails for critical files. The thumbnail cache is a database – it gets corrupted. Always open the actual file to verify.
  • Back up your photos. If a JPEG is genuinely corrupted, no app fix will save it. Store raw copies on an external drive or cloud.
  • Use a dedicated image viewer. I've said it before – the Photos app is the weak link. A simple viewer like IrfanView rarely breaks because it doesn't depend on Windows codec registration the same way.
Bottom line: This error is almost always the Photos app or the thumbnail cache, not your photo. Clear the cache, reset the app, and if needed, switch to a real image viewer. You'll be back to your photos in five minutes.
Related Errors in Windows Errors
0XC0262104 Fix ERROR_GRAPHICS_TRY_AGAIN_LATER (0XC0262104) on Windows 0X000000D4 ERROR_LOCKED 0x000000D4: Fix memory segment locked on Windows 0XC01E0587 DDC/CI Monitor Capabilities String Error 0xC01E0587 Fix 0X80340014 Fix ERROR_NDIS_INVALID_LENGTH (0X80340014) on Windows 10/11

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.