Autorun viruses are very smart. They can come from internet, USB flash drives, emails. etc. In most cases they come from USB flash drives. After inserting an infected USB flash drives/pen drive, if one double clicks on that drive, then the virus may infect your PC. They need just one execution and your computer is a hell. The autorun.inf file is the culprit behind this problem.
Nowadays autorun.inf virus has become a hit because people usually just double click the portable drive and open it, allowing it to autorun and infect the PC.
Remove Autorun Virus
- Press Windows logo key+R. Or Start > Run.
- Type “cmd” there.
- Now in the command prompt type this and then press Enter
del /f /q /a s r h autorun.inf
But prevention is better than cure, isn’t it. Do periodic scanning of all drives with a good antivirus like Avast, Kaspersky, AVG, etc. After inserting your flash drive, it is better to first scan it with a antivirus and then use it. Scanning may take some time depending on the files and size but its worth it. It saves you from the trouble of removing the virus.
Tip: Also you can use a notepad, and create a new file named as autorun.inf and then paste this newly created file in your flashdrive. Now that autorun virus won’t be able to infect your PC.