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:
- DEAL ALERT: Several of the best Star Wars games are less than $5 right now
- ASUS ROG Zephyrus G14 (2024) vs. Razer Blade 14 (2024): Which AMD gaming laptop is better for you?
- Microsoft Copilot: Everything you need to know
- My favorite game of all time is the cheapest it's ever been on Xbox and PC, and so is its prequel remake
- Helldivers 2 CEO apologizes for Sony PSN requirement fiasco as Steam review bombing continues: "I hope we will make it up and regain the trust"
- In a single month, Xbox took over the PlayStation Store, Microsoft revealed the price of Windows 10 support, and Elon Musk said AI may end humanity
- Senua's Saga: Hellblade II specs — Make sure your PC meets system requirements for the sequel
- Apex Legends: Upheaval introduces Alter, the wildest addition yet to its growing roster of characters
- Hellblade 2's PC requirements have at last been revealed
- What would an OpenAI search engine look like, and would it get you to switch from Google?