Hi,
With Windows 8/8.1 The Product Key on preinstalled Operating Systems (HP, Acer, etc) is embedded in the BIOS in the Motherboard, so that the lost and/or worn C.O.A. Sticker problem is no more.
When you reinstall it will pick up the Product Key and activate the system automatically.
If it does not, follow these steps:
"How to Activate Windows 8 and 8.1 by Phone"
http://www.eightforums.com/tutorials/24636-activate-windows-8-phone.html
"Get help with activation errors"
http://windows.microsoft.com/en-us/windows-8/activation-errors
"How to activate a Microsoft product by using Microsoft Product Activation Center"
http://support.microsoft.com/kb/950929/en-us
_______________________________________________
This information may interest you if you do wish to keep a record of it; after you reinstall it:
"Windows 10 Embedded Product Key Tool"
https://neosmart.net/blog/2014/windows-10-embedded-product-key-tool/
"We’re proud to introduce the immediate release of our newest utility for Windows users: the NeoSmart Technologies Embedded Product Key Tool. Designed for users of Windows 7, Windows 8, and Windows 10, our embedded product key tool will retrieve and
display the Windows setup product key embedded in the BIOS or EFI, allowing you to store it for safe-keeping or use it to reinstall Windows with an official Windows setup image."
Cheers.