Hi Asher,
Thanks for the reply.
As mentioned earlier, the concept of digital license was introduced with Widows 10 and earlier versions (Windows 7, 8, 8.1) didn’t support digital license/key. In OEM machines, the license is tied to system BIOS. Modern computer systems come with preconfigured recovery partitions which can be used to reset the computer to the state it was in, when it was purchased. If you haven’t removed the recovery partition from it, you can follow the steps mentioned in the link below to perform factory reset.
Perform factory reset on HP Windows machine.
Factory reset will delete all apps and data from the system drive and reinstall Windows, drivers and the OEM specific applications. Please make sure to back up your files before initiating reset.
In case the computer does not have a recovery partition, you may need to order the recovery media from the system manufacturer.
Hope it helps.
Thanks,
Peer Samie
Microsoft Community-Moderator