How to Remove Computer Viruses Using Command Prompt.

 Well, if you are unable to remove the software containing viruses through the control panel, then you need to use Command Prompt. Here we will be using the CMD to remove the software that has the virus.

🔹 Step 1: First of all, click on Start and type cmd. Now right click on a cmd icon and select Run as administrator. Now command prompt window will open, now select your drive where you want to remove a virus.

🔹 Step 2: Let the drive be D. So now type “dir D: attrib -s -h /s /d *.*” and press enter.

⚠️ Note: Capital D is considered as the drive to be checked you can change the drive according to your needs.

🔹 Step 3: Now the command prompt will explore your selected drive and will load all the files on your drive.

🔹 Step 4: 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 viruses.

Share and support us

Post a Comment