How to Find Your Windows Product Key
In this article
You can retrieve your Windows product key using built-in system commands or registry edits, but note that modern Windows 10 and 11 licenses are typically digital and tied to your Microsoft account or motherboard hardware rather than a visible 25-character code. For older versions or OEM pre-installs, the key is embedded in the firmware.
What You'll Need
- A Windows PC with administrator access
- Command Prompt or PowerShell (for manual extraction)
- Third-party software like Belarc Advisor or ProduKey (optional, for easier reading)
Step-by-Step
- Check for a Digital License First: Before attempting to extract a key, verify if you have a digital license. Go to Settings > Update & Security > Activation. If it says "Windows is activated with a digital license," your key is already linked to your hardware or Microsoft account and does not need to be manually entered again unless you reinstall on different hardware.
- Use Command Prompt for OEM Keys: Open the Start menu, type
cmd, right-click Command Prompt, and select Run as administrator. Type the following command exactly:wmic path softwarelicensingservice get OA3xOriginalProductKeyand press Enter. If an OEM key exists in your BIOS/UEFI, it will display immediately below the command. This method works best for laptops and pre-built PCs purchased with Windows pre-installed. - Extract from Registry via PowerShell: If the previous command returns blank, your key might be stored in the registry without being exposed by the standard WMI query. Right-click the Start button, select Windows PowerShell (Admin), and paste this command:
(Get-CimInstance -Query 'SELECT * FROM Win32_OperatingSystem').ProductKey. Press Enter. Note that this may return a generic placeholder key (like 00000...) if you upgraded from a free version or use a volume license. It is most reliable for retail installations where the key was explicitly installed. - Use Third-Party Tools: If native commands fail, download a reputable tool like NirSoft's ProduKey or Belarc Advisor. Run the executable (no installation required for ProduKey). The tool scans the registry and BIOS to reveal the currently installed product key. Always download such tools only from the official developer websites to avoid malware.
- Locate Physical Stickers (Legacy): For very old computers (Windows 7 era or earlier), check for a COA (Certificate of Authenticity) sticker on the case. On laptops, look under the battery compartment or on the bottom chassis. On desktops, check the side or back panel. The 25-character key is printed there.
Common Mistakes
Users often confuse the "Microsoft Account ID" with a product key. Entering your email address into the activation field will not work; you need the alphanumeric key. Another common error is assuming every Windows installation has a retrievable key. Modern Windows 10/11 digital entitlements are hidden by design for security reasons. Attempting to force a key extraction on a digitally licensed machine often yields a generic placeholder key that cannot be used for reactivation elsewhere.
Tips
If you bought a retail copy of Windows, check your email inbox for the purchase confirmation from Microsoft or the retailer. They usually attach the key in the order confirmation email. For business environments managed by IT, the key is likely part of a volume licensing agreement and should be retrieved through your organization's software asset management portal, not locally.
Troubleshooting
If the Command Prompt returns nothing, your computer likely uses a digital license tied to the motherboard. In this case, do not worry about finding a text string; simply ensure you are signed in with the same Microsoft account used during initial setup when reinstalling Windows. If third-party tools show a generic key (starting with XXXXX), this indicates the OS is using a KMS or MAK volume license, which cannot be transferred to other devices. If you suspect the key was compromised, contact Microsoft Support directly to verify your digital entitlement status.
Frequently Asked Questions
Can I find my Windows 11 product key?
Yes, using the same methods as Windows 10. However, most Windows 11 users have a digital license linked to their hardware, making the key unnecessary for future reinstalls.
Does upgrading from Windows 7 to 10 keep the key?
The upgrade process converts your Windows 7 license into a digital entitlement for Windows 10/11. The original 25-character key is no longer needed for activation on that specific hardware.
Is it safe to use ProduKey?
Yes, if downloaded from the official NirSoft website. It is a lightweight utility that reads local registry data and does not send keys to external servers.
What if my laptop doesn't have a sticker?
Modern laptops embed the key in the UEFI firmware. Use the Command Prompt method above to read it directly from the BIOS.
Can I transfer my product key to another PC?
Retail keys can be transferred once. OEM keys (pre-installed) are permanently bound to the original motherboard and cannot be moved.