Computers and virus share a special relationship as virus keeps on search different modes to get into pc and affect pc with the virus to make it malfunctioning. Every day, lots of viruses are getting developed and are infecting millions and millions of systems. Among those viruses, the most common computer virus is the Autorun virus. If you are infected by such autorun.inf virus then this tutorial is for you. We will learn how to remove autorun virus from computer easily.
Solution Exist had talked about different virus removal tutorials, malware removal tutorial and remove virus from pendrives like How to remove NEW FOLDER virus. and those tutorial has helped many computer users. You can follow us for getting such valuable content and get your system secure.
Today solution exists is posting a tutorial on How to remove AUTORUN virus. If you are here then there is 70% possibility that your pc is infected with autorun.inf virus. We are going to see different methods to remove autorun virus so sit back and start reading the steps and following it.
What is autorun.inf?
Autorun.inf is a text file which gives the removable hard disk and drive AutoPlay and AutoRun functions. To function, autorun.inf file must be located in the root directory of the volume. AutoRun basically automatically launch a program associated with the removable drive which could guide the user through the installation process or any other process.
Can I delete autorun.inf / Can I delete autorun.exe
Yes you can delete autorun.inf file but it will give you error Access denied” or “You need permission to perform this action” error message. So to get the ownership to delete virus from pendrive we need to follow some steps.
Method 1 – How to remove AUTORUN virus using command prompt
In this method, we will delete autorun virus manually without using softwares. For this you need to follow below steps.
Step 1 : Insert USB drive into your computer or laptop.
Step 2 : Navigate to my computer and remember inserted usb drive (Eg. C or D etc)
Step 3 : Now search for Run in start menu, right click over it and open Run as administrator.
Step 4 : Type D: and press enter (Here D is my USB drive letter . You have to write your drive letter)
Step 5 : Now Type attrib -h -s -r -a *.* and press enter. This command will T removes hidden, system, read only and archive attribute from all the files in ‘from the drive.
Step 6 : Now type del autorun.inf and press enter it will delete the file. You can also manually delete the autorun file.
Note – Sometimes when you paste code to delete autorun virus, it will give you an error. In that case, you need follow the below procedure
Methods 2 – Delete autorun file in safe mode
In method 1, we learned how to delete autorun. inf virus from pen drive using command prompt. It might happed while you execute code provided in the last step, you will get error and your CMD get close. In that case, you need to log in to windows in safe mode and then try to delete autorun ini virus. Follow the belows steps to learn how to fix auto run virus issue.
Step 1 : Restart your computer in Safe mode and continue with the steps provided in method 1 using cmd.
Step 2 : Now Open your computer drive or pen drive, and you can see the autorun.inf file. Click on it and press Shift+Del from the keyboard to Delete the file.
Step 3 : If you still face an error while deleting the file then you need to get access of the file and to get that, Right-click on autorun.inf file > Properties > Security > and Edit access permissions to EVERYONE.
Now you had successfully delete autorun virus. Now to have a proper registry cleanup and malware check Follow below steps
Download and install two important software
- Run malwarebyte in you computer/laptop which will scan all harmful malware from computer and remove it
- Now run Ccleaner in you PC and click on registry tab and then click on scan for Issue. It will run a scan and show you the list of errors.
- Select all then click on Fix selected issues.
How to prevent autorun .inf virus infecting your system.
To prevent any virus in your computer or pen drive, you can use good antivirus software and installed on your computer. There are many anti-virus software available on the internet both free and paid, but I will recommend you to invest money in good antivirus software and as per my recommendation, you should get Quick heal total security.
Hope you like this tutorial on How to remove AUTORUN virus from your computer and USB. If you had any problem in deleting autorun.inf or autorun.exe virus then feel free to use the comment section. If your PC is still infected by viruses then do check out the virus removal section and if you are facing trouble due to adware then read Remove Adware From Computer. Are you interested in getting awesome and useful tech tutorials on your feed on Facebook then do follow us on the Facebook page Solution Exist and also join our Facebook Group Android And Windows Errors Solution.