How to Remove Virus with CMD Windows 10

How to Remove virus with CMD Windows 10

How to Remove virus with CMD (Command prompt) – Do you know how to remove virus use CMD? Viruses have become the main enemy of laptop and computer users. If you are a user of both devices and deal with viruses quite often, then how to remove viruses using CMD can be a fairly effective solution. 

What is CMD and how does it work? 

No need to worry because this time techjustify will provide various information related to this. CMD itself stands for Command Prompt which is a command-line interpreter provided by Microsoft on OS/2. 

One of the uses of CMD is to help computer users to protect their devices from spreading viruses via flash media. How to remove virus with CMD is also quite easy. 

This is because the spread of the virus via a flash that is installed from a public computer is the most common cause. As a result, the computer or laptop that you are using will usually be directly exposed to the shortcut virus.

If this is the case, your computer’s performance will also be disrupted so this condition needs to be handled properly so as not to cause damage to other computer elements. So, what is the correct way to remove virus with CMD?

How to Remove virus with CMD laptop
How to Remove virus with CMD laptop

How to remove virus with CMD seems

To be quite important information to be known by computer and laptop owners so that at any time they can use it if the device used is infected with a virus. 

Although out there there are various types of antivirus that can be downloaded and installed for free to protect your device from virus attacks, but how to remove viruses using the command prompt can be the right choice.

If you want to build a computer or laptop .free from virus attacks in an easy way. However, for people who are not used to using it or even unfamiliar with CMD, they certainly have the impression that removing viruses in this way is quite difficult. In fact, this method only requires a few steps.

Read Also: Top 5 Best free antivirus for windows 10 download free

Well, for friends who are still curious about how effective CMD works in eradicating viruses on computers and laptops, take it easy because this time techjustify will provide some tips on how to remove viruses with CMD that you can practice yourself later.

CMD works in eradicating viruses on computers

How to Remove Virus with CMD First

The following is how to remove the virus with the first CMD that you can do:

  1. The first step of how to remove the virus with this first CMD is, friends, you need to bring up the Command Prompt (CMD) program first. The trick is to press the Windows key + R using the keyboard. This CMD program can also be opened in other ways, namely by clicking the start menu and then typing cmd in the “search program and files” column. If the CMD program is already displayed on the screen of the device being used, then just click it.
  2. After the Command Prompt (CMD) program opens, type cd/ and immediately press enter.
  3. Then the next step of how to remove the virus with this first CMD is, type the name of the drive to be checked using CMD. For example, if you want to check drive C whether it has a virus or not, then type C: then press enter.
  4. Next, type attrib and hit enter again.
  5. In the last stage of how to remove viruses with this first CMD, you can directly check the file models that appear and if you find strange or suspicious file names, you can immediately delete them by typing DEL at the location of the detected virus.

How to remove the virus with the first command prompt allows Techjustify Friends to see the names of the files on the device first. So we need a strong analysis to find out a file can be categorized as a virus or not. 

Read Also: How to Scan & Remove Windows 11 Virus With Windows Defender

Well, if you are sure and know which file is a virus, you can immediately delete it. Next, techjustify will provide an alternative way to remove the virus with a second CMD.

CMD works in computer

How to Remove Virus with CMD Second

Here are the steps on how to remove the virus with the second CMD:

  1. The first step that needs to be done on how to remove the virus with this second CMD is, bring up the Command Prompt (CMD) program by pressing the Windows key + R or you can also click the Start menu and then type cmd in the search field.
  2. After this program appears, the next step on how to remove the virus with this second CMD is to pay attention to the state column. If it says LISTENING, then the computer is in a safe condition. However, if you find the words ESTABLISHED, your computer may have been infected by a virus.
  3. The fix is ​​to use the Task Manager and click the service tab.
  4. Open the Task Manager application to match the PID in the problematic CMD with the PID in the application.
  5. Right click then Stop Service and how to remove the virus with the second CMD is complete.

How to remove a virus with this second CMD can be an alternative option that can be tried if the first way the virus is still not resolved properly. 

This second method may indeed be a little more complicated than the first method, especially for those who are using the CMD program for the first time to remove viruses on computers or laptops. 

Read Also: How to Permanently Remove viruses and malware from your PC!

However, if the whole process is done carefully and correctly, of course removing the virus yourself at home using the CMD program can be successfully done even though you are still a beginner. 

This means that how to remove the virus with the Command prompt can actually be done by anyone.

How to Remove Virus with CMD Second 1

How to remove the virus with CMD was not as complicated as imagined, right? Even in just a matter of minutes, the virus will be eradicated from your device in this way as long as it is done carefully. 

What’s more, this method is very effective for removing shortcut viruses that often hide important files or folders on your computer. 

Leave a Comment

Your email address will not be published. Required fields are marked *