
Is your PC a victim of the Autorun.inf virus? How to Remove Autorun.inf completely explains the simple way of removing Autorun.inf virus by using Autorun.inf Eater software. Deleting autorun.inf is effective only if the computer you are using is clean otherwise the autorun.inf will simply bounce back.

Using CMD to Remove Autorun.inf Virus from the System & Removable Drives

First Method
- Open command line (CMD) and write the following:
del /a:rhs [driveletter]:autorun.inf
- Simply Replace [driveletter] with your drive. If the virus is on the D drive the commad will be
del /a:rhs D:autorun.inf
- Restart the computer & Done.
Second Method
Genreally when you refresh the windows explorer view a bounded virus process recreates this file. This file is attached to many events of windows explorer including OPEN, REFRESH, etc.
You must close opened explorer windows.
1. Open up a command prompt (i.e. cmd.exe) >> to load it go to Run, type cmd, enter.
2. Now to remove virus’s attributes (in order to delete it type following line by line and execute them pressing enter.
F:
F:attrib -s -r -h *.*
If there are any malicious EXE files those are now visible so if unnecessary delete them too.
F:del autorun.inf
3. After finishing above, quickly remove the pendrive as soon as posible (just after executing del command).
4. Now your pen is without virus activation config. file. Now you can safely delete unnecessary EXE files on it.
Third Method
- Download Flash_Disinfector.exe from here and save it to your desktop.
- Double-click Flash_Disinfector.exe to run it and follow any prompts that may appear.
- The utility may ask you to insert your flash drive and/or other removable drives including your mobile phone.
- Please do so and allow the utility to clean up those drives as well.
- Wait until it has finished scanning and then exit the program.
- Reboot your computer when done.
Note: Flash_Disinfector will remove any autorun.inf files, create a hidden folder named autorun.inf in each partition and every USB drive plugged in when you ran it. Don’t delete this folder. It will help protect your drives from future infection.
Find that interesting. Suscribe us & Follow us on Twitter to get more tips & information.





Excellent article… its very very useful for me….
Thanks
@ Viral
Thanks, Keep in touch of http://inforids.com/ to be informed in tech tips & tools.
Great article indeed. I also suffered from this kind of attack but I usually reformat the drive rather than cleaning it. Anyway, it's just a flash usb drive.
Thanks, Renz
Nice to see you here.
THANK YOU!! I really appreciate your help! I was desperately trying to find a solution to this problem and the use of flash disinfector simply helped me to get rid of it in just a few seconds!!
Thank You. I have tried other methods on other websites, but, your 3rd one helped me and get rid of it. THANKS A LOT ONCE AGAIN.
Thanks for tips..
hii rajesh diz is kasi….how to instal windows xp with pendrive.
Great tips! I'm sure it will help someone.
Thanks, Nice to see you here , TechChunks
Thanks a lot man, this saved me a whole lot of issues, and made my Monday
Keep in Touch, Sleek.
Nice tips.
bOOkmarked this page who knows when will my pc next get infected.
thnx
thank u man………
i just didnt work for me…huhu T_T
Download Disinfecter form the above link provided & it will do the job.
but i cant able to delete it from my sd card….
In Sd Card Autorun.inf is a requirement itself. Why do you want to remove it? It cant be removed as it is need to autoplay automatically when use din the SD device.
But the same happens to me, in my SD Card, Autorun.inf is detected as a threath, and I cant delete nor reformat my card…what does this mean?
OMG thanks so much! I've been having problems with the autorun worm..i'm so happy it's all ok now thanks to this article!
I am also happy that these methods are helping many people.
thanxxxxxxxxxxxxxxxxxx a lot,it helped me!!!!!!!!!!!
Nice post to be safe from usb virus
follow my instructions to protect your pendrive or removable forever from autorun.inf
1st open notepad and type @echo off
del *.inf
2nd save this in the infected directory(directory containing autorun) as something.bat
3rd on saving start it once.
4th then as quick as possible open notepad again and type: [Autorun]
open=
ACTION=
5th save this in with the previous file(save this file as autorun.inf)
DONE—-now autorun virus will never infectthat drive ever.
3rd
When executing “del autorun.inf” command I get a message: “The process cannot access the file because it is being used by? another process”. However, after killing Explorer.exe process in task manager the file can be deleted. BUT… Each time I insert a pendrive into my PC a new copy of the virus is placed on it. Apparently this virus created a backup somewhere on the system and it's not in the root directories.
That can be a reason, a backup copy of autorun.inf is replicating itself to your pendrive. Use latest antivirus like Avast's Boot time Scan. Its the best I have ever seen.
Wow! It's done by 3rd method. Thanks!
yah.. bongga.. it's effective:)_)
I took some stuff to printing and when I cam home I discovered two new files on my pendrive: autorun.inf and a folder that looks like recycle bin. These were hidden by I always keep the option to see hidden files enabled. When you click on the folder you just get to your recycle bin and see the files you have deleted, nothing more. But if you rar the folder and open the archive you can see that it contains an exe file and Desctop.ini file. I noticed that when I stick the pendrive into USB csrss.exe process appears in task manager for a moment under my user name. csrss.exe shoulb appear only as a system process and be located at system32 directory, otherwise it's a virus. So I made a search for csrss.exe and besides the legit one I found another at C:/ Documents and Settings/ My username directory. It's a little bit different type of autorun virus. That's how you deal with it:
1. Open Run
2. Open CMD
3. Terminate explorer.exe process in task manager. This virus uses explorer's process therefore you won't be able to delete it as long as explorer is running.
3. Navigate to pendrive and use “del autorun.inf” command.
4. Navigate to C:/ Documents and Settings/ Your username directory and use “del csrss.exe” command
5. Restore explorer by typing explorer.exe in RUN, go to the pendrive and delete the recycle bin folder.
To prevent pendrive viruses in the future download a free program called “Autorun Eater”.
THank you team,
It is very useful for all IT Guys.
hey… i have already tried deleting autorun through command prompt using erase command, but either it shows could not find autorun.inf…and if my antivirus detects and deletes it …it is back as soon as i connect my pendrive next time to my computer,…
hey can u tell me something to get rid of it permanently…
Use the third method, download & run Flash Disinfector. I think that will solve the problem permanently.
You can turn off the Windows Autorun Feature. It can be a great help in prohibiting entry of various autorun virus that can harm windows.
http://inforids.com/turn-off-autoplay-feature-i…
It couldn't find autorun.inf because the file is hidden and you need to use “attrib -h -r -s” command before applying “del”.This video explains you how to get rid of it for good:
http://www.youtube.com/watch?v=vdVhxpkmX4Y
Thanks soooo much!! that .inf virus kept pissing me off, now its done for, thanks to you guys!!! you do good work.. thanks again..
wow!
was aware of the first two methods, but to no avail
but the third method really worked!
nice post dude
thanks a lot dude
the third method is just so simple
the virus was driving me crazy and flash_disinfector removed it in seconds
even avast wasn't able to do that
thanks a ton
Just use linux mint 8
how can i save autorun.inf, when the exist autorun.inf can,t be access??? help me!!!
When I double click the Flash_Disinfector it doesn't do anything….
thanks a lot…….it was great…….
hmmm thanksssss
Thanks to 3 rd options works !!!!!! great!
What is the name of this virus so far? I mean, everybody names it “autorun.inf” It should have a “more formal” name like “W32somthing” (for example as Symantec Co. names viruses ). I'd like to remove this from the system, not a mere USB, the virus keeps respawning.
Thanks for solving my headache. My USB often has autorun.inf.
Very thorough post which has no doubt helped many people already. Thanks.
well this is nice, it helped me. get rid of those unwanted autorun
Thank you, very much.
hea simple method to protect USB..open notepad-> save it as “autorun.inf” in desktop..a icon display in desktop..copy the icon n paste in USB..it ask replace option..click YEs..n now ur USB is safe,,get enjoy
Thanks, Juju for sharing this here , but it will not work in most of the cases where Hard drives or the system is infected with autorun.inf. But one can try this for sure.
thanx buddy could you tel me same to remove from pc..
try this command as well it shud work
open command prompt and type
del c:autorun.* /f/s/q/a and hit enter .Simultaneously replace c with the drive letter correspondingly.
actually the easiest way is to stop explorer.exe from taskmanager, then ” x:/ del autorub.inf ” will solve the pblm.
I do all this manual process but a message showing “Access is denied”. I cant do. how can i solv this
I think you should first log as Admin account on your system & then go for these.
Thank' for your tips brother
Thanks for the help, it worked in winows 7 ultimate 64 bit N as well. Thanks
thnks sir,,,,it is good method ever for me
Nice one. Method Third helped me indeed!
first two method's won't work for me !!!
Thanks for this you would be suprised how many people wont let you use a memory stick if it has even the slightest sign of infection even though you know it is harmless which this autorun one seems to be. i decided enough was enough when my new 32GB Lexar flash drive. I cannot afford to have it keep happening i have now blasted the git to oblivion and now i can use my memory stick anywhere without the worry of it being rejected by people that need to take things from it.
It Doesn't work I tried them all but the autorun can't be deleted it is overprotected or the program is currently in use
Finally I got rid of autorun.inf virus…. thank you so much for this article.
G Jethwa.
thnks sir
thnks sir
It’s really working i also want to do this kind of job i really want any can help me i want to make most powerfull and pure antivirus so no ones pc get infected…
Thank you so much i used the second method
removed autorun.inf off my 1TB external hard drive
now in the process of scanning the external hard drive to confirm this
thanks again
Try by accessing as an Administrator. It seems that you don’t have proper rights to access those drives.
I really appreciate your help!
Thanks. The problem is that Flash_disinfector does not work for Windows 7.
to unhide files you can also try this:
)
go to:
1.) start
2.) run
3.) type: cmd
4.) cd
5.) attrib f:*.* -a -r -h -s /s /d
takenote: you can change (f:) to any drive that you want the files to be showed..
you guys rock! thank you so much.. i wish all sites will be this informative, honest, and helpful… thanks again!
Thanks a lot, the third method worked like a charm for me
I m always try to remove autorun virus but every time no any solution plz tell hows possible plz tell me with cmd
Are this cmd working or try my software will help you
Autorun Virus Remover v2.3 + Serial
copy this link ; http://www.filesonic.com/file/2689381341
Thanks a lot.. it totally worked for me..