Viewing the Windows product key
Applicable products:
PC,Desktop
Applicable products:
Viewing the Windows product key |
Method 1:
- Enter "Windows PowerShell" in search box on the taskbar and open it.
- Enter the command (Get-WmiObject –query 'select * from SoftwareLicensingService').OA3xOriginalProductKey and press Enter. The text displayed in the following format: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX is the product key.
Method 2:
- Enter "cmd" in the search box on the taskbar and open Command Prompt.
- Enter the command wmic path SoftwareLicensingService get OA3xOriginalProductKey and press Enter. The text displayed in the following format: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX is the product key.
Please note that pressing the space button by accident when entering the command will result in a failure to view the product key.
Thanks for your feedback.