Delete autorun.inf and virus infected files from computer


An autorun.inf file is a text file that can be used by the AutoRun and AutoPlay components of Microsoft Windows operating systems. If there is autorun.inf virus in USB drive, each time you insert the removable media and double-click your drives to open it, virus files begin executing and infect your computer which spreads itself onto the computer by making the multiple copies of the autorun.inf and .exe files on every drive of your computer. So today I will show you how to remove virus infected files from system.

Delete autorun.inf virus infected files from computer
Delete autorun.inf and virus infected files from computer

Steps you have to perform
1. Press Windows+R key to open Run box. Type "CMD" and hit enter to open command prompt window.
2. Navigate to the drive from where you want to delete unnecessary virus infected files by typing Drive_Letter: , such as C:
3. Enter following command to clean shortcut files created by virus
attrib a*.inf -r -a -s -h
4. Remove autorun.inf files by following command
del autorun.inf
Delete autorun.inf and virus infected files from computer



5. If you want to run these command for multiple drives, just create the batch file for your convenience. For that, just open Notepad, copy and paste below code into it. Change the drive letter with the one your system have. For multiple drives, just paste the same code one after another but with different drive letters.
cd\
c:
attrib a*.inf -r -a -s -h autorun.inf
del autorun.inf
d:
attrib a*.inf -r -a -s -h autorun.inf
del autorun.inf
Delete autorun.inf and virus infected files from computer
6. Save file with .bat extension.

Delete autorun.inf and virus infected files from computer
7. Now whenever you want to clean your pc, just double click on batch file and you ready to go!


Link your website with us for free!



author

About Author

I’m Vinay Vernekar , a young Entrepreneur and a Technology blogger, currently living in Kolhapur, Maharashtra, India. Founder and Main author of Fun With Tricks. I am also running web hosting services at Host With Us and King Of Web Host. if you like this article, pin it with social media, subscribe to our newsletter. Follow me on Google Plus, Facebook, Linkedin and Twitter.

Know more about me!

Mail me your quries at admin@funwithtricks.com

Get Free Email Updates to your Inbox!

2 comments

thank you for sharing this.. autorun is very annoying

Reply

Welcome 7LIVEASIA, Keep visiting for more tips and tricks!

Reply

Post a Comment

You are always welcome to leave valuable feedback!