Help! How to get rid of autorun.inf virus? [Closed]

Ask a question nic - Last answered on Mar 17, 2010 at 10:37 AM by Ambucias
I've been infected by an autorun.inf virus from my friend's pendrive and I can't seem to get rid of it. I am running win xp and have Kaspersky antivirus 2009 installed. My Kaspersky kept detecting the virus and deleting it but it keeps coming back... I got about 4 detection and delete notices a minute and this keeps continuing!! I can't access my folder options either so I can't unhide hidden files to check where autorun.inf is.
I tried installing Aurotun eater but no luck there, the virus just comes back!
When I go to command prompt and type in attrib -h -s -r autorun.inf it shows file not found, but about half a minute later, my antivirus pops up another autorun.inf detection message.

Can anyone pls help? My drives C and E are infected and my portable hard drives are infected also!

See more 
plus moins
Here is how to remove the virus which also probably infected your machine or vice versa.

You can remove this threat manually, it just take some minutes. Please follow these steps:
•Click on "Start"
•Then "Run"
•Type CMD to open DOS command console
•Type your pendrive path letter for example, Type:
then press Enter

Then type :

ATTRIB -H -S -R Autorun.inf
HIT Enter

You will notice the autorun file will appear in your pen then delete it, right click and delete.

Repeat the same procedure to remove the autorun.inf file from your C: and D: partitions!

Restart your computer

If you are still unsuccessful, there is another, a little more drastic way to crush the autorun beast.

plus moins
Hello Rajesh,

Very nice recipe! May I quote and use it?

plus moins
Hello Friends,

i got one solution yesterday.

Step 1:

Create .bat file like "KillAutorun.bat" paste below code to bat file.

attrib -r autorun.inf
del autorun.inf
md autorun.inf
attrib +r +h autorun.inf

Step 2:

Creating .reg File "Dissable_auto_run.reg" to stop windows Auto run.




Step 3:

Palce both files (Dissable_auto_run.reg and KillAutorun.bat) in USB root.

Execute(doubble Click) KillAutorun.bat

Step 4:

Assume USB drive id is "I:"

Open I:\RECYCLER\S-1-5-21-1482476501-3352491937-682996330-1013\

in this folder will have some exe file Eg: myslides.exe

Create one batch file same as Step 1.

Eg: Create .bat file like "KillAutorun.bat" paste below code to bat file.

attrib -r myslides.exe
del myslides.exe
md myslides.exe
attrib +r +h myslides.exe

Run this bat file from "I:\RECYCLER\S-1-5-21-1482476501-3352491937-682996330-1013\"

Note: S-1-5-21-1482476501-3352491937-682996330-1013 this folder name will differ from one system to another system.

Thanks and Regards
Rajesh Natarajan MCDBA

Member requests are more likely to be responded to.

Members can monitor the statuses of their requests from their account pages.

A CCM membership gives you access to additional options.

Not a member yet?

Sign up now. It takes less than a minute and is completely free!