End-of-Life (EoL)

Example: Use Msiexec to Deploy Scripts that Run Before a Connect Event

For a script that you can copy and paste, go here.
msiexec.exe /i GlobalProtect.msi PREVPNCONNECTCOMMAND="%userprofile%\pre_vpn_connect.bat c: test_user" PREVPNCONNECTCONTEXT="user" PREVPNCONNECTTIMEOUT="60" PREVPNCONNECTFILE="C:\Users\test_user\pre_vpn_connect.bat" PREVPNCONNECTCHECKSUM="a48ad33695a44de887bba8f2f3174fd8fb01a46a19e3ec9078b0 118647ccf599" PREVPNCONNECTERRORMSG="Failed executing pre-vpn-connect action."
For a complete list of settings and the corresponding default values, see Customizable Agent Settings. Or, for examples of batch scripts, see Windows OS Batch Script Examples.

Recommended For You