How to Restore Hard Disk File Icon? Windows 7

Solution 1:

  1. Launch a Command Prompt with administrator privileges, and navigate to the root of drive D:
  2. Run the following:

    attrib -r -h -s autorun.inf
    del autorun.inf
    

This will most likely solve your problem.

Solution 2:

Here's the solution that worked for me. (Windows 8.1) Open registry editor and navigate to

HKEY_CLASSES_ROOT \Applications \explorer.exe \ Drives\

First backup and then delete all Key with names of Drive for which the icons you need to restore. For example to restore drive icon of C: drive, delete Key "C". Once you are done restart your computer. In my case the culprit was hard disk sentinel which had left overs even after uninstall.