I can’t delete file in Windows7

Problem with deleting files in Windows7

In Windows7, I couldn’t delete the file(s) from the Desktop, when I select some files for deletion, it shows a confirmation box ‘Are you sure you want to send the files to Recycle Bin?’, and when I click on Yes, It shows ‘Calculating size’ and hangs.  Then I had to kill the process.  I tried to google about it and found some interesting results, that I am sharing here for others:

The thumbnail cache may be corrupt that needs to be rebuilt.  To rebuild Windows7 Thumbnail cache, we need to follow the given steps:

  • The location of the thumbnail db is C:UsersLogin-nameAppDataLocalMicrosoftWindowsExplorer.  It contains thumbcache database files.
  • Delete these files using shift key, so that these are permanently deleted and not transferred to Recycle Bin.
  • Reboot.
  • We can also do that by selecting Start->Disk Cleanup -> C: ->Files to delete-> Check Thumbnails option and click OK to remove the files.  Reboot.

Also we need to set Thumbnails settings from Folder options as follows:

Start->Control Panel -> Folder options -> View ->Files and Folders -> and 1. Check : ‘Always show icons, never thumbnails’, and 2. Uncheck ‘Display file icon on thumbnails’.

Restart windows and then try to delete the files.  It should work!