Home › Knowledgebase › KB-209

How to find and recover your Windows or Microsoft Office product key

Summary

This guide helps you troubleshoot and resolve: How to find and recover your Windows or Microsoft Office product key. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

Losing your Windows or Microsoft Office product key can be stressful, especially when you need to reinstall or reactivate your software. Fortunately, there are several built-in tools and methods you can use to locate your product key, whether it's stored in your system's firmware, tied to your Microsoft account, or hidden within the registry. This guide walks you through the most reliable ways to find and recover your keys.

Quick Fix Steps

Before diving into advanced methods, try these quick checks first:

Detailed Instructions

Method 1: Check Your Microsoft Account (Digital Licenses)

If you purchased Windows or Office digitally, or set up your PC with a Microsoft account, your product key or digital license is likely linked to your account.

  1. Open a web browser and navigate to account.microsoft.com/services
  2. Sign in with the Microsoft account associated with your Windows or Office purchase
  3. Under Services & subscriptions, look for your Windows or Office product
  4. If a product key is listed, copy it and store it somewhere safe

Windows 10 and 11 often use a digital license rather than a traditional product key. If your copy of Windows is linked to your Microsoft account, you won't need a product key to reinstall — simply sign in with the same account during setup.

Method 2: Use Command Prompt to Find Your Windows Key

If your Windows key is embedded in your computer's UEFI/BIOS firmware (common on modern pre-built PCs and laptops), you can retrieve it using the Windows Management Instrumentation Command-line tool.

  1. Press Win + S to open the search bar
  2. Type cmd in the search field
  3. Right-click Command Prompt and select Run as administrator
  4. In the Command Prompt window, type the following command and press Enter: wmic path softwarelicensingservice get OA3xOriginalProductKey
  5. If a key is stored in your firmware, it will be displayed on the next line

If the command returns a blank result, your PC does not have a product key embedded in its firmware. This is normal for custom-built PCs or systems that were upgraded from older versions of Windows.

Method 3: Use PowerShell to Retrieve Your Windows Key

PowerShell offers another reliable method to extract your product key from the system firmware.

  1. Press Win + S to open the search bar
  2. Type powershell in the search field
  3. Right-click Windows PowerShell and select Run as administrator
  4. Copy and paste the following command, then press Enter: Get-CimInstance -Query 'SELECT OA3xOriginalProductKey FROM SoftwareLicensingService'
  5. Your product key will be displayed if it is stored in the system firmware

Method 4: Check the Windows Registry for Office Keys

For older versions of Microsoft Office (Office 2010, 2013, 2016, 2019, and Microsoft 365), the last five characters of your product key are stored in the registry. This can help you identify which key was used, but it does not recover the full product key.

  1. Press Win + R to open the Run dialog
  2. Type regedit and press Enter to open the Registry Editor
  3. Navigate to the following path for Office 2016, 2019, 2021, and Microsoft 365:
    • 32-bit Office on 64-bit Windows: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Office\16.0\Registration
    • 32-bit Office on 32-bit Windows, or 64-bit Office on 64-bit Windows: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\16.0\Registration
  4. Look for the ProductKey entry
  5. The ProductKey value contains only the last five characters of your actual product key

Be very careful when editing or navigating the registry. Do not delete or modify any registry entries unless you are certain of what you are doing. Making incorrect changes to the registry can cause system instability or prevent Windows from starting.

Method 5: Use a Third-Party Key Finder Tool

If the built-in methods don't work, a reputable third-party key finder tool can scan your system and extract both Windows and Office product keys. Some well-known options include:

  1. Download your preferred key finder tool from the developer's official website
  2. Install or run the portable application
  3. The tool will automatically scan your system and display all detected product keys
  4. Take a screenshot or write down the keys for Windows and Office
  5. Store the keys in a secure location such as a password manager

Security Warning: Third-party key finder tools such as ProduKey are frequently flagged by antivirus and EDR software as potentially unwanted software. Do not install these tools on business devices without approval from your IT provider. Always download tools directly from the developer's official website to avoid malware.

Important Limitations and Activation Methods

Windows 10 and 11 Digital Licenses

Modern installations of Windows 10 and 11 generally use digital licenses tied to your Microsoft account or hardware rather than a traditional product key. In most cases, there is no recoverable product key stored within the operating system itself. OEM keys are often hardware-locked to the motherboard and cannot be transferred to a different computer. If you need to reinstall Windows, the recommended method is to sign in with the same Microsoft account during setup so that Windows activates automatically.

Microsoft 365 and Office 2021+

Microsoft 365 and Office 2021 and later versions are activated through your Microsoft account rather than a traditional product key. To install and activate Office:

  1. Navigate to office.com
  2. Sign in with the Microsoft account associated with your Office subscription or purchase
  3. Select Install Office and follow the on-screen prompts
  4. Office will activate automatically once you sign in to any Office application

If you purchased a retail copy of Office with a product key, you may need to redeem that key at office.com/setup before signing in.

Volume Activation for Organisations

If your PC was set up by an IT provider, it may be activated through your organisation's volume licensing service. In this case, there is no individual product key to recover — your activation is managed centrally. If you need to reinstall Windows on the same hardware, it should activate automatically once connected to the internet and able to reach your organisation's activation service.

Troubleshooting

The Command Prompt or PowerShell Method Returns a Blank Result

If the command returns nothing, it means your product key is not stored in your system's UEFI firmware. This is common for custom-built PCs, systems upgraded from Windows 7 or 8, and PCs that were sold with a retail copy of Windows. In this case, check your Microsoft account for a digital license, look for a physical sticker on your PC, or contact your IT provider for assistance.

Recovering Keys from Non-Booting Systems or Secondary Drives

If your computer will not boot, you cannot run Command Prompt or PowerShell commands on that system. To attempt key recovery:

  1. Remove the hard drive or SSD from the non-booting computer
  2. Connect the drive to a working PC using a USB drive enclosure or SATA-to-USB adapter
  3. Open the Registry Editor on the working PC
  4. Select HKEY_LOCAL_MACHINE, then choose File > Load Hive
  5. Navigate to the Windows\System32\config\SOFTWARE file on the connected drive
  6. Load the hive and navigate to the Office registry paths listed in Method 4
  7. Once finished, select the loaded hive and choose File > Unload Hive

Note that Windows product keys embedded in UEFI firmware cannot be read from a secondary drive using this method; they must be read from the original motherboard.

Office Product Key Not Found in the Registry

If you're using Microsoft 365, there is no traditional product key stored in the registry. Microsoft 365 is activated through your Microsoft account. Simply sign in to office.com with the account associated with your subscription to install and activate Office.

Your Recovered Key Doesn't Work

If you've recovered a key but it won't activate, check the following:

If you are unable to recover your product key or activate your software, Open a Ticket with your IT support provider for further assistance.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket