You can configure the GlobalProtect agent 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. The following
examples show scripts you can run on Windows systems at pre-connect, post-connect,
and pre-disconnect events: