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:
- One of Linux's big hitters declares your Windows 10 PC "is toast," and one angle needs talking about MUCH more
- Windows 11's biggest update in months also includes a major fix for gaming
- Microsoft just made Sora AI video generation free via new Bing Video Creator
- Windows 11 news and updates: ASUS pushes Copilot+ PCs to Windows 10 fans as Microsoft forced is to make DMA changes
- Why do Xbox's custom controllers go so unreasonably hard?!
- IO Interactive's James Bond game is titled 007 First Light, and it's being revealed this week
- These solid-state fans will revolutionize cooling in our PCs and laptops
- UK civil servants saved 24 minutes per day using Microsoft Copilot, saving two weeks each per year according to a new report
- PSA: You don't need to spend $400+ to upgrade your Xbox Series X|S storage
- 'Two firm promises of USB-C on Windows 11' — How Microsoft plans to eliminate connectivity confusion
Leave a Reply
Want to join the discussion?Feel free to contribute!