07-22-2016 03:14 AM
I need to find the Windows License key from our Thin clients at work. They are HP T5550 clients with Windows Embedded 6.0 on them.
07-23-2016 06:47 AM
It always helps when one provides a Windows version.
There are numerous vbs scripts available that will provide the product key.
The following script works well for me in Windows powershell.
Set WshShell = CreateObject("WScript.Shell")
MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"))
Const KeyOffset = 52
i = 28
Chars = "BCDFGHJKMPQRTVWXY2346789"
Cur = 0
x = 14
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
Loop While i >= 0
ConvertToKey = KeyOutput
I am not an HP Employee.
You can click on Accept as Solution if my post or reply was the information you were looking for that helped you resolve your issue.
You can say thanks by giving me a Kudo if my reply helped. To give a Kudo just click on the
#HelpStopTheSpread #PracticeSocialDistancing distancing
07-24-2016 04:22 AM
Thanks for the help but it seems that the Windows Embedded doesn't have powershell or that it can run wmic commands like `wmic path softwarelicensingservice get OA3xOriginalProductKey` (which does work on the T520.
I think there might be a way if I can get to the registry.