If you are searching for your Windows 10 product key, you can locate it in the Command Prompt, by entering a short command. You can also find the product key with Windows Registry Method as well. In this article, we will guide you through both procedures to find your product key on Windows 10.
Show Windows 10 product key
To find your product key on Windows 10, follow these procedures step by step.
Click the Search button on the taskbar. Type Command Prompt in the search and then right-click on the Command Prompt option as the following image is showing.
As soon as you click the Run as administrator option, the following screen will appear.
Type the following command in the Command Prompt and press the Enter key as the following image is showing.
wmic path softwarelicensingservice get OA3xOriginalProductKey
You can see the product key on your screen.
Right click on the Desktop and choose New -> Text Document option as the following image is showing.
After that, the following icon will appear on the screen.
Open it and paste the following code in the text document.
Set WshShell = CreateObject("WScript.Shell") MsgBoxConvertToKey(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
After entering the code, click the File -> Save as option as the following image is showing.
As you click the Save as option, the following dialogue box will appear.
Type File name as per your choice but it should be of .vbs extension. Choose All Files for Save as type and then click the Save button as highlighted in the above image. The file will appear as follows.
Now open this file and you will see the product key as follows.
By following any of these procedures, you will be able to find your product key on Windows 10.