Win10 Academy: how to retrieve the Product key of Windows 10
CTOnews.com December 31 message, sometimes there is a challenge to find the Win10 product activation key. Not everyone will save it to a document and may throw it away in a corner after activation. This issue of Win10 Academy teaches users some simple techniques to find your product key.
Use the command prompt method 1. Run the command prompt as an administrator
two。 Enter the "wmic path softwarelicensingservice get OA3xOriginalProductKey" command in the window
3. Typically, this command returns a 25-bit product key. This is the product key stored in your UEFI firmware or computer BIOS. This means that this is the original product key of your computer. CTOnews.com learned that if you use a different key to reinstall Windows, you may need other tools to find the key.
Use Registry Editor method 1. Open the notepad.
two。 Then copy the following command to notepad
Set WshShell = CreateObject ("WScript.Shell") MsgBox ConvertToKey (WshShell.RegRead ("HKLM\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ DigitalProductId") Function ConvertToKey (Key) Const KeyOffset = 52i = 28Chars = "BCDFGHJKMPQRTVWXY2346789" DoCur = 0x = 14DoCur = Cur * 256Cur = Key (x + KeyOffset) + CurKey (x + KeyOffset) = (Cur\ 24) And 255Cur = Cur Mod 24x = x-1Loop While x > = 0i = I-1KeyOutput = Mid (Chars, Cur + 1) 1) & KeyOutputIf ((29-I) Mod 6) = 0) And (I-1) Theni = I-1KeyOutput = "-" & KeyOutputEnd IfLoop While i > = 0ConvertToKey = KeyOutputEnd Function3. Then click Save.
4. Then rename the file and change its suffix to the ".vbs" format, such as windowsproductkey.vbs. Alternatively, you can choose to save as, select all Files, and rename to a file with the suffix ".vbs".
5. Double-click to run