GlobalProtect App fails to connect with error 'The virtual adapter was not set up correctly due to a delay.' and PanGPS.log shows "local system error 2"

GlobalProtect App fails to connect with error 'The virtual adapter was not set up correctly due to a delay.' and PanGPS.log shows "local system error 2"

32399
Created On 10/24/22 01:56 AM - Last Modified 10/28/26 00:48 AM


Symptom


  • GlobalProtect App fails to connect with the error 'The virtual adapter was not set up correctly due to a delay.'
  • The PanGPS.log shows a specific "local system error 2" error
10:08:40:007 local system error, set error as The virtual adapter was not set up correctly due to a delay. GlobalProtect will try again soon. If the issue persists, try restarting your system.
10:08:40:008 local system error 2, need user action or wait 20 seconds to re-do network discovery 


​​​​​​



Environment


  • PAN-OS firewall configured with GlobalProtect Portal and Gateway
  • GlobalProtect App
  • Windows OS
  • 3rd-party endpoint security apps


Cause


The GP App relies on the Windows system components to access the PANGP Virtual Adapter. The error "The virtual adapter was not set up correctly due to a delay. GlobalProtect will try again soon. If the issue persists, try restarting your system" is a generic error where the PANGP Virtual Adapter is not accessible by the GP App or is not set up correctly. There could be multiple root causes

The 'local system error 2' in PanGPS.log indicates the issue is likely caused by 3rd-party endpoint security app, Windows Update, Windows Patch, etc.

 

 



Resolution


You can try the following steps:

  1. If a Windows patch or update was recently installed, uninstall it
  2. Uninstall the security applications such as Cylance, Trend Micro, etc.
  3. Uninstall GlobalProtect App (steps are below)
  4. Reboot the system
  5. Reinstall GlobalProtect after the system reboot

Uninstall GlobalProtect App:

  1. Uninstall GlobalProtect by running the installer or from 'Uninstall or remove apps and programs' in Windows
  2. Delete the GlobalProtect installation folder - C:\Program Files\Palo Alto Networks\GlobalProtect
  3. Delete the GlobalProtect user folder - C:\Users\<username\AppData\Local\Palo Alto Networks\GlobalProtect\
  4. Delete the registry keys: 
    1. HKEY_CURRENT_USER\SOFTWARE\Palo Alto Networks\GlobalProtect
    2. HKEY_LOCAL_MACHINE\SOFTWARE\Palo Alto Networks\GlobalProtect
  5. Run the following command as an administrator from the windows cmd line:
    1. sc delete PanGPS 
  6. Reboot the PC


Additional Information


To confirm which 3rd party products are installed in the GlobalProtect client, check the following line in PanGpHip.log.

 10:08:03:025 GpGetHipInfo (DETECT_PRODUCTS) output:
{ "result" :
{ "detected_products" : [
...
 "vendor" : 
{ "name" : "Cylance Inc.",
.
.
.

 

The "The virtual adapter was not set up correctly due to a delay" can also happen due to Windows WMI corruption. Please check the article Windows Management Instrumentation Problem causes the Virtual Adapter was not Set up Correctly Due to a Delay Error; GP App reports "The virtual adapter was not set up correctly due to a delay"
 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u000000kEhbCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language