Viewing the Windows 11 product key

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

Method 1:

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

  2. Enter the command (Get-WmiObject –query 'select * from SoftwareLicensingService').OA3xOriginalProductKey and press Enter. The text displayed in the format of "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 format of "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" is the product key.

    Pressing the space button by accident when entering the command will result in you being unable to view the product key.

Helpful or not?
Thanks for your feedback.