Windows Logo

If you're looking for your Windows 10 product primal, you lot tin find it past entering a quick control in the Command Prompt. Hither'due south how—plus a neat little trick for finding the product key using a Windows Registry method.

Find Your Windows 10 Product Primal Using the Control Prompt

To notice your Windows ten production key using the Command Prompt, y'all'll demand to open the command line awarding with administrative privileges. To exercise this, type "cmd" in the Windows search bar.

type cmd in search bar

Command Prompt will announced in the search results. Right-click it and select "Run As Administrator" from the window that appears. If prompted, enter your Windows account password.

Run as admin option

In one case open, re-create and paste the post-obit control then striking the Enter key:

wmic path softwarelicensingservice become OA3xOriginalProductKey

The 25-digit product key volition then appear.

Product key in Command prompt

Annotation: This method displays the Windows production cardinal stored in your reckoner'southward BIOS or UEFI firmware. In other words, information technology shows the original Windows key your computer came with. If you've installed Windows with a unlike key since then (or acquired a digital license), information technology volition be different from the current key in utilise on your PC. If you want the current central in utilize on your PC, NirSoft'due south ProduKey is a good graphical tool for finding it.

That's all in that location is to it. This fashion is quick, but this isn't probable a code you'll remember very easily. If you'd similar a faster way of accessing your product central in the futurity, you tin use the Windows Registry method instead.

Discover Your Windows ten Product Central Using a Windows Registry Method

Update: This method is all over the web, but information technology doesn't seem to return a real usable key on the latest version of Windows 10. (For example, this script in Microsoft's TechNet gallery works differently, but likewise grabs output from "DigitalProductId" in the registry.) As of July 2020, nosotros recommend you skip this section and employ the in a higher place method instead.

The Windows Registry tip was initially posted by a user (whose account is no longer active) in the Microsoft forum.

First, open Notepad past right-clicking anywhere on the desktop, hovering over "New," so selecting "Text Document" from the menu.

Open a new text file

Re-create and paste this code into Notepad:

Ready WshShell = CreateObject("WScript.Shell") MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"))  Role ConvertToKey(Key) Const KeyOffset = 52 i = 28 Chars = "BCDFGHJKMPQRTVWXY2346789" Do Cur = 0 x = 14 Do Cur = Cur * 256 Cur = Key(10 + KeyOffset) + Cur Central(10 + KeyOffset) = (Cur \ 24) And 255 Cur = Cur Mod 24 x = x -1 Loop While x >= 0 i = i -1 KeyOutput = Mid(Chars, Cur + ane, 1) & KeyOutput If (((29 - i) Modernistic 6) = 0) And (i <> -1) Then i = i -ane KeyOutput = "-" & KeyOutput Stop If Loop While i >= 0 ConvertToKey = KeyOutput End Office

Next, click the "File" tab and select "Salvage As."

save as in notepad

In File Explorer, fix the "Save Equally Type" dropdown to "All Files" and requite your file a name. You can utilize whatever name, but information technology has to be a .vbs file. You lot can proper name information technology something like: productkey.vbs

save file type as vbs file

Once you've entered a file name, save the file.

You can at present view your Windows 10 production primal at whatsoever time by opening the new file.

product key


The above article may comprise affiliate links, which help back up How-To Geek.