Find the Windows 10 product key with VB Script



Updated April 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

This article shows you how to find your Windows 10 product key with a VB script. But I must add that this also works on Windows 8.1, Windows 7 and earlier versions. If, for any reason, you need to know your Windows license or serial number, this article is sure to help.

Find Windows Product Key 10



April 2024 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.

download



Open a notepad and insert the following :

Set WshShell = CreateObject('WScript.Shell') MsgBox ConvertToKey(WshShell.RegRead('HKLMSOFTWAREMicrosoftWindows NTCurrentVersionDigitalProductId'))) ConvertToKey(key) Const keyOffset = 52 i = 28 characters ='BCDFGHJKMPQRTVWXY2346789'. Tun Cur = 0 x = 14 Tun Cur = Cur Cur * 256 Cur = Key(x + KeyOffset) + Cur 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(Character, Cur + 1, 1, 1) & KeyOutput If ((((29 - i) Mod 6) = 0) and (i <> -1) then i = i -1 KeyOutput ='- -''' -'. If loop During i >= 0 ConvertToKey = KeyOutput end function

(1).vbs.

Now run this file and you will see your Windows 10 product key.

Source: Microsoft.

You can also find the Windows product key at the command prompt or PowerShell.

If these methods do not work for you, you can also use free software Software Key Finder to restore and backup not only Windows, but also Office, software, game sets and license keys.

This article helps you if you want to uninstall the Windows product key.

Read our Windows 10 test and become a ninja with these Windows 10 tips and tricks.



Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here

Related Video