Guidelines
Are you having HotKey issues? Click here for tips and tricks.
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
Pavillion 15
Microsoft Windows 10 (64-bit)

Where can I find the licence key for my W10 operating system? The OS came pre-installed when I bought the notebook so the Microsoft referred me to the manufacturer, who then bounced me off to the retailer. Their support service doesn't even know what a licence key is! There must be a record in the archive somewhere, but how do I get to it?

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

Hi

KeyFinderInstaller may help....
https://www.magicaljellybean.com/keyfinder/

Doing research, and none of the methods are mine, I have 3 lines of code that will list the same value for your Windows 10 Product Key…
Two for Windows 10 and one for Linux.

W10 Using cmd.exe as an Administrator (copy and paste accordingly).

wmic path softwarelicensingservice get OA3xOriginalProductKey >> c:\ProdKey.txt

Creates a text file called ProdKey.txt on your C:\ area.

Next is a PowerShell command, as Administrator...
(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey

but it will run within W10 using cmd.exe as an Administrator.
powershell (Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey

Last, but not least....
Linux@Lubuntu:~$ sudo cat /sys/firmware/acpi/tables/MSDM | strings | tail -n 1

View solution in original post

3 REPLIES 3
HP Recommended

Hi

KeyFinderInstaller may help....
https://www.magicaljellybean.com/keyfinder/

Doing research, and none of the methods are mine, I have 3 lines of code that will list the same value for your Windows 10 Product Key…
Two for Windows 10 and one for Linux.

W10 Using cmd.exe as an Administrator (copy and paste accordingly).

wmic path softwarelicensingservice get OA3xOriginalProductKey >> c:\ProdKey.txt

Creates a text file called ProdKey.txt on your C:\ area.

Next is a PowerShell command, as Administrator...
(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey

but it will run within W10 using cmd.exe as an Administrator.
powershell (Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey

Last, but not least....
Linux@Lubuntu:~$ sudo cat /sys/firmware/acpi/tables/MSDM | strings | tail -n 1

HP Recommended

Thank you for the help. Typically Windows 10 did not perform as Microsoft says it should, I was denied access to set up the Product Key text file, but the Powershell command instantly returned 5 groups of 5 letters and numbers. Job done, thanks again.

HP Recommended

Prego.

 

"Typically Windows 10 did not perform as Microsoft says it should, "

Hence the Multiple Choice.

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.