Windows Logo

If you're looking for your Windows 10 product central, you lot can find it past inbound a quick command in the Control Prompt. Hither'southward how—plus a neat footling trick for finding the production key using a Windows Registry method.

Find Your Windows 10 Product Fundamental Using the Command Prompt

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

type cmd in search bar

Control Prompt will announced in the search results. Right-click information technology 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 and then hit the Enter primal:

wmic path softwarelicensingservice get OA3xOriginalProductKey

The 25-digit product primal will and so appear.

Product key in Command prompt

Notation: This method displays the Windows product cardinal 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 caused a digital license), information technology will be different from the current key in use on your PC. If yous desire the current central in employ on your PC, NirSoft'southward ProduKey is a practiced graphical tool for finding information technology.

That'due south all there is to information technology. This way is quick, only this isn't probable a code you'll recall very easily. If you'd like a faster way of accessing your product key in the future, you lot tin can employ the Windows Registry method instead.

Find Your Windows ten Product Key Using a Windows Registry Method

Update: This method is all over the spider web, just information technology doesn't seem to render a existent 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 to a higher place method instead.

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

Beginning, open Notepad by correct-clicking anywhere on the desktop, hovering over "New," and so selecting "Text Certificate" from the menu.

Open a new text file

Re-create and paste this lawmaking into Notepad:

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

Adjacent, click the "File" tab and select "Relieve Every bit."

save as in notepad

In File Explorer, set up the "Salve As Type" dropdown to "All Files" and requite your file a name. You can use whatsoever proper name, merely it has to be a .vbs file. You tin can proper name information technology something similar: productkey.vbs

save file type as vbs file

One time you've entered a file name, salve the file.

You can now view your Windows 10 product primal at whatsoever fourth dimension by opening the new file.

product key


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