How to Find Your Windows Product Key (All Methods Explained)

Your Windows product key is a 25-character alphanumeric code — formatted as five groups of five characters — that activates your copy of Windows. Whether you're reinstalling the OS, switching hardware, or just keeping records, knowing where to find it is genuinely useful. The catch: where your key lives depends heavily on how you got Windows in the first place.

What a Windows Product Key Actually Does

A product key ties your Windows license to either your Microsoft account or your device hardware, depending on the license type. When Windows activates, it contacts Microsoft's servers, validates the key, and marks that license as in use. This is why the same key can't simply be entered on unlimited machines.

Understanding your license type matters before you go hunting for a key, because it changes both where the key is stored and whether you can actually move it.

The Three Main License Types — and Where Keys Live

License TypeHow You Got ItWhere the Key Is Stored
OEMPC came with Windows pre-installedEmbedded in UEFI/BIOS firmware
RetailBought a boxed copy or digital downloadEmail receipt, card in box, or Microsoft account
Volume/MAKIssued through an employer or institutionIT department or admin portal

OEM licenses are the most common for laptops and pre-built desktops. The key is baked into the motherboard's firmware and Windows reads it automatically during installation. You may never need to type it manually.

Retail licenses are transferable — you can move them to a new machine if you deactivate them first. These keys are tied to your Microsoft account if you've linked one.

Volume licenses are managed centrally and aren't something individual users typically need to retrieve themselves.

Method 1: Command Prompt (Works for Most Users) 🔍

This is the fastest method for many setups:

  1. Press Windows + R, type cmd, and hit Enter
  2. Paste this command:
wmic path softwarelicensingservice get OA3xOriginalProductKey 
  1. Press Enter

If a key appears, that's the one embedded in your firmware. If the output is blank, your system either uses a digital entitlement (more on that below) or a volume license — neither of which stores a readable key this way.

An alternative command using PowerShell:

(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey 

Both commands pull from the same source.

Method 2: Registry Editor (Manual Lookup)

Windows stores a partial or encoded version of the key in the registry, but it's not human-readable in its raw form. Third-party tools typically decode this — the registry path is:

HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersion 

The value DigitalProductId holds the encoded key. You won't be able to read it directly, which is why most users rely on software tools for this method.

Method 3: Third-Party Key Finder Tools

Several reputable utilities are designed specifically to extract your product key:

  • ProduKey (NirSoft) — lightweight, no installation required
  • Belarc Advisor — produces a full system profile including license keys
  • ShowKeyPlus — available on the Microsoft Store, which adds a layer of legitimacy

These tools read the same registry and firmware data the command-line methods access — they just present it more clearly. Be cautious about downloading key-finder tools from unfamiliar sources, as this category attracts low-quality or bundled software.

Method 4: Check Your Original Purchase Records

If you bought Windows directly:

  • Microsoft Store purchases — log into your Microsoft account at account.microsoft.com and check your Order History
  • Boxed retail copies — the key is on a card or sticker inside the packaging
  • Email receipts — search your inbox for "Windows," "product key," or the retailer name

For pre-built PCs sold before Windows 8, manufacturers often attached a COA sticker (Certificate of Authenticity) directly to the device — check the bottom of laptops or the side/back of desktops.

Digital Entitlements: When There Is No "Key" to Find 💡

Since Windows 10, Microsoft introduced digital entitlements (also called digital licenses). Instead of a 25-character key, your activation is tied to your hardware fingerprint and, optionally, your Microsoft account.

If your machine came with Windows 10 or 11 pre-installed, or you upgraded from a genuine Windows 7/8 license during the free upgrade period, you likely have a digital entitlement. In this case:

  • The command-line methods above may return nothing
  • That's normal — there's no standalone key to retrieve
  • As long as you're signed in with your Microsoft account, Windows will reactivate automatically on the same hardware after a reinstall

To check your activation status: Settings → System → Activation

If it shows "Windows is activated with a digital license linked to your Microsoft account," you don't need a product key at all for reinstallation on that same device.

What Affects Whether You Can Retrieve or Reuse Your Key

Several factors determine what's actually possible in your situation:

  • License type (OEM keys generally can't be transferred to new hardware)
  • Windows version (Windows 10/11 digital entitlements work differently than Windows 7/8 keys)
  • Whether your Microsoft account is linked to your activation
  • How Windows was originally installed — clean install vs. OEM vs. upgrade path
  • Whether the original hardware is still functional (relevant if you're migrating)

The process of finding your key is straightforward once you know which scenario applies to you — but the scenario itself is what most people underestimate when they start looking.