Windows 11 product key retrieval & verification
1. Retrieving the product key
Method 1: registry lookup (recommended)
Works for non-OEM machines, including digital-license activations.
-
Press
Win + Rto open the Run dialog -
Type
regeditand press Enter to open the Registry Editor -
Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform -
In the right pane, find
BackupProductKeyDefault -
Its value is your Windows 11 product key
Source: Reddit r/techsupport — How to retrieve the product from win 11
Note: community reports confirm this also works for digital-license activations (where you only have an email tied to the license, no key was ever shown). If
BackupProductKeyDefaultis missing, your Windows is probably activated through a different mechanism.
Method 2: Command Prompt (CMD)
Open CMD as Administrator and run:
wmic path softwarelicensingservice get OA3xOriginalProductKey
Note: this reads the OEM key embedded in BIOS/UEFI. If your machine isn't a brand-preinstalled OEM box, the output will be blank — that's normal.
Method 3: PowerShell
Open PowerShell as Administrator and run:
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
Note: same caveat as Method 2 — only works when an OEM key is burned into BIOS.
Method 4: check purchase records
- Bought from the Microsoft Store: sign in to your Microsoft account and check Order history
- Bought elsewhere: dig out the original confirmation email or the retailer's digital locker
Method 5: digital license (no key needed)
If your Windows 11 was a free upgrade from Windows 10 / 8.1 / 7, it uses a digital license — the entitlement is bound to your Microsoft account and hardware ID, not a product key. To reinstall:
- During setup, choose "I don't have a product key" to skip
- Pick the same edition you originally had (Home / Pro)
- After install, connect to the internet and sign in with the same Microsoft account
- Windows will detect the hardware and activate automatically
2. Verifying the product key
Check current activation status
Open CMD as Administrator and run:
slmgr /dli
Look at two things:
- Description: shows the key type (Retail / OEM / MAK / KMS)
- License Status:
Licensedmeans the key is valid
Then run:
slmgr /xpr
If it says "The machine is permanently activated", the key is genuine and activation succeeded.
Verify a new key
If you have a key and want to confirm it works:
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /ato
/ipk: install product key/ato: attempt online activation
Successful activation = valid key.
Key types
| Type | Description | Typical user |
|---|---|---|
| Retail | Retail copy, transferable between machines | Individual consumers who bought a license |
| OEM | Bound to the hardware, non-transferable | Pre-installed on brand-name PCs |
| MAK | Multiple Activation Key | Enterprise / organizations |
| KMS | Key Management Service | Enterprise / organizations |
For a regular personal user, the key should be Retail or OEM. MAK or KMS on a personal machine usually means the key has a sketchy origin.
3. FAQ
Q: wmic returns blank?
No OEM key in BIOS — normal for self-built PCs or self-installed Windows. Use Method 1 (registry) instead.
Q: Windows won't activate after replacing the motherboard?
OEM keys are bound to the original hardware and can't be moved. Retail keys can be reactivated:
- Go to Settings → System → Activation → Troubleshoot
- Pick "I changed hardware on this device recently"
- Sign in with the linked Microsoft account and pick the matching device to complete activation
Q: The value of BackupProductKeyDefault doesn't match the key I originally had?
Known and normal. The key stored in the registry may be an internal activation key, not necessarily identical to the one you originally bought. As long as slmgr /xpr confirms permanent activation, your license is fine.