Prompt dei comandi:

wmic path softwarelicensingservice get OA3xOriginalProductKey

PowerShell:

powershell “(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey”