If I format or erase my hard drive, will it remove a virus?

Updated: 06/30/2020 by Computer Hope
Computer Virus

If your computer is infected with a virus, formatting or erasing the hard drive and starting over often removes any virus. However, if backups of your computer were made and backed up the virus, your computer can be re-infected if not protected by an antivirus program.

Note

If other drives or disks have a virus, or your computer connects to an infected network computer, your computer could be re-infected if not properly protected.