Microsoft
Solutions Partner

My Cart (0)

Oops! There is nothing in your cart, yet. Here's what you can do:

Close modal

or

Shop Now
Your order!
Scheduled Support

How to Find Your Windows Activation Key (5 Methods)

Your Windows product key is a 25-character code that activates your copy of Windows. If…

How to find your Windows product key using CMD PowerShell or Microsoft account

Your Windows product key is a 25-character code that activates your copy of Windows. If you need it for a reinstall, transfer, or troubleshooting, there are several ways to recover it — even if you never wrote it down.

This guide covers five methods to find your Windows 10 or Windows 11 product key, from a quick Command Prompt command to checking your Microsoft account.

Key Takeaways

  • The fastest way to find your product key is the Command Prompt command wmic path softwareLicensingService get OA3xOriginalProductKey — this retrieves the OEM key stored in your UEFI firmware.
  • If your PC uses a digital license (no key embedded), there’s no 25-character key to find. Your activation is linked to your Microsoft account and reactivates automatically on the same hardware.
  • Retail keys from purchases are in your email receipt or product packaging. OEM keys are in the UEFI firmware or on a COA sticker.

First: Check Your Activation Type

Before searching for a key, check whether you even need one.

  1. Open SettingsSystemActivation (Windows 11) or SettingsUpdate & SecurityActivation (Windows 10).
  2. Look at your activation status:
  3. “Windows is activated with a digital license linked to your Microsoft account” — You have a digital license. No product key to find. Windows reactivates automatically on this hardware when you sign in with your Microsoft account.
  4. “Windows is activated with a digital license” — Same, but not linked to a Microsoft account. Link it now for easier recovery later.
  5. “Windows is activated with a product key” — You have a key. Use the methods below to find it.

Method 1: Command Prompt (OEM Keys)

This retrieves the product key embedded in your UEFI/BIOS firmware — the key that came pre-installed with your PC.

  1. Press Windows + S, type cmd, right-click Command Prompt, select Run as administrator.
  2. Type this command and press Enter: wmic path softwareLicensingService get OA3xOriginalProductKey
  3. Your 25-character product key displays on screen.

If the command returns blank: Your PC doesn’t have an OEM key in the firmware. This happens with custom-built PCs, virtual machines, or PCs that were activated with a retail key instead of an OEM key. Try the other methods below.


Method 2: PowerShell (OEM Keys)

Same result as Method 1, but using PowerShell instead of Command Prompt.

  1. Press Windows + S, type PowerShell, right-click, select Run as administrator.
  2. Run this command: (Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
  3. The key displays in the terminal.

Tip: You can also use this one-liner in PowerShell to display the key more clearly:

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

Method 3: Check Your Email

If you purchased a digital product key from a retailer, the key was delivered via email.

Search your inbox for: – “product key” – “license key” – “activation key” – The retailer’s name (e.g., “The Software City,” “Microsoft Store,” “Amazon”)

Common retailers that send keys by email:The Software City — delivered within 15–45 minutes of purchase – Microsoft Store — in the order confirmation email – Amazon — in the “Your Games & Software Library” section – Newegg, Best Buy — in the order confirmation


Method 4: Check Your Microsoft Account

If you bought Windows from the Microsoft Store, your purchase is tied to your Microsoft account.

  1. Go to account.microsoft.com/devices and sign in.
  2. Your registered devices appear with their activation status.
  3. Click on a device to see details.

Important: Microsoft doesn’t display the full product key here — only the activation status and device name. However, signing in with this account on the same device triggers automatic digital license activation without needing the key.


Method 5: Physical Locations

COA Sticker (Older PCs)

Windows 7 and Windows 8 PCs often have a Certificate of Authenticity (COA) sticker with the product key printed on it. Check: – Bottom of a laptop – Back or side of a desktop tower – Inside the battery compartment (older laptops) – On the power supply cover

Note: COA stickers are from the Windows 7/8 era. Modern PCs with Windows 10/11 use UEFI-embedded keys instead of stickers.

Retail Box Packaging

If you bought a physical copy, the product key is on a card inside the box. Check where you store old software boxes.


What If You Can’t Find Your Key?

Situation Solution
Digital license, same hardware No key needed — sign in with Microsoft account, activation is automatic
Digital license, new hardware Use Activation Troubleshooter (Settings → Activation → Troubleshoot)
OEM key, same hardware Reinstall same edition — UEFI key activates automatically
Lost retail key, no email Purchase a new key. Windows 10 Pro starts at $59.99, Windows 11 Pro at $99.99
Key found but won’t activate Key may be for a different edition, or already in use. Contact seller for support

For full activation instructions, see our guides for Windows 10 and Windows 11.


Frequently Asked Questions

Is my product key the same as my activation key?

Yes. “Product key,” “activation key,” and “license key” all refer to the same 25-character code (XXXXX-XXXXX-XXXXX-XXXXX-XXXXX) used to activate Windows. Microsoft’s official term is “product key.”

Can I find my product key if Windows is already activated?

Yes, but only if it’s an OEM key stored in UEFI firmware (use the Command Prompt method above). If you activated with a retail key that you entered manually, Windows stores only the last 5 characters — not the full key. Check your email or original packaging instead.

Does my product key change when I upgrade from Windows 10 to 11?

No. Your product key stays the same. If you upgrade from an activated Windows 10, the digital license transfers to Windows 11 and your original key remains valid. You can still use the same key on a clean install.

Can I use the same product key on multiple computers?

Retail keys can be used on one computer at a time — deactivate on the old PC before activating on a new one. OEM keys are locked to the original motherboard and cannot be transferred at all.

What’s the difference between an OEM key and a retail key?

An OEM key comes pre-installed with your PC from the manufacturer and is tied to that specific hardware. A retail key is purchased separately and can be transferred between computers (one at a time). Both activate Windows identically — the difference is transferability.

Is there a way to find my product key from outside Windows?

Yes. If Windows won’t boot, you can read the UEFI-embedded key from a Linux live USB using the command: sudo cat /sys/firmware/acpi/tables/MSDM . This displays the OEM product key stored in firmware.


TheSoftwareCity website favicon icon
by Editorial Team
Updated on April 4, 2026
Share Article
by Editorial Team
Updated on April 4, 2026

ON THIS PAGE

[firstName], Your Technical Support Starts Soon!

Quick reminder: We provide support through website chat 💬

📅 Your session: [Time] – Starting in [countdown]

Did everything go well?

👇 How to start: Just click

Leave a message
Need to change time?
Hide

I found 33 items that matched your query "".