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 unveils MatterGen — an AI for developing new materials with an approximate 80% success rate, surpassing traditional screening methods
- "Sorry, Bill": Android co-founder says Bill Gates is responsible for "the greatest mistake of all time," costing Microsoft $400 billion
- Is Avowed on Xbox Game Pass?
- Ubisoft's assets may be broken up as founders seek deal with major Chinese publisher
- Former Surface design lead comes out of retirement to join Panos Panay at Amazon
- Microsoft stops tricking people into using Bing instead of Google, at least on Chrome
- 2025 is the year of the AI mini PC — Here are the 6 CES devices I'm most excited about
- I flight-tested the best carry-on tech bag with all of my essential devices, and it won a perfect score with ease
- 15 Essential PowerShell commands every Windows 11 user should know
- Doom, Quake, and Turok remaster studio ask what fan-favorite game they should work on next
Leave a Reply
Want to join the discussion?Feel free to contribute!