Reply to Thread

Post a reply to the thread: What should I do to detect and remove virus through command prompt in windows 7?

Your Message

Click here to log in

 

You may choose an icon for your message from this list

Additional Options

  • Will turn www.example.com into [URL]http://www.example.com[/URL].

Topic Review (Newest First)

  • 12-09-2012, 10:06 PM
    windows-help

    Re: What should I do to detect and remove virus through command prompt in windows 7?

    hii

    If you want to find and delete virus from your computer using command prompt then you can follow the steps given below ... :

    - Firstly open command prompt by typing and entering CMD into the run box in the start menu ..
    - Now in the command prompt type the drive from which you want to delete the virus like C: and press enter
    - After that you have to type - s - h *. * /s /d into the command prompt and press enter
    - Typing and entering this will open up the virus attacked file ... You have to open that file..
    - Now you have to search for a file containing .exe format and file named autorun.inf
    - When found these files just make sure to write down the name of the program where the file is located...
    - Next you have to rename the autorun.inf file as virusfile and close the command prompt window
    - Now open my computer and open the drive and where the program that contains virus is loacted
    - When found open that program
    - After that right click on the file you just renamed as virusfile and delete it
    - Also right click on .exe file and delete it ..
    - At last restart your computer and you have now removed virus from your PC...

    thanks
  • 12-09-2012, 06:35 PM
    Aniruddha

    Re: What should I do to detect and remove virus through command prompt in windows 7?

    Dear friend,
    In your quest for a command prompt cleansing of virus let me tell you the procedure if it helps.

    Do take the following steps to remove virus and malware Files from your Drive without opening it:

    1. Antivirus that installed in your computer detects" autorun.inf" file.
    On opening this file,your system may get infected from virus and malwares.
    3. So, it has to be be removed using command prompt without going directly to the Drive.
    4. Open command prompt and go to the virus infected drive by typing “Drive name with colon” and press enter.
    Type attrib -s -h *.* /s /d and enter. Continue typing “dir” which will show all files/folders in that drive,
    As you can see that "autorun.inf" files is present in this drive.

    5. If you want to delete it just type “DEL autorun.inf” or you have the option of renaming it to delete it manually.
    To rename the file type in "command prompt"
    REN “Path of files/folder to be deleted” “New Name”
    Or if you are in the same drive using command prompt, then type REN “Name of files to be deleted” “New Name”

    6. You can check autorun.inf has been renamed as "New Name"

    7. Scan the drive then your antivirus won’t show virus in that drive.

    Try the method. Enjoy.
  • 11-09-2012, 08:32 PM
    Unregistered

    What should I do to detect and remove virus through command prompt in windows 7?

    I love using command prompt as it never hangs. I have heard that finding/detecting and removing virus using command prompt is so simple and it also doesn’t need any antivirus software to do so. I want to use the same so please provide some information about that command and full steps for the same.

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •