|
|
@@ -53,7 +53,7 @@ export function generateUserData(machineGuid: string, adminPassword: string): st
|
|
|
'',
|
|
|
'# Install GlobalProtect if not already installed',
|
|
|
'if (-not (Test-Path "C:\\Program Files\\Palo Alto Networks\\GlobalProtect\\PanGPS.exe")) {',
|
|
|
- ' Start-Process msiexec.exe -ArgumentList \'/i "C:\\Users\\Administrator\\Downloads\\GlobalProtect64.msi" DEFAULTBROWSER=YES /quiet /norestart\' -Wait',
|
|
|
+ ' Start-Process msiexec.exe -ArgumentList \'/i "C:\\Users\\Administrator\\Downloads\\GlobalProtect64.msi" /quiet /norestart\' -Wait',
|
|
|
'}',
|
|
|
'',
|
|
|
`Set-ItemProperty -Path "HKLM:\\SOFTWARE\\Microsoft\\Cryptography" -Name "MachineGuid" -Value "${machineGuid}"`,
|