How to remove virus using cmd ( command prompt ) ?

   Hello friend messing up with some virus ? Though your antivirus software removes virus and problem persists, searching google for the removal and you are into a perfect site for a solution. Here’s a trick to remove all your viruses. Follow the steps given below to remove viruses using cmd ( command prompt ) .
How to remove autorun virus using cmd  ?Steps : 
  • Press ( Start or winkey ) -> Run -> cmd.
  • If you are at 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. 
 
How to remove Shortcut virus using cmd  ?
  These Shortcut viruses are those which converts all your data inside your pen drive or Hard disk to shortcuts, and which are recoverable.

 Just follow the below given steps to remove shortcut virus from pen drive and recover back your files.

  • 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 ?

Recover your files :

     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. 
 
How to remove empty Folder virus using cmd  ?
 
  Got some Files in your pen drive but they are empty! Because of the virus in your pendrive malfunctions your drive. How to remove this empty folder virus and recover files? Follow the steps given below.

 

  • 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 pendrive that you have inserted into the computer.
  • If your pendrive shows the drive alphabet as “J“, then type  this command: attrib -h -r -s /s /d j:*.
  • And then press a gentle Enter.

Note: 

 
          Do a restart, and before that don’t open any drives after performing the following steps.  
 
 

ThomasAndrows

Thomas Androws ( SEO, SEM, SMM Expert ) is the founder of waftr.com | trickandroid.com | funny2photos.com . He is 21 years old and living in India, Tamil Nadu, Salem. He loves to share his Computer knowledge, making money online and helping Computer newbies.

You may also like...

51 Responses

  1. Anonymous says:

    shortcut virus works…thanks!!!!

  2. Anonymous says:

    tnx. it works for me.

  3. hello, thank you for helping us. but i’m having trouble with mine.
    when i try your instruction on “How to remove Shortcut virus” and done typing “del *.lnk” it answers “the request could not be performed because of an I/O device error.”
    please help me with this :(

  4. Anonymous says:

    I ran cmd to remove shortcut virus on drive D but when i typed the drive it said Access is denied. What can i do?

  5. Anonymous says:

    it worked for me thnx but after doing this in folder options in view option both radio butttons are enabled.i.e for “show” and “do not show hidden files radio buttons”.can any one help me?

  6. Anonymous says:

    thnks

  7. Anonymous says:

    thnx …

  8. Anonymous says:

    it said access denied, what to do?