New hard drive looking to use a old windows key

Solution
Yes, just follow the article. Connect to your live account, then add the key. Afterwards do the reinstall without the key and when you log back in, it auto verifies.
If you have caught it in time, clone to the new drive. Or you can certainly reinstall fresh using the same key. The hard drive isn't in the check for new hardware and fail activation if too much change has happened hash. If this is windows 10 log into an online account so it gets the key, then reinstall and skip inputting the key and log into the online account.
 


the key is windows 7 and i have windows 10 installed because upgrade, so how would i match the account with the key
@supahos yes its a hp key it has no disk that came with it put the product key is on the box