How to Delete autorun.inf virus from USB

03 Feb


if your computer infected with autorun virus, you will get an open with wizard when you double click on a drive. you can manually delete the autorun.inf file using following steps
Microsoft released patch to prevent Autorun Virus

First you Restart your computer to safe mode !

  • 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
  • Only open that drive after the restart.
Leave a comment

Posted by on February 3, 2010 in xp


Tags: , , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: