Last updated on November 11th, 2026 at 06:06 pm
Open Command Prompt and run wmic path softwarelicensingservice get OA3xOriginalProductKey to see the 25-character key stored in a Windows 10 PC’s firmware. A blank line usually means there’s no key on the PC: Windows 10 is likely activated with a digital license, which you can confirm in Settings > Update & Security > Activation. Already on Windows 11? Use the PowerShell command in Method 1, since wmic has been removed there.
Product key or digital license: check this first
Windows 10 can be activated in two ways, and only one of them involves a code you can look up.
- Product key: a 25-character code in five groups of five characters, written like XXXXX-XXXXX-XXXXX-XXXXX-XXXXX. It comes with PCs that have Windows preinstalled (often stored in the firmware), boxed copies, and most digital copies bought from a retailer.
- Digital license: no code at all. Microsoft’s activation servers remember that this PC is allowed to run Windows 10. You get one when you upgrade for free from Windows 7 or 8.1, or when you buy a Windows 10 Pro upgrade in the Microsoft Store app.
To see which one you have:
- Select Start (the Windows logo at the bottom left), then the gear icon to open Settings.
- Select Update & Security, then Activation in the left column.
- Read the Activation line next to your edition. Windows is activated with a digital license or Windows is activated with a digital license linked to your Microsoft account means you don’t need a key to reinstall Windows 10 on this PC. Windows is activated on its own usually means a product key was used.

The same page shows your edition (Home or Pro), which matters later because a key only activates the edition it was made for. For more on the license side, including how to confirm the license type from the command line, see how to find your digital license in Windows 10.
One thing that trips people up: the Product ID shown under Settings > System > About is not your product key. It’s a different number, it’s shorter, and Microsoft notes it isn’t unique to the key you’re using.
Do I need my product key to reinstall Windows 10?
Usually not. A PC that was activated before reactivates with its digital license once it’s online, and Windows Setup can pick up a firmware key automatically. When Setup asks for a key on a PC like that, select I don’t have a product key and choose the same edition that was installed before. A bootable Windows 10 USB drive is the usual way to reinstall.
Will my Windows 10 key work after I upgrade to Windows 11?
You don’t need it for the upgrade. An activated Windows 10 PC that meets the requirements gets a digital license for the matching Windows 11 edition, so it stays activated. The steps are in upgrading Windows 10 to Windows 11.
How do I see my Windows 10 version and edition too?
Select Start, type winver and press Enter, or follow the full steps for checking your Windows 10 version.
Next step: once you have the key (or know you have a digital license), save it with a note of the edition, and link your Microsoft account on the Activation page so a future repair or reinstall doesn’t depend on finding it again.
Which method to use
- Laptop or desktop that came with Windows 8 or later preinstalled: start with Method 1. The key is usually in the firmware.
- Boxed copy, or a key bought online: go straight to Method 2. The key lives on the card, receipt or email, not reliably on the PC.
- You only want to know whether a key you have is the one in use: Method 3 shows the last five characters.
- Work or school PC: it most likely uses volume licensing. Ask your IT department rather than hunting for a key.
Method 1: Read the key stored in your PC’s firmware
Most PCs sold with Windows 8 or later have the manufacturer’s (OEM) product key written into the firmware chip on the motherboard, which is why newer PCs don’t have a key sticker. Windows Setup can read this key on its own when you reinstall, and so can you.
- Select Start, type cmd, then select Run as administrator on the right side of the search results (or right-click Command Prompt and choose it there). Select Yes if a User Account Control prompt asks for permission. If you haven’t used it before, here’s more on opening Command Prompt in Windows 10.
- Type or paste this command and press Enter:
wmic path softwarelicensingservice get OA3xOriginalProductKey - Look under the OA3xOriginalProductKey heading. A firmware key shows as five groups of five characters. Copy it by selecting it with the mouse and pressing Ctrl + C.

- If nothing appears under the heading, the PC has no firmware key. That’s normal for custom-built PCs, PCs that were upgraded from Windows 7, and PCs activated with a retail key. Move on to Method 2.
Same check in PowerShell
Use this if Command Prompt says wmic is not recognized, or if the PC now runs Windows 11. Microsoft has removed WMIC from supported versions of Windows 11 and recommends PowerShell in its place; on Windows 10, WMIC is deprecated but still part of the system.
- Right-click Start and select Windows PowerShell (Admin), then select Yes.
- Run this command:
(Get-CimInstance -ClassName SoftwareLicensingService).OA3xOriginalProductKey - The firmware key appears on the next line. A blank line means the same thing as in Command Prompt: no key is stored in the firmware.
Both commands read the key the PC shipped with. If someone later activated Windows with a different key (for example, a Pro upgrade key), the firmware key is still the original Home key, not the one in use now.
Method 2: Find the key from where you got Windows
A key you typed in yourself isn’t stored on the PC in a readable form, so the purchase record is the reliable place to look. Microsoft’s Find your Windows product key page lists these locations:
| How you got Windows 10 | Where to look |
|---|---|
| A new PC with Windows preinstalled | The firmware (Method 1), the packaging, or a Certificate of Authenticity (COA) sticker. If none of these has it, contact the PC maker. |
| A boxed copy from a store | A label or card inside the box |
| A digital copy from a retailer | The confirmation email, or the digital locker on the retailer’s website |
| A digital copy from Microsoft’s online store | The confirmation email, or Order history in your Microsoft account |
| A free upgrade from Windows 7 or 8.1 | No key: you have a digital license |
| A Pro upgrade bought in the Microsoft Store app | No key: you have a digital license, and the receipt goes to your Microsoft account email |
| Volume Licensing or an MSDN subscription | The program’s web portal, or your IT department |
Tips for each place:
- Email: search your inbox for “product key” or the retailer’s name together with “Windows 10.” The key is often in the body of the receipt rather than an attachment.
- Microsoft account: Microsoft only keeps key records for copies bought from its own online store. Keys for PCs bought at a shop, or for boxed copies, won’t appear there.
- COA sticker: on older desktops, check the side or back of the case; on older laptops, check the underside or inside the battery bay. Take a photo before the print wears off.
Method 3: See the last five characters of the installed key
Windows won’t show the full key you’re using, but it will show the end of it, which helps you check a key from an email or sticker against the one on the PC.
- Open Command Prompt (it doesn’t need to be an administrator window).
- Run
slmgr /dli. - After a few seconds, a Windows Script Host box opens with your edition, a description such as RETAIL or OEM_DM channel, a Partial Product Key (five characters) and the License Status. Select OK to close it.

On PCs activated with a firmware key, the partial key may not match the last five characters of that firmware key. Microsoft explains that since the Creators Update, Windows doesn’t always present the firmware key as the installed key, and that this doesn’t affect activation.
Why the key you found might not work
- Wrong edition. A Home key won’t activate Pro, and the reverse is also true. If your firmware key is for Home but Pro is installed, either buy a Pro key or reinstall Home. Both routes are covered in converting Windows 10 Home to Pro and going from Windows 10 Pro to Home.
- A generic key. Some registry values (such as BackupProductKeyDefault) and some key-finder apps can return a generic installation key that is the same on many PCs and doesn’t activate anything by itself. If the key you found matches the one in a friend’s PC, that’s what you have.
- An old key. A sticker from a PC’s original Windows 7 or 8 install isn’t the key Windows 10 used after a free upgrade, because that upgrade created a digital license.
- A blocked key. Very cheap keys sold online are often resold volume or already-used keys, and activation servers can block them later.
Free “key finder” apps exist, but many installers bundle extra software, and they tend to show the same firmware or generic keys the commands above already reveal. If you do try one, download it only from its developer’s own site.
If you can’t find a key anywhere
- Windows is activated: you’re fine. Make the license easier to restore by linking it to your Microsoft account: if you sign in with a local account, the Activation page shows an option to add a Microsoft account. With a linked digital license, the PC can reactivate after a reinstall or hardware change without any key.
- Windows isn’t activated after a reinstall: connect to the internet and wait a little, then select Troubleshoot on the Activation page. You need to be signed in as an administrator to see it.
- You replaced the motherboard: run Troubleshoot and choose I changed hardware on this device recently, then sign in with the Microsoft account linked to the license. This works only if the license was linked before the change.
- You’re moving Windows to a different PC: only retail keys can move. Check the channel with
slmgr /dliand follow the steps to transfer a Windows 10 license.
Enter or change a product key
Before you enter a key, check that it’s for the edition shown on the Activation page. A key for a different edition can switch the edition or fail with an error.
- Go to Settings > Update & Security > Activation.
- Select Change product key and select Yes if User Account Control asks.
- Type the 25 characters. The dashes are added for you.
- Select Next, then Activate. A message tells you when Windows is activated.
To confirm it worked, go back to the Activation page and check that it now says Windows is activated and shows the edition you expected. If you entered the wrong key, repeat the steps with the correct one; the new key replaces the old one.
Activation errors you might see
These codes are explained on Microsoft’s Windows activation errors page:
- 0xC004F050: the key can’t be used to activate Windows. Check for typos (B and 8, O and 0, and I and 1 are easy to mix up), or use a different key.
- 0xC004C003: the key has been blocked, for example because it was used on more PCs than the license allows.
- 0xC004F213: Windows found no product key on the device. This often follows a motherboard replacement; use the hardware-change troubleshooter described above.
- 0xC004F212 or 0xC004F210: the key is for a different edition from the one installed. Enter a key that matches, or reinstall the edition your license covers.
Keep a record of the key
Once you’ve found it, store the key somewhere off the PC, such as a password manager, alongside a note of the edition (Home or Pro) and where it came from (for example, “Retail key, bought from a store, used on Alex’s desktop”). Treat it like a password: anyone who has it can try to activate another PC with it, which may get your copy blocked.

Matt Jacobs writes and maintains the guides on Support Your Tech, which he started in 2017. He spent most of his career keeping small-business PCs running and still takes the occasional consulting job, so the steps here come from fixing the same problems on other people’s computers. Every guide is checked on his own Windows 11, Windows 10, Mac, iPhone and iPad before it goes up.