Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

One day when I opened My Computer I saw a strange icon for drive D: instead of the usual icon.

How can I restore the original icon? Here is a screenshot:

Screenshot of drive icon

share|improve this question

migrated from stackoverflow.com Jul 8 '11 at 6:39

This question came from our site for professional and enthusiast programmers.

1  
If you type in D:\autorun.inf into Start->Run, does anything come up? –  Mehrdad Jul 8 '11 at 6:29

3 Answers 3

up vote 6 down vote accepted
  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.

share|improve this answer
    
how to run CMD with admin privileges? –  imdadhusen Jul 8 '11 at 9:18
    
@imdadhusen seems there was a formatting problem in the answer. It should be . not . –  8088 Jul 8 '11 at 10:26
    
yep its attrib<space>-s<space>-h<space>*.*<space>/S<space>/D –  adeelx Jul 9 '11 at 19:35

"right click -> properties" on D drive,
Under the "Customize" tab there is a area named "Folder pictures"
choose "Restore Default"

share|improve this answer
    
I have tried but still didn't get result! –  imdadhusen Jul 8 '11 at 6:38

If the drive is external: After following the solution with Command Prompt above, reconnect the drive to make the icon restore.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.