Table of Contents
This practical guide walks through how to view product key on Windows 10, explains the main requirements, and highlights common issues that may appear along the way.
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.

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

Then the license code on your computer will show up.

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

Step 2: Enter the following command and press Enter.
wmic path softwarelicensingservice get OA3xOriginalProductKey

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

Method 3. Use VBS code to view key
Step 1: Right-click on Desktop => select New (1) => Text Document (2) .

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) .

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

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

Method 4. Use the executable command in Windows Power Shell
Step 1: Right-click on Desktop => New (1) => Text Document (2) .

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) .

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

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

Step 5: You execute the following command and Enter.
Set-ExecutionPolicy RemoteSigned

Press Y to accept the setting change.

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

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

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 .

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

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.
Key Takeaways
Use the information above as a practical reference for how to view product key on Windows 10. Review each step carefully, confirm any requirements, and choose the option that best fits your situation.
FAQ
What does this guide explain about View Product Key on Windows 10?
It explains the main concepts, practical considerations, and useful steps related to view product key on Windows 10 without requiring advanced knowledge.
Who can benefit from learning about View Product Key on Windows 10?
This information is useful for readers who want a clear overview, practical guidance, and reliable steps related to view product key on Windows 10.
What should I check before applying this information?
Review the requirements, confirm that your device, software, or situation matches the instructions, and back up important data before making major changes.
Reader Comments 0
Sign in with email or Google to join the discussion.