Remove virus using command prompt

By shamanking
Dec 22, 2008
  1. Hello, can any one tell me how to remove virus using command prompt?

    Thanks alot

  2. rev_olie

    rev_olie TS Guru Posts: 560

    If you know the virus name. Boot up in safe mode then go to your command prompt.

    use the cd command to go to the folder where the virus is located.
    cd \windows\system32

    unhide the virus
    attrib -r -s -h virusname.exe

    delete the virus
    del virusname.exe

    If you don't know the virus name then you will have to do it via a software approach.

    Thats my limited knowledge but i hope it helps you out
Topic Status:
Not open for further replies.

Similar Topics

Add your comment to this article

You need to be a member to leave a comment. Join thousands of tech enthusiasts and participate.
TechSpot Account You may also...