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:
- 'Hellblade 2' will be delivered in 2.39:1 aspect ratio, creating cinematic film bars on non-ultrawide displays
- 'Helldivers 2' in review bombing uproar as Sony introduces new mandatory account requirements on PC players
- The Fallout hype is real (and I love it), but Bethesda should NOT abandon 'Starfield' — let them cook.
- 2023's indie game of the year is on Xbox Game Pass, and I now understand how it earned its awards
- You'll come for the Lenovo Slim 7i that's nearly half price, but you'll stay for the 20% discount on accessories that almost never go on sale
- The most popular games from last year were over 7 years old, with Starfield being the only new franchise to break the top 10
- The AI revolution "won't require a new piece of hardware," claims OpenAI CEO Sam Altman — but if it does, he says "you'll be happy to have a new device"
- OpenAI CEO Sam Altman promises "with a high degree of scientific certainty" that GPT-5 will be smarter than the "mildly embarrassing at best" GPT-4
- A Call of Duty competitor is launching 3 years after its first announcement, and I couldn't be more excited
- These are the 7 games you need to play on gaming handhelds this May: Steam Deck, ROG Ally, Legion Go, and more