-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Desktops
- Desktop Operating Systems and Recovery
- How do I run apps other than command prompt in recovery?

Create an account on the HP Community to personalize your profile and ask a question
01-31-2020 01:08 AM
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.
Solved! Go to Solution.
Accepted Solutions
01-31-2020 03:32 AM
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
01-31-2020 03:32 AM
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