How to Repair Damaged or Corrupted Thumbs.db Files

Delete thumbs.db to repair errors related to this file

What to Know

  • Open the folder with the damaged thumbs.db file, and delete the file.
  • To recreate the file, go to the folder where the thumbs.db file was deleted > select View > Thumbnails.
  • Doing this will initiate the Thumbnails view and will automatically create a new copy of the file.

This article explains how to repair a damaged or corrupted thumbs.db file.

How to Repair Damaged or Corrupted Thumbs.db Files

Sometimes, one or more of these corrupted files can cause problems in Windows when navigating around folders with multimedia content, or they could be the cause of error messages like this kernel32.dll error:

Explorer caused an invalid page fault in module Kernel32.dll

Repairing thumbs.db files is a pretty simple task considering Windows will regenerate the DB file when the particular folder it's contained in is viewed in a special way.

  1. Open the folder that you suspect the damaged or corrupted thumbs.db file to be contained in.

  2. Locate the file, right-click it, and choose Delete.

    If you can't delete the file, you may need to change the folder view: select View and then choose Tiles, Icons, List, or Details. Depending on the version of the Windows you're using, some of these options may vary slightly.

    thumbs.db file in windows 8

    If you can't see the file, your computer may be configured to not show hidden files. If so, change the folder options to allow the display of hidden files and protected operating system files. See How to Show or Hide Hidden Files and Folders for instructions.

  3. To recreate the file, select View and then Thumbnails from the menu in the folder from which you deleted the thumbs.db file. Doing this will initiate the Thumbnails view and create a new copy of the file.


Not all versions of Windows use the thumbs.db file. The thumbnail database thumbcache_xxxx.db might instead be centrally located in this folder:

Was this page helpful?