Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 7 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

Right Click > Properties > In the name Field, type any name and apply and then tap ok

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .