How To Remove Computer Viruses Using Command Prompt
As we all know, Virus has the capacity to penetrate our computer through numerous ways like through Internet Browsing, From USB devices and also by installing some infected software.
These viruses make our computer operate slow and also some of the dangerous viruses can steal our data. These viruses can also contaminate our operating system too. So the better choice is to remove these viruses as soon as possible.
Actually, the command prompt is a utility program that has an access to reconstruct all the system files, and in this method, we will be using the same access of cmd. This method works on attributes removing which can be one reason of virus.
As the most probable reason for the virus to come into your computer is through USB device. So this method works perfectly on USB to remove its viruses and secure your computer.
-Firs of all click on Start and type cmd. Now right click on a the cmd icon and select run as administrator. Now command prompt window will open, now select your drive which you want to remove a virus.
Let the drive be D. So now type “dir D: attrib -s-h /s/d *.*” Now type then press enter.
Capital D above is the considered as the drive to be checked you can change the drive according to your
Now the command prompt will explore your selected drive and will load all the files on your drive. Now if you notice and unusual file.exe and any of autorun.inf then rename it with the command(rename filename.extension new filename)
That’s it now you can access your drives without affecting from viruses. So above is the-the method for How To Remove Computer Viruses Using CMD Command Prompt. By this method, you can easily remove even malicious viruses that can corrupt your operating system too.