GP User-logon (Always On) doesn't connect

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Palo Alto Networks Approved
Palo Alto Networks Approved
Community Expert Verified
Community Expert Verified

GP User-logon (Always On) doesn't connect

L6 Presenter

We are preparing configuration of GP for Windows based terminals which need to connect automatically when Windows AutoLogon happens. But in most cases GP remains disconnected because it tries to connect too early when network isn't fully connected yet. If I click on Connect it connects immediately. But of course this isn't an option,

Any ideas how to make this work? How to make GP client to try to connect constantly even if it fails a few times first? Or how to delay GP to try to connect a bit later? 

 

One idea was to make a script which would trigger GP Connect a bit later but to my big dissapointment I read somewhere that GP doesn't support any commands from CMD.

 

Any other ideas please?

GlobalProtect 

 

2 accepted solutions

Accepted Solutions

Community Team Member

Hi @${userLoginName} ,

 

Sounds like you're running into a race condition where the GlobalProtect service starts before the network stack is fully initialized.

Have you tried delaying the startup ?

 

You should be able to locate the PanGPS service in services.msc and change the startup type from "Automatic" to "Automatic (Delayed Start)".

This should tell Windows to wait a while after all critical system services have started before it runs the PanGPS service, giving the network stack plenty of time to initialize. If I'm not mistaken the default is 2minutes delay.

 

Hope this helps,

-Kim.

LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

View solution in original post

Thank you for the info. I didn't know this "Automatic (Delayed Start)" for Windows services. And yes, delayed start for PanGPS service solves the issue.

Another way (as there are no CMD commands possible for GP now) is to restart the PanGPS service (net stop PanGPS; timeout /t 5 >nul ; net start PanGPS).

 

But I would still like to know default behavior of GP client in the mentioned scenario (User-logon (Always On) with Windows AutoLogon but no network connection at service start). I have opened a TAC case for this, will post the findings here once I get something useful. 

View solution in original post

2 REPLIES 2

Community Team Member

Hi @${userLoginName} ,

 

Sounds like you're running into a race condition where the GlobalProtect service starts before the network stack is fully initialized.

Have you tried delaying the startup ?

 

You should be able to locate the PanGPS service in services.msc and change the startup type from "Automatic" to "Automatic (Delayed Start)".

This should tell Windows to wait a while after all critical system services have started before it runs the PanGPS service, giving the network stack plenty of time to initialize. If I'm not mistaken the default is 2minutes delay.

 

Hope this helps,

-Kim.

LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

Thank you for the info. I didn't know this "Automatic (Delayed Start)" for Windows services. And yes, delayed start for PanGPS service solves the issue.

Another way (as there are no CMD commands possible for GP now) is to restart the PanGPS service (net stop PanGPS; timeout /t 5 >nul ; net start PanGPS).

 

But I would still like to know default behavior of GP client in the mentioned scenario (User-logon (Always On) with Windows AutoLogon but no network connection at service start). I have opened a TAC case for this, will post the findings here once I get something useful. 

  • 2 accepted solutions
  • 532 Views
  • 2 replies
  • 0 Likes
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!