Skip to main content
RebootDoctor

How to Find Your Windows Product Key (3 Methods)

By Mike Chen Fact-checked by Mike Chen (CompTIA A+ Certified) on

Short answer: Open PowerShell as admin and run (Get-CimInstance -ClassName SoftwareLicensingService).OA3xOriginalProductKey — that pulls the key embedded in your firmware on most prebuilt PCs. If it returns blank, your license is digital and tied to your Microsoft account, so you do not need a key to reinstall on the same machine. You only need the key for a fresh install on new hardware or a different edition.

Admin PowerShell, paste this:

wmic path softwarelicensingservice get OA3xOriginalProductKey

If you get a 25-character key back, you’re done. That’s the OEM key Microsoft and the manufacturer burned into your UEFI firmware at the factory. Dell, HP, Lenovo, ASUS — they’ve all been doing this since around 2012. The key lives on the motherboard itself, not on the hard drive. Swap the SSD, wipe the drive, do a clean install — doesn’t matter, the installer reads the key from firmware during setup and activates automatically. You never have to type anything.

Blank output means no OEM key in firmware. You probably have a retail copy or a volume license from work.

Retail and Volume Keys

For retail keys check your email. Amazon, Best Buy, Newegg — they send the key in the order confirmation or a separate “digital delivery” message. Search your inbox for “product key” plus the store name. If you set up Windows with a Microsoft account, try account.microsoft.com under devices. Microsoft shows keys there sometimes, other times it just says “digital license” with no actual key displayed. Inconsistent.

slmgr /dli in admin cmd gives you a popup with partial key info — last five characters, license type (OEM, RETAIL, VOLUME), activation status. Not enough to reinstall with but enough to know what kind of license you have.

ProduKey from NirSoft pulls the full key from the registry of a running Windows install. Handy if you need the key and the machine still boots. If the drive died and you’re looking at a blank setup screen asking for a key, ProduKey can’t help because the key was stored on the dead drive.

The Cheap Key Problem

Those cheap keys on eBay and various reseller sites are almost always volume or education licenses being resold against Microsoft’s terms. They activate fine at first. Then Microsoft does a sweep and kills them. Had a customer go through three activation failures in one year from the same seller — each time he’d buy another key, it’d work for a couple months, then die. He spent more fighting it than a legit key would have cost.

We sell Windows keys for significantly less and they stick.

Just Skip It

Here’s the thing most guides don’t mention: you don’t actually need a product key to install and use Windows. During setup when it asks for a key, click “I don’t have a product key” and keep going. Windows installs completely, everything works — you just can’t change the wallpaper or accent colors, and there’s a small watermark in the corner that says “Activate Windows.” No feature lockout, no time limit. I’ve seen people run unactivated Windows for years and the only thing that bugs them is the watermark.

When you do find your key or buy a new one: Settings, System, Activation, Change product key. Paste it in. Takes about ten seconds to activate.

Frequently Asked Questions

Is my Windows product key stored in my computer?

If your PC came with Windows pre-installed (Dell, HP, Lenovo, ASUS, etc.), the key is stored in the motherboard firmware. Run wmic path softwarelicensingservice get OA3xOriginalProductKey in an admin PowerShell to see it. This key survives reinstalls, factory resets, and drive replacements — Windows reads it automatically during setup.

What if the PowerShell command returns blank?

You have a retail or volume license, not an OEM key. Check your Microsoft account at account.microsoft.com/devices, search your email for the purchase receipt, or use NirSoft ProduKey to read the currently installed key from the registry. If you bought a cheap key from eBay, it may have been a volume key that's since been revoked.

Do I need my product key to reinstall Windows?

Usually no. OEM keys in the firmware activate automatically — you never type anything. Retail keys linked to your Microsoft account reactivate when you sign in. You can also click 'I don't have a product key' during setup and Windows installs fully functional with just a watermark.

Can I transfer my Windows key to a new computer?

Only retail keys transfer. OEM keys are locked to the original motherboard. To transfer a retail key: deactivate on the old machine with slmgr /upk in an admin Command Prompt, then enter it on the new machine with slmgr /ipk followed by the key.

Need Expert Help?

If these steps didn't fix your issue, our certified technicians can diagnose and resolve it remotely — usually in under 30 minutes.