To check your Windows 10 product key, open Command Prompt and run wmic path softwarelicensingservice get OA3xOriginalProductKey. If your PC came with Windows, this shows the key stored in its firmware. Many PCs don’t have a key to find at all, because Windows 10 is activated with a digital license linked to the hardware or your Microsoft account.
Applies to: Windows 10. Checked against Microsoft Support on October 10, 2026.
First, check whether you need the key
Go to Settings > Update & Security > Activation. If it says Windows is activated with a digital license, you don’t need a product key to reinstall Windows 10 on the same PC. It activates again automatically once it’s online. See how to find your digital license on Windows 10.
You do need the key if you bought a retail copy and want to move it to another PC, or if activation fails after a reinstall.
Product key or digital license?
- Product key: a 25-character code in five groups of five, like XXXXX-XXXXX-XXXXX-XXXXX-XXXXX. It comes with boxed copies, some online purchases, and many PCs sold with Windows.
- Digital license: no code at all. Windows remembers that this PC is activated, usually because it was upgraded for free from Windows 7 or 8.1, or because Windows was bought from the Microsoft Store.
Most home PCs running Windows 10 today use a digital license, even if a key was used at some point.
Method 1: Command Prompt
- Select Start, type cmd, and open Command Prompt.
- Type
wmic path softwarelicensingservice get OA3xOriginalProductKeyand press Enter. - The 25-character key appears under the heading. If the line is blank, your PC has no key in its firmware.
Method 2: PowerShell
Use this if the wmic command isn’t recognized.
- Right-click Start and select Windows PowerShell.
- Run:
(Get-CimInstance -ClassName SoftwareLicensingService).OA3xOriginalProductKey
It reads the same firmware key as Method 1.
Method 3: See the last five characters of the installed key
Open Command Prompt and run slmgr /dli. A window shows your Windows edition, the license type, and the last five characters of the key that’s installed now. This is handy for checking whether a key you have matches the one in use, but it doesn’t show the full key.
Method 4: Look on paperwork and stickers
- Boxed copy: on a card inside the box.
- Bought online from Microsoft: in the confirmation email, or in your Microsoft account order history.
- Older PCs: on a Certificate of Authenticity sticker on the case or under the battery. PCs made after Windows 8 usually store the key in firmware instead.
- Work or school PCs: these normally use volume licensing. Ask your IT department.
Change or enter a product key
- Go to Settings > Update & Security > Activation.
- Select Change product key.
- Type the 25-character key and select Next, then Activate.
Keep a copy of your key
Once you’ve found it, save the key somewhere safe outside the PC, such as a password manager or a note in your email. Take a photo of any sticker before it wears off. Treat it like a password, because anyone with the key can use it.
Why you might see a generic key
Some key-finder methods, including a registry value called BackupProductKeyDefault, can show a generic key that Windows uses for installation on digitally licensed PCs. It’s the same on millions of PCs and won’t activate Windows on its own. If the key you find doesn’t work, check your paperwork or rely on the digital license instead.
Common activation errors
- 0xC004F050: The key isn’t valid. Check for typos, especially between similar characters like 8 and B.
- 0xC004C003: Microsoft’s activation servers have blocked the key, often because it was used on too many PCs or wasn’t genuine.
- 0xC004F213: Windows couldn’t find a license for this PC, which is common after replacing the motherboard. Use the Activation troubleshooter.
If you can’t find a key
- Windows is activated: You don’t need to do anything. Link your Microsoft account in Settings > Accounts so the license is easier to restore after a hardware change.
- Windows isn’t activated: Select Troubleshoot on the Activation page. If you replaced the motherboard, choose I changed hardware on this device recently.
- The firmware key is for a different edition: A Home key won’t activate Pro. See how to go from Windows 10 Pro to Home or how to convert Windows 10 Home to Pro.
Frequently asked questions
Does my product key show in my Microsoft account?
Only for copies bought online from Microsoft, which appear in your order history. Keys for PCs you bought from a store, or for boxed copies, aren’t shown there.
Are product key finder apps safe?
Some are, but many free “key finders” come bundled with unwanted software. The commands above show the same information without installing anything.
Can I use my Windows 10 key on Windows 11?
Yes. A valid Windows 10 key for the same edition also activates Windows 11.
Can I move my key to a new PC?
Retail keys can usually be moved, as long as you remove them from the old PC. Keys that came with a PC (OEM) are tied to that PC.
How do I check my Windows version as well?
See how to check your Windows 10 version.

Matt Jacobs has been working as an IT consultant for small businesses since receiving his Master’s degree in 2003. While he still does some consulting work, his primary focus now is on creating technology support content for SupportYourTech.com.
His work can be found on many websites and focuses on topics such as Microsoft Office, Apple devices, Android devices, Photoshop, and more.