
Have you ever found yourself staring at a Windows activation screen, desperately trying to remember where you stored that 25-character product key? As someone who’s guided many users through Windows activation recoveries and licensing transitions, I can tell you that understanding how to find your Windows 11 product key is one of the most effective ways to avoid costly reinstallation headaches and activation nightmares.
I’ll walk you through four proven methods that work, from simple Command Prompt tricks to advanced PowerShell scripts to third-party key finder tools,
You don’t need to be a tech expert to use these methods. Each approach is designed to work with the most common Windows 11 license types, whether you bought Windows 11 retail, got it pre-installed on your computer, or upgraded from Windows 10. By the end of this guide, you’ll have your product key safely documented and the peace of mind that comes with proper license management.
Want to find your MAC address in Windows 11 quickly and easily? Check out my detailed guide How to Find MAC Address in Windows 11
Table of Contents
Understanding Windows 11 Product Keys and Activation
Before diving into the practical methods of finding your Windows 11 product key, it’s essential to understand the fundamental concepts behind Windows activation and the different types of licenses you might encounter. Think of Windows activation as a sophisticated security checkpoint that validates your right to use the operating system while protecting both Microsoft’s intellectual property and your computer’s security
What Exactly Is a Windows 11 Product Key?
A Windows 11 product key serves as your unique digital identifier, proving that you have a legitimate license to use Microsoft’s operating system. This 25-character alphanumeric code follows a specific pattern, consisting of five groups of five characters each, separated by hyphens, and resembles “XXXXX-XXXXX-XXXXX-XXXXX-XXXXX.” However, what many users don’t realize is that this traditional product key is just one of two ways Windows 11 can be activated.
When you enter a product key during installation or activation, Windows 11 communicates with Microsoft’s activation servers to verify several critical elements. The system checks whether the key is genuine, whether it matches the edition of Windows you’re trying to activate, and, crucially, whether that specific key has already been used on the maximum number of devices allowed by your license agreement. This process happens almost instantaneously when your computer has an internet connection, creating a seamless activation experience for legitimate users.
The product key essentially acts as a one-time password that unlocks your Windows 11 installation and registers it with Microsoft’s activation infrastructure. Once this initial handshake occurs successfully, your computer receives what’s known as a digital license, which then takes over the ongoing activation responsibilities for your device.
Digital Licenses The Modern Activation Method
Digital licenses represent Microsoft’s evolution in software activation technology, designed to make Windows activation more user-friendly while maintaining robust security measures. Unlike traditional product keys that require manual entry, digital licenses work automatically in the background, tied directly to your computer’s unique hardware configuration and, optionally, your Microsoft account.
When Windows 11 creates a digital license for your device, it generates a unique hardware fingerprint based on several components of your computer, including your motherboard, processor, and other critical hardware elements. This fingerprint gets stored on Microsoft’s activation servers, creating a permanent record that identifies your specific computer as having a legitimate Windows 11 license.
Understanding Different License Types
The Windows 11 licensing landscape includes several distinct categories, each designed for specific use cases and carrying different rights and restrictions. Understanding these differences is crucial for knowing what to expect when searching for your product key and what options you have for transferring or reusing your license.
OEM (Original Equipment Manufacturer) licenses represent the most common type of Windows 11 activation for users who purchase pre-built computers or laptops. When you buy a Dell, HP, Lenovo, or any other manufacturer’s computer with Windows 11 pre-installed, you’re receiving an OEM license. These licenses are permanently tied to the original hardware, specifically the motherboard, meaning they cannot be transferred to a different computer under normal circumstances.
OEM licenses offer excellent value for users who don’t plan to transfer their Windows installation to different hardware, but they come with important limitations. Technical support for OEM installations typically comes from the computer manufacturer rather than Microsoft directly, and the license becomes void if you make major hardware changes, such as replacing the motherboard. However, for users who keep their computers intact throughout their useful life, OEM licenses provide all the functionality of Windows 11 at a lower cost point.
Retail licenses provide maximum flexibility for users who want complete control over their Windows 11 installation. When you purchase a retail copy of Windows 11 from Microsoft or an authorized retailer, you gain the right to transfer that license between different computers, provided you only use it on one device at a time. This transferability makes retail licenses ideal for enthusiasts who build their computers, frequently upgrade hardware, or want the option to move their Windows license to a new machine in the future.
Retail licenses also come with direct Microsoft support, meaning you can contact Microsoft directly for technical assistance with activation issues, hardware compatibility questions, or other Windows-related problems. While retail licenses cost more than their OEM counterparts, this additional expense provides you with flexibility and peace of mind that can prove valuable throughout the license’s lifetime.
Volume licenses cater to organizations, educational institutions, and businesses that need to deploy Windows 11 across multiple computers. These licenses employ different activation mechanisms, typically involving Key Management Service (KMS) servers or Multiple Activation Keys (MAK), which enable IT administrators to activate multiple installations without managing individual product keys for each computer. Volume licenses are not available for consumer purchase and require specific agreements with Microsoft or authorized partners.
Method 1 - Using Windows PowerShell Command to Find Your Windows 11 Product Key
The fastest and most reliable way to find your Windows 11 product key is through PowerShell using a built-in command that directly queries your system’s licensing information. This method works because Windows stores your original product key in the Software Licensing Service, and PowerShell can retrieve this information without requiring any additional software downloads or complex registry access.
PowerShell represents Microsoft’s modern command-line interface that comes pre-installed with every Windows 11 system. PowerShell handles data as structured objects, enabling more detailed analysis and complex data manipulation.
Opening PowerShell with Administrative Privileges
PowerShell requires administrator privileges to access system licensing information stored in protected areas of the Windows operating system. Without the proper elevation, the commands will either fail with access-denied errors or return incomplete results.
- Press the Windows key and type PowerShell in the search bar. You’ll see Windows PowerShell appear in the search results.

- Right-click on Windows PowerShell and select Run as administrator. This opens PowerShell with the elevated privileges needed for product key access.

- Click Yes in the User Account Control prompt to grant administrative permissions. The window title will show “Administrator: Windows PowerShell” when successful.
Alternative Methods of Opening PowerShell with Administrative Privileges
- Press the Windows key + X on your keyboard. This opens the Quick Link menu.
- Click Windows Terminal (Admin) from the menu. Click Yes if prompted for permission.

- Click the dropdown arrow next to the current tab. This reveals available terminal options.

- Select Windows PowerShell from the dropdown menu. This opens PowerShell with administrator privileges.

Executing the PowerShell Command to Get Windows 11 Product Key
The WMIC (Windows Management Instrumentation Command-line) tool provides direct access to Windows licensing data through a simple query command. This command specifically targets the original product key embedded in your system’s firmware or installation.
- Copy and paste this command into PowerShell:
wmic path SoftwareLicensingService get OA3xOriginalProductKey
It queries the “SoftwareLicensingService” WMI class and specifically requests the “OA3xOriginalProductKey” property.
- Press Enter to execute the command. Look for your product key displayed in the standard 25-character format with dashes XXXXX-XXXXX-XXXXX-XXXXX-XXXXX below the command.

Alternative PowerShell Commands to Get Windows 11 Product Key
- Type this PowerShell-native command if the WMIC command fails:
(Get-WmiObject –query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKeyThis alternative uses PowerShell’s built-in cmdlets instead of Windows Management Instrumentation.

- Use this registry-based PowerShell command for additional scenarios:
Get-ItemProperty -Path ‘HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform’ -Name BackupProductKeyDefault
This retrieves the backup product key from the Windows Registry.

What to Do If PowerShell Commands Return Blank Results
Modern Windows 11 systems increasingly use digital licensing instead of traditional product keys, particularly for upgraded systems or purchases made through the Microsoft Store. When commands return empty results, your activation likely relies on digital entitlement.
- Navigate to Settings > System > Activation if all commands return empty results. Check if your system shows “Windows is activated with a digital license,” which means no traditional product key is stored locally.
- Log in to your Microsoft Account at account.microsoft.com and check the Devices section to see if you have a digital license. Your Windows 11 license may be tied to your Microsoft account rather than stored as a product key on the device.
Troubleshooting Common PowerShell Errors
PowerShell errors typically stem from insufficient privileges or syntax errors in commands. These troubleshooting steps address the most frequent problems users encounter when running product key commands.
- Close and reopen PowerShell as administrator if you see “Access is denied” errors. Ensure you right-click and select Run as administrator.
- Retype the command carefully if you see “Invalid query” or syntax errors, ensuring there are no extra spaces before or after the command. Copy and paste directly from step 4 to avoid typing mistakes.
When these PowerShell methods successfully retrieve your product key, save it immediately in a secure location, such as a password manager or an encrypted document. This key serves as proof of your legitimate Windows 11 license and becomes essential for clean installations or hardware transfers.
Method 2 – Use Command Prompt to Find Your Windows 11 Product Key
Command Prompt represents the traditional command-line interface in Windows and offers several powerful techniques for retrieving your Windows 11 product key. While PowerShell provides more advanced capabilities, Command Prompt remains highly effective for product key discovery and offers additional licensing management features through specialized commands. This method is particularly valuable because it includes multiple approaches, from simple product key retrieval to comprehensive license information analysis.
Understanding these Command Prompt methods provides you with versatile options for various scenarios. The WMIC command provides quick product key retrieval, while SLMGR commands offer detailed licensing information that can help diagnose activation issues or verify your license status. These techniques are especially useful for IT professionals managing multiple systems or users who prefer traditional command-line interfaces.
How to Open Command Prompt with Administrative Privileges
Command Prompt requires administrator privileges to access the Software Licensing Service and retrieve your product key information. Without proper elevation, you’ll encounter access-denied errors that prevent the licensing commands from executing successfully.
- Press the Windows key and type cmd in the search box that appears. You’ll see Command Prompt appear in the search results above the search bar.
- Right-click on ‘Command Prompt‘ in the search results and select ‘Run as administrator‘ from the context menu. This launches Command Prompt with the elevated privileges needed to access system licensing information.

- Click “Yes” in the User Account Control dialog box when it appears, asking for permission. The Command Prompt window opens with a black background and shows “Administrator: Command Prompt” in the title bar.
Run WMIC Command in Command Prompt to Get Windows 11 Product Key
The Software Licensing Management Tool (SLMGR) provides multiple command switches that can retrieve your Windows 11 product key through different pathways. These commands query the Windows licensing database to find your original product key.
- Type below command in the Command Prompt window, and press Enter.
wmic path softwarelicensingservice, get OA3xOriginalProductKey
This Windows Management Instrumentation command queries “SoftwareLicensingService” WMI class and specifically requests the “OA3xOriginalProductKey” property.
- Look for a 25-character product key displayed below the command in the format XXXXX-XXXXX-XXXXX-XXXXX-XXXXX. This is your Windows 11 product key that you can use for reinstallation or documentation purposes.

Advanced SLMGR Commands for License Management
- Type slmgr /dli in the Command Prompt window and press Enter. This command displays basic license information, including your Windows edition, activation status, and a partial product key.
- Wait for the Windows Script Host dialog box to appear, showing your license details. This dialog provides essential information about your current Windows 11 license and activation status.

- Click OK to close the Windows Script Host dialog box after reviewing the license information. This basic information helps verify your activation status and license type.
- Type slmgr /dlv in the Command Prompt window and press Enter. This command provides detailed license information, including activation ID, installation ID, and comprehensive licensing details.
- Review the detailed license information displayed in the new Windows Script Host dialog box. This comprehensive view provides detailed information about your Windows 11 installation and activation history.

- Click OK to close the detailed license information dialog. The detailed view provides troubleshooting information that can be valuable for resolving activation issues.
- Type slmgr /xpr in the Command Prompt window and press Enter. This command displays the license expiration date and activation status for your Windows 11 installation.
- Read the license expiration information shown in the Windows Script Host dialog box. For most retail and OEM licenses, this will indicate that Windows is permanently activated.

- Click OK to close the expiration information dialog. This information confirms whether your Windows 11 license is permanent or has time limitations.
- Close the Command Prompt window by typing exit and pressing Enter or by clicking the X button in the top-right corner of the window.
Troubleshooting Common Command Prompt Errors
When standard commands fail to display your product key, basic troubleshooting steps can help resolve common issues and assist you in retrieving the information successfully.
- Close the Command Prompt and try opening it again as administrator if you see “Access is denied” error messages. Ensure you right-click on Command Prompt and select ‘Run as administrator‘ to obtain proper permissions.
- Type sfc /scannow and press Enter if SLMGR commands produce error messages or unexpected results. This System File Checker command repairs corrupted system files that might interfere with licensing service operations.
- Wait for the system scan to complete, and then try the product key commands again. The scan may take 15-30 minutes to complete and will show progress percentages as it runs.
- Navigate to Settings by pressing Windows + I, then click System > Activation if all commands return blank results. Your Windows 11 may be activated through a digital license instead of a product key.
For a complete guide on multiple ways to get help in Windows 11, check out my detailed article “How to Get Help in Windows 11“
Method 3 - Use Registry Editor Method to Find Your Windows 11 Product Key (Advanced Users)
The Registry Editor method provides direct access to your Windows 11 product key through the Windows Registry database, where licensing information is stored at the system level. This approach works particularly well when other methods fail because it accesses the raw registry entries that Windows uses to manage product activation and licensing information.
Registry Editor offers an alternative pathway that bypasses the Windows Management Instrumentation layer used by Command Prompt and PowerShell methods. Advanced users often prefer this method because it provides direct access to the underlying data structures where Windows stores licensing information, making it reliable even when other services might be restricted or corrupted.
Important Warning About Registry Modifications
Before proceeding with Registry Editor access, it’s crucial to understand that improper changes to the Registry can cause system instability or even prevent Windows from booting correctly. This method should be approached with caution and is recommended for advanced users who are comfortable with system-level operations. While you’re only viewing information rather than making changes, it’s important to take proper safety precautions.
Creating a Registry Backup
- Press the “Windows key + R” on your keyboard to open the Run dialog. This provides a quick way to launch programs by name without navigating through menus.
- Type “regedit” in the text field of the Run dialog and press Enter or click “OK.” This launches the Registry Editor, the tool used to view and modify the Windows Registry database.

- Click the “File” menu in the top menu bar of the Registry Editor window, then select “Export” from the dropdown menu. This opens a dialog to save a backup of your Registry in case you need to restore it later.
- Enter a descriptive name like “Registry_Backup_Before_Sticky_Keys_Change” in the file name field and select a location where the registry backup to be save. This helps identify the backup file’s purpose if you need to restore it.
- Ensure the “Export range” is set to “All” at the bottom of the dialog and click the “Save” button. This creates a complete backup of your Registry that can be imported if problems occur.

Navigating to the Windows 11 Product Key Registry Location
- Look for the address bar near the top of the Registry Editor window. This shows your current location in the registry hierarchy.
- Click in the address bar and type the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform.
This takes you directly to the Windows licensing settings.

- Press Enter to navigate to that location. The right pane will display the registry values for Windows licensing information.
- Alternatively, you can navigate manually by expanding the following folders in order:
- HKEY_LOCAL_MACHINE
- SOFTWARE
- Microsoft
- Windows NT
- CurrentVersion
- SoftwareProtectionPlatform
Locating and Retrieving Your Windows 11 Product Key
- Look for the BackupProductKeyDefault value in the right pane of the Registry Editor. This value contains your Windows 11 product key in a readable format.

- Double-click on the BackupProductKeyDefault value to view it. A dialog box will open, showing the current value data. You should see your 25-character product key in the format XXXXX-XXXXX-XXXXX-XXXXX-XXXXX.

Method 4 - Use Third-Party Software Solutions to Find Your Windows 11 Product Key
Third-party software solutions provide user-friendly alternatives to command-line methods for finding your Windows 11 product key. These specialized tools scan your system’s Registry and firmware to extract product keys for Windows and other installed software, offering graphical interfaces that make the process accessible to users who prefer avoiding command-line operations.
Many reputable software developers create free product key finder utilities that can quickly and safely retrieve Windows licensing information. These tools often provide additional features, such as exporting keys to files, scanning multiple programs simultaneously, and presenting results in organized, easy-to-read formats, which simplify product key management and backup procedures.
Using Magical Jelly Bean KeyFinder
- Visit the official Magical Jelly Bean website at magicaljellybean.com and download the KeyFinder utility. This free tool is one of the most trusted and widely used product key finders available.
- Run the downloaded installer and follow the on-screen installation prompts. Launch Magical Jelly Bean KeyFinder after the installation is complete.

- Click Windows in the left panel to view your Windows 11 product key information. The tool automatically scans your Registry and displays the key in the main window.

- Copy your product key by selecting the key text and pressing Ctrl+C, or click File > Save to export the key information to a text file for safekeeping.
Using License Crawler
- Download LicenseCrawler as a portable application that requires no installation.
- Open the extracted folder and locate the LicenseCrawler.exe file. Double-click this executable file to launch the application.

- Click Yes if a User Account Control prompt appears requesting permission to run the program.
- Type LocalHost or the computer name in the Computer field where you are running this executable. Select HKEY_ALL to scan complete registry from the dropdown menu
- Click the Start Search button to initiate the scanning process and wait for the tool to complete its search and display the Windows 11 product key along with other installed software license keys.

Conclusion
You now have four proven methods to find your Windows 11 product key. Whether you prefer using built-in Windows tools like PowerShell and Command Prompt or you’re more comfortable with user-friendly third-party software, there’s a solution that fits your technical comfort level.
Don’t wait until you’re facing a system crash or hardware upgrade to locate your activation key. Take five minutes right now to extract and securely store your product key using one of these methods.
Your Windows 11 product key is a valuable digital property that proves your legitimate software ownership. Once you’ve found it, treat it like any other important credential. With your Windows 11 product key properly documented and stored, you’re prepared for any future reinstallation, hardware change, or system recovery scenario that may arise.
For a complete guide on optimizing your system’s performance by disabling background apps in Windows 11, visit my detailed article How to Turn off Background Apps in Windows 11
Frequently Asked Questions (FAQs)
Only if you have a retail license. OEM licenses are tied to the original hardware and cannot be transferred to other devices. Retail licenses can be moved to new hardware after deactivating the old computer. Digital licenses from free upgrades cannot be transferred.
Each Windows installation has its own activation and product key stored in its respective registry. When using command-line methods, you’ll only see the key from the currently booted Windows installation. To extract keys from other installations, you need to boot into each one individually or mount their drives and access their registries from another Windows installation. Dual-boot systems with Windows 10 and Windows 11 will have separate activation credentials for each operating system.
Yes, valid Windows 10 product keys work for Windows 11 activation, but only for the equivalent edition (Windows 10 Home activates Windows 11 Home, Windows 10 Pro activates Windows 11 Pro). This applies to both retail and OEM licenses.
This typically means you have a digital license. Check Settings > System > Activation to confirm. If it shows “Windows is activated with a digital license,” you don’t need a traditional product key. For reinstallation, use the same Microsoft account, and Windows will activate automatically.
Yes, product keys are edition-specific. A Windows 11 Home key won’t activate Windows 11 Pro and vice versa. However, you can upgrade from Home to Pro by purchasing an upgrade key through the Microsoft Store.
If the computer came with an OEM license originally, the license transfers with the hardware. However, if the previous owner used a retail license, they legally should have removed it before selling. You may need to purchase a new license if activation fails.