How to View Your Windows 10 Product Key Using 5 Simple Methods

Quick Answer: What Does a Windows 10 Product Key Look Like?

A Windows 10 product key is a 25-character alphanumeric code used to activate your operating system. It is always formatted in five groups of five characters, looking exactly like this: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX.

It is crucial to understand the difference between your Product Key and your Product ID. If you navigate to Settings > System > About, you will see a "Product ID." This is a completely different code used by Microsoft for technical support purposes. You cannot use the Product ID to activate Windows or reinstall your operating system. To find your actual 25-character activation key, you will need to use the command line, the registry, or check your digital license settings as detailed below.

Losing access to your Windows 10 product key can be a highly frustrating experience, especially when you are in the middle of a system rebuild, a motherboard replacement, or a fresh installation. In the early days of computing, finding your key was as simple as looking for a brightly colored Certificate of Authenticity (COA) sticker on the side of your desktop tower or the bottom of your laptop. However, modern hardware manufacturers and Microsoft have largely done away with physical stickers to prevent theft and streamline the manufacturing process.

Today, your product key is likely embedded deep within your computer's firmware, stored in the Windows Registry, or linked directly to your Microsoft Account in the cloud. Depending on how you acquired your copy of Windows 10—whether it came pre-installed on a new device, was purchased digitally, or was upgraded from an older version of Windows—the method you need to use to retrieve it will vary significantly.

This comprehensive guide will walk you through the most reliable methods to view your Windows 10 product key, explain why some common command-line tricks might return a blank result, and show you how to recover a key even if your computer refuses to boot.

Use the Command Prompt to Find Your OEM Key Quickly

For the vast majority of users who purchased a pre-built computer from major manufacturers like Dell, HP, Lenovo, or Acer, the product key is embedded directly into the motherboard's UEFI/BIOS firmware. This is known as an Original Equipment Manufacturer (OEM) key. Because the key is tied to the physical hardware, you can easily extract it using a built-in Windows command-line utility called Windows Management Instrumentation Command-line (WMIC).

This method is highly reliable for pre-built systems because it queries the hardware directly, bypassing the operating system's software registry. If you ever need to reinstall Windows 10 on that specific machine, the installation media will typically detect this embedded key automatically. However, if you need to view it for your records, here is exactly how to do it.

  1. Click on the Windows Start menu and type cmd into the search bar.
  2. Right-click on the Command Prompt application and select Run as administrator. (You must have administrative privileges for this command to execute properly).
  3. If prompted by User Account Control (UAC) asking if you want to allow the app to make changes, click Yes.
  4. In the black Command Prompt window, carefully copy and paste the following command, then press Enter:
wmic path softwarelicensingservice get OA3xOriginalProductKey

If your computer has an OEM key embedded in its firmware, the Command Prompt will return a 25-character string immediately below the command you just entered. According to Tom's Hardware, this is the industry standard method for retrieving OEM Activation 3.0 (OA3) keys.

Command Prompt window showing the wmic command and a successful 25-character product key return
Executing the WMIC command in an elevated Command Prompt to reveal the embedded OEM key.
Image source: YouTube

It is important to note that this command will only return a result if the key is physically injected into the BIOS. If you receive a blank line in return, do not panic. This simply means your computer uses a different type of license, which we will address in the troubleshooting sections below.

How to Retrieve Your Product Key Using Windows PowerShell

While the Command Prompt method is a classic, many IT professionals and system administrators prefer using Windows PowerShell. PowerShell is a more robust, modern task automation and configuration management framework. In some instances, strict system policies or corrupted environmental variables might prevent the legacy WMIC tool from functioning correctly in the Command Prompt. When that happens, PowerShell serves as an excellent, highly reliable alternative.

The PowerShell method queries the exact same hardware location (the Software Licensing Service class within the WMI infrastructure) but uses a different syntax to retrieve the data. This method is equally safe and does not require downloading any third-party software.

To view your Windows 10 product key using PowerShell, follow these steps:

  1. Right-click on the Windows Start button (or press the Windows Key + X) to open the Power User menu.
  2. Select Windows PowerShell (Admin) from the list. If you are on a newer build of Windows 10, this might be labeled as Windows Terminal (Admin).
  3. Accept the User Account Control prompt by clicking Yes.
  4. Copy and paste the following PowerShell script into the blue window and press Enter:
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey

Just like the Command Prompt method, if your system contains an embedded OEM key, PowerShell will output the 25-character alphanumeric string on the next line. If your system execution policies are set to strictly block scripts, you might encounter a red error text. However, because this is a direct WMI query rather than an executable script file, it typically bypasses standard execution policy restrictions, making it a highly dependable fallback method.

Find Your Product Key in the Windows Registry Editor

If the command-line methods return a blank result, your next best option is to check the Windows Registry. The Registry is a massive hierarchical database that stores low-level settings for the operating system and for applications that opt to use the registry. When you activate Windows using a Retail key (a key you purchased separately from the computer) or a digital upgrade, the operating system stores a backup of that key within a specific registry hive.

Navigating the Registry Editor requires caution. Deleting or modifying the wrong keys can cause severe system instability. However, simply viewing a registry entry is completely safe. Here is how to locate your product key within the registry:

  1. Press the Windows Key + R simultaneously to open the Run dialog box.
  2. Type regedit into the box and press Enter. Click Yes on the UAC prompt.
  3. In the Registry Editor, use the left-hand sidebar to navigate to the following path. Alternatively, you can copy and paste this path directly into the address bar at the top of the window:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform

Once you have selected the SoftwareProtectionPlatform folder on the left, look at the right-hand pane. You are looking for a specific string value named BackupProductKeyDefault. The data column next to this entry will display your 25-character product key.

Windows Registry Editor showing the SoftwareProtectionPlatform path and the BackupProductKeyDefault entry
Locating the BackupProductKeyDefault entry within the Windows Registry Editor.
Image source: Microsoft Learn
The "Generic Key" Warning: According to discussions on Reddit's Windows Help community, the registry method has a significant caveat. If you upgraded to Windows 10 for free from Windows 7 or Windows 8, the key listed in BackupProductKeyDefault might be a "Generic Key" (such as one ending in 3V66T). Generic keys are placeholders used by Microsoft to facilitate digital upgrades; they cannot be used to activate a fresh installation of Windows on a new computer.

How to Check for a Digital License in Your Settings

If you are frantically searching for a product key to reinstall Windows on your current machine, you might be relieved to learn that you probably don't need one at all. Microsoft fundamentally changed how activation works with the release of Windows 10 by introducing the concept of "Digital Entitlement," now officially known as a Digital License.

A digital license is a method of activation in Windows 10 that doesn't require you to enter a product key. Instead, your computer's unique hardware signature (primarily based on your motherboard) is registered on Microsoft's activation servers. Furthermore, if you log into Windows with a Microsoft Account, that digital license becomes linked to your account.

To check if your computer is using a digital license, follow these steps:

  1. Click the Start button and select the gear icon to open Settings.
  2. Navigate to Update & Security.
  3. In the left-hand menu, click on Activation.
Windows 10 Activation settings screen showing Windows is activated with a digital license linked to your Microsoft account
The Activation screen confirms whether your system relies on a digital license rather than a physical key.
Image source: Microsoft Learn

Look at the text next to the word "Activation." According to Microsoft Support, you will see one of two primary messages:

If you have a digital license, the pursuit of a 25-character product key is largely unnecessary for standard reinstallations, as the cloud handles the verification process seamlessly.

What to Do If Your Command Prompt Result Is Blank

One of the most common points of frustration for users following online tutorials is running the wmic or PowerShell commands and receiving absolutely nothing in return—just a blank line blinking back at them. This is not a glitch, nor does it mean your copy of Windows is pirated. It simply comes down to how your specific license was distributed.

The command-line tools are explicitly designed to query the ACPI (Advanced Configuration and Power Interface) tables within your motherboard's BIOS/UEFI. This is where OEM manufacturers inject keys during assembly. However, if your computer falls into any of the following categories, your BIOS will be completely empty, resulting in a blank command prompt output:

If you get a blank result, you must pivot your strategy. You cannot extract a key from the BIOS if it was never there to begin with. Instead, you must rely on the Registry method outlined above, or utilize a vetted third-party key finder tool that can read the "Installed Key" from the software layer rather than the hardware layer.

How to Recover a Product Key from a PC That Won't Boot

A particularly stressful scenario occurs when your computer's motherboard dies, or the Windows installation becomes so corrupted that the PC refuses to boot. You plan to build a new computer or replace the drive, but you desperately need to extract your Retail product key from the dead system first. Since you cannot boot into Windows to run Command Prompt or check Settings, you have to extract the key externally.

This requires a slightly advanced technical process known as "Loading a Registry Hive." You will need a working secondary computer and a SATA-to-USB adapter (or an external hard drive enclosure) to connect the dead computer's hard drive to the working PC.

Once the old drive is connected to the working computer, follow these steps to extract the key:

  1. On the working computer, open the Registry Editor (regedit).
  2. In the left pane, click on HKEY_LOCAL_MACHINE to highlight it.
  3. Click on File in the top menu bar, then select Load Hive...
  4. A file browser will open. Navigate to the external drive (the drive from the dead PC). Go to this exact path: [External Drive Letter]:\Windows\System32\config\
  5. In the config folder, locate the file named SOFTWARE (it will have no file extension). Select it and click Open.
  6. The system will ask you to name the loaded hive. Name it something recognizable, like OldPC_Software.
  7. Now, navigate through the newly loaded hive: HKEY_LOCAL_MACHINE\OldPC_Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform.
  8. Look for the BackupProductKeyDefault entry on the right side to view your recovered key.
  9. Crucial Step: When you are finished, highlight OldPC_Software, click File, and select Unload Hive to safely detach the registry file before unplugging the drive.

If this manual registry extraction feels too daunting, you can use a third-party auditing tool like Belarc Advisor on the working PC, which has the capability to scan external drives for software licenses.

Which Third-Party Key Finder Tools Are Actually Safe to Use?

The internet is flooded with "free product key finders," but this software category is notoriously riddled with malware, adware, and trojans. Because key finders inherently need deep system access to read registry files and firmware, malicious actors frequently disguise viruses as key recovery tools. Therefore, you must be incredibly selective about which third-party software you execute on your machine.

Based on community consensus and IT professional recommendations, here are the safest and most effective tools for viewing your Windows 10 product key:

1. ShowKeyPlus (Top Recommendation)

ShowKeyPlus is widely considered the gold standard for Windows key retrieval. What makes it exceptionally safe is that it is open-source and available directly through the official Microsoft Store. By downloading it from the Microsoft Store, you ensure the application has been vetted and sandboxed by Microsoft, eliminating the risk of downloading a compromised .exe file from a shady third-party website.

ShowKeyPlus is highly valuable because it eliminates the confusion between OEM and Retail keys. The interface clearly displays the "Installed Key" (what is currently running in the OS) and the "OEM Key" (what is embedded in the BIOS). It will also warn you if your installed key is a generic placeholder, saving you from future activation headaches.

2. Belarc Advisor

Belarc Advisor is a legacy IT auditing tool that has been trusted by professionals for over two decades. While it is overkill if you only want a product key, it is incredibly useful if you want a comprehensive profile of your entire system. Belarc generates a local HTML file in your web browser detailing your hardware specs, missing security updates, and software licenses—including your Windows 10 product key. It is completely free for personal use and does not send your data to the cloud.

Security Warning: Never use tools labeled as "Key Generators" or "KMS Activators" (like KMSpico) when trying to view your legitimate key. These are piracy tools that frequently bundle aggressive malware, ransomware, or cryptominers that can compromise your personal data.

Understanding the Difference Between OEM, Retail, and Volume Licenses

When you finally view your 25-character key, its utility depends entirely on what type of license it is. Not all Windows 10 keys are created equal. Understanding your license type is critical, especially if you plan to upgrade your PC's hardware or transfer the license to a new build.

According to IT management experts at NinjaOne, failing to understand license restrictions is a common cause of activation failures. Here is a breakdown of the three primary license types:

License Type How It Is Acquired Transferability Where the Key is Stored
OEM (Original Equipment Manufacturer) Pre-installed on computers from major brands (Dell, HP, Lenovo). Non-Transferable. The key is permanently tied to the original motherboard. If the motherboard dies, the license dies with it. Embedded in the UEFI/BIOS firmware.
Retail (Full Packaged Product) Purchased separately from a retailer (Amazon, Best Buy) or the Microsoft Store. Fully Transferable. You can move this license to a new computer, provided you deactivate it on the old one first. Windows Registry and linked to your Microsoft Account.
Volume (MAK / KMS) Purchased in bulk by enterprises, schools, and government organizations. Managed by IT. End-users cannot transfer these keys. They require periodic check-ins with a corporate activation server. Managed via the Volume Licensing Service Center (VLSC).
Pro Tip: If you have a Retail key and are planning to sell or give away your old PC, you should uninstall your product key first to ensure the new owner doesn't steal your transferable license. Open Command Prompt as Administrator and type slmgr /upk (Uninstall Product Key), then press Enter.

How to Use the Phone Activation Hack if Your Key Fails

Sometimes, even when you have your legitimate 25-character product key written down, Windows 10 will refuse to activate. This most commonly occurs after a significant hardware change, such as replacing a faulty motherboard. Because the motherboard is the primary component Microsoft uses to identify your PC, a new motherboard makes the activation servers think you are trying to install Windows on a completely different computer.

If the standard internet activation fails and the activation troubleshooter cannot resolve the issue, community PC builders frequently rely on a legacy command to force the automated phone activation system to appear.

  1. Press the Windows Key + R to open the Run dialog box.
  2. Type slui 4 and press Enter. (SLUI stands for Software Licensing User Interface).
  3. A blue window will appear asking you to select your country or region. Choose your location and click Next.
  4. You will be presented with a toll-free phone number and a massive 63-digit "Installation ID" broken into groups of numbers.
  5. Call the number. An automated system will ask you to input the 63-digit Installation ID using your phone's keypad.
  6. The automated system will ask, "On how many computers is this software installed?" You must answer "One" (or press 1).
  7. If successful, the system will read back a "Confirmation ID." Type this ID into the boxes on your computer screen and click Activate Windows.

This method forces Microsoft's backend to release the hardware lock on your old motherboard and reassign your Retail key to the new hardware configuration.

Windows 10 system properties showing activation status
Once successfully activated via phone or digital license, your system properties will reflect the updated status.
Image source: Super User

Frequently Asked Questions

Can I find my product key after formatting my hard drive?
It depends on your license type. If you have an OEM key embedded in your motherboard's BIOS, formatting the drive will not erase the key; Windows will automatically detect it during reinstallation. If you had a Retail key linked to your Microsoft Account as a digital license, you simply need to log in after formatting. However, if you had a local Retail key that wasn't linked to an account and you didn't write it down before formatting, it is permanently lost.
Is the Product ID the same as the Product Key?
No. The Product ID (found in Settings > System > About) is a 20-character code used exclusively by Microsoft Support to identify your specific installation and support entitlement. It cannot be used to activate Windows. The Product Key is a 25-character alphanumeric code used strictly for software activation and licensing verification.
Why does my product key end in 3V66T?
If you use a registry viewer or a key finder tool and discover a key ending in 3V66T (specifically VK7JG-NPHTM-C97JM-9MPGT-3V66T), you are looking at a well-known generic placeholder key for Windows 10 Pro. Microsoft uses this generic key when a system is activated via a Digital License (such as a free upgrade from Windows 7/8). You cannot use this generic key to activate a new, separate installation of Windows.
Can I use an old Windows 7 or Windows 8 key to activate Windows 10?
Historically, yes. For many years, Microsoft allowed users to input valid Windows 7 or Windows 8 product keys directly into the Windows 10 installer to achieve a free upgrade. However, in late 2023, Microsoft officially closed this loophole. While some users report occasional success with older keys, it is no longer an officially supported activation method, and you should expect a Windows 7 key to be rejected by modern Windows 10/11 activation servers.
Where is the product key sticker on my laptop?
If you purchased your laptop after 2012 (when Windows 8 was released), it is highly unlikely to have a product key sticker. To combat piracy and key theft, manufacturers stopped printing the 25-character keys on physical Certificates of Authenticity (COA). Instead, you will likely just see a small, holographic Windows logo sticker. The actual product key is injected digitally into the laptop's motherboard firmware.

Final Thoughts

Retrieving your Windows 10 product key doesn't have to be a frustrating guessing game. By understanding how modern digital licensing works and knowing where your specific type of key is stored, you can quickly secure your activation credentials before a system rebuild.

Open your Windows Settings right now to verify that your activation status says "linked to your Microsoft account" to ensure you never lose your license.