Viewing the Windows product key

Applicable products: PC,Desktop
Applicable products:
zoom in pic
Viewing the Windows product key

Method 1:

  1. Enter "Windows PowerShell" in search box on the taskbar and open it.

  2. 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:

  1. Enter "cmd" in the search box on the taskbar and open Command Prompt.

  2. 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.

Helpful or not?
Thanks for your feedback.