If you receive the message: File not found – autorun.inf your antivirus might have already deleted/quarantined your autorun.inf because it was infected.

If the system does find the autorun.inf, proceed with the next stepos.

This command will make the file visible again and we can then proceed and delete the autorun.inf

4. StepBefore you delete it run edit autorun.inf5. Step Look for “open=file.exe”6. Step The file.exe will have a random name and is the actual virus file that the autorun.inf is launching every time you plug in your USB flash drive. That’s how viruses can easily spread.7. To delete the virus enter del /f /a file.exe . Replace file.exe with the virus filename.8. Step Also don’t forget to delete the autorun.inf. Enter del /f /a autorun.inf

Written by:Oliver Krautscheid Oliver is the founder and lead editor of this site. He is interested in finding new ways to break Windows, find common errors and help others to fix them. Aside from that, he loves to fully customize systems with Rainmeter and Dreamscene, find out more about ancient civilizations like the Chachapoya, sharpen his digital photography skills and create software with a small group of selected developers. If you would like to connect with him to discuss anything, send him a mail!