• ×
    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
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
HP Spectre x360
Microsoft Windows 10 (64-bit)

I had upgraded to Windows 10 educational version about a year ago.  The product key was provided by the university, which I assume would expire soon that I have graduated recently. I had not saved my original product key while upgrading. Now I want to move back to the original home version which came installed in the device. Could someone please guide how I could obtain my original windows 10 product key? I could not find it anywhere on the HP packaging of the laptop

1 REPLY 1
HP Recommended

@VipashaAwasthi 

 

The original HP key is stored in the BIOS unless you cleared the HP keys setting. The only way to get that key would be to remove the Windows 10 Educational  installation hard disk and install another one and do a clean install of Windows 10 via an HP Cloud Recovery USB flash drive.

 

The Windows 10 Educational version  license key will not expire. Your university just does not have that kind of control over your life.  🙂

 

The following Virtual Basic script will give you the installed key if run while logged into Windows. It is safe to use and run.  Copy and save it in notepad and save as ProductKey.vbs. Double-click it to run the script.

 

 

Set WshShell = CreateObject("WScript.Shell")
MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"))

Function ConvertToKey(Key)
Const KeyOffset = 52
i = 28
Chars = "BCDFGHJKMPQRTVWXY2346789"
Do
Cur = 0
x = 14
Do
Cur = Cur * 256
Cur = Key(x + KeyOffset) + Cur
Key(x + KeyOffset) = (Cur \ 24) And 255
Cur = Cur Mod 24
x = x -1
Loop While x >= 0
i = i -1
KeyOutput = Mid(Chars, Cur + 1, 1) & KeyOutput
If (((29 - i) Mod 6) = 0) And (i <> -1) Then
i = i -1
KeyOutput = "-" & KeyOutput
End If
Loop While i >= 0
ConvertToKey = KeyOutput
End Function

 

 

 

edited for a typographic error by Erico



I am a volunteer forum member. If my suggestion helped you solve your issue, help others by marking that post as the accepted solution. Say thanks by clicking on the Yes button next to the "was this reply helpful?"



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