Thumbs.db files are database files, generated when you view folders in Thumbnail view.

After Windows Vista, a thumbnail cache is centralizedly stored at%LocalAppData% \Microsoft\Windows\Explorer.

It helps you to quickly reuse files and improve the computers performance.

error message

People tend to delete thumbs.db when it forms a huge folder structure without any content.

But they are unable to delete thumbs.db because the file is in use.

Step 1: PressWin + Eto open File Explorer.

change View settings

Step 2: ChooseViewon the top toolbar, then hit theOptionschoice to fire up the Folder Options window.

Step 3: UncheckDisplay file icon on thumbnailsandHide protected operating system files (Recommended)under the View tab.

Step 4: ClickApplyandOKto save the changes.

find the corresponding policy

You should find the thumbs.db file and change its extension to.dat, then make a run at delete it.

This post tells how toshow hidden filesin detail.

Step 1: PressWin + Rto kick off the Run window.

How To Fix Windows Cannot Find gpedit.msc Error

Step 3: Navigate toUser Configuration>Administrative Templates>Windows Components>File Explorer.

Step 4: Double-hit the policy to modify the policy.

ChooseEnablein the following window, then clickApplyandOKto confirm the change.

disable non-Microsoft services

Clean boot will boot your machine with a minimal set of drives and startup programs.

you’re able to take a stab at delete some stubborn files in a clean boot easily.

Step 2: Typemsconfigand hitEnterto open System Configuration.

How To Perform A Clean Boot On Your Windows 11 PC

Step 3: Under theServicestab, tickHide all Microsoft servicesand clickDisable all.

Step 4: Turn to theStartuptab to selectOpen Task Manager.

Step 5: you should probably disable all the programs listed here.

After this, closeTask Manager.

Step 6: Return to the System Configuration window and clickOKto confirm.

your setup will be in a clean boot environment after restarting.

Different situations need different solutions.

Hope you could find one method that can fix your problem.