Yes, just reformat the hard drive. It will wipe it and then you can reinstall the Operating System. You just have to actually have the Operating System disk still. That will take off any spyware, viruses, etc... It will not fix any possible hardware issues though.
Sig Credit: M.C
Miesha Tate - Urijah Faber - Dustin Poirier - Frankie Edgar - Claudia Gadelha - Demian Maia - Jessica Eye