Palo Alto Networks GlobalProtect Silent Install (How-To Guide)

GlobalProtect provides a unique mobile security solution by integrating traditionally distinct technologies, to manage the device, protect the device and control the data. GlobalProtect uses the next-generation security platform to enforce mobile app policies and to identify and prevent mobile threats. This article will serve as an informative guide and give you a clear understanding of how to perform a silent installation of GlobalProtect from the command line using the MSI installer.

How to Install GlobalProtect Silently

Palo Alto Networks GlobalProtect 32-bit Silent Install (MSI)

  1. Log in to your GlobalProtect portal(See link below for further details)
  2. Download the Windows 32 bit GlobalProtect Agent
  3. Copy the GlobalProtect-Windows-32-Bit.msi to a folder created at (C:\Downloads)
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command: MsiExec.exe /i GlobalProtect-Windows-32-Bit.msi /qn
  7. Press Enter

After a few moments you will find GlobalProtect entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:GlobalProtect
Vendor:Palo Alto Networks
Architecture:x86
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i GlobalProtect-Windows-32-Bit.msi /qn
Silent Uninstall Switch:MsiExec.exe /x GlobalProtect-Windows-32-Bit.msi /qn
Repair Command:MsiExec.exe /fa GlobalProtect-Windows-32-Bit.msi /qn
PowerShell Script:Palo Alto Networks GlobalProtect | PowerShell Script
Detection Script:Palo Alto Networks GlobalProtect | Custom Detection Script

Palo Alto Networks GlobalProtect 64-bit Silent Install (MSI)

  1. Log in to your GlobalProtect portal(See link below for further details)
  2. Download the Windows 64 bit GlobalProtect Agent
  3. Copy the GlobalProtect-Windows-64-Bit.msi to a folder created at (C:\Downloads)
  4. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  5. Navigate to the C:\Downloads folder
  6. Enter the following command: MsiExec.exe /i GlobalProtect-Windows-64-Bit.msi /qn
  7. Press Enter

After a few moments you will find GlobalProtect entries in the Start Menu, Installation Directory, and Programs and Features in the Control Panel.

Software Title:GlobalProtect
Vendor:Palo Alto Networks
Architecture:x64
Installer Type:MSI
Silent Install Switch:MsiExec.exe /i GlobalProtect-Windows-64-Bit.msi /qn
Silent Uninstall Switch:MsiExec.exe /x GlobalProtect-Windows-64-Bit.msi /qn
Repair Command:MsiExec.exe /fa GlobalProtect-Windows-64-Bit.msi /qn
PowerShell Script:Palo Alto Networks GlobalProtect | PowerShell Script
Detection Script:Palo Alto Networks GlobalProtect | Custom Detection Script

The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website. Continue reading if you are interested in additional details and configurations.


Additional Configurations

https://docs.paloaltonetworks.com/globalprotect/10-1/globalprotect-admin/globalprotect-apps/deploy-app-settings-transparently/customizable-app-settings

Create a GlobalProtect Installation Log File

The GlobalProtect installer offers the option to generate a log file during installation to assist with troubleshooting should any problems arise. You can use the following commands to create a verbose log file with details about the installation.

GlobalProtect Silent Install with Logging (MSI)

MsiExec.exe /i GlobalProtect.msi /qn /L*v "%WINDIR%\Temp\GlobalProtect-Install.log"

Configure the Portal Address

Option 1
MsiExec.exe /i GlobalProtect.msi PORTAL="portal.companyname.com" /qn
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\PanSetup" /v "Portal" /t REG_SZ /d "portal.companyname.com" /f

Allow Users to Connect to Portal if Certificate is Not Valid

Option 1
MsiExec.exe /i GlobalProtect.msi CANCONTINUEIFPORTALCERTINVALID="yes" /qn
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "can-continue-if-portal-cert-invalid" /t REG_SZ /d "yes" /f

Prevent Users From Connecting to Portal if Certificate is Not Valid

Option 1
MsiExec.exe /i GlobalProtect.msi CANCONTINUEIFPORTALCERTINVALID="no" /qn
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "can-continue-if-portal-cert-invalid" /t REG_SZ /d "no" /f

Enable Advanced View

Option 1
MsiExec.exe /i GlobalProtect.msi ENABLEADVANCEDVIEW="yes" /qn
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "enable-advanced-view" /t REG_SZ /d "yes" /f

Disable Advanced View

Option 1
MsiExec.exe /i GlobalProtect.msi ENABLEADVANCEDVIEW="no" /qn
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "enable-advanced-view" /t REG_SZ /d "no" /f

Display GlobalProtect Icon

Option 1
MsiExec.exe /i GlobalProtect.msi SHOWAGENTICON="yes" /qn
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "show-agent-icon" /t REG_SZ /d "yes" /f

Hide GlobalProtect Icon

Option 1
MsiExec.exe /i GlobalProtect.msi SHOWAGENTICON="no" /qn
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "show-agent-icon" /t REG_SZ /d "no" /f

Enable Rediscover Network Option

Option 1
MsiExec.exe /i GlobalProtect.msi REDISCOVERNETWORK="yes" /qn
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "rediscover-network" /t REG_SZ /d "yes" /f

Disable Rediscover Network Option

Option 1
MsiExec.exe /i GlobalProtect.msi REDISCOVERNETWORK="no" /qn
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "rediscover-network" /t REG_SZ /d "no" /f

Enable Resubmit Host Profile Option

Option 1
MsiExec.exe /i GlobalProtect.msi RESUBMITHOSTINFO="yes" /qn
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "resubmit-host-info" /t REG_SZ /d "yes" /f

Disable Resubmit Host Profile Option

Option 1
MsiExec.exe /i GlobalProtect.msi RESUBMITHOSTINFO="no" /qn
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "resubmit-host-info" /t REG_SZ /d "no" /f

Show System Tray Notifications

Option 1
MsiExec.exe /i GlobalProtect.msi SHOWSYSTEMTRAYNOTIFICATIONS="yes" /qn
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "show-system-tray-notifications" /t REG_SZ /d "yes" /f

Hide System Tray Notifications

Option 1
MsiExec.exe /i GlobalProtect.msi SHOWSYSTEMTRAYNOTIFICATIONS="no" /qn
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "show-system-tray-notifications" /t REG_SZ /d "no" /f

Allow User to Change Portal Address

Option 1
MsiExec.exe /i GlobalProtect.msi /qn CANCHANGEPORTAL="yes"
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "can-change-portal" /t REG_SZ /d "yes" /f

Prevent User from Changing Portal Address

Option 1
MsiExec.exe /i GlobalProtect.msi /qn CANCHANGEPORTAL="no"
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "can-change-portal" /t REG_SZ /d "no" /f

Allow User to Dismiss Welcome Page

Option 1
MsiExec.exe /i GlobalProtect.msi /qn ENABLEHIDEWELCOMEPAGE="yes"
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "enable-hide-welcome-page" /t REG_SZ /d "yes" /f

Prevent User from Dismissing Welcome Page

Option 1
MsiExec.exe /i GlobalProtect.msi /qn ENABLEHIDEWELCOMEPAGE="no"
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "enable-hide-welcome-page" /t REG_SZ /d "no" /f

Allow User to Disable GlobalProtect App

Option 1
MsiExec.exe /i GlobalProtect.msi /qn DISABLEALLOWED="yes"
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "disable-allowed" /t REG_SZ /d "yes" /f

Prevent User from Disabling GlobalProtect App

Option 1
MsiExec.exe /i GlobalProtect.msi /qn DISABLEALLOWED="no"
Option 2
REG ADD "HKLM\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings" /v "disable-allowed" /t REG_SZ /d "no" /f

How to Uninstall Palo Alto Networks GlobalProtect Silently

Check out the following posts for a scripted solution:

Palo Alto Networks GlobalProtect Install and Uninstall (PowerShell)
Palo Alto Networks GlobalProtect Silent Uninstall (PowerShell)
  1. Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
  2. Enter one of the following commands:

Palo Alto Networks GlobalProtect 32-bit Silent Uninstall (MSI)

TASKKILL /F /IM PanGPS.exe
TASKKILL /F /IM PanGPA.exe
MsiExec.exe /x GlobalProtect-Windows-32-Bit.msi /qn

Palo Alto Networks GlobalProtect 64-bit Silent Uninstall (MSI)

TASKKILL /F /IM PanGPS.exe
TASKKILL /F /IM PanGPA.exe
MsiExec.exe /x GlobalProtect-Windows-64-Bit.msi /qn

Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.

Jason Bergner

I am an accomplished Software Engineer at Patch My PC, leveraging more than 18 years of hands-on experience in Configuration Manager administration and application packaging. I am driven by a genuine passion for solving complex problems and consistently strive to discover innovative and effective solutions. Sharing my extensive knowledge of application deployments is a true joy for me, and I am honored to contribute to the community here at Silent Install HQ.

Recent Posts