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:
- Playing NVIDIA GeForce Now games on Steam Deck and other handheld consoles is about to get easier
- One of AMD's best-ever Ryzen gaming CPUs is finally affordable and eager to run Fallout at Ultra settings on your next atomic PC
- The best way to expand your Xbox Series X|S storage is now down to its best price ever
- Playing 'Ghostwire: Tokyo' just made me wish it was a horror game
- Forget ads on the Start menu, Microsoft's latest update for Windows 11 won't let you use a VPN for private browsing
- What is Bing Deep Search, and why should you use it?
- Steam Deck's most played games in April included, surprise surprise, a heap of Fallout and 2024's best new game
- Windows 11 is finally catching up to Windows 10 with Steam gamers, Mac remains a lowly third place with help from the Steam Deck
- Odd Todd is finally odd, Square Joker is actually square — and other nonsense only Balatro players will understand, as its biggest update rolls out to all platforms
- Call of Duty leaks detail possible crossovers with 'Fallout,' 'Gundam,' and 'The Crow' in the works for MW3 Season 4