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:
- This $449 Lenovo convertible laptop gets up to 13 hours of battery life
- Microsoft's 50th Anniversary
- Playing Age of Empires 2 on a Windows PC in the 1990s instilled my lifelong love of real-time strategy games
- Monster Hunter Wilds celebrates 10 million copies sold as Capcom fully admits it made the game too easy — Plans to increase challenges in the coming months
- Bill Gates would restart Microsoft as an AI-centric lab after 50 years — "Raising billions of dollars from a few sketch ideas"
- TeamRICOCHET unveils plan to use machine learning in its effort to ramp up Call of Duty anti-cheat efforts
- Do this first in Atomfall before freeing Dr. Garrow — you can thank me later for making it so much easier
- How to fix Atomfall's annoying Xbox audio bug (Update: Rebellion responds)
- Revisiting Microsoft's biggest canceled devices — from revolutionary phones to dual-screen PCs
- Windows 11 setup bypass blocked, smaller Surface Pro confirmed, and Amazon raises concerns over Xbox & Surface returns