Software Solution Windows Fixing

How to Remove Virus from Computer by Using cmd

Before going to start about How to Remove Virus from Computer by Using cmd, we have to know about CMD, so What is CMD:-It is called command prompt script for all Windows Operating System. It gives to you the access of administrative function on the operating system your computer. Moreover, it is used to access advanced functions and troubleshoots in windows operating system to fix some issue by using some particular command through this script.

How-to-Remove-Virus-from-Computer-by-Using-CMD

Sometimes it is called Windows Command Processor or CMD prompt. There are some particular commands for operating system wise by using these command we can solve many issues on our computer.

Solution to remove the virus by using CMD

To remove the virus from your computer by using CMD, Here I am sharing and explaining to you a unique and simplest way to remove the virus from your laptop or desktop of all windows operating system.

Sometimes what happens, in your computer you cannot delete or remove the virus by the antivirus and you just need to format your operating system. For that situation, this tutorial is very helpful and you can remove or delete the virus without formatting your operating system.

How to remove the virus by using CMD

You can remove or delete the virus from your computer by using some custom command through CMD script. By the following tutorial, I am going to share with you all the process of how to use a custom command on CMD script of your computer to remove or delete any virus. Therefore, you need to follow the full tutorial from top to bottom without any mistake. So let start the tutorial.

Tutorial

    1) Go to search box on your computer

  • If you are using windows 10 OS then go on the left side of the lower corner, here you will get the search box.

 

  • If you are using windows 8 OS then go on the right side pop up slide bar, here you will get the search box.

 

  • If you are using windows 7 OS then go on the left side of the lower corner, here you will get the windows icon click on it then there will come the search box.

 

  • If you are using windows XP OS then go on the left side of the lower corner, here you will get the Windows Start icon click on it then there will come the search box.

 

  • 2) Type “cmd” In The Search Box

After going search box on your computer type “cmd” inside the search box.

  • 3) Go To CMD Script

After typing cmd inside the search box, press the enter to go to CMD script and CMD script will be open on your computer.

  • 4) Enter the Drive Directory Name {C: or D: or E: or F:}

Now put the drive directory name from which drive you to want to delete the virus file or unwanted file.

Suppose you want to delete the virus from drive D then you enter “D:” command then press the enter.

  • 5) Enter the Custom Command

After selecting the drive now Enter this custom command

attrib  –s   –h    *.*   /s   /d 

(single space between them)without changes then press enter. Now all the hide files will be unhidden

  • 6) Go The Same Drive

After the step number 5 go to the selected drive on your computer and if you have the unwanted file or virus in your select drive then there you will get the unknown or unwanted file.

Remember:- if you are not getting the unwanted or unknown file then you feel free from the virus on this drive directory.

  • 7) Rename The File And Delete It

After getting the unwanted or unknown file you rename that file and delete it, now it can be deleted.

  • 8) Do This Process For All Drive

You must do these 4,5,6,7-steps for all the drivers that you have on your computer.

Now your problem is solved and you feel free from virus and safe from virus.

Subscribe To Our Newsletter

Subscribe To Our Newsletter

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!

About the author

Nur Bahar Laskar

Nur Bahar Laskar is the owner of fixingexpert.com and writer on various technology solution like mobile and computer etc. He is a B.Tech in Computer Science and engineering student.

Leave a Comment

− 1 = 4

Subscribe To Get Latest Updates Quickly

Subscribe To Get Latest Updates Quickly

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!