retrieve_windows_10_11_product_key_using_powershell
This is an old revision of the document!
Retrieve Windows 10 or 11 Product Key Using PowerShell
Open a Windows PowerShell (aka Terminal) with Administrative Privileges, and type or paste (right click) the following command next to your UserName> prompt, including the parenthesis () as part of the command:
PS C:\Users\UserName> (Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey XXXXX-XXXXX-XXXXX-XXXXX-XXXXX PS C:\Users\UserName>
retrieve_windows_10_11_product_key_using_powershell.1762271041.txt.gz · Last modified: 2025/11/04 15:44 by wikiadmin
