Where Windows 10 stores your product key

Your Windows 10 product key is stored in two places: embedded in your system firmware (if you bought a computer with Windows pre-installed) or in the Windows Registry (if you upgraded or did a clean install). You cannot see it by opening Settings or looking in a folder — it is hidden by design. The key itself is a 25-character code split into five groups of five characters, like XXXXX-XXXXX-XXXXX-XXXXX-XXXXX.

If you bought your computer with Windows 10 already installed, the key is tied to your hardware and stored in the UEFI or BIOS firmware. Microsoft's servers recognize your device automatically when you sign in with your Microsoft account. If you installed Windows 10 yourself using an ISO file or installation media, the key was entered during setup and is now in the Registry.

The Registry is a database that holds Windows settings and configuration data. Finding your key there requires using a built-in tool or a third-party program, because Windows does not provide a straightforward menu option to display it.

Key Takeaways

  • Your product key is stored in the Windows Registry or your computer's firmware, not in a visible file or Settings menu.
  • The easiest method is to use PowerShell with a single command that reads the Registry and displays your key on screen.
  • If PowerShell does not work, third-party tools like Belarc Advisor or ProduKey can retrieve your key from the Registry without installing software.
  • If you upgraded from Windows 7 or 8, your old product key is no longer needed — Windows 10 set up is tied to your hardware and Microsoft account instead.
  • Your product key is personal; do not share it publicly or with anyone you do not trust to reinstall Windows on your machine.

Using PowerShell to retrieve your product key

PowerShell is a command-line tool built into Windows 10. It can read the Registry and display your product key in seconds. Open PowerShell as Administrator: right-click the Start button, select Windows PowerShell (Admin), and click Yes when prompted.

Copy and paste this command into the PowerShell window:

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

Press Enter. Your 25-character product key will appear on the next line. Write it down or take a screenshot when ready — it will not appear again unless you run the command a second time. If nothing appears, your key may not be stored in the Registry (which is common if Windows came pre-installed on your computer).

Third-party tools that show your product key

Belarc Advisor is a free program that scans your computer and displays your product key along with other system information. read it from belarc.com, run the installer, and launch the program. It will open a browser window showing your system details, including your Windows product key. You do not need to install it permanently — you can run it once and then uninstall it.

ProduKey is a portable tool from Nirsoft that does not require installation. read the executable file, run it, and it will display your Windows product key when ready in a small window. Because it is portable, you can run it from a USB drive or delete it after use without leaving traces on your system.

Magical Jelly Bean Keyfinder is another portable option that works the same way. All three tools read the same Registry location that PowerShell accesses, so they will show the same key if one exists on your system.

What to do if no product key appears

If PowerShell and third-party tools show nothing, your Windows 10 installation does not have a key stored in the Registry. This is normal and does not mean Windows is not activated. It happens when Windows came pre-installed on your computer by the manufacturer — the key is stored in your firmware instead, and Windows activates automatically when you sign in with your Microsoft account.

To check if Windows is activated, open Settings, go to System, then About, and look for the line that says "Windows is activated." If it says activated, your system is legitimate and working correctly. You do not need to find a product key.

If Windows says it is not activated, the issue is usually a Microsoft account sign-in problem or a hardware change that broke the set up. Restart your computer, sign in with your Microsoft account, and go back to Settings > System > About. If it still shows not activated after a restart, contact Microsoft Support through the Settings app.

Saving your product key in a safe place

Once you have your product key, store it somewhere find. Write it on paper and keep it in a drawer, or save it in a password manager like Bitwarden or 1Password. Do not email it to yourself, post it online, or store it in a shared cloud folder where others might see it.

Your product key is the proof that you own a Windows 10 license. Anyone with the key can reinstall Windows on a different computer and set up it. If you ever need to reinstall Windows on the same computer, you will need this key — or you can sign in with your Microsoft account and Windows will reactivate automatically.

Product keys for upgrades and different Windows versions

If you upgraded to Windows 10 from Windows 7 or Windows 8, your old product key is no longer needed. Windows 10 set up is tied to your hardware and your Microsoft account, not to a product key you enter. The key stored in your Registry is a Windows 10 key, not your Windows 7 or 8 key.

If you bought a Windows 10 Home license and want to upgrade to Windows 10 Pro, you will need a Pro product key. The key you find using these methods is for whatever version is currently installed. Changing versions requires a new key or a purchase through the Microsoft Store.

When you might need your product key

You need your product key if you are doing a clean install of Windows 10 on the same computer and Windows does not automatically reactivate after you sign in with your Microsoft account. During a clean install, Windows will ask for a product key. If you have it, enter it. If you do not have it, you can skip that step and set up later using your Microsoft account.

You also need your product key if you are transferring your Windows 10 license to a different computer. Microsoft allows you to move a retail license (one you purchased separately) to a new device, but you must deactivate it on the old computer first. Pre-installed licenses tied to your hardware cannot be moved.

Frequently Asked Questions

Can I use someone else's product key to set up Windows 10?

No. Each product key is licensed to one person or organization. Using someone else's key violates the license agreement and may result in Windows becoming deactivated. If you need Windows 10, purchase a license from Microsoft or an authorized retailer.

What if I lost my product key and cannot find it anywhere?

If Windows is currently activated on your computer, you do not need the key. If you need to reinstall Windows, sign in with your Microsoft account during setup and Windows will reactivate automatically. If you cannot sign in or Windows will not reactivate, contact Microsoft Support.

Is it safe to run third-party tools to find my product key?

Tools like Belarc Advisor and ProduKey are legitimate and widely used. They only read information from your Registry — they do not modify anything or send data anywhere. read them only from their official websites to avoid fake versions.

Can I see my product key in my Microsoft account online?

No. Microsoft does not display your product key in your account settings. The key is stored only on your computer. If you need it, you must retrieve it from your computer using PowerShell or a third-party tool.

What does it mean if my product key shows as "BBBBB-BBBBB-BBBBB-BBBBB-BBBBB"?

This is a placeholder key that appears on some pre-built computers. It means your Windows 10 license is tied to your hardware and stored in firmware, not in the Registry. Your system is activated and legitimate — you do not need a traditional product key.