HP has the worst load of bloatware in the industry. Even after cleaning it up it still is a corrupt install which no tech enthusiast would run. Since you've come to the top resource on the web for Clean Reinstall why not avail yourself of our help?
What is the problem with software licensing after reinstall? The tutorial explains how to audit all installed software along with Product Keys.
There are steps here to
Clean Up Factory Bloatware which might partially mitigate having one of the worst installs possible.
Otherwise you can check over everything by working through these
Troubleshooting Steps for Windows 7