/
/

How to Find a Windows 10 Product Key Using CMD, PowerShell, or Other Methods

by Lauren Ballejos, IT Editorial Expert
Illustration with the Windows logo and a key representing how to find a Windows 10 product key using CMD or PowerShell

Instant Summary

This NinjaOne blog post offers a comprehensive basic CMD commands list and deep dive into Windows commands with over 70 essential cmd commands for both beginners and advanced users. It explains practical command prompt commands for file management, directory navigation, network troubleshooting, disk operations, and automation with real examples to improve productivity. Whether you’re learning foundational cmd commands or mastering advanced Windows CLI tools, this guide helps you use the Command Prompt more effectively.

Key Points

  • Easily find your Windows 10 product key using Command Prompt, PowerShell, or the Registry Editor to retrieve OEM-embedded or stored license keys for activation, reinstallation, and system upgrades.
  • If the CMD or PowerShell command returns no result, your device may use a digital license linked to your Microsoft account instead of a BIOS-embedded product key.
  • Use trusted third-party key finder tools like Belarc Advisor, Magical Jelly Bean Keyfinder, or LicenseCrawler to recover Windows, Microsoft Office, and other software license keys.
  • Locate keys from purchase records such as email confirmations, retail receipts, or physical packaging; contact Microsoft Support with proof of purchase if other methods fail.
  • Understand the differences between OEM, Retail, and Volume Windows 10 licenses to determine transfer eligibility, hardware binding limitations, and reactivation requirements.
  • Securely store recovered product keys in encrypted storage or IT asset management tools like NinjaOne to automate tracking, reduce downtime, and maintain software compliance.

Knowing how to find a Windows 10 product key is essential for software activation, reinstallation, and technical support across your organization. This guide explains simple ways to retrieve your product keys using built-in system tools, external software, and direct support channels, ensuring you can easily activate and maintain your systems.

Check out our video version of this blog post: How to Find your Windows 10 Product Key [Video]

→ Automatically identify, collect, and monitor product keys. Start your free trial of NinjaOne.

What is a Microsoft product key?

A Microsoft product key is a unique 25-character code, essential for activating Windows operating systems, including Windows 10. This alphanumeric sequence plays a pivotal role in verifying the legitimacy of your software.

Why would you need your Microsoft product key?

Knowing how to find a Windows 10 product key is important for a few reasons:

  • Activation: The most common use of the product key is to activate Microsoft software. Activation verifies that each employee’s copy of the software is genuine and hasn’t been used on more devices than the Microsoft Software License Terms allow.
  • Reinstallation: If you need to reinstall Microsoft software for a team member, you might be required to enter the Microsoft product key again. This is especially true if you are reinstalling Windows after a hardware change or system crash.
  • Support and services: Knowing how to find a Windows 10 product key can be helpful if you need technical support from Microsoft. It serves as proof of purchase and identifies the specific product version you have.
  • Upgrading: If you are upgrading your company’s Microsoft software to a newer version, you might need your Windows product key to complete the upgrade process, depending on the type of installation and upgrade path you choose.

Overall, a Windows activation key is a critical component for managing the legitimacy and usage rights of Microsoft software.

How to find a Windows 10 product key

With tools like Command Prompt (CMD), PowerShell, and third-party software, you can easily locate your Windows activation key. Let’s look at each of these methods in detail.

How to find a Windows 10 product key with Command Prompt

To find your Windows 10 license key using Command Prompt, you can use a simple command that reads the product key stored in your computer’s BIOS or UEFI firmware. Here’s how to do it:

1. Access Command Prompt:

  • Press the Windows key + S to open the search bar.
  • Type “cmd” into the search bar.
  • Right-click on the Command Prompt and select “Run as administrator” to ensure you have the necessary permissions.

2. Enter the command:

  • Once the Command Prompt window is open, type or copy and paste the following command to find the Windows 10 key using CMD: wmic path softwareLicensingService get OA3xOriginalProductKey
  • Press Enter. The command queries your system for the Microsoft product key associated with your Windows installation.

3. View your product key:

  • After pressing Enter, the system will process the command.
  • The 25-digit Windows 10 product key will be displayed in the Command Prompt window.

How to find a Windows 10 product key with PowerShell

Here’s how to find a product key in Windows 10 using a PowerShell script that extracts this information from your system registry.

1. Open PowerShell with administrative privileges:

  • Press the Windows key and type “PowerShell“.
  • Right-click on the PowerShell app and select “Run as administrator” to ensure you have the necessary permissions.

2. Enter the command:

  • In the PowerShell window, type the following command and press Enter to find the Windows 10 key using PowerShell: (Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
  • This command queries your system for the Microsoft product key associated with your Windows installation.

After executing the command, your Windows 10 product key will be displayed in the PowerShell window.

How to find a Windows 10 product key with Registry Editor

You can also look into your Registry Editor to find your Windows 10 product key.

1. Open Registry Editor

  • Press Windows key + R, type regedit, and click OK.
  • This will lead you to the Windows 10 Registry File.

2. Head to the SoftwareProtectionPlatform folder.

  • Your Windows 10 product key is located under SoftwareProtectionPlatform. Navigate to the following key to find the folder:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform

3. Find the BackupProductKeyDefault key

  • You will find your Windows 10 product key on the BackupProductKeyDefault key, under the Data column to the right.

How to find a Windows 10 product key with third-party tools

Finding your Windows 10 product key using third-party tools is helpful if the previous methods don’t work. The following are some options that can help you retrieve your Windows activation key:

Belarc Advisor

This tool not only finds your Microsoft product key but also provides a detailed profile of your installed software and hardware. It does not offer a security score for Windows 10, but its automatic updates ensure you get the latest information about your system.

Magical Jelly Bean Keyfinder

This Microsoft key finder can locate product keys for Windows, Office, and other programs, making it highly versatile. But be cautious, as some antivirus programs may flag it as potential malware.

LicenseCrawler

This is a portable tool that does not require installation and can identify license keys for numerous applications. Since it’s portable, you can carry it on a USB stick and use it across multiple devices without installation.

Windows Product Key Finder

This lightweight utility software can retrieve your Windows 10 product key and other information about your Windows device. However, it is a single-purpose tool that users generally uninstall after use.

Other methods to find a Windows 10 product key

Sometimes the simplest answer is the right answer. Let’s look at how to find a Microsoft product key for Windows 10 without technical tools.

Check your purchase materials

If you purchased Windows 10 directly from Microsoft or an authorized retailer, the product key might be found in a few different places:

  • Email confirmation

Look for emails from Microsoft or the retailer around the time of purchase.

  • Retail receipt

The Windows product key might be printed on the sales receipt or on a card provided at the time of purchase.

  • Physical packaging

The product key is usually on a label or card inside the box for older device models. You can typically find these at the bottom of laptops, inside battery compartments, or on the side or back of desktop towers

  • UEFI/BIOS Firmware

Most modern Windows devices store the OEM product key in the firmware. You can retrieve it using Command Prompt:

wmic path softwarelicensingservice get OA3xOriginalProductKey

Contact Microsoft Support

If you cannot find your Windows activation key using the above methods, you may need to contact Microsoft Support for help. Have your purchase details ready, such as the order number, any relevant email addresses used during purchase, and details of where and when you bought the software.

Go to the Microsoft Support website and enter “Windows 10 product key” in the search bar. If you can’t find specific help through the articles, you can use the “Contact Us” option to speak with a support agent.

If you decide to speak with a support representative, provide any evidence of purchase you have. The support agent will guide you through the steps you can take and may be able to retrieve the Windows 10 license key for you once you prove the purchase.

See how to identify, collect, and monitor critical IT asset information, including product keys, using NinjaOne.

Watch a demo

How digital licenses work in Windows 10 with Windows 10 Product Keys

Microsoft introduced a digital license, previously called a digital entitlement, with Windows 10. For businesses and IT administrators, understanding whether a device requires a Windows 10 product key or a digital license is critical for compliance and lifecycle management.

What is a Windows 10 digital license?

A digital license activates Windows without requiring users to manually enter a product key. It’s linked either to your hardware or your Microsoft account and automatically activates as soon as the device connects to the internet.

If your device uses a digital license, you might not see a traditional 25-character product key.

However, even with digital licensing, you may still need a Windows 10 product key if you find yourself in these use cases:

  • Deploying Windows OS at scale
  • Upgrading from Windows Home to Pro
  • Transferring a retail license to a new device
  • Activating Windows after a significant hardware change, such as replacing the motherboard, or in business environments

Other important information about your Windows 10 license key

When managing your Windows 10 product keys, remember that each key is unique and tied specifically to each employee’s hardware and version of Windows. If you upgrade your organization’s hardware significantly, you may need to reactivate Windows on each device.

Also, keep in mind that license keys are different for retail, OEM, and volume licenses, so understanding your license type is crucial, especially when transferring or upgrading your systems. Always store your product key in a secure location, as losing it could complicate future software reinstalls or upgrades.

While learning how to find a Windows 10 product key is useful for IT professionals, you don’t need to manually track and document your organization’s Windows 10 product keys. Let NinjaOne take this task and many more off your plate with powerful automation tools and full visibility over your hardware, software, and licenses. NinjaOne can automatically identify, collect, and monitor critical IT asset information, including product keys. Start your free trial today.

FAQs

Open Command Prompt as an administrator and run:

wmic path softwarelicensingservice get OA3xOriginalProductKey

This retrieves your OEM-embedded product key if stored in your system’s BIOS/UEFI.

Run PowerShell as an administrator and enter:

(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey

If your PC uses a digital license, no key will appear.

Navigate to:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform

Look for the BackupProductKeyDefault entry—but back up the registry before making changes.

Check your email confirmation, retail packaging, or Microsoft account. If your Windows product key is still missing, contact Microsoft Support with proof of purchase.

Popular tools include Belarc AdvisorMagical Jelly Bean Keyfinder, and LicenseCrawler. These can also retrieve keys for Microsoft Office and other software.

You might also like

Ready to simplify the hardest parts of IT?