Check Firmware-embedded Activation Key
To determine if the computer has a firmware-embedded activation key, type the following command at an elevated Windows PowerShell prompt:
(Get-CimInstance -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKeyHere is the command that you can use in an elevated Windows Command Line prompt:
wmic path softwareLicensingService get OA3xOriginalProductKeyIf the device has a firmware-embedded activation key, it will be displayed in the output. If the output is blank, the device does not have a firmware embedded activation key. Or you may have typed the command incorrectly, double check syntax. Most OEM-provided devices designed to run Windows 8 or later will have a firmware-embedded key.
You can assign the license to Windows via the command line with this command:
slmgr /ipk win_license_key_here