
Here’s how you can retrieve your Windows 11 product key using Command Prompt.
Method 1: Using WMI command
- Open Command Prompt as Administrator
(Search “cmd” > right-click > Run as administrator) - Enter the following command:
wmic path softwarelicensingservice get OA3xOriginalProductKey
If a product key is stored in the BIOS/UEFI, it will be displayed.
Note:
- If this returns nothing, your Windows may have been activated via a digital license or a volume license key, in which case the product key isn’t retrievable via this method.
- For more advanced scenarios (like retrieving a retail key), you’d need third-party tools like ProduKey or ShowKeyPlus, but those are not CMD-based.