private function getWindowsId() : ?string { $out = exec('powershell.exe -Command "Get-ItemPropertyValue -Path HKLM:\\SOFTWARE\\Microsoft\\Cryptography -Name MachineGuid"'); if ($out !== false) { return $out; } return null; }