Do group policy Startup scripts run for people who launch VPN?

Solution 1:

Logon scripts run when a user logs onto the computer. If the computer is not connected to the VPN, and therefore not connected to your corporate network when the user logs onto the computer, then the logon script is not going to run when the user logs onto the computer. You can look into using a VPN client that connects prior to the user logging on (although I don't think the WG VPN client has this option), or find another method for performing whatever actions the logon script performs, such as putting a copy of the logon script on the desktop of the users and informing then to run the logon script after they connect to the VPN.

Startup scripts are for computers. They run when the computer starts up, so long as the computer is connected to the corporate network.

Logon scripts are for users. They run when the user logs on, so long as the computer is connected to the corporate network.