trunxson
I operate a remote windows (vista) server. This server is logged on and off/shutdown on a daily routine using task manager. If i shutdown the server before the VPN is disconnected I get tap/ IP in use errors on the next day restart. I would like to avoid this by disconnecting VPN before the tasked shutdown. While Task Manager can open and connect using the --connect argument, there doesn't appear to be the same --disconnect option. Therefor I am looking to any way to carry out this function .
At the moment I use Teamviewer and do this task manually but i need to automate it or, alternatively, is there a script that will stop my connection screwing up next bootup following a forced shutdown