
Type in attrib –s –h –r/s/d *.* and press enter.(F can be replaced with the infected device or partition). Click right on the command prompt and select Run as administrator.
5 Ways on How to Remove Virus from PC using Command Prompt Using attrib command
Display, set or remove attributes of files or folders from the selected location.Īs you cancel the hidden attributes, it shall appear in the folder, and you would know where to find it, and then it can be removed. A question may arise that how you can show the hidden files using CMD? You need the attrib command which is a command prompt used to: Removes the virus by showing hidden infections on a drive or partition, and after that, the suspicious file can be deleted.īy their nature viruses always conceal themselves. Using the command line does not check or remove from your system or any external storage device. Why Virus Removal with CMD is a wise choice 3 Are you scanning for viruses with CMD?.
2.3 Run an Internet Security Suite Scan.
2.2 Windows Defender as a Backup Plan – Removes Hidden Viruses.2 5 Ways on How to Remove Virus from PC using Command Prompt.1 Why Virus Removal with CMD is a wise choice.