contact HP and ask them to send you system restore discs. i got mine for free. the restore discs will restore your computer back to the way it was brand new.
or you could use an original Windows Disc and re-install windows that way. i suggest this method, because HP fills there pre built systems with bundled software and adware, and using the restore cd's will retore all of these programs as well.