Remove Any Virus from PC [Easy Steps]

Removing Virus: Messing up with some virus? Though your antivirus software removes virus and problem persist, searching Google for the removal and you are into a perfect site for a solution. Here are perfect steps to remove 1. Autorun Virus, 2. Shortcut Virus, 3. Empty Folder Virus using CMD (Command Prompt)

Virus Removal from PC:

Find the Type of the virus on your PC and follow the steps for the respective Virus,

What is Malware?
Malware is the Malicious Softwares used to make unwanted actions on your PC, Virus, Worms, Spywares are some kind of Malware.

1. Remove Autorun virus (autorun.inf):

Autorun Virus Exploits into the Windows OS whenever an External device containing Autorun Virus is plugged into Windows PC and Autorun is Performed, Then the Autorun.inf will be executed and replicates copies of this Autorun.inf file and .exe files too. This creates a serious mess with files, Follow the steps below to remove this autorun virus from PC using CMD.

Steps to Remove Autorun Virus :

Press ( Start or winkey ) -> Run -> cmd.
If you are in the root directory ( C drive ) then do the following, else give cd.. and come to the root C:> and do the following.
Type in ( attrib -h -r -s autorun.inf ), without brackets and press Enter.
Type ( del autorun.inf ), without brackets and press Enter.
Follow this for all other drives.

There are chances for these two Errors,

Solution for Attrib is not a recognized command
Solution for Access denied for attrib command

2. Shortcut virus:

These Shortcut viruses are those which convert all your data into your pen drive or Hard disk to shortcuts, and which are recoverable.

Steps to Remove Shortcut Virus : 

  • Go to Start -> Run -> cmd.
  • Go to your pen drive directory.
  • Type this command: del *.lnk and press Enter.
  • Type attrib -h -r -s /s /d e:*.*
  • And then press a gentle Enter.
How to remove shortcut virus in Pen drives in Windows ?


Note: After when you got your files, just copy your files somewhere

Recover your files from Shortcut Virus: ( 2nd Method)

     You can recover your files through Winrar.

  •  Open WINRAR Application.
  •  Navigate to your Pendrive location or PC Folder location.
  •  Copy Files and Paste where you want.
  •  Format your Pendrive. 

3. Empty Folder virus:

   Got some Files in your pen drive but they are empty! Because of the virus in your pen drive malfunctions your drive. How to remove this empty folder virus and recover files?
Steps to Remove Empty Folder Virus : 
  • Start -> Run -> cmd.
  • Type this command: attrib -h -r -s /s /d x:*.
  • Here the letter "x" should be replaced with the drive alphabet of your pen drive that you have inserted into the computer.
  • If your pen drive shows the drive alphabet as "J", then type  this command: attrib -h -r -s /s /d j:*.
  • And then press a gentle Enter.

4. Don't know what the Virus is!!

If you can't find the type of the Virus, you can follow these Steps to Recover your Files.

  1. Turn ON the Firewall
  2. Just Uninstall the Softwares that you have installed when your PC is normal.
  3. Run a BOOT time scan using Avast Antivirus.
  4. Run Microsoft Safety Scanner

Note:  After performing the following steps,  Do a restart!


Share this article:

About Thomas Androws

Thomas Androws is the founder of, He loves to Blog, share his Computer knowledge, making money online, and helping Computer newbies.

View all posts by Thomas Androws →

48 Comments on “Remove Any Virus from PC [Easy Steps]”

  1. Hey there. This is somewhat helpful. But in my opinion, in order to be fully secured and found an inner peace, a good software that could monitor any suspicious activities in your system and prevent malwares from attacking is one of the best effective ways to avoid these malwares. A good antivirus like ESET Antivirus could be the answer.

Comments are closed.