• ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Windows update impacting certain printer icons and names. Microsoft is working on a solution.
    Click here to learn more
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
We have new content about Hotkey issue, Click here to check it out!
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
OMEN
Microsoft Windows 10 (64-bit)

I have a windows 10 64 bit computer, and an omen desktop.
I'm trying to regedit and explorer.exe to recover keys in my system.

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

Hi

If i understand correctly, you are able to use the command prompt and want to know the KEY for the W10 OS?

 


C:\>wmic path softwarelicensingservice get OA3xOriginalProductKey
OA3xOriginalProductKey
WWWWW-NNNNN-101010-MICRO-SOFTY

 

 

Try...........


Doing research, and none of the methods are mine, I have some, simple single lines of code that will list the same value for your Windows 10 Product Key…

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


 

 

 

View solution in original post

3 REPLIES 3
HP Recommended

Hi

If i understand correctly, you are able to use the command prompt and want to know the KEY for the W10 OS?

 


C:\>wmic path softwarelicensingservice get OA3xOriginalProductKey
OA3xOriginalProductKey
WWWWW-NNNNN-101010-MICRO-SOFTY

 

 

Try...........


Doing research, and none of the methods are mine, I have some, simple single lines of code that will list the same value for your Windows 10 Product Key…

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


 

 

 

HP Recommended

Prego.

 

 

HP Recommended

😄

† 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>.