Hi Everyone!
I was wondering if anyone knew of a way to have softether client disconnect and reconnect based on a schedule or task manager using batch file or something similar on Windows PC? Any thoughts would be appreciated!
Thank you!
Scheduling Automatic Connect/Disconnect
-
- Posts: 1589
- Joined: Sun Feb 14, 2021 10:31 am
Re: Scheduling Automatic Connect/Disconnect
Easy...
...and to disconnect: AccountDisconnect
Code: Select all
@echo off
path=%path%;C:\Program Files\SoftEther VPN Client
vpncmd /CLIENT localhost /CMD AccountRetrySet con-name /NUM:0 /INTERVAL:5
vpncmd /CLIENT localhost /CMD AccountConnect con-name