Auto Login Global Protect by run scrip .bat?

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Please sign in to see details of an important advisory in our Customer Advisories area.

Auto Login Global Protect by run scrip .bat?

L2 Linker

I have questions about the Global Protect, if I need to use .bat scripts to auto login GlobalProtect and auto connect a VPN too.
Does this solution support on GP? In case the PC is at the branch and no staff at the branch.






Hi @Jitaphon,

As far as I am aware this should not be possible. Unfortunately GlobalProtect agent for Windows does not provide any options to use the agent with CLI or script. At least not official one.


Having that said I would think of few other options that you could consider for unattended remote access to the endpoint:

- GlobalProtect agent with Always-on connection mode and certificate authentication. If you don't use certificate authentication for the rest of your GP users you can config the FW to authenticate user either by credentials or by certificate (which ever is presented by the connecting user)


- Consider third party IPsec VPN software. PAN FW can use X-Auth, which should basically means any third party IPsec VPN client could connect. In this case you need to find any that could be start with batch script as you want.


- Consider building IPsec site-to-site tunnel with the branch office and PAN FW.

L2 Linker

Hi @ 


Thanks for your suggestion.


  • 2 replies
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!