Persze, PowerShell-el:(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
Ha csak azért olvasnád ki, hogy aktiváld a wint, akkor ezt csináld:if((Get-CimInstance -ClassName SoftwareLicensingProduct | Where-Object {$_.name -match 'windows' -AND $_.PartialProductKey}).LicenseStatus -ne '1'){
slmgr /ipk (Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
slmgr /ato
}
[ Szerkesztve ]