Replace the GP Portal Address on GP App client by modifying registry keys
Objective
For example, a customer is migrating from old.portal.example to new.portal.example portal and want to replace the old address with the new one only by modifying registries on Windows OS. Once registries are modified and GP App gets restarted, the user is expected to see the new portal address selected
Environment
GlobalProtect App
Windows OS
Procedure
Try the following Steps 1 - 9 on a test client machine if you want to completely replace the old portal address with the new one.
In case you want both the old and new portal addresses to coexist for some time, skip Steps 2 and 6 (i.e. don't remove old portal KEYs (i.e registry folder)).
HKEY_CURRENT_USER
1. Put the value of the new portal address (new.gpvpn.example) in the Computer\HKEY_CURRENT_USER\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings\LastUrl registry
2. Remove the old portal Computer\HKEY_CURRENT_USER\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings\old.gpvpn.example KEY (i.e folder) that holds other registries
3. Add the new portal KEY (i.e folder) (new.gpvpn.example) under Computer\HKEY_CURRENT_USER\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings\
HKEY_LOCAL_MACHINE
4. Put the value of the new portal address (new.gpvpn.example) in the Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Palo Alto Networks\GlobalProtect\PanSetup\Portal registry
5. Put the value of the new portal address (new.gpvpn.example) in the Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings\LastUrl registry
6. Remove the old portal Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings\old.gpvpn.example KEY (i.e folder) that holds other registries
7. Add the new portal KEY (new.gpvpn.example) under Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Palo Alto Networks\GlobalProtect\Settings\
8 Restart the PanGPS service. Just after the restart of PanGPS, GP App is expected to pick the new portal address
9. Once the user connects to the new portal and get the config, the newly added KEYs (in step 3 and 7) would get auto-filled with new registry keys