How to Get Windows 11 Product Key: Find Your License
In this article
You can retrieve your Windows 11 product key if it is a retail license tied to your Microsoft account or stored in the BIOS/UEFI of your PC. If you installed Windows using a digital license linked to your account, no manual key entry is required; activation happens automatically when you sign in. For users who need the actual alphanumeric string for backup or transfer purposes, the key is often embedded in the system firmware or accessible through command-line tools.
What You'll Need
- A Windows 11 PC that is already activated or has a valid license
- Administrator privileges on the computer
- Access to Command Prompt or PowerShell
- A Microsoft account (if using a digital license)
Step-by-Step
- Determine Your License Type: First, identify whether you have a retail key, an OEM key, or a digital license. Open
Settings>System>Activation. If it says "Windows is activated with a digital license," you likely do not need to manually enter a key unless you are reinstalling on different hardware. If it says "Product Key" or shows a partial key, proceed to the next steps. - Check BIOS/UEFI for Embedded Keys: Most modern PCs come with Windows 10 or 11 pre-installed. In these cases, the product key is embedded in the motherboard's firmware. To view this key, you must use a command-line tool. Right-click the Start button and select
Terminal (Admin),Command Prompt (Admin), orPowerShell (Admin). - Run the Extraction Command: In the administrative terminal window, type the following command exactly as shown and press Enter:
wmic path softwarelicensingservice get OA3xOriginalProductKey
If your system supports this query, the command will return a 25-character alphanumeric key. This is your OEM product key. Write it down or take a screenshot immediately, as this method only works for keys embedded in the hardware. - Use Registry Editor for Retail Keys: If the previous command returns nothing, your key might be stored in the Windows Registry, particularly if you purchased a retail copy separately. Press
Win + R, typeregedit, and press Enter to open the Registry Editor. Navigate to the following path:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform
Look for a value namedBackupProductKeyDefault. The data field next to it contains your product key. Note that this key may be hidden or blank if Windows is activated via a digital license rather than a traditional key. - Retrieve Key from Microsoft Account: If you previously linked a retail product key to your Microsoft account, you can find it online. Go to
account.microsoft.com/servicesand sign in with the account associated with your Windows license. Under the "Services & subscriptions" tab, look for Windows 11. While you cannot see the full key here for security reasons, this confirms where your license is stored, allowing you to reactivate without re-entering the key after a clean install. - Third-Party Software (Optional): If built-in methods fail, reputable third-party tools like Belarc Advisor or ProduKey by NirSoft can scan the system and extract the key. Download these only from official vendor websites. Run the tool as an administrator. These utilities read the same registry and firmware locations but present the data in a more user-friendly interface.
Common Mistakes
One frequent error is assuming every PC has a visible product key. Many modern devices use digital entitlements tied to the hardware ID or Microsoft account. Trying to force a key entry where none exists can lead to confusion. Another mistake is copying the key incorrectly; ensure there are no spaces or typos when transferring it. Additionally, users often confuse the product key with the product ID, which is a longer, different string found in activation settings and is not useful for reactivation.
Tips
Always back up your extracted product key to a secure location, such as a password manager or encrypted cloud storage, before attempting any major system changes. If you are planning to upgrade hardware, check your license terms first; OEM licenses are non-transferable, while retail licenses can be moved to new machines. Remember that Windows 11 Home and Pro keys are distinct; ensure you are extracting the correct version key to avoid activation errors during installation.
Troubleshooting
If the wmic command returns no result, your PC likely does not store the key in the standard OEM format, or it is using a digital license exclusively. In this case, rely on the Microsoft Account method or contact your PC manufacturer for support. If the Registry Editor shows no BackupProductKeyDefault value, the key may not be cached locally. Ensure you are running the commands with Administrator rights, as restricted accounts cannot access these system-level details. If all else fails, and you purchased a physical copy, locate the COA sticker on your device or the email receipt containing the key.
Frequently Asked Questions
Can I get my Windows 11 key from a Microsoft Account?
You can verify that a key is linked to your account, but Microsoft does not display the full alphanumeric key in the web portal for security reasons. You must retrieve it from the local system or purchase documentation.
Is the product key the same as the product ID?
No. The product key is a 25-character code used for activation. The product ID is a longer string generated after activation and includes information about the edition and language. They are not interchangeable.
Does every Windows 11 PC have a product key?
Not necessarily. Many modern PCs use digital licenses tied to the motherboard or Microsoft account. These systems activate automatically without requiring a manual key entry.
Can I transfer my Windows 11 product key to another computer?
This depends on the license type. Retail licenses can be transferred to a new PC after deactivating the old one. OEM licenses are bound to the original hardware and cannot be transferred.
What if the wmic command doesn't work?
If the command fails, try using the Registry Editor method or a trusted third-party tool like ProduKey. If those also fail, your key is likely managed entirely through a digital license.