sodcalculator

10 Tech How-To

Windows 10 Product Key: View & Backup

Guide 10-9181 · Updated · Step by step

This guide shows you how to find the Windows 10 product key that’s already stored on your computer and how to back it up safely, so you can reinstall Windows or move your license to a new PC without losing access. You’ll need a working Windows 10 PC and, for the backup step, a USB drive or a text editor (like Notepad).

What You’ll Need

  • A Windows 10 PC that’s already activated
  • For the backup: a USB flash drive or a safe place to save a text file
  • Optional: a second PC to store the backup file

Step-by-Step

  1. Check if you need the key at all. If your PC came with Windows 10 preinstalled (an OEM license), the product key is often embedded in the firmware (UEFI) and is automatically read during installation. You may not need to view it manually. If you built your own PC or bought a retail key, you’ll want to back it up.
  2. Open Command Prompt as administrator. Click the Start button, type cmd, right-click “Command Prompt� and select “Run as administrator�. Confirm the User Account Control prompt if it appears.
  3. Run the product key command. In the Command Prompt window, type the following and press Enter:
    wmic path softwarelicensingservice get OA3xOriginalProductKey
    This command retrieves the original product key that was used to activate Windows (if it’s stored in the firmware or registry).
  4. Note the key. The output will show a 25-character key in the format XXXXX-XXXXX-XXXXX-XXXXX-XXXXX. Write it down carefully or copy it to a text file. If the output is blank, your key is not stored in the firmware (common for retail or volume licenses), and you’ll need another method.
  5. Alternative: Use PowerShell. If the above command returns nothing, open PowerShell as administrator (right-click Start, select “Windows PowerShell (Admin)�) and run:
    (Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
    This does the same thing but sometimes works when the first command doesn’t.
  6. Use a third-party tool (optional). If both commands come up empty, you can use a free tool like ProduKey or Magical Jelly Bean Keyfinder. These read the key from the registry or from the installation files. Download from the official site, run it, and it will display your Windows key. (Be cautious about downloading from unknown sites; always scan files with antivirus.)
  7. Back up the key. Once you have the key, save it in a secure place. The simplest method: open Notepad, paste the key, and save the file as windows-key.txt on a USB drive or in a cloud service you trust. Alternatively, print it and keep it in a safe physical location.
  8. Back up the activation status (optional but recommended). If you’re planning to reinstall Windows, you can also back up the activation status by linking your digital license to your Microsoft account. Go to Settings > Update & Security > Activation, and sign in with your Microsoft account. This way, even if you lose the key, you can reactivate by signing in.
  9. Test the backup. To make sure your key works, you can use it to reinstall Windows on a test machine or simply verify it’s readable. If you’re not reinstalling, at least double-check the key has no typos by comparing it to the one shown in the Command Prompt output.

Common Mistakes

  • Typing the command wrong. The wmic command is case-insensitive but must be spelled exactly. A common error is missing the space after path. Copy-paste the command to avoid typos.
  • Running as a standard user. If you don’t run Command Prompt as administrator, you’ll get an “Access deniedâ€� error. Always right-click and select “Run as administratorâ€�.
  • Confusing the product key with the digital license. The product key is a 25-character code; a digital license is tied to your hardware and Microsoft account. They are not the same thing.
  • Backing up to the same drive you’re about to wipe. If you save the key on your C: drive and then format it, you lose it. Always use a separate USB drive or cloud storage.
  • Using a key from a different edition. Windows 10 Home and Pro have different keys. Make sure the key you back up matches the edition you’re using.

Tips

  • If you have a retail key, it’s tied to your Microsoft account. You can view it by signing in to account.microsoft.com and checking your devices.
  • For OEM PCs, the key is often printed on a sticker on the bottom of the laptop or on the power supply. If your PC is a few years old, check there first.
  • Store the key in a password manager along with other sensitive data. That way it’s encrypted and accessible from anywhere.
  • If you’re backing up to a text file, avoid naming it “product keyâ€� on a shared computer; use a less obvious name if you’re concerned about privacy.
  • Windows 10 doesn’t require the product key during installation if you’re reinstalling on the same hardware—it will automatically reactivate via the digital license. The key is only needed when changing hardware or doing a clean install on a new PC.

Troubleshooting

  • The wmic command returns nothing. This means the key is not stored in the UEFI firmware. Try the PowerShell command; if that also fails, use a third-party tool. If you have a retail key, check your Microsoft account or the email receipt from your purchase.
  • “Access deniedâ€� error. You’re not running as administrator. Close Command Prompt and reopen it with “Run as administratorâ€�.
  • The key shown is different from what you expected. This can happen if the key was changed during an upgrade or if you have a volume license. The key shown is the one currently in use—trust it for backup.
  • Third-party tool shows no key. Some tools may not detect the key if Windows is not activated. Make sure your Windows is activated (Settings > Update & Security > Activation). If it’s not, you may need to activate first.
  • You lost the backup and need to reinstall. If you linked a Microsoft account, sign in during installation and Windows will reactivate automatically. If not, you may need to contact Microsoft Support to retrieve the key.

Frequently Asked Questions

  1. Is it legal to view my product key? Yes, it’s your own license. Viewing it is completely legal.
  2. Can I use the same key on two computers? No, a single Windows 10 license is for one PC at a time. If you transfer it to a new PC, you must deactivate it on the old one.
  3. What if my PC came with Windows 10 preinstalled? The key is embedded in the firmware, and you usually don’t need to enter it manually. The wmic command will show it if it’s there.
  4. Does the product key expire? No, it doesn’t expire. But if you have a volume license or a subscription, it may have terms attached.
  5. Can I back up the key after I’ve already lost it? If you’ve lost the key and it’s not in the firmware, you can try third-party tools. If they don’t find it, you may need to contact Microsoft Support with proof of purchase.
  6. Is the product key the same as the activation ID? No, the activation ID is a different identifier. The product key is the 25-character code you use to install and activate.

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 →