How to remove autorun.inf file

In these days there is growing use of the internet and removable drives, virus attacks are now much faster and common compared to old days. One of the most common viruses found is the autorun.inf virus. The utmost widespread mode of infection of autorun.inf virus is through USB flash drives. As the name clarifies this virus uses Auto-run feature in the Windows Operating system, Used to launch the applications that are stored in the removable media such as DVD and USB Drives.

This malware generally creates multiple copies of itself in each drive as a read only and hidden file.
Once autorun.inf virus comes in USB drive, each time when you insert the removable media and double-click to open it, virus begins executing and infects your computer. It can spread itself on your computer by making multiple copies of autorun.inf and .exe files on each drive of your computer.

How to remove autorun.inf virus?

Theres several ways of doing it, I will explain two methods here!

Method 1. Using CMD:

Step 1: Open Command Prompt.
Step 2: In Command Prompt, Type “cd” and press enter to get to the Root Directory of C: .
Step 3: Type “attrib -h -r -s autorun.inf” and press enter.
Step 4: Type “del autorun.inf” and press enter.
Step 6: repeat the same procedure with other drives, type “F:” and do the same thing with your drives.
Step 7: As a final point Restart your Computer.

Method 2. Manually Deleting Virus Files:

Step 1: Open My Computer and from the top menu go to Tools –> Folder Options. (Windows 7 user can search folder options in the search box at the start menu)
Step 2: Go to View tab and check the option Show hidden files and folders and uncheck the option Hide protected Operating system files, then click Ok. Apply it and Click on Ok.
Step 3: Open your drives (By right click and select Explore).
Step 4: Delete autorun.inf and MS32DLL.dll.vbs or MS32DLL.dll (use Shift+Delete as it deletes files forever.) from all drives.
Step 5: Go to C:WINDOWS and delete MS32DLL.dll.vbs or MS32DLL.dll (Use Shift+Delete ).
Step 6: Go to start –> Run –> Regedit and press Enter.
Step 7: Now navigate from the left pane as: HKEY_LOCAL_MACHINE –> Software –> Microsoft –> Windows –> Current Version –> Run. Now delete the entry MS32DLL (Use Delete key on keyboard)
Step 8: Now open Group policy editor by typing “gpedit.msc” in Start –> run and pressing enter.
Step 9: Go to User Configuration –> Administrative Templates –> System . Double Click on entry Turn off Autoplay then do as follows:

• Select Enabled
• Select All drives
• Click OK
Step 10: Go to start –> Run and type msconfig and press Enter. Go to startup tab in it and uncheck MS32DLL. Now click Ok (when the system configuration utility asks for restart, click on exit without restart.)
Step 11. Restart your PC once and you can now open your hard disk drives by double clicking on them.

Comments

comments