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 0xC00D1037 – Internal 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
- Clear the thumbnail cache. Open File Explorer, type
%localappdata%\Microsoft\Windows\Explorerinto the address bar, and hit Enter. Delete everything inside that folder (you'll see files likethumbcache_*.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. - 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.
- Run DISM and SFC. Open Command Prompt as admin and run:
DISM fixes the system image; SFC replaces corrupt system files. Let both finish. Reboot and try again.DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow - 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.