The cheap exit is to get HP's issue of Windows for that machine. These are called "restore media" and in the USA run about 50 bucks on the high side and worth every penny. I no longer write how to fix up windows after the install beyond a "guide" as it's that rough today.

If cost is an issue, go install Linux.
Bob