whatfileis.pro
Paste a filename and find out what it is, whether it is safe, and what opens it.

Is Thumbs.db a Virus or Safe to Delete?

Short answer: Thumbs.db is a legitimate Windows file, not malware, and yes — it is safe to delete. Windows simply recreates it the next time you open the folder in thumbnail view.

Category
Safe to delete?
Opens with

The verdict

Not a virus, safe to delete. Thumbs.db is a hidden cache file that Windows (mainly Windows XP through 8, and on network drives in Windows 10/11) writes into a folder to store small preview images of the pictures and documents inside it. It exists so thumbnails load instantly the next time you open that folder. Removing it deletes nothing of your own — Windows rebuilds it automatically.

How to know it is the real one

The genuine file is named exactly Thumbs.db, is hidden, and sits in folders that contain images. Be suspicious only if you see a variant with an extra extension (for example Thumbs.db.exe or thumbs.db.vbs) — a real cache file is never an executable. If in doubt, right-click it, check Properties, and run a scan with Windows Security.

How to delete it (and stop it returning)

  1. Just delete it. Enable Show hidden files in File Explorer's View menu, then delete Thumbs.db. It may reappear — that is normal.
  2. Stop Windows creating it on network shares. Open the Group Policy Editor (gpedit.msc) → User Configuration → Administrative Templates → Windows Components → File Explorer → enable Turn off the caching of thumbnails in hidden thumbs.db files.
  3. On modern Windows 10/11 local drives, thumbnails are cached centrally in %LocalAppData%\Microsoft\Windows\Explorer instead, so you may not see per-folder Thumbs.db at all.

Will deleting it break anything?

No. The only effect is that thumbnails take a moment longer to appear the first time you reopen that folder, because Windows regenerates the previews. Your photos and documents are untouched.

FAQ

Is Thumbs.db a virus?

No. Thumbs.db is a standard Windows thumbnail cache. It is only suspicious if it has an extra executable extension like Thumbs.db.exe, which a real cache file never has.

Is it safe to delete Thumbs.db?

Yes. Deleting it removes only cached preview images; Windows rebuilds the file automatically when you next open the folder in thumbnail view. Your actual files are not affected.

Why does Thumbs.db keep coming back?

Because Windows recreates it whenever it needs to show thumbnails for a folder. To stop it on network drives, enable the 'Turn off caching of thumbnails in hidden thumbs.db files' policy in gpedit.msc.

Other file types explained