Saturday, October 16, 2010

How to Remove Autorun.inf Virus from USB Drive

8:25 PM |

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..).

Remove autorun.inf virus from USB Drive

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 ).

boot windows xp in safe mode

Step 2. Open command prompt ( Go to Start > RUN and type CMD)

- 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)

Update for Windows Server 2008 for Itanium-based Systems (KB971029)

Update for Windows Server 2008 x64 Edition (KB971029)


Update for Windows Vista (KB971029)


Update for Windows Vista for x64-based Systems (KB971029)


Update for Windows Server 2003 x64 Edition (KB971029)


Update for Windows Server 2003 for Itanium-based Systems (KB971029)


Update for Windows Server 2003 (KB971029)


Update for Windows XP (KB971029)


Try above things and say bye bye to autorun.inf :)

Leave A Comment