Cum aflam Product Key la un Windows 8 instalat
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:
- Get a lifetime of cloud storage for up to 70% off — no subscription required
- SteelSeries' latest wireless mouse is cheap and colorful — but is this the one to spend your money on?
- I tested a 34-inch 240Hz QD-OLED gaming monitor that nails performance and design — with a price that's lower than you'd guess
- Microsoft Edge's latest stable channel update adds MORE AI — All Copilot all the time
- Dell's XPS replacements are here, but only with Intel for now — and they're not Copilot+ PCs, either
- 7 upcoming day one Xbox Game Pass games I need to play yesterday — and I'm looking forward to even more
- Final Fantasy VII Remake coming to Xbox is cool — but I'm sticking with the PC version and mods that let me fight Darth Vader
- Gears of War: Reloaded preorders — where to buy and everything you need to know
- Top 10 new Windows 11 features and changes unveiled via the Insider Program in June 2025 — and where to find them
- OpenAI's Sam Altman breaks silence on Microsoft feud with Satya Nadella — citing "points of tension" amid evolution plans
Leave a Reply
Want to join the discussion?Feel free to contribute!