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:
- How to increase ROG Ally VRAM to improve gaming handheld GPU performance
- Manor Lords: How to make weapons and shields to build an army
- Manor Lords: How to trade and make money
- Manor Lords: How to get Fuel and Firewood
- Manor Lords: How to fix Homelessness
- ROG Ally plays better with AMD Fluid Motion Frames enabled, but only if other settings are adjusted — here's how to set up AFMF correctly on the gaming handheld
- Indie hit Manor Lords catapults to the top of Steam with over 150,000 players, becomes Top Seller hours after launch
- With the help of AI and Copilot, Microsoft Bing has seen an increase of over 40M daily active users compared to the previous year
- These Manor Lords upgrades are so overpowered you'd be crazy not to use them
- If Qualcomm really wants to beat Apple it needs an 'X Ultra' to challenge the M3 Max, but will it make one?