How to Check Your Windows Product Key

Your Windows product key is a 25-character alphanumeric code that activates your copy of Windows. Whether you're preparing to reinstall the operating system, transferring a license to a new machine, or simply keeping your software documentation organized, knowing how to retrieve that key is a practical skill. The method that works best for you depends on how Windows was installed, where the license is stored, and which version you're running.

What Is a Windows Product Key and Where Is It Stored?

A Windows product key (sometimes called a license key or activation key) ties your copy of Windows to either your hardware or your Microsoft account. It typically looks like this:

XXXXX-XXXXX-XXXXX-XXXXX-XXXXX 

Where the key lives depends heavily on how and when Windows was installed:

  • Retail licenses — purchased in a box or as a standalone download. The key is often printed on a card inside the box or delivered via email.
  • OEM licenses — pre-installed by the manufacturer (Dell, HP, Lenovo, etc.). On older machines (pre-Windows 8), the key was on a sticker on the device. On modern hardware, it's embedded directly in the UEFI firmware (the system's low-level software), which means there's no physical sticker to look for.
  • Volume licenses — used by businesses and organizations. These are managed centrally and may not be retrievable by a standard end user.
  • Digital licenses — introduced with Windows 10 and carried into Windows 11. These link activation to your Microsoft account rather than a standalone product key string.

Understanding which type you have affects which retrieval method will actually work.

Method 1: Check Using Windows PowerShell or Command Prompt 🔍

This is the most direct approach and works on Windows 10 and Windows 11.

Using PowerShell:

  1. Right-click the Start button and select Windows PowerShell or Terminal
  2. Type or paste the following command and press Enter:
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey 

If a key is returned, it's the OEM key embedded in your firmware. If the result is blank, your license may be a digital license tied to your Microsoft account rather than a traditional key string.

Using Command Prompt:

  1. Open Command Prompt (search cmd in the Start menu)
  2. Enter:
wmic path softwarelicensingservice get OA3xOriginalProductKey 

Again, a blank result doesn't mean your Windows isn't activated — it often just means the license is stored differently.

Method 2: Check Activation Status Through Settings

If you're not necessarily looking for the key string itself but want to confirm Windows is activated and understand your license type:

  1. Open Settings
  2. Go to System → Activation
  3. You'll see your activation status and whether it's linked to a Microsoft account (digital license) or a traditional product key

This is particularly useful if you've upgraded from Windows 10 to Windows 11, where digital licenses are common and a separate key may not exist to retrieve.

Method 3: Use a Third-Party Key Finder Tool ⚙️

Several reputable utilities can read product keys stored in the Windows registry or firmware:

  • ProduKey (NirSoft)
  • Belarc Advisor
  • Magical Jelly Bean Keyfinder

These tools scan your system and display product keys for Windows and sometimes other installed Microsoft software. They're especially useful when you need to document keys across multiple machines or when command-line methods return incomplete results.

A few considerations before using these tools:

  • Download only from official developer sites to avoid bundled software or security risks
  • Some antivirus software may flag key finder tools as potentially unwanted programs (PUPs) — this is a common false positive due to how these tools access system data, but it's worth being aware of
  • The key displayed may be a generic OEM key on some manufacturer-installed Windows builds, which won't work for manual activation on a different machine

Method 4: Check Physical Documentation or Email Records

For retail copies, your key may be:

  • Printed on a Certificate of Authenticity (COA) sticker (common on older Windows 7/8 machines)
  • In a confirmation email from Microsoft Store or a third-party retailer
  • Inside the original product packaging

If you purchased Windows through a Microsoft account, logging into account.microsoft.com and checking your Order History or Subscriptions may surface your license information.

Key Factors That Affect What You'll Find

FactorEffect on Key Retrieval
Windows version (7, 8, 10, 11)Older versions more likely to have visible key strings
OEM vs. retail vs. digital licenseDetermines where key is stored
Hardware with UEFI firmwareKey may be embedded; command-line tools required
Microsoft account linkageDigital license replaces traditional key
Volume licensing (enterprise)Key may not be retrievable by end users

When the Key "Missing" Isn't Actually a Problem

One common point of confusion: a blank result from a command-line query doesn't mean your Windows isn't properly licensed. Windows 10 and 11 increasingly use digital licenses that activate automatically when the hardware connects to Microsoft's activation servers. If your system shows as activated in Settings, the absence of a traditional product key string is generally not something you need to resolve.

Where it becomes relevant is in specific scenarios — reinstalling Windows on the same machine (usually handled automatically), transferring a retail license to new hardware, or needing to document your key for organizational records.

The method worth using, and what you'll actually find when you run these checks, comes down to which type of license came with your specific machine or purchase and how that license is stored on your system.