Can I get the Windows 10 product key in command line ?
There are three ways to get Windows 10 product key:
1. Command line. Press Windows key, and type cmd into the Windows 10 desktop search box. Type the following command at the prompt:
wmic path softwareLicensingService get OA3xOriginalProductKey
2. Powershell. Press Windows key, and type PowerShell into the Windows 10 desktop search box. Type the following command at the prompt:
powershell “(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey”
3. Registry file. Press Windows key, and type regedit in the Windows 10 desktop search box. In the tree on the left, search for the following key:
Computer
HKEY_LOCAL_MACHINE
SOFTWARE
Microsoft
Windows NT
CurrentVersion
SoftwareProtectionPlatform
In the list search for entry BackupProductKeyDefault.
There are three ways to get Windows 10 product key:
1. Command line. Press Windows key, and type cmd into the Windows 10 desktop search box. Type the following command at the prompt:
wmic path softwareLicensingService get OA3xOriginalProductKey
2. Powershell. Press Windows key, and type PowerShell into the Windows 10 desktop search box. Type the following command at the prompt:
powershell “(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey”
3. Registry file. Press Windows key, and type regedit in the Windows 10 desktop search box. In the tree on the left, search for the following key:
Computer
HKEY_LOCAL_MACHINE
SOFTWARE
Microsoft
Windows NT
CurrentVersion
SoftwareProtectionPlatform
In the list search for entry BackupProductKeyDefault.
There are three ways to get Windows 10 product key:
1. Command line. Press Windows key, and type cmd into the Windows 10 desktop search box. Type the following command at the prompt:
wmic path softwareLicensingService get OA3xOriginalProductKey
2. Powershell. Press Windows key, and type PowerShell into the Windows 10 desktop search box. Type the following command at the prompt:
powershell “(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey”
3. Registry file. Press Windows key, and type regedit in the Windows 10 desktop search box. In the tree on the left, search for the following key:
Computer
HKEY_LOCAL_MACHINE
SOFTWARE
Microsoft
Windows NT
CurrentVersion
SoftwareProtectionPlatform
In the list search for entry BackupProductKeyDefault.
There are three ways to get Windows 10 product key:
1. Command line. Press Windows key, and type cmd into the Windows 10 desktop search box. Type the following command at the prompt:
wmic path softwareLicensingService get OA3xOriginalProductKey
2. Powershell. Press Windows key, and type PowerShell into the Windows 10 desktop search box. Type the following command at the prompt:
powershell “(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey”
3. Registry file. Press Windows key, and type regedit in the Windows 10 desktop search box. In the tree on the left, search for the following key:
Computer
HKEY_LOCAL_MACHINE
SOFTWARE
Microsoft
Windows NT
CurrentVersion
SoftwareProtectionPlatform
In the list search for entry BackupProductKeyDefault.
| # | ID | Query | URL | Count |
|---|---|---|---|---|
| 0 | 12532 | en | https://en.ans.wiki/5927/can-i-get-the-windows-10-product-key-in-command-line | 7 |