sodcalculator

10 Tech How-To

Find Windows 10 Product Key: 6 Ways

Guide 10-57428 · Updated · Step by step

Losing your Windows 10 product key can be stressful, especially if you need to reinstall the OS or move it to a new drive. This guide shows you several reliable methods to recover your key directly from your current installation, using built-in tools, Command Prompt, or free third-party utilities. No technical expertise is required—just follow the steps in order.

What You’ll Need

  • Your Windows 10 PC (must be booted and logged in)
  • Administrator access (for Command Prompt and PowerShell methods)
  • Internet connection (only if you choose to download a third-party tool)
  • A USB drive or paper to save the key once found

Step-by-Step

  1. Try the built-in Command Prompt method (no extra tools). Press Windows + R, type cmd, then press Ctrl+Shift+Enter to run as administrator. Type the following command and press Enter:
    wmic path softwarelicensingservice get OA3xOriginalProductKey
    If a key appears, write it down. If it says “No Instance(s) Available,” your key is not embedded in the firmware (common on custom-built PCs), so move to the next step.
  2. Use PowerShell (also built-in). Right-click the Start button and select “Windows PowerShell (Admin).” Enter this command and press Enter:
    (Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
    This often returns the same result as the Command Prompt method. If it returns blank, continue.
  3. Check your Microsoft account (if you linked it). Go to account.microsoft.com, sign in with the Microsoft account you used on that PC, and look under “Devices.” If your Windows 10 is digitally entitled (activated with a Microsoft account), the key may not be shown, but you can reactivate by signing in after reinstall. This doesn’t give you the key, but it confirms you can reinstall without it.
  4. Look for a sticker or documentation. If your PC came with Windows preinstalled, check the bottom of a laptop, the side of a desktop tower, or the battery compartment (if removable). OEM keys are often printed on a Certificate of Authenticity (COA) sticker. Also check the box or manual that came with the PC.
  5. Use a free third-party tool (most reliable for retail keys). Download a reputable utility like ProduKey or Magical Jelly Bean Keyfinder from the official developer’s site. Run the program as administrator—it will scan the registry and display your Windows product key along with other Microsoft software keys. Write it down or export it to a text file.
  6. Extract the key from the registry manually (advanced). Open Registry Editor (regedit) and navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion. Look for a value named DigitalProductId (it’s binary). You cannot read it directly—you’d need to decode it with a script. This method is only for those comfortable with scripting; the third-party tools essentially do this for you.

Common Mistakes

  • Running commands without admin rights. The Command Prompt and PowerShell methods will fail or return an error if you don’t “Run as administrator.” Always right-click and select the admin option.
  • Confusing the product key with the digital license. A digital license (linked to your Microsoft account) is not the same as a 25-character product key. If you have a digital license, you may not need the key at all—just sign in after reinstall.
  • Using key finder tools from untrusted sites. Many “key finder” downloads are bundled with malware. Only download from the official developer’s website (e.g., NirSoft for ProduKey).
  • Assuming the key on the sticker is always correct. On some refurbished or upgraded PCs, the sticker may be for an older Windows version. The actual key in use could be different.
  • Forgetting to save the key. Once you find it, write it down or save it to a file immediately. You may not be able to retrieve it again if Windows crashes.

Tips

  • Back up your key now. Even if you don’t need it today, save it in a password manager or a secure note. This prevents future panic.
  • Use a Microsoft account. Linking your Windows license to a Microsoft account makes reactivation easier after hardware changes, even if you lose the key.
  • Check for a digital license. Go to Settings > Update & Security > Activation. If it says “Windows is activated with a digital license,” you can reinstall without entering a key—just skip the key prompt during setup and sign in.
  • If you bought a retail key, check your email. When you purchase Windows from Microsoft or a retailer, the key is often emailed to you. Search your inbox for “Windows 10 product key.”
  • Use the Command Prompt first. It’s the fastest and requires no downloads. Only move to third-party tools if it fails.

Troubleshooting

Command Prompt returns “No Instance(s) Available.” This means your key is not stored in the firmware (UEFI). This is normal for custom-built PCs or if you upgraded from an older version. Try the PowerShell method or a third-party tool.

PowerShell returns a blank line. Same as above—no embedded key. The key might be in the registry, but you’ll need a tool to decode it. Try ProduKey.

Third-party tool shows a different key than expected. Some tools display the generic key used during installation (e.g., a default key for Windows 10). The actual product key may be stored in a different location. Try multiple tools and compare results. The one that matches your activation status is the correct one.

You can’t run any admin commands because you’re not an administrator. If you’re using a standard account, you’ll need to ask the admin to run the command for you, or log in with an admin account. If you are the admin but User Account Control (UAC) is blocking, right-click and select “Run as administrator” and click “Yes” when prompted.

The key you found doesn’t work during reinstall. This can happen if the key is for a different edition (e.g., Home vs Pro) or if it’s an OEM key that is tied to the motherboard. If you’re reinstalling on the same PC, try skipping the key entry and see if Windows activates automatically. If not, contact Microsoft support.

Frequently Asked Questions

Can I find my Windows 10 product key without any software?

Yes, you can use the built-in Command Prompt or PowerShell commands, but they only work if the key is embedded in the firmware (common on pre-built PCs). If not, you’ll need a third-party tool.

Is it legal to use a third-party key finder?

Yes, it’s legal to retrieve your own product key. Just make sure you download from a reputable source to avoid malware.

What if I upgraded from Windows 7 or 8 for free?

If you upgraded during the free upgrade period, you likely have a digital license tied to your hardware. You don’t need the original key—just reinstall Windows 10 and it will activate automatically.

Can I use the found key on a different computer?

Retail keys can be transferred, but OEM keys (pre-installed on a laptop or desktop) are tied to the original motherboard and cannot be legally used on another PC.

My key is not on a sticker and the Command Prompt shows nothing. What now?

Use a third-party tool like ProduKey. It reads the registry and will almost always find the key.

Will finding my key void my warranty?

No, retrieving your product key is a read-only operation and does not change any system settings.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →