Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

How do i totally delete a virus on my computer?


How do i totally delete a virus on my computer? I have scanned and
cleaned my computer when I got a trojan not long ago, but I still think
it’s just lurking in my computer.

It kind of depends on why you think it’s still lurking. If
subsequent scans still show that you’re infected, that’s pretty
obvious, but if it’s just that you’re uncomfortable and don’t know …
well, I’m not sure how to make you feel better.

Well, I shouldn’t say that. There is, in fact, one way to make sure
that you’re no longer infected. In fact, to be completely honest, it’s
the only sure way.

But you’re not going to like it.

Become a Patron of Ask Leo! and go ad-free!

The rule of absolute security is this: once your machine has been
infected by anything, you can no longer trust it. At all.

The reason is that you have no idea what the infection did. What you
do know is that the infection allowed someone with malicious intent
access to your machine to do whatever they want to with it. The problem
is that there is no way to be absolutely positively certain you know
what they did, and thus no way to be absolutely positively certain that
you’ve removed it. You have to assume that your machine is still
“owned” by that malicious attacker.

“You have to assume that your machine is still
‘owned’ by that malicious attacker.”

That’s both scary, and annoying.

So, the only way to know that you’ve totally deleted a
virus is either:

  • Reformat and Reinstall everything from scratch. The
    operating system, the applications, all patches and updates, and your
    data. Everything.

  • Restore from a backup that was known to have been
    taken before the infection occurred.

The problem is that for most folks, either of those two approaches
are impractical, or simply too much effort for the risk.

But if you’re serious about security and need to be 100% certain,
those are your options.

The more common approach is to scan with multiple
up-to-date anti-virus (and perhaps anti-spyware) products
until they all report things are clean. Yes, you do take on some risk
that they missed something, but from a purely pragmatic perspective,
nine times out of ten you’re probably just fine doing this.


As you can see, this is why we focus so much on prevention
of infection over recovery. Prevention, once in place, is significantly
less costly than recovery from a problem.

Do this

Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.

I'll see you there!

12 comments on “How do i totally delete a virus on my computer?”

  1. Every time i run norton antivirus i get the following message: tracking cookies security risk ‘yield manager’,and other cookies that i dont remember the names, also I received one message one time only that hpasset.exe,hpdiags.exe behaved suspiciously and made modifications to windows start up.Do you think my computer is in trouble??

  2. I have an issue with Housecall. As I’m writing this, for an hour the little red bar on lower left has been back and forth with the ‘opening Trend Micro housecall.’ I have tried this before with the same result, never leaves the ‘opening’ page. I have Vista Premium with 2G of RAM. Never leaves the status page. O.K. what am I doing wrong? George in AZ

  3. There is a only one way to be absolutely sure that you have removed a virus from your computer and that is to do a full format and reinstall.

    I have been doing computer work in a small business for years and I have learned over the period of time that while the format and reinstall is tedious you will save time and money in the end. You could use Acronis and as soon as you have done your reinstall and your updates you could then backup your system using Acronis to a USB hard drive. You would then disconnect the drive and put it away somewhere until you need to do a reinstall and then and only then would you bring it back and reinstall from the drive. I have not gone to quite that extreme except that I have made backups to more than one drive on my system with the hope that if I do get something especially virulent it will not have inserted itself on the other drives and especially into the backup which as far as I know will not happen but I have always tried to error on the side of extreme caution.

    When I do a format and full reinstall I always disconnect from the Internet. When the install has been done and all of the drivers have been installed I then do my backup but I do not go on the Internet to do any updates from Microsoft until I have done my backup using Acronis. I will then reconnect to the Internet and do my downloads from Microsoft. When you need to do a backup you can go ahead and do so but you should remember that you will have to go to Microsoft and get their updates because those will not be in your backup.

    I always backup to more than one place just in case my first backup is corrupted. That is to say I backup my system to D. drive and to E.Drive. That way if the one backup by some unlucky chance is no good I will then have a second similar backup on another drive.

  4. I just removed some Trojans that were missed by both Avira and Avast Antivirus, and Panda Online ActiveScan (couldn’t maintain an online connection long enough to complete an online scan). I used SUPERAntiSpyware (free) which I had downloaded with another computer, and it seemed to be extremly thorough.

  5. I wholeheartedly agree with Michael H. His backup strategy is good. In addition to this good advice I’m going to add that I partitioned my main drive to 4 separate partitions (system, docs/pics/music, video, programs). I backup using Acronis to an external drive. That way, if I lose my pictures,video, etc I can get them back without having to re-image everything.

    One more thing I might add: I have my “quick” drivers on a flash drive AND the external drive just in case, God forbid, that I have to reformat:

    SP2 with slipstreamed updates (haven’t downloaded SP 3 yet)
    Video driver
    Audio driver
    Ethernet driver

    Since I’m on satellite I’m limited to 200MB per day so the SP2 slipstreamed would help tremendously.

  6. just keep the smallest possible partition for the op. system with only essentials on it then spend a few minutes reinstalling so never worry about malware again tho i do use endpoint reinstalling can be a lot quicker than fully removing malware guess i am lucky tho or have a good protecton on my various computers ( famous last words} still i don’t care if i do get malware easy to erase and fun to examine

  7. Everyone here is missing 1 important thing to do
    before you run your antispyware scan.
    This is a must do.
    *Turn off system restore first*.
    Then run your antispyware or antimalware programs.
    Just adding my 2cents worth.

  8. I have been working in my small computer repair business here in Gulu Uganda, believe me the only way to be sure you are safe is to format and do a fresh install of all the programs and backing up thereafter!

  9. my memory card just infected by a virus, and I cant read the picture. How to recover the memory card without loosing the picture?


Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.