Remove virus using command prompt

By shamanking
Dec 22, 2008
Topic Status:
Not open for further replies.
  1. Hello, can any one tell me how to remove virus using command prompt?

    Thanks alot

    Regards,
    Michael
  2. rev_olie

    rev_olie TechSpot Maniac Posts: 598

    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.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.