• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Seize the moment! nominate yourself or a tech enthusiast you admire & join the HP Community Experts!
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
hp spectre
Microsoft Windows 10 (64-bit)

Hello,

I keep receiving a message saying that my windows license is about to expire soon. but I get the device already included with windows. how can I fix the issue??

 

Thanks

 

Mahi

1 REPLY 1
HP Recommended

Hi

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

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

https://www.microsoft.com/en-us/software-download/windows10
https://www.microsoft.com/en-us/software-download/windows10ISO

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