Cum aflam Product Key la un Windows 8 instalat
In cazul în care am instalat Windows 8 sau Windows 8.1, și am rătăcit Product Key, urmam pașii:
1. Cream un fișier txt
2. introducem în el următorul cod:
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
3. Salvam și închidem fișierul
4. renumim extensia din .txt în .vbs
5 Dublu-click (rulam) pe fișier și va apare o fereastra cu Poduct Key care-l avem la Windows-ul instalat.
Știri despre Windows:
- 40% off Lenovo's most legendary business laptop? Don't let tariffs get in the way of a good time.
- This Xbox Edition controller is not only the ultimate Game Pass companion, it's a reminder of handheld gaming's evolution
- Forget Satya Nadella's Windows Phone fumble, Bill Gates' "greatest mistake of all time" cost Microsoft $400 billion
- 6 reasons why I think Microsoft should keep the 'local account' option in Windows 11
- GameSir just showed off its G7 Pro "Xbox Elite" controller, and it looksspectacular
- Xbox Cloud Gaming seems to now support early access games, starting with South of Midnight
- I wish I'd found this Atomfall weapon sooner, it shreds EVERYTHING — trust me, you need to get it
- I asked a Lenovo representative about the Legion Go S (SteamOS) price increase — This is what they told me
- Bethesda Softworks QA union authorizes strike as negotiations with Microsoft continue
- Rebellion's Atomfall has already reached 1.5 million players
Leave a Reply
Want to join the discussion?Feel free to contribute!