Changes
→Changes
=Changes=
*VPN VBs script now called within batch file (keeps main WPKG shell window hidden)
=More Changes=
If you have the wpkg clients installed and if you use the wpkg service, set up a logon delay (3 minutes for example). You can run the check-vpn.vbs script in the domain logon script to determine whether the client is in the local subnet(s) or not. If the Client is in the VPN subnet (errorlevel 1), just stop the WPKG Service. (net stop "WPKG Service".
Another possible solution is to add this "workaround batch script" to the regular tasks and run it for example every 10 Minutes.
==check-vpn.vbs==