You can enable deployment of custom scripts
to Windows endpoints using the Windows Registry.
You can configure
the GlobalProtect app to initiate and run a script for any or all
of the following events: before and after establishing the tunnel,
and before disconnecting the tunnel. To run the script at a particular
event, reference the batch script from a command registry entry
for that event.
Depending on the configuration settings, the
GlobalProtect app can run a script before and after the app establishes
a connection to the gateway, and before the app disconnects. Use
the following workflow to use the Windows Registry to customize
app settings for Windows endpoints.
The registry settings
that enable you to deploy scripts are supported on endpoints running
GlobalProtect App 2.3 and later releases.
Open the Windows registry, and locate the GlobalProtect app
Open the Windows registry (enter
the command prompt) and go to one of the following key locations,
depending on when you want to execute scripts (pre/post connect
or pre disconnect):