What is Autorun.inf.Exe?
The Autorun.inf.exe file contains instructions that tell the Windows operating system about the processes or applications that need to start automatically when you insert a CD or attach any other external device, such as a USB drive to the computer.
When you insert an external device, such as CD, the operating system checks if the Autorun.inf file is located in the root folder of the CD or not. If found, Windows follows the instructions contained in the Autorun.inf file to run a program.
This file also defines the icon that represents your external device, in My Computer or Windows Explorer.
Issues with Autorun.inf.exe
The file is used and exploited by viruses and worms to automatically start their processes when you attach an infected external device to your computer.
If you find the autrun.inf file in any of the following locations, your computer is likely to be infected with malware:
- C:\Documents and Settings\UserName\My Documents\autorun.inf
- C:\Documents and Settings\UserName\My Documents\My Music\autorun.inf
- C:\Documents and Settings\UserName\My Documents\My Pictures\autorun.inf
Listed below are the names of known malware which abuse the autorun.inf.exe file to spread themselves on an unprotected computer:
- Zlob.DNS Changer
- Baidu (BDSearch)
Steps to remove the Autorun.inf virus from your computer and external device:
Note: To ensure complete removal of the Autorun.inf virus you need to remove the virus both from your computer and the external device that is infected.
Method 1: Delete the Autorun.inf File from Command Prompt
- Click Start and then select Run.
- In the Open box, type the cmd command and press Enter.
- In the Command Prompt window that opens, type the following command and press Enter.
del /a:rhs [driveletter]:autorun.inf
Note: [driveletter] refers to the drive of the attached device.
- Remove the external device.
- Finally, restart your computer.
Method 2: Change the Attributes of Autorun.inf File And Delete It
Note: Before proceeding, close all open Windows Explorer window.
- Attach the infected external device to your PC.
- Start Command Prompt.
- In the Command Prompt window, type the following commands and press Enter after each one
F:attrib -s -r -h *.*
- Next, type the following in the Command Prompt to delete malicious exe files
- Remove your external device
To prevent future virus infections via any external device, we recommend you scan your external devices, with a reliable antivirus tool, such as STOPzilla Antivirus before opening them.