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:
- The portable SSD I've trusted for 5 years is cheaper than ever before for Prime Day — 4TB of storage for 5 cents per GB
- This massive Samsung TV is an Xbox — and it's cheaper than a Series X in Best Buy's anti-Prime Day sale
- This Surface Pro 11 just dropped to its lowest price ever — no need to wait for Prime Day
- The Lenovo Legion Go (Z1E) PC gaming handheld is $200 cheaper with this Best Buy anti-Prime Day deal — it's still my favorite handheld
- Dell 14 Premium vs. Dell XPS 14 — How the 'new XPS' compares, and why I still recommend the older model
- Xbox says all the games shown in the 2025 Showcase are still coming — but why should we believe them?
- 7 new features coming with the July 2025 Security Update for Windows 11
- Amazon's tablets like the Fire HD 10 and Fire 11 Max are up to 50% off — meaty savings on devices for Kindle books, browsing, inking, and even Xbox Cloud Gaming
- A UN Human Rights Council report lists Microsoft among big tech companies that "profit" from Gaza genocide
- RIP, Perfect Dark — Xbox leadership canceled my most-anticipated game, and the developers deserved better