Translate

Sunday, June 8, 2014

•Removing Virus Using Command Prompt


If pen drive or other hard drive is infected by virus 
Command prompt this is 
the best option.Follow the steps given below.

1)Go to the command prompt by start>all
programs>accessories>command prompt or press windows key+r and
enter cmd .
2)Go to the drive where you want to delete virus example write d: to go
to D drive .
3)type attrib -r -s -h *.* /s /d and press enter .
4)press dir /a .
5)delete all the .inf , .exe , .dll , .log extension file if they are
not your files by using dos del command .
example)
del autorun.inf
if any file is not deleting rename that file by rename command
Example) rename dst.exe ms.bak this will rename dst.exe to ms.bak
Now Your pen drive is virus free .
=================================================================================

How to remove virus 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.  
    *MUST SHARE*

    No comments:

    Post a Comment