License Keys

How to Find Your Windows 11 Product Key (4 Methods)

Windows 11 Product Key Find License Key Windows Activation

Quick answer: You can find your Windows 11 product key using Command Prompt, PowerShell, Registry Editor, or a dedicated tool like Product Key Recovery Tool. The method that works depends on whether your activation is a digital license tied to your Microsoft account or a traditional 25-character product key.

Important first: Before trying any method, check if your Windows 11 is activated with a Digital License (linked to Microsoft account). If it is, you don't need the key at all — Windows reactivates automatically after reinstall. Keep reading to find out which type you have.

Step 1: Determine Your Activation Type First

Windows 11 uses two completely different activation methods. Knowing which one you have tells you whether you even need to find a product key.

Digital License (OEM / Upgrade)

Tied to your hardware and Microsoft account. Windows reactivates automatically after reinstall — no product key needed.

Common on: pre-built PCs, free upgrades from Windows 10

Product Key

A 25-character code (XXXXX-XXXXX-XXXXX-XXXXX-XXXXX). Must be saved before reinstalling.

Common on: retail boxed copies, volume licensing

How to check your activation type:

  1. Press Win + I to open Settings
  2. Go to System → Activation
  3. Look under "Activation state"
  4. If it says "Windows is activated with a digital license linked to your Microsoft account" — you have a digital license. You're safe to reinstall without saving a key.
  5. If it shows a product key or says "Windows is activated" without mentioning digital license — save your key using one of the methods below.

Method 1: Command Prompt (30 seconds)

This is the fastest method for most users. It reads the key stored in the Windows registry.

Steps:

  1. Press Win + S, type cmd
  2. Right-click Command Prompt → Run as administrator
  3. Type this command and press Enter:
wmic path softwarelicensingservice get OA3xOriginalProductKey

If a product key is stored, it will appear as a 25-character code. If the output is blank, your PC uses a digital license — see the PowerShell method below for more detail.

Blank Output?

A blank result usually means your Windows uses a digital license embedded in UEFI. The key is not stored as a readable registry value. Try the PowerShell method for the full activation status.

Method 2: PowerShell (Most Reliable)

Steps:

  1. Press Win + X → click Windows PowerShell (Admin) or Terminal (Admin)
  2. Paste this command and press Enter:
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey

This reads the OEM key embedded by the manufacturer at the factory. This is the most reliable way to retrieve the original key on retail and OEM machines.

Method 3: Registry Editor

Windows stores partial key information in the registry. Note that this method shows an encoded version, not always the full readable key.

Steps:

  1. Press Win + R, type regedit, press Enter
  2. Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
  1. Look for the DigitalProductId value — this is an encoded binary version of your key
  2. For a human-readable key, use the PowerShell or tool methods instead

Method 4: Product Key Recovery Tool (Recommended)

PC Trek's Product Key Recovery Tool reads all activation data in one scan — the registry key, OEM embedded key, and software license keys for installed applications. It shows exactly what type of activation you have and exports everything to a backup file.

Product Key Recovery Tool

Scans Windows registry, UEFI/BIOS, and software licenses. Shows your Windows 11 key or confirms digital license status — one click, no command line.

  • ✓ Reads Windows 11 OEM, retail, and volume keys
  • ✓ Also recovers Office, Adobe, and 10,000+ software keys
  • ✓ Works offline — no internet needed
  • ✓ Exports to TXT/CSV/HTML for safe backup

✓ Free trial shows your Windows key ✓ No registration ✓ 100% local

OEM Keys: Embedded in BIOS/UEFI

Most modern PCs (HP, Dell, Lenovo, ASUS, etc.) have the Windows product key embedded directly in the UEFI firmware — this is called an OA3 (OEM Activation 3.0) key. When you reinstall Windows from a Microsoft ISO, Setup automatically reads this key from your UEFI and activates Windows without any input from you.

What this means practically

If you bought a PC with Windows pre-installed from a manufacturer, your activation is almost certainly automatic. Download a Windows 11 ISO from Microsoft, install it, and it will activate on its own using the UEFI-embedded key. You don't need to retrieve or enter anything.

What to Do With Your Key Before Reinstalling

If you do have a traditional product key (retail purchase, volume license, or older OEM), take these steps before formatting:

  1. Write it down or copy it to a text file saved on a USB drive or cloud storage
  2. Also export your software keys — Windows Product Key Recovery Tool finds all installed software license keys in one scan, not just Windows
  3. Note your Windows edition (Home, Pro, Enterprise) — the key only works with the matching edition
  4. Verify the key works — the free trial of Product Key Recovery Tool confirms the key is valid before you format

Frequently Asked Questions

A blank result from the wmic command usually means your PC uses a Digital License tied to your Microsoft account and hardware ID, rather than a traditional product key. Windows will reactivate automatically after reinstall. Use PowerShell or Product Key Recovery Tool to confirm your activation type.

It depends on the key type. Retail keys can be transferred to a new PC. OEM keys (pre-installed by the manufacturer) are permanently tied to the original hardware and cannot be transferred. Volume licensing keys follow the terms of your organization's agreement.

Yes, as long as the tool runs locally and doesn't transmit data. PC Trek's Product Key Recovery Tool is digitally signed, operates entirely offline, and only reads registry data — it never modifies system files or sends data anywhere.

First, verify you're installing the same Windows edition (Home vs Pro). OEM keys only work with the matching edition. If the key still fails, your PC likely has a digital license and you should sign in with your Microsoft account during setup instead of entering a key.

Product Key Recovery Tool scans the registry for over 10,000 software titles — Windows, Office, Adobe, games, and more. The free trial shows all recoverable keys so you know exactly what you have before formatting.

Summary

Before doing anything else, check Settings → System → Activation to determine whether you have a digital license or a product key. If it's a digital license, just sign into your Microsoft account during reinstall and you're done. If you have a traditional product key, use CMD, PowerShell, or Product Key Recovery Tool to find and save it before formatting.

Download Product Key Recovery Tool — Free Trial

Share This Guide

Recommended Tool

Product Key Recovery Tool

  • Finds Windows 11, 10, 8, 7 keys
  • Reads OEM UEFI-embedded keys
  • 10,000+ software titles
  • Exports to TXT/CSV/HTML

Don't Lose Your Windows Key Before Reinstalling

Product Key Recovery Tool shows your Windows 11 key, activation type, and all installed software licenses in one scan.