cancel
Showing results for 
Search instead for 
Did you mean: 
This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
Highlighted
New member
2 1 0 0
Message 1 of 3
634
Flag Post
HP Recommended

Windows Product Key

HP T5550
Other

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.

 

Thank you

0 Kudos
2 REPLIES 2
Highlighted
Level 17
Level 17
47,068 41,321 4,510 11,806
Message 2 of 3
588
Flag Post
HP Recommended

Windows Product Key

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"))

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




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
0 Kudos
Highlighted
New member
2 1 0 0
Message 3 of 3
575
Flag Post
HP Recommended

Windows Product Key

Hey,
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.
0 Kudos
This topic has been archived. Information and links in this thread may no longer be available or relevant. If you have a question create a new topic by clicking here and select the appropriate board.
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation