Where your Windows 10 license key is stored

Your Windows 10 license key is usually stored in one of three places: embedded in your computer's firmware (if Windows came pre-installed), printed on a sticker on your device, or in a confirmation email from Microsoft or your retailer (if you bought it separately). The key itself is a 25-character code split into five groups of five characters, like XXXXX-XXXXX-XXXXX-XXXXX-XXXXX.

If Windows came with your computer from the manufacturer, the key is often burned into the BIOS or UEFI firmware and does not appear anywhere physical. Windows 10 can read this embedded key automatically during installation or reactivation. If you bought Windows 10 as a standalone product, the key was either printed on the packaging or sent to your email address by the seller.

Key Takeaways

  • Pre-installed Windows 10 stores the license key in your computer's firmware, and you can retrieve it using built-in Windows tools or third-party software without opening your machine.
  • Retail copies of Windows 10 come with a physical product key card in the box or a digital key sent by email — check your inbox and any packaging before using other methods.
  • The Settings app, Command Prompt, and PowerShell can all display your license key if it is stored in Windows, though the output may be partially obscured.
  • Third-party tools like Belarc Advisor or Magical Jelly Bean Keyfinder can reveal your full license key, but download only from official sources to avoid malware.
  • If you cannot find your key and Windows is already activated, you can reinstall Windows 10 on the same device without entering a key — Microsoft will reactivate it automatically.

Check your email and product packaging first

Before using any software tools, look for your license key in the places you are most likely to find it. If you bought Windows 10 from Microsoft Store, Amazon, Best Buy, or another retailer, search your email for messages from that seller or from Microsoft with the subject line containing "product key", "license key", or "Windows 10". These emails often arrive within minutes of purchase but can take up to 24 hours.

If you have the original Windows 10 packaging or a product key card, the 25-character key is usually printed on a sticker or card inside the box. Check the back of the case, inside any documentation, or on a separate card. Keep this key in a safe place — you may need it if you reinstall Windows or move the license to a different computer.

Use Settings to view your license key

Windows 10 has a built-in tool in the Settings app that shows your license status and, in some cases, part of your product key. Open Settings by pressing Windows key + I, then go to Update & Security and select Activation on the left side. Under Activation, you will see whether Windows is activated and what type of license you have (Home, Pro, or Enterprise).

The Activation page does not always display the full product key — it may show only the last five characters. If you see your key here, write it down. If the key is not visible or only partially shown, move to the Command Prompt or PowerShell method below.

Retrieve your key using Command Prompt or PowerShell

Command Prompt and PowerShell can both extract your license key from the Windows registry. Open Command Prompt by pressing Windows key + R, typing cmd, and pressing Enter. Then paste this command and press Enter:

wmic path softwarelicensingservice get OA3xOriginalProductKey

Your 25-character product key will appear on the screen if Windows can read it from your system. If nothing appears or you see an error, your key may be embedded in firmware and not accessible this way — try PowerShell instead.

To use PowerShell, press Windows key + X and select Windows PowerShell (Admin). Paste this command and press Enter:

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

PowerShell often retrieves the key more reliably than Command Prompt, especially on newer computers with firmware-embedded licenses. If both methods return nothing, your license key is likely stored only in your computer's firmware and cannot be displayed as text.

Use third-party key retrieval software

If the built-in Windows methods do not show your key, third-party tools can read it from your system. Belarc Advisor and Magical Jelly Bean Keyfinder are two widely used options that scan your computer and display the Windows product key along with other system information.

Download Belarc Advisor from belarc.com or Magical Jelly Bean Keyfinder from magicaljellybean.com — always use the official website, never a third-party download site. Install the software, run it, and let it scan your system. Your Windows 10 product key will appear in the results. These tools work on computers where the key is stored in the registry or firmware.

Be cautious with any key retrieval software: download only from the official developer website, keep your antivirus software up to date, and avoid sites that promise to "unlock" or "crack" Windows keys. Legitimate key retrieval tools simply read information already on your computer.

What to do if you cannot find your key

If you have tried all the above methods and still cannot locate your license key, you have options depending on your situation. If Windows 10 is already activated on your computer, you do not need the key to reinstall Windows on that same machine — Microsoft will recognize the hardware and reactivate Windows automatically when you sign in with your Microsoft account.

If you need to move your license to a different computer or you are selling your current computer, contact Microsoft Support through the Settings app (Update & Security > Troubleshoot > Additional troubleshooting options > Get Help) or visit support.microsoft.com. Microsoft can help you transfer your license or recover a lost key if you can prove you own the license.

If you bought Windows 10 from a retailer and lost the key, check your order history with that retailer — they may have a record of the key or be able to resend it. For volume licenses or business copies of Windows, contact your organization's IT department or the licensing administrator.

Frequently Asked Questions

Can I use someone else's Windows 10 product key on my computer?

No. Each Windows 10 product key is licensed to one person or organization and can only be used on one computer at a time. Using someone else's key violates the Microsoft Software License Terms. If you need Windows 10, purchase your own copy or contact Microsoft about transferring a license you already own.

What if my product key does not work when I try to activate Windows?

First, make sure you are typing the key correctly — it is case-insensitive but must have the exact characters and hyphens. If the key is correct but still does not work, it may already be in use on another computer, it may have expired, or it may be invalid. Go to Settings > Update & Security > Activation and select Troubleshoot to contact Microsoft support directly through Windows.

Is my license key the same as my Microsoft account password?

No. Your product key is a 25-character code that activates Windows. Your Microsoft account password is what you use to sign into your account and access services like OneDrive and Outlook. They are separate and serve different purposes.

Can I retrieve my Windows 10 key if I forgot my password?

Yes. Your product key is stored separately from your password. Even if you cannot sign into Windows, you can still use Command Prompt or third-party key retrieval software to find your key. Boot into Safe Mode with Command Prompt if you cannot access Windows normally, then run the key retrieval commands.

What happens if I lose my product key after I activate Windows?

If Windows is already activated on your computer, you do not need the key to keep using it. The activation is tied to your hardware and your Microsoft account. If you reinstall Windows on the same computer, it will reactivate automatically. You only need the key if you move the license to a different computer or if you need to prove ownership to Microsoft Support.