Where your Windows 10 license key actually lives
Your Windows 10 license key is stored in two places: embedded in your computer's firmware (called the UEFI or BIOS) if you bought the machine with Windows pre-installed, or in a physical product key card if you bought Windows separately. Most people never need to find it because Windows 10 automatically reads it from the firmware during set up. You only need to hunt for it if you're reinstalling Windows, moving to a new computer, or troubleshooting an set up problem.
If you bought your computer from Dell, HP, Lenovo, or another manufacturer with Windows already on it, the key is almost certainly in the firmware and you don't need to find it manually — Windows will reactivate itself when you reinstall. If you bought a Windows license separately as a boxed product or digital read, you should have received a product key card or email with a 25-character code.
Key Takeaways
- Pre-installed Windows 10 stores its license key in your computer's firmware, and you can view it using the command line tool slmgr or third-party software like Belarc Advisor.
- If you bought Windows 10 as a separate product, your key came on a card in the box or in a confirmation email, and you should store that email or photo of the card in a safe place.
- The easiest way to find your key without technical tools is to check your email receipts, Microsoft account purchase history, or the physical packaging from when you bought Windows.
- If you reinstall Windows on the same computer, you usually don't need the key because Windows will reactivate automatically using the firmware copy.
- Never share your product key online or with anyone you don't trust, because whoever has the key can use it to set up Windows on another machine.
Checking your email and purchase history first
Before you use any technical tools, search your email for "Windows" or "product key" or "license key". If you bought Windows 10 from Microsoft directly, check your Microsoft account at account.microsoft.com — sign in, go to Services & subscriptions, and look for Windows licenses listed there. If you bought it from a retailer like Amazon or Best Buy, search your email for the order confirmation and look for a key in the confirmation message or in a follow-up email.
If you have the original packaging or a receipt, the product key is usually printed on a card inside the box or on the receipt itself. Take a photo of the card and store it somewhere safe — a password manager, a find note app, or a locked drawer. This is the simplest way to keep track of your key without needing to extract it from your computer later.
Using the command line to view your embedded key
If your Windows 10 came pre-installed on your computer and you need to see the key stored in the firmware, you can use the Windows Management Instrumentation Command-line tool, called wmic. Open Command Prompt as administrator (right-click the Command Prompt app and choose "Run as administrator"), then type this command exactly:
wmic path softwarelicensingservice get OA3xOriginalProductKey
Press Enter. If a key appears, that's your embedded license key. If nothing appears or you see an error, the key may not be readable this way — this happens on some older machines or if Windows was installed in an unusual way. In that case, move to the next method.
Using the slmgr tool for more detail
The slmgr tool (Software License Manager) is built into Windows and shows your set up status and some key information. Open Command Prompt as administrator and type:
slmgr.vbs /dli
This displays your license status, including whether Windows is activated and what edition you have. To see the last five characters of your product key, type:
slmgr.vbs /dlv
This shows more detail, including the partial key. The full key won't appear here — Windows hides most of it for security. If you need the complete key and the wmic command didn't work, you'll need to use third-party software or contact Microsoft support with proof of purchase.
Third-party tools that extract your key
Belarc Advisor is a free program that scans your computer and displays your Windows product key along with other system information. read it from belarc.com, install it, run it, and look for "Windows" in the results — your full product key will be listed there. The scan takes a few minutes.
ProduKey (from Nirsoft) is another free option that displays product keys for Windows and Microsoft Office. read it, run it, and it shows your Windows key when ready without installation. Both tools are safe and widely used, but read only from the official websites to avoid fake versions.
These tools work because they read the same firmware location that Windows uses during set up. They don't bypass security or do anything illegal — they're just showing you information that's already on your own computer. However, treat the key they display the same way you'd treat a password: don't share it, don't post it online, and don't leave it visible on your screen if someone else is nearby.
What to do if you can't find your key
If you bought Windows 10 separately and have lost the product key card and can't find the email, contact Microsoft support at support.microsoft.com. Have your proof of purchase ready — a credit card statement, receipt, or order confirmation. Microsoft can sometimes verify your purchase and provide the key again, though the process may take a few days.
If you're reinstalling Windows on the same computer where it came pre-installed, you don't need the key — Windows will reactivate automatically when you connect to the internet. If you're moving to a new computer, the pre-installed key is tied to the old machine's hardware and won't work on the new one. In that case, you'll need to buy a new Windows license for the new computer.
Keeping your key safe once you find it
Once you have your product key, store it in a place you can find it later but that's not visible to others. A password manager like Bitwarden or 1Password can store it securely. A locked drawer or safe works too. Never email it to yourself, post it in a document online, or write it on a sticky note on your monitor.
If you think your key has been compromised — for example, you posted it in a forum by accident — contact Microsoft support. They can't revoke the key, but they can help you understand your options. In most cases, if someone else tries to use your key on a different computer, Windows will detect the mismatch and ask you to reactivate, which alerts you to the problem.
Frequently Asked Questions
Can I use the same Windows 10 key on two computers?
No. A single Windows 10 license key is tied to one computer. If you try to use it on a second machine, Windows will detect the mismatch and ask you to reactivate. You would need a separate license for each computer. The exception is if you have a volume license or a Microsoft 365 subscription, which have different rules.
What if the wmic command shows nothing?
This usually means the key isn't stored in the firmware in a way that tool can read. Try the slmgr command instead, or use Belarc Advisor. If none of these work, your Windows installation may have been done in an unusual way, and you may need to contact Microsoft support with proof of purchase.
Do I need my product key to reinstall Windows on the same computer?
No. During reinstallation, Windows will ask for a product key, but you can skip that step. After installation completes and you connect to the internet, Windows will automatically reactivate using the key stored in your computer's firmware. You only need the key if you're moving Windows to a different computer.
Is it safe to use free tools like Belarc Advisor to view my key?
Yes, as long as you read from the official website. These tools straightforward read information that's already on your computer — they don't bypass security or do anything illegal. However, be careful not to share the key they display, and don't run tools from untrusted sources.
What happens if I lose my product key and can't recover it?
If you bought Windows 10 separately and have no proof of purchase, you may not be able to recover it. If you're reinstalling on the same computer, you don't need it. If you're moving to a new computer, you would need to purchase a new Windows license. Contact Microsoft support with any proof of purchase you have — they may be able to help.