🌐
How-To Geek
howtogeek.com › home › windows › how to find your windows 10 product key using the command prompt
How to Find Your Windows 10 Product Key Using the Command Prompt
August 20, 2023 - Quickly find your Windows 10 product key by opening Command Prompt with administrative privileges and enter: "wmic path softwarelicensingservice get OA3xOriginalProductKey".
🌐
Reddit
reddit.com › r/windows10 › how to view your windows product key with cmd (no third-party tools needed)
r/Windows10 on Reddit: How to view your Windows Product Key with CMD (no third-party tools needed)
October 20, 2025 -

Hi everyone,
if you want to check your Windows Product Key without installing anything, just open Command Prompt as administrator and run this command:

reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v BackupProductKeyDefault

You’ll see something like this:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform
    BackupProductKeyDefault    REG_SZ    XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

If nothing shows up, it means your Windows is activated with a digital license (linked to your Microsoft account or hardware), so there’s no visible Product Key stored in the registry.

Discussions

Use Command Prompt or PowerShell to find Windows Product Key - Microsoft Windows Mini-Guides
Use Command Prompt or PowerShell to find Windows Product Key - posted in Microsoft Windows Mini-Guides: Use Command Prompt or PowerShell to find Windows Product Key In this post, i will show you how to find the original Windows Product Key using Command Prompt or PowerShell, from BIOS or Registry. More on bleepingcomputer.com
🌐 bleepingcomputer.com
11 hours ago
Recover and find Windows 10 product key on my computer
Forgot to backup the product key and Windows asks me to activate the copy after clean install from USB. I checked the Microsoft account and no product key is... More on techcommunity.microsoft.com
🌐 techcommunity.microsoft.com
8
0
July 16, 2025
How can I find a product key for installed software using command prompt?
get belarc advisor, it's free, it will list all the keys it can detect in your system More on reddit.com
🌐 r/techsupport
14
2
February 15, 2024
I've lost my activation key
If the hardware has been activated before then it has a digital licence and no key is required. More on reddit.com
🌐 r/Windows10
8
0
January 3, 2023
People also ask

What is a Windows product key and how do I find it?
A Windows product key is a 25-character key that tells Microsoft that your Windows operating system is authentic. The way you find it will depend on how you received the product key initially, but if you can't find it, I recommend Magical Jelly Bean, which is a product key finder.
🌐
wikihow.com
wikihow.com › computers and electronics › operating systems › windows › how to find your window 10 or 11 product key: 4 simple ways
How to Find Your Window 10 or 11 Product Key: 4 Simple Ways
How do you check your Windows Product Key?
The Product Key is encoded in your computer, in BIOS. To access it, you will have to use a third-party software, like Produkey or Show Key Plus.
🌐
wikihow.com
wikihow.com › computers and electronics › operating systems › windows › how to find your window 10 or 11 product key: 4 simple ways
How to Find Your Window 10 or 11 Product Key: 4 Simple Ways
🌐
TechRepublic
techrepublic.com › home › microsoft
How to Find Windows 10 Product Key in 3 Ways
November 29, 2024 - The most direct method for finding your Windows 10 product key is from the command line. Type cmd into the Windows 10 desktop search box.
🌐
Fortect
fortect.com › how to › how to find your windows 10 product key
How to Find Your Windows 10 Product Key | Fortect
September 10, 2026 - One of the simplest ways to find your Windows 10 product key is through the Command Prompt. Follow these steps: Press Windows + X and select Command Prompt (Admin). Or type cmd in the search bar near the Start button on your Windows PC.
🌐
AVG
avg.com › en › signal › find-windows-10-product-key
How to Find Your Product Key on Windows 10 and Earlier
December 10, 2025 - To open Command Prompt in Windows 7, press the Windows key + R and type cmd into the search box. Right-click on the Start Menu. Select Windows PowerShell (Admin). Click Yes if Windows asks you to allow access. Type or copy and paste the following code into PowerShell: powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey" Press Enter. Your 25-character Windows 10 product key should now be displayed (in 5-character chunks).
🌐
Wikihow
wikihow.com › computers and electronics › operating systems › windows › how to find your window 10 or 11 product key: 4 simple ways
How to Find Your Window 10 or 11 Product Key: 4 Simple Ways
June 20, 2025 - Find your product key if your PC comes with Windows pre-installed. If your PC comes with Windows pre-installed, you do not need to use your product key to activate Windows. It's already running. If you want to save a backup copy, you can do so, using the Command Prompt, PowerShell, or your Windows Registry.
🌐
Tom's Hardware
tomshardware.com › software › operating systems › windows
How to Find a Windows 11 or 10 Product Key | Tom's Hardware
March 18, 2025 - To get your Windows product key from the command prompt: 1. Launch the command prompt. The easiest way to get there is to hit Windows + R to open the run dialog box, then type in cmd and hit Enter.
Find elsewhere
🌐
TeamViewer
teamviewer.com › en › insights › how-to-find-your-windows-product-key
How to find your Windows product key: 4 simple methods | TeamViewer
For IT professionals, the Command Prompt provides the most direct and reliable way to find an OEM product key embedded in the device's firmware. This method is scriptable and highly efficient for system administration. This is the primary technique for how to find Windows 11 product keys using CMD or its Windows 10 equivalent.
🌐
Lifewire
lifewire.com › windows-10-find-product-key-8676385
How to Find a Windows 10 Product Key
August 12, 2024 - Enter the following command, or copy and paste it into the Command Prompt window where you see the blinking cursor: wmic path SoftwareLicensingService get OA3xOriginalProductKey · Press Enter, and you’ll see your product key on the following line.
🌐
The Windows Club
thewindowsclub.com › the windows club › find windows product key using command prompt or powershell
How to find Windows Product Key using Command Prompt or PowerShell
In this post, we will see how to find the original firmware-embeded Windows Product Key using Command Prompt or PowerShell, from BIOS or Registry. It works for Retail & OEM licenses too. From the WinX Menu in Windows 11/10, open an elevated command prompt window, type the following command and hit Enter:
Published: December 22, 2024
🌐
NinjaOne
ninjaone.com › home › blog › it ops › how to find a windows 11 product key using cmd, powershell, or other methods
How to Find a Windows 10 Product Key | NinjaOne
July 7, 2026 - 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. To find your Windows 11 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.
🌐
Digital Citizen
digitalcitizen.life › find-windows-product-key
How to find the product key on your Windows 10 or Windows 11 PC
October 11, 2025 - How to find your Windows 10 product key with CMD Hit Enter on your keyboard, and the product key should appear in CMD. IMPORTANT: If no key is output, your Windows 10 is probably using a digital license.
🌐
TechBaked
techbaked.com › home › windows › how to find your windows 10 product key (7 easy ways)
How to Find Your Windows 10 Product Key (7 Easy Ways)
February 13, 2026 - Find your Windows 10 product key using CMD, PowerShell, BIOS/UEFI, Registry, and other easy methods. Also learn how digital licenses work.
🌐
GitHub
github.com › dporkka › windows-product-key
GitHub - dporkka/windows-product-key: How to find your Windows Product Key · GitHub
Type cmd or Command Prompt. Right-click on Command Prompt and select Run as administrator. ... This command retrieves the product key embedded in your system's BIOS/UEFI firmware.
🌐
EaseUS
easeus.com › easeus key finder › how to find windows 10 product key using command prompt
How to Find Windows 10 Product Key Using Command Prompt
October 7, 2026 - To uncover your product key in ... Step 1. Launch Windows Run operation using the "Win + R" keys and type "CMD." Now, use the "Ctrl + Shift + Enter" to launch Command Prompt with admin privileges....
🌐
BleepingComputer
bleepingcomputer.com › bleepingcomputer forums › bleepingcomputer applications and guides › mini guides and how-tos - simple answers to common questions › microsoft windows mini-guides
Use Command Prompt or PowerShell to find Windows Product Key - Microsoft Windows Mini-Guides
11 hours ago - Your Windows product key will be displayed. Open an elevated PowerShell prompt window, type the following command and hit Enter: powershell "(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey" Your Windows license key will appear! This will work on Windows 10 / 8 / 8.1 PC.
🌐
Windows Report
windowsreport.com › how to › how to check your windows product key using powershell and cmd
How to Check Your Windows Product Key Using Powershell and CMD
July 23, 2025 - In the Windows search box type ... check out our guide on how to fix it. In the cmd window, type wmic path softwarelicensingservice get OA3xOriginalProductKey...
🌐
Arekore
arekore.app › articles › tips › windows › how to find your windows product key | cmd, powershell, and free tools
How to Find Your Windows Product Key | CMD, PowerShell, and Free Tools
May 23, 2026 - Step-by-step instructions for finding your Windows product key. Covers the Command Prompt WMIC method, PowerShell, free tools like ShowKeyPlus and ProduKey, Microsoft Account license lookup, and what to do when no key can be found.
🌐
Windows-faq
windows-faq.com › start › all articles › how to find your windows product key in windows 11 and 10
Windows Product Key: Find It with PowerShell, CMD & Registry - Windows-FAQ.com
August 28, 2026 - If you prefer Command Prompt, you can still launch the PowerShell query from CMD: powershell -NoProfile -Command "(Get-CimInstance -ClassName SoftwareLicensingService -Property OA3xOriginalProductKey).OA3xOriginalProductKey" The command runs ...
Top answer
1 of 5
1
You can retrieve your Windows 10 product key using Command Prompt (CMD) with built-in Windows tools. Here are the two most effective methods to find windows 10 product using cmd:Method 1: Using wmic (Best for OEM & Retail Keys)Press Win + X and select "Terminal (Admin)" or "Command Prompt (Admin)".Run this command to find Windows 10 product key on your computer:wmic path softwarelicensingservice get OA3xOriginalProductKeyThis pulls the original OEM key stored in the BIOS (for pre-built PCs like Dell, HP, etc.). If it returns a blank, try the next method.Method 2: Using powershell (For Digital & Retail Keys)In the same Admin Command Prompt, run this command to recover Windows 10 product key:powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey"This fetches the same BIOS-embedded key as wmic.If CMD doesn't work, try a product key finder app to extract the key from the registry.
2 of 5
0
If you've lost your Windows 10 product key, there are several ways to find Windows 10 product key it depending on how you obtained Windows originally. Here are the best methods to find it:1. Check Your Email (If Purchased Digitally)If you bought Windows 10 from Microsoft’s online store, check your email (including spam) for a receipt containing the product key.If purchased from a third-party retailer (Amazon, Newegg, etc.), check your account order history.2. Check the Computer or Laptop Sticker (OEM Key)If Windows came pre-installed (Dell, HP, Lenovo, etc.), the key might be on a sticker on the back or under the battery (for laptops).Note: Many newer PCs store the key in the BIOS, so you may not need it for reinstallation.3. Check BIOS (For Modern PCs)Most OEMs (Dell, HP, etc.) embed the key in the BIOS/UEFI.Reinstalling Windows 10 on the same PC should auto-activate without needing to enter a key.What If You Still Can't Find Windows 10 Product KeyIf Windows was previously activated, it may reactivate automatically after reinstalling.If you no longer have a valid license, you may need to purchase a new one.Let me know if you need further help!