1
If Windows was pre-installed by HP on that device, then there is an OEM licence stored on the motherboard and any time you re-install or reset Windows, it will activate automatically from that OEM licence.
I can check that for you to ensure you will not experience any activation problems when you re-install Windows.
Click your Start Button, type cmd then right click Command Prompt and choose 'Run as Administrator'
Run or paste this command and hit Enter:
slmgr.vbs /dlv
Please post a screenshot of the resulting dialog
2
Also, when you install Linux on that device, that will change the format of the drive and you may need to disable Secure Boot in BIOS, so when you go to re-install Windows later, you will need to delete all partitions form the drive and re-enable Secure Boot.