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:
- Microsoft News Roundup: Xbox Elite Controller leak, Microsoft layoffs, Galaxy Unpacked, and more
- Halo Infinite gives away free XP Boosts after fixing nasty challenge bug
- Spider-Man: Remastered is the perfect pickup for Steam Deck
- New Alone in the Dark presents 'reimagining' of the classic horror game for Xbox Series X|S, PC, and PS5
- Microsoft Surface Duo and Duo 2 get August 2022 update
- Xbox Chaturdays 76: Xbox responds to PlayStation & Gamescom predictions with Luke Lohr
- Ask Windows Central: Could we see a new Surface form factor with Windows 12?
- Budget PC upgrades every student needs
- How to add tags to files on Windows 11
- MultiVersus Season 1's release date is Aug. 15, features new Battle Pass
Leave a Reply
Want to join the discussion?Feel free to contribute!