Start and Close a OpenVPN Connection via Scheduled Task
Posted: Fri Aug 29, 2014 10:47 am
Hello everbody,
as you can see in the subject ive to create a scheduled task to open and close a OpenVPN Connection.
First of all: I use a Microsoft Operation System
When i open the OpenVPN Connection via Scheduled Task the Application is hang on, i dont get a connection to the destination.
The Scheduled Task have this configuration in Action:
Program/script: "C:\Program Files\OpenVPN\bin\openvpn-gui.exe"
Arguments: --config_dir "C:\Program Files\OpenVPN\config\" --connect openvpn.ovpn
The task is running, but nothing more is happen after the start time.
On Windows Task Manager i see following processes:
openvpn.exe
openvpn-gui.exe
It looks like both Proccesses are stand still, there is no activity in CPU or Memory.
Can someone tell me how im able to open and close a OpenVPN Connection automatically via Scheduled Task?
Thanks a lot
as you can see in the subject ive to create a scheduled task to open and close a OpenVPN Connection.
First of all: I use a Microsoft Operation System
When i open the OpenVPN Connection via Scheduled Task the Application is hang on, i dont get a connection to the destination.
The Scheduled Task have this configuration in Action:
Program/script: "C:\Program Files\OpenVPN\bin\openvpn-gui.exe"
Arguments: --config_dir "C:\Program Files\OpenVPN\config\" --connect openvpn.ovpn
The task is running, but nothing more is happen after the start time.
On Windows Task Manager i see following processes:
openvpn.exe
openvpn-gui.exe
It looks like both Proccesses are stand still, there is no activity in CPU or Memory.
Can someone tell me how im able to open and close a OpenVPN Connection automatically via Scheduled Task?
Thanks a lot