Information
Get Windows Licence
Cmd
wmic path softwarelicensingservice get OA3xOriginalProductKey
PowerShell
(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform
-> BackupProductKeyDefault