In windows 8 the option to create a thumbs.db file is on by default . This can be a problem when you try to delete those media folders that you no longer need.
Windows won’t let you delete the thumbs.db file and you will end up with a lot of empty folders that you can’t remove.
After some digging I found a solution on the Microsoft site and I will share it with you here.
First you want to deactivate the thumbs.db from being generated . The fastest way in windows 7 was to run the following command :
REG ADD “HKCU\Software\Policies\Microsoft\Windows\Explorer” /v “DisableThumbsDBOnNetworkFolders” /t REG_DWORD /d 1 /f
For Windows 8 try doing the steps bellow:
Run (windows key + R) – write: regedit and press Enter
Navigate to: HKEY_CURRENT_USER > Software > Microsoft > Windows > CurrentVersion > Explorer > Advanced
Right click and create New DWORD Value , name it DisableThumbnailCache and set its value to 1.
This does exactly the same thing as the command I wrote.
Now you will need to clean the thumbs.db files that are already created . To do this we are gonna use the disk cleanup tool.
Press again Windows key + R to start run and write there cleanmgr then Enter
This will start the Disk cleanup tool . Select the drive you want to clean , if you have more drives you gonna have to repeat this for each drive.
Disc cleanup tool will calculate for a bit what files can be deleted and then the following window will appear.
Make sure the Thumbnails is checked and press OK . That is it. Now you can delete those folders you want to go away.
As always leave me a comment if you found this helpful