How to view Product Key on Windows 10

License key on Windows 10 is hidden for security reasons, so you cannot see the license key on Windows 10 in the settings or activation items. If you are curious and want to check the most accurate Windows 10 key then follow the instructions below.

Method 1. Use the WinProdKeyFinder tool

Step 1: Download the tool to view the Product key from GitHub here .

Click on the .zip file to download.

Picture 1 of How to view Product Key on Windows 10

Step 2: Extract and click on the folder (1) => open the application WinProdKeyFind (2) .

Picture 2 of How to view Product Key on Windows 10

Then the license code on your computer will show up.

Picture 3 of How to view Product Key on Windows 10

Method 2. Use Command Prompt

Step 1: Go to Search (1) => find cmd (2) => Run as administrator (3) .

Picture 4 of How to view Product Key on Windows 10

Step 2: Enter the following command and press Enter.

wmic path softwarelicensingservice get OA3xOriginalProductKey

Picture 5 of How to view Product Key on Windows 10

Then your Windows license key will appear in the section below the command.

Picture 6 of How to view Product Key on Windows 10

Method 3. Use VBS code to view key

Step 1: Right-click on Desktop => select New (1) => Text Document (2) .

Picture 7 of How to view Product Key on Windows 10

Step 2: You copy the following code into Notepad.

Set WshShell = CreateObject("WScript.Shell") MsgBox ConvertToKey(WshShell.RegRead("HKLMSOFTWAREMicrosoftWindows NTCurrentVersionDigitalProductId")) 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

Next, you click on File (1) => Save As (2) .

Picture 8 of How to view Product Key on Windows 10

Step 3: Select where to save the file (1) => set All files (2) => name the file with the .vbs extension (3) => Save (4) .

Picture 9 of How to view Product Key on Windows 10

Step 4: Open the file you just created and the Product key information will be displayed in the popup.

Picture 10 of How to view Product Key on Windows 10

Method 4. Use the executable command in Windows Power Shell

Step 1: Right-click on Desktop => New (1) => Text Document (2) .

Picture 11 of How to view Product Key on Windows 10

Step 2: Paste the following command into Notepad.

function Get-WindowsKey { ## function to retrieve the Windows Product Key from any PC ## by Jakob Bindslet (jakob@bindslet.dk) param ($targets = ".") $hklm = 2147483650 $regPath = "SoftwareMicrosoftWindows NTCurrentVersion" $regValue = "DigitalProductId" Foreach ($target in $targets) { $productKey = $null $win32os = $null $wmi = [WMIClass]"$targetrootdefault:stdRegProv" $data = $wmi.GetBinaryValue($hklm,$regPath,$regValue) $binArray = ($data.uValue)[52.66] $charsArray = "B","C","D","F","G","H","J","K","M","P","Q","R","T","V","W","X","Y","2","3","4","6","7","8","9" ## decrypt base24 encoded binary data For ($i = 24; $i -ge 0; $i--) { $k = 0 For ($j = 14; $j -ge 0; $j--) { $k = $k * 256 -bxor $binArray[$j] $binArray[$j] = [math]::truncate($k / 24) $k = $k % 24 } $productKey = $charsArray[$k] + $productKey If (($i % 5 -eq 0) -and ($i -ne 0)) { $productKey = "-" + $productKey } } $win32os = Get-WmiObject Win32_OperatingSystem -computer $target $obj = New-Object Object $obj | Add-Member Noteproperty Computer -value $target $obj | Add-Member Noteproperty Caption -value $win32os.Caption $obj | Add-Member Noteproperty CSDVersion -value $win32os.CSDVersion $obj | Add-Member Noteproperty OSArch -value $win32os.OSArchitecture $obj | Add-Member Noteproperty BuildNumber -value $win32os.BuildNumber $obj | Add-Member Noteproperty RegisteredTo -value $win32os.RegisteredUser $obj | Add-Member Noteproperty ProductID -value $win32os.SerialNumber $obj | Add-Member Noteproperty ProductKey -value $productkey $obj } }

Next, go to File (1) => Save As… (2) .

Picture 12 of How to view Product Key on Windows 10

Step 3: You choose where to save the file (1) => select All Files (2) => name with the extension .ps1 (3) => Save (4) .

Picture 13 of How to view Product Key on Windows 10

Step 4: You click on Search (1) => search keyword powers (2) => Run as administrator (3) .

Picture 14 of How to view Product Key on Windows 10

Step 5: You execute the following command and Enter.

Set-ExecutionPolicy RemoteSigned

Picture 15 of How to view Product Key on Windows 10

Press Y to accept the setting change.

Picture 16 of How to view Product Key on Windows 10

Step 6: Right-click on the PowerShell file (1) just created in Step 2,3 => Properties (2) .

Picture 17 of How to view Product Key on Windows 10

Next, you remember the path (3) and filename (4) to insert in the next command in PowerShell.

Picture 18 of How to view Product Key on Windows 10

Step 7: Go back to PowerShell and execute the following command.

Import-Module ; Get-WindowsKey

Where is the path to the file you got in Step 6 .

Picture 19 of How to view Product Key on Windows 10

Step 8: After executing the command, you can see the ProductKey shown below.

Picture 20 of How to view Product Key on Windows 10

With the instructions in the article, you can check the key on Windows 10 easily. You can follow the methods above for older versions of Windows like Windows 8.1 / 7 / Vista.

Update 04 January 2021
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile