How to Find Your Windows Product Key

You usually need your Windows product key only when reinstalling Windows, moving a license to new hardware or contacting support. Unfortunately, it’s easy to lose track of it. This guide covers every legitimate place your key may be stored and explains when you don’t need a key at all.
First: Do You Even Need the Key?
Many modern PCs activate with a digital license stored by Microsoft. If your device was activated before, you can reinstall the same edition, choose I don’t have a product key during setup and Windows will activate automatically online. Check your status in Settings → System → Activation. If it says “activated with a digital license,” a key is optional.
Method 1: Read the Key Embedded in Your PC’s Firmware
Most PCs sold with Windows 8 or later store an OEM key inside the UEFI firmware. Windows setup reads it automatically, but you can view it too. Open PowerShell and run:
(Get-CimInstance -ClassName SoftwareLicensingService).OA3xOriginalProductKey
If the command returns a 25-character key, that’s the original key installed by the manufacturer. If it returns nothing, your PC has no embedded key, which is common for custom-built computers.
Method 2: Check Your Purchase Email
If you bought Windows online from Microsoft or an authorized retailer, the key was sent in an order confirmation email. Search your inbox for terms such as “Windows product key,” “order confirmation” or the retailer’s name.
Method 3: Look in Your Microsoft Account
Purchases from the Microsoft Store are listed in your account’s order history. Sign in to your Microsoft account, open Payment & billing → Order history and find the Windows purchase. Digital purchases may show the key or confirm that the license is attached to your account as a digital license.
Method 4: Find the Physical Label or Card
- Retail boxes: the key is on a card or label inside the packaging.
- Older PCs (Windows 7 era): a Certificate of Authenticity sticker on the case or under the battery may show the key.
- Newer PCs: usually have no printed key because it is stored in firmware.
Method 5: Ask Your Organization
Work and school PCs typically use volume licensing through KMS, Active Directory or a Multiple Activation Key. These keys are managed by IT administrators, so contact your IT department rather than searching the device.
What slmgr Can and Can’t Show
Running slmgr /dli displays the last five characters of the installed key and the license channel, such as Retail, OEM or Volume. It does not reveal the full key, but it helps you match a key from an email or label to the one on the PC.
A Word of Caution About Key Finder Tools
Many third-party “key finder” programs exist. Some are legitimate, but others bundle adware or worse. The built-in methods above are safer. If you do use a tool, download it only from the developer’s official website and scan it with Microsoft Defender.
Frequently Asked Questions
Why does Windows show a generic key?
Devices activated with a digital license sometimes display a generic placeholder key. That’s normal and doesn’t mean your license is invalid.
Can Microsoft Support give me my lost key?
Support generally cannot retrieve a retail key. Keep your purchase email and receipt in a safe place.
Is my OEM key valid on another PC?
No. OEM keys are licensed for the original computer only.
Conclusion
Your Windows key is most likely in your firmware, your email or your Microsoft account. Often you don’t need it at all thanks to digital licenses. Save it in a password manager once you find it so you’re ready for the next reinstall.
How to Spot a Fake or Grey-Market Windows Key Before You Buy
Learn the warning signs of fake, resold and grey-market Windows and Office keys, where to buy genuine licenses and what to do…
