sodcalculator

10 Tech How-To

Fix Grey Box Over Photos on PC: Quick Steps

Guide 10-12997 · Updated · Step by step

If you’re seeing a grey box over your photos on a Windows PC, it usually means the image preview or thumbnail is corrupted, the file association is broken, or a system component like Windows Photo Viewer is misbehaving. This guide walks you through the most effective fixes, from simple refreshes to registry tweaks, so you can view your images normally again.

What You’ll Need

  • Administrator access to your Windows PC (for some steps)
  • A backup of your important photos (recommended before making system changes)
  • Internet connection (for optional steps like running Windows Update)

Step-by-Step

  1. Restart File Explorer. Grey boxes often appear due to a temporary glitch in the thumbnail cache. Press Ctrl+Shift+Esc to open Task Manager. Find “Windows Explorer” in the list, right-click it, and choose “Restart.” Your taskbar will disappear and reappear. Check if the grey boxes are gone.
  2. Clear the thumbnail cache. If restarting Explorer didn’t help, the cache might be corrupted. Open File Explorer, go to the folder with the grey boxes, and press Ctrl+A to select all files. Then press Shift+Delete to permanently delete them (do this only if you have backups). Alternatively, use Disk Cleanup: type “Disk Cleanup” in the Start menu, select your drive, check “Thumbnails,” and click OK. This clears the cache without deleting your photos.
  3. Change the default photo viewer. Sometimes the grey box appears because the default app is broken. Right-click a photo, select “Open with,” then “Choose another app.” Pick “Photos” (Microsoft’s built-in app) or “Windows Photo Viewer” (if available). Check “Always use this app to open .jpg files” and click OK. If the grey box persists, try a different app like Paint to see if the issue is app-specific.
  4. Run the Windows Photo Viewer troubleshooter. Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters. Look for “Windows Store Apps” or “Photos” and run the troubleshooter. This can fix common app issues automatically.
  5. Re-register the Photos app. Open PowerShell as administrator (right-click Start > Windows PowerShell (Admin)). Type the following command and press Enter:
    Get-AppxPackage Microsoft.Windows.Photos | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
    Wait for it to complete, then restart your PC.
  6. Check for file corruption. If the grey box appears only on certain photos, the files themselves might be corrupted. Try opening them in a different program or on another device. If they open elsewhere, the issue is with your PC. If not, the files are damaged, and you may need to restore them from a backup.
  7. Update your graphics drivers. Outdated or faulty graphics drivers can cause rendering issues. Go to Device Manager (right-click Start > Device Manager), expand “Display adapters,” right-click your GPU, and select “Update driver.” Choose “Search automatically for drivers.” If that doesn’t help, visit the GPU manufacturer’s website for the latest driver.
  8. Run System File Checker (SFC). Corrupted system files can affect image rendering. Open Command Prompt as administrator (type “cmd” in Start, right-click, “Run as administrator”). Type sfc /scannow and press Enter. Wait for the scan to finish, then restart your PC.

Common Mistakes

  • Deleting the actual photos instead of the cache. When clearing the thumbnail cache, be careful not to select your actual image files. Always use Disk Cleanup or clear the cache folder specifically, not your photo folders.
  • Skipping the Explorer restart. Many users jump straight to complex fixes without trying the simplest one. A quick Explorer restart resolves the issue for a large number of cases.
  • Changing file associations without testing. If you set a default app that is also broken, the grey box may persist. Always test opening a photo with a different app before permanently changing the default.
  • Assuming it’s a virus. While malware can cause display issues, grey boxes are usually benign. Don’t panic; follow the steps in order before resorting to antivirus scans.

Tips

  • Use a third-party photo viewer. Apps like IrfanView or FastStone Image Viewer are lightweight and rarely have thumbnail issues. They can serve as a reliable alternative to Windows’ built-in viewers.
  • Keep your system updated. Regularly install Windows updates, as they often include fixes for display and app-related bugs.
  • Organize your photos into folders. If you have thousands of images in one folder, the thumbnail cache can become overloaded. Splitting them into subfolders can reduce the load.
  • Disable thumbnail previews temporarily. In File Explorer, go to View > Options > Change folder and search options. Under the View tab, check “Always show icons, never thumbnails.” This will stop the grey boxes but also hide previews. You can re-enable it later.

Troubleshooting

If the grey box persists after trying all the steps above, consider the following:

  • Check if the issue occurs in Safe Mode. Boot your PC into Safe Mode (press F8 during startup or use Settings > Update & Security > Recovery > Advanced Startup). If the grey boxes disappear in Safe Mode, a third-party program or driver is likely interfering. Try a clean boot to isolate the culprit.
  • Create a new user profile. A corrupted user profile can cause display issues. Create a new local user account and see if the problem occurs there. If not, migrate your files to the new profile.
  • Run DISM tool. If SFC didn’t fix the problem, run the Deployment Imaging Service and Management tool. In Command Prompt (admin), type DISM /Online /Cleanup-Image /RestoreHealth and press Enter. This repairs the Windows system image.
  • Check for third-party shell extensions. Shell extensions (like those from cloud storage apps) can interfere with thumbnail rendering. Use a tool like ShellExView to disable non-Microsoft extensions temporarily and see if the issue resolves.
  • If all else fails, perform a system restore. Use a restore point from before the issue started. Go to Control Panel > Recovery > Open System Restore, choose a point, and follow the prompts.

Frequently Asked Questions

Why do my photos show a grey box instead of a preview?

This is usually due to a corrupted thumbnail cache, a broken file association, or a glitch in the photo viewer app. It can also happen if the image file itself is damaged or if your graphics drivers are outdated.

Will clearing the thumbnail cache delete my photos?

No. The thumbnail cache is a separate database of small preview images. Clearing it only removes those previews; your actual photo files remain untouched. Windows will regenerate the thumbnails the next time you open the folder.

What if the grey box appears only on one specific photo?

That particular file is likely corrupted or in an unsupported format. Try opening it with a different app. If it still shows a grey box, the file may be beyond repair, and you should restore it from a backup.

Can a virus cause grey boxes on photos?

It’s rare, but malware can cause display issues. If you’ve tried all the fixes and the problem persists, run a full antivirus scan with Windows Defender or a trusted third-party tool.

Is there a way to prevent this from happening?

Keeping your system and drivers updated, regularly clearing the thumbnail cache (especially if you have many images), and avoiding third-party photo apps that might conflict can reduce the frequency. Also, avoid storing photos in system folders that are heavily protected.

Why does the grey box appear in some folders but not others?

This often happens when the thumbnail cache for that specific folder is corrupted. Clearing the cache (Step 2) should fix it. If it persists, the folder might have special permissions or be on a network drive with limited thumbnail support.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →