Your product key is stored in Windows itself, and you can retrieve it without buying anything or contacting Microsoft

Your Windows product key is a 25-character code that proves you own your copy of Windows. If you need to reinstall Windows, transfer it to a new computer, or troubleshoot activation problems, you will need this key. The good news is that if Windows is already running on your computer, the key is already there — you just need to know where to look for it.

The method you use depends on whether you have physical documentation, access to your Microsoft account, or only the computer itself. Most people find their key using free tools that read it directly from Windows, which takes about five minutes.

Key Takeaways

  • Your Windows product key is stored in your computer's system files and can be retrieved using free command-line tools or third-party programs without paying anything.
  • If you bought Windows through Microsoft or a retailer, check your email confirmation, receipt, or the original packaging before using other methods.
  • The command-line method using PowerShell works on any Windows computer but requires typing a specific command exactly as written.
  • Third-party tools like Belarc Advisor or Speccy show your product key in seconds and also display other useful information about your computer.
  • If you cannot find your key and need to reinstall Windows, you can reinstall without entering a key and activate later using your Microsoft account.

Check your email and original documentation first

Before using any tools, look for your product key in the places where it was originally given to you. If you bought Windows from Microsoft directly, check the email confirmation from your purchase — the key is usually in the order details or a separate attachment. If you bought a physical copy, the key is printed on a card or sticker inside the box.

If you bought a computer with Windows already installed, the product key may be on a sticker attached to the bottom or back of your device. Laptop keys are often on the underside or inside the battery compartment. Desktop keys are sometimes on a sticker on the case itself. Take a photo of the sticker if you find it, because the ink can fade or wear off.

If you bought Windows through a retailer like Best Buy or Amazon, search your email for the order confirmation. The key is usually included in the shipping confirmation or a separate email sent after purchase.

Use PowerShell to find your key directly from Windows

If you cannot find your key in documentation, you can retrieve it from Windows using PowerShell, which is a built-in Windows tool. This method works on Windows 10 and Windows 11. Open PowerShell by right-clicking the Start button and selecting "Windows PowerShell (Admin)" or "Terminal (Admin)" — you must run it as an administrator.

Copy this command exactly as written and paste it into PowerShell, then press Enter:

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

Windows will display your 25-character product key on the next line. Write it down or take a screenshot immediately. If nothing appears, your version of Windows may not have a retrievable key — this happens with some versions installed through volume licensing or enterprise programs.

Use free third-party tools for a faster visual display

If you prefer not to use PowerShell, several free programs can show your product key in a simple window. Belarc Advisor is one of the most common. Download it from belarc.com, run the installer, and launch the program. It scans your computer and displays your Windows product key along with information about your hardware and installed software. The entire process takes two to three minutes.

Speccy is another option that shows your product key along with detailed hardware information. Download it from ccleaner.com/speccy, install it, and open the program. Your Windows product key appears in the "Operating System" section. Both tools are free and do not require you to create an account or enter payment information.

These tools work by reading the same system files that PowerShell accesses, so they will show the same key. Choose whichever method feels most comfortable — the result is identical.

What to do if you cannot find your key

If you have tried all the methods above and still cannot locate your product key, you have options. If you have a Microsoft account linked to your Windows installation, you can sign in to account.microsoft.com and check your devices section — some versions of Windows purchased through Microsoft are tied to your account rather than a physical key.

If you need to reinstall Windows and do not have your key, you can download Windows from Microsoft's website and install it without entering a key. During installation, select "I don't have a product key." Windows will install and run normally, though you may see a watermark on your desktop and have limited access to some personalization settings. Once installed, you can activate using your Microsoft account if your version is tied to one, or enter your key later when you find it.

If you bought Windows from a retailer and cannot find your key, contact the retailer's customer service with your order number. They can often resend the key or provide proof of purchase that Microsoft will accept.

Protect your product key once you find it

Once you have your product key, store it somewhere safe and separate from your computer. Write it down in a notebook kept in a secure location, or save it in a password manager like Bitwarden or 1Password. Do not email it to yourself or store it in an unencrypted document on your computer, because anyone with access to your computer can find it there.

If you are reinstalling Windows or moving to a new computer, you will need this key. Keeping it in a safe place now prevents frustration later when you cannot remember where you put it.

Frequently Asked Questions

Can I use the same product key on two computers?

No. Each Windows product key is licensed for one computer at a time. If you move Windows to a new computer, you should uninstall it from the old one first. If you try to activate the same key on two computers simultaneously, Microsoft's activation system will detect it and may block activation on one or both machines.

What if the PowerShell command shows nothing?

This usually means your version of Windows does not store a retrievable key in that location. This happens with some enterprise or volume-licensed versions, or with Windows 11 installations linked to a Microsoft account. Try the third-party tool method instead, or check your Microsoft account to see if your Windows license is stored there.

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

Yes. Belarc Advisor and Speccy are legitimate programs that simply read information already stored on your computer. They do not modify anything or send your key anywhere unless you explicitly choose to share it. Download only from their official websites to avoid fake versions.

Do I need my product key to use Windows?

No. Windows will run and function normally without activation. However, you may see a watermark on your desktop and lose access to some personalization features like changing your wallpaper or theme. Activation is required only if you want full access to all Windows features.

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

If you have a Microsoft account linked to your Windows installation, sign in to account.microsoft.com to see if your license is stored there. If not, you can contact Microsoft support with proof of purchase. If you cannot provide proof, you may need to purchase a new Windows license to reinstall on a new computer.