Are you having problems with any of the viruses ? Then we are here to help you out. In most of the cases the antivirus software that is installed in your computer removes the virus, but if the problem persists then here are the methods to remove all that virus manually and easily.
Steps To Remove Virus Using CMD :
Step 1 : Open Command Prompt :
Just Press ” Winkey + R ” and type cmd in the displayed run dialog box.
Step 2 : Move on to the Drive :
Lets us assume that the virus is present in the C drive , If you are in any other directory of C drive like “ C:\Users\ ” then use the DOS command ” cd.. ” until you get ” C:\> ” .
Step 3 : Type The Code :
Now just type ” attrib -h -r -s autorun.inf ” , and then press Enter. Now if there is no virus in there then it will display ” File Not Found -autorun.inf ” , if there’s any virus present then just type ” del autorun.inf ” and press Enter. Follow the same procedure for all other drives and finally scan your computer for virus.
How To Remove The Shortcut Virus Using Command Prompt?
These are the viruses that convert all data in your flash drives or hard drives to shortcuts. Just follow the below given steps to remove any flash drive shortcut virus and get back your files.
Steps To Remove Shortcut Virus From Pendrive :
Step 1 : Open Command Prompt :
Just Press ” Winkey + R ” and type cmd in the displayed run dialog box.
Step 2 : Type The Code :
Move on to your flash drive directory and just type the following command ” del *.lnk ” and then press Enter. Now just type ” attrib -h -r -s /s /d e :\*.* ” and press enter.
Note : If you feel any difficulty in typing the code then just enable the copy-paste mode in your command prompt and just paste it .
How To Restore Or Get Back The Files :
You can retrieve your files by WinRAR .
- Open WINRAR .
- Browse to the location of the USB key or the location of the PC folder.
- Copy and paste the files wherever you want.
- Format your USB key.
How To Remove The Empty Folder Virus Using Command prompt ?
The flash drive may have some files, but they appear empty! , then this is because of a virus known as Empty folder virus. Follow the steps mentioned below to remove virus folders and recover your files.
Steps To Remove The Empty Folder Virus :
Step 1 : Open Command Prompt :
Just Press ” Winkey + R ” and type cmd in the displayed run dialog box.
Step 2 : Type The Code :
Type the following command line ” attrib -h -r -s /s /d x:*.* “.
Here the element ” x ” should be replaced with the hard disk letter that is assigned to flash drive that is attached into the computer.
Lets assume that the flash drive shows the alphabet drive as ” M “, then type the following command ” attrib -h -r -s /s /d m:*.* ” and press Enter.