How to Remove Autorun.inf Virus from USB Drive. If you are using pen drive and any other media storage devices then you might come across Autorun.inf Virus. If your computer infected with autorun virus, you will get a wizard when you double click on a drive (pen drive or memory card etc..).
- Go to the drive. ("cd e:" - use your drive letter )
- Go to the root directory (cd \ )
then change the attributes of the autorun file
attrib -h -r -s autorun.inf
-h = remove Hidden property
-r = remove Read only property
-s = remove System file property
Now you delete the file
del -h -r -s autorun.inf
Note : Only open that drive after the restart. Done !
Microsoft has fixed a problem that prevents users from selectively disabling AutoRun features in an effort to stop the Conficker worm from spreading. Microsoft said it recommends all customers to install the update, which affects all supported Windows versions.
If above solution is not working for you then you can get rid of the above autorun.inf virus by just downloading Microsoft latest patches for your windows version.
Update for Windows Server 2008 (KB971029)
Windows6.0-KB971029-x86.msu
AutoRun is a Windows feature that allows files or programs to immediately run as soon as a removable media device, such as a USB stick or CD-ROM, is connected to a computer.AutoRun feature could allow malicious code to spread. One of the vectors by which the infectious Conficker, or Downadup, worm propagates is through pen drives / other removable storage medias. you can manually delete/remove the autorun.inf file using following steps.
Steps to Remove Autorun.inf Virus from USB Drive
Step 1. First you Restart your computer to safe mode ! Press F8 to get the menu (while windows starting ).
Step 2. Open command prompt ( Go to Start > RUN and type CMD)Step 1. First you Restart your computer to safe mode ! Press F8 to get the menu (while windows starting ).
- Go to the drive. ("cd e:" - use your drive letter )
- Go to the root directory (cd \ )
then change the attributes of the autorun file
attrib -h -r -s autorun.inf
-h = remove Hidden property
-r = remove Read only property
-s = remove System file property
Now you delete the file
del -h -r -s autorun.inf
Note : Only open that drive after the restart. Done !
Microsoft has fixed a problem that prevents users from selectively disabling AutoRun features in an effort to stop the Conficker worm from spreading. Microsoft said it recommends all customers to install the update, which affects all supported Windows versions.
If above solution is not working for you then you can get rid of the above autorun.inf virus by just downloading Microsoft latest patches for your windows version.
Update for Windows Server 2008 (KB971029)
Windows6.0-KB971029-x86.msu