Home How To Remove Computer Viruses Using CMD

How To Remove Computer Viruses Using CMD

✅ 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.

🔵 Steps To Remove Computer Viruses Using Command Prompt:

1⃣ First of all, click on Start and type cmd. Now right click on the cmd icon and select run as administrator. Now command prompt window will open, now select your drive from which you want to remove a virus.

2⃣ Let it be drive F. Now you have to select Drive F in CMD, for that you need to type “F:” without quotation on CMD .

3⃣ Now in the very next step, you need to type “dir F:” in CMD and Hit enter. It will show you the directory of F drive.

4⃣ So now type “dir F: attrib -s -h /s /d *.*” Now type  then press enter.

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

5⃣ Now the command prompt will explore your selected drive and will load all the files on your drive.

6⃣ 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 and can delete it from there. If you want to delete any file that contains virus you can type in the command “del.autorun.inf” here replace autorun.inf with your file name.

⚜ So above is a 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. This method is very cool and efficient and doesn’t require any software just only a simple utility program of your system and simple cmd tricks. Hope you like the post.

A benign tech savvy. I love everything about tech. Just call me the Techie guy :).


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Most Popular

How to Fix Error Code 971 Can’t Install App Issue on Play Store

You were trying to download PUBG, and when it hit 99%, you took the last hit. Google Play Store stopped the download and...

How to type upside down on WhatsApp

How about making a joke with your friends on WhatsApp? Did you know that there is how to write upside-down messages in the app? You...

How to unlink a Facebook account on Instagram

As you may already know, Instagram and Facebook belong to the same company. Because of this, the integration between the two platforms is greatly simplified and resources...

10 Best Websites to Download Bollywood Movies Online for Free

Whenever you are bored, it is always a good choice to watch some of the best Bollywood movies to relax. 


error: Content is protected !!