If the Recovery Manager is still there aka Recovery Partition then you can reinstall everything back to factory by tapping F11 right after pressing the start button.
If the whole drive was erased, then it will require either purchasing the install Recovery media from HP or Computer Surgeons http://www.computersurgeons.com/
Or downloading Windows from Microsoft and reinstalling.
I'm not an HP employee.
Did this message answer your question? Please indicate below as an Accepted Solution!
Did you find this message useful? Click on the "Was this reply helpful" Yes button.