Windows Logo

If y'all're looking for your Windows x production cardinal, you can observe it by inbound a quick control in the Control Prompt. Hither's how—plus a neat fiddling trick for finding the product primal using a Windows Registry method.

Observe Your Windows 10 Product Cardinal Using the Control Prompt

To discover your Windows 10 product central using the Control Prompt, you lot'll need to open the command line awarding with administrative privileges. To do this, type "cmd" in the Windows search bar.

type cmd in search bar

Command Prompt will appear 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

Once open, copy and paste the post-obit control and so hit the Enter cardinal:

wmic path softwarelicensingservice get OA3xOriginalProductKey

The 25-digit product key will and then appear.

Product key in Command prompt

Annotation: This method displays the Windows product key stored in your computer's BIOS or UEFI firmware. In other words, it shows the original Windows key your computer came with. If you've installed Windows with a different key since then (or acquired a digital license), it will be different from the current key in employ on your PC. If you lot want the current key in apply on your PC, NirSoft's ProduKey is a good graphical tool for finding information technology.

That'southward all there is to it. This mode is quick, but this isn't probable a code you'll remember very easily. If you'd like a faster way of accessing your product key in the future, you can use the Windows Registry method instead.

Find Your Windows 10 Product Key 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'southward TechNet gallery works differently, but also grabs output from "DigitalProductId" in the registry.) As of July 2020, we recommend you skip this section and use the above 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 by right-clicking anywhere on the desktop, hovering over "New," and so selecting "Text Document" from the carte du jour.

Open a new text file

Re-create and paste this code into Notepad:

Set WshShell = CreateObject("WScript.Vanquish") MsgBox ConvertToKey(WshShell.RegRead("HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"))  Office ConvertToKey(Fundamental) Const KeyOffset = 52 i = 28 Chars = "BCDFGHJKMPQRTVWXY2346789" Practice Cur = 0 x = 14 Do Cur = Cur * 256 Cur = Fundamental(x + KeyOffset) + Cur Key(x + KeyOffset) = (Cur \ 24) And 255 Cur = Cur Mod 24 x = x -i Loop While x >= 0 i = i -1 KeyOutput = Mid(Chars, Cur + 1, 1) & KeyOutput If (((29 - i) Mod 6) = 0) And (i <> -one) Then i = i -1 KeyOutput = "-" & KeyOutput End If Loop While i >= 0 ConvertToKey = KeyOutput Cease Function

Next, click the "File" tab and select "Salvage Every bit."

save as in notepad

In File Explorer, set the "Salvage Equally Type" dropdown to "All Files" and give your file a name. You can use whatsoever proper noun, but it has to be a .vbs file. You can proper noun information technology something like: productkey.vbs

save file type as vbs file

In one case you've entered a file name, save the file.

You tin can at present view your Windows x product key at any time by opening the new file.

product key


The above commodity may contain affiliate links, which help support How-To Geek.