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:
- Surface Pro 10 for Business vs. Lenovo ThinkPad X12 Detachable (Gen 2): Which 2-in-1 is better for you?
- Hollow Knight: Silksong hints at a potential upcoming release
- Best Fallout: New Vegas settings for Steam Deck
- Laptop vs. handheld: Which portable device should you choose for PC gaming?
- Rockstar Games parent company Take-Two Interactive plans to lay off hundreds of workers and cancel some games
- Every Fallout game ranked worst to best in 2024
- Looking for a new mousepad? Razer's latest decides that you need MORE RGB in your life, and I'm into it
- The Samsung Galaxy Book2 Pro 360 is "within reach of a perfect laptop design," and you can grab it for an incredible price right now
- Hades 2 playtest signups are live now on Steam
- Microsoft veteran designer Ralf Groene retires from the Surface department after 17 years of service
Leave a Reply
Want to join the discussion?Feel free to contribute!