Where to find your Windows 10 product key on your computer
Your Windows 10 product key is a 25-character code that proves you own a legitimate copy of the operating system. It's stored in your computer's registry, not printed on a sticker like older versions of Windows. To view it, you'll need to use a command-line tool or third-party software, since Windows 10 doesn't display it in the Settings app the way you might expect.
The most direct method is to open Command Prompt as an administrator, then run a single command that pulls the key from your system registry. This takes about two minutes and requires no additional software. If you're uncomfortable with Command Prompt, several free utilities can retrieve and display the key in a regular window.
Key Takeaways
- Your Windows 10 product key is a 25-character code stored in your computer's registry, not visible in Settings or on a physical sticker.
- You can retrieve it using Command Prompt with the command: wmic path softwarelicensingservice get OA3xOriginalProductKey
- Third-party tools like Belarc Advisor, Speccy, or ProduKey can display your key without using the command line.
- If you bought Windows 10 after July 2015, your key may be tied to your Microsoft account rather than stored locally on the device.
- A key that shows as invalid or missing usually means Windows was pre-installed by the manufacturer and linked to your hardware instead.
Using Command Prompt to retrieve your product key
Open the Start menu and type "Command Prompt" into the search box. Right-click on Command Prompt and select "Run as administrator." A dark window will open with a blinking cursor.
Type or paste this command exactly: wmic path softwarelicensingservice get OA3xOriginalProductKey and press Enter. The system will display your 25-character product key on the next line. Write it down or take a screenshot when ready, because it won't appear again unless you run the command a second time.
If the command returns nothing or shows a blank line, your Windows 10 installation may not have a traditional product key stored locally. This is common on computers where Windows came pre-installed by the manufacturer — the key is tied to your hardware instead.
Using free software to find your key without Command Prompt
If you prefer not to use Command Prompt, several free utilities retrieve your product key and display it in a regular window. Belarc Advisor scans your entire system and shows your Windows key along with other software licenses. Speccy, made by the same company, focuses on hardware details but also displays your Windows key. ProduKey is a lightweight tool from Nirsoft that shows only the key itself.
read any of these from their official websites, run the installer, and launch the program. Each will display your Windows 10 key within seconds. None of these tools require installation to a specific folder or administrator rights beyond what Windows normally asks for. They are all free and do not install additional software or toolbars.
What to do if your product key appears invalid or missing
A missing or invalid key usually means one of three things: your computer came with Windows 10 pre-installed by the manufacturer, you upgraded from Windows 7 or 8 using a free upgrade offer, or your Windows installation is linked to your Microsoft account instead of a local key.
If Windows came pre-installed, the key is embedded in your computer's firmware (called the BIOS or UEFI) rather than stored in the registry where the command looks for it. You can still reinstall Windows using your current license — Windows will recognize your hardware and reactivate automatically when you connect to the internet. If you upgraded from an older version of Windows for free, your license is now tied to your Microsoft account, and you'll need to sign in with that account to reactivate on a new device.
To check whether your Windows is linked to your Microsoft account, go to Settings > Update & Security > set up. If it says "Windows is activated with a Microsoft account," your key is stored in your account, not on the device.
Understanding why you might need your product key
You need your product key in specific situations: if you're reinstalling Windows on the same computer, if you're moving Windows to a different device, or if Windows asks you to reactivate after a major hardware change. You do not need it for normal daily use, updates, or security patches.
If you're reinstalling Windows on the same computer, Windows 10 will usually reactivate automatically without asking for the key. If you're moving to a different device, you'll need the key during installation, and you should check your Microsoft account or contact the retailer where you bought Windows to confirm the license can be transferred.
Storing your product key safely
Once you have your product key, store it somewhere you can find it later. Write it down and keep the paper in a safe place, 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, since anyone with access to your computer can then use that key.
If you bought Windows 10 through Microsoft or a retailer, check your email for a receipt that may include the key. If you bought a physical copy, the key is usually on a card inside the box. If you upgraded from Windows 7 or 8, your key is tied to your Microsoft account, so you don't need to store it separately — just remember your account login.
Frequently Asked Questions
Can I use the same Windows 10 product key on two different computers?
No. A single product key is licensed for one device at a time. If you move the key to a new computer, it will deactivate on the old one. Some retailers allow you to transfer a key once, but you should contact them to confirm before reinstalling on a different device.
What if I lost my product key and can't retrieve it from my computer?
If your Windows came pre-installed, you don't need the key — Windows will reactivate using your hardware ID. If you bought a retail copy, contact the retailer with proof of purchase. If you upgraded from Windows 7 or 8, sign into your Microsoft account and check your purchase history.
Is it safe to share my product key with someone else?
No. Your product key is tied to your license. Sharing it allows someone else to use your copy of Windows, which violates the license agreement. If you no longer need Windows on your computer, you can transfer the key to a new device, but not to multiple people.
Why does Windows 10 ask for a product key during installation if I already have one?
Windows asks for a key during a clean install to verify you have a valid license. If your Windows came pre-installed, you can skip this step and Windows will set up automatically after you connect to the internet. If you're installing a retail copy, you'll need to enter the key you purchased.
