Have you ever tried to remove virus using command prompt ? Without using an antivirus ? :O Yeah that’s possible now.
Virus is a computer program that can copy itself and infect computers. So, it is necessary to permanently remove virus using Command prompt.
The term “virus” is erroneously used to refer to other types of malware, including adware and spyware programs that do not have the reproductive ability.
A true virus can spread from one computer to another in executable code.
One of the ways by which a virus can infect your PC is through USB/Flash drives.
Common viruses such as ‘Ravmon’ , ‘New Folder.exe’, ‘Orkut is banned’ are spreading through USB drive when you inset it.
Most anti virus programs are unable to detect them and even if they do, in most cases they are unable
to delete the file, they only quarantine the virus and the virus is again active when you uninstall your antivirus. So in our post we use command prompt to remove harmful files that
any anti-virus can’t.
6 Steps to Remove virus using Command Prompt
Follow the below steps only if you think any of
your drive is infected with virus or if you think
there are some harmful files and you want to
Step 1: Go to start menu and type “ cmd” in the
search box or Start>all
Step 2: Select the virus infected drive, type
in CMD “drivename:” eg. E: to go to E: drive.
Step 3: Now type dir/w/a . It will show all the
files of the drive including hidden files.
Now Check if there is any file or virus that you
are not aware of (unusual .exe file) and you think might be
Harmful to your PC.
Step 4: Usually there is Autorun.inf file which
you must delete it. to do so Type in attrib -h -r
-s autorun.inf and press Enter. Type del
autorun.inf and press Enter. Follow this for all
Step 5: We have now Successfully found and
deleted autorun.inf file from E drive. if you
find any .exe file which is unknown to you.
then delete it using the same above method.
Step 6: Done. Now enjoy virus free computer.
If you face any problem in Remove virus using Command Prompt let us know and comment below we resolve it. If you like the trick “Remove virus using Command Prompt” keep following us on social media.