03-10-2016 08:18 AM
i am sure this has been covered a million times bu can someone update me as to the polict / process for obtatining a 8.1 licence key for my Lenovo just out of warranty desktop.
The hdd failed and i do not have the Lenovo installation media however i do have another oem's media so bios lock i am assuming wont work therfore i need the 8.1 licence key which is not sed anymore by some oem's.
Can i get from Lenovo the key for my machine to enable me to reinstall and activate win 8.1 ?
03-10-2016 09:53 AM
just copy this code and paste in notepad and save as productkey.vbs
you will get a file.just open it you can find your key
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
03-12-2016 01:29 AM