This post is about How to remove Virus using CMD. Virus is a computer program that can copy itself and infect your computer. These viruses can spread via USB/flash drive or from one computer to other computer by few written codes. There are many antivirus software available to remove viruses from computer. But there are some viruses or suspicious files which can’t be removed by any antivirus software. Some suspicious files such as autorun.inf initiate all the viruses in pc. These files must be removed for safe operation of your pc, because they may lead to data loss, software damages etc. Such viruses and files can be removed by using cmd. To do so,follow the steps given below...
Steps:
1) Go to start menu and type “cmd” in the search box.
4) Locate AUTORUN.INF or any Virus and other suspicious files in the directory.
5) Type command attrib -r –a –s –h to remove attributes of corresponding file.
6) Now type del virus name.exe to delete it, eg : del newfolder.exe .
You can also delete viruses by using following steps:
1) When you find an Autorun.inf file or any other unusual.exe file just rename it.
Syntax for rename is (rename filename.extension new name , for example: (rename autorun.inf virus) to rename autorun.inf file. Here I have renamed it by “virus”.
To delete the renamed file go to the defected drive and select the file you renamed.
Now delete the harmful renamed files.)
You have deleted that virus successfully but sometimes virus resides in the Recycler folder.To locate this folder:
3) Type cd recycler command.
Now delete the harmful renamed files.)
You have deleted that virus successfully but sometimes virus resides in the Recycler folder.To locate this folder:
3) Type cd recycler command.
4) Again type dir/w/a to locate all file of the folder.
5) Identify malicious files and delete them using above commands.
Follow the above steps carefully and i think this information is enough to remove a virus using command prompt easily.
Hope you enjoy this post. For any queries or suggestions please mention in the below comment box. Thank you...!!!
No comments:
Post a Comment