added files and folders
This commit is contained in:
17
StartOpenVPNatBoot.bat
Normal file
17
StartOpenVPNatBoot.bat
Normal file
@@ -0,0 +1,17 @@
|
||||
timeout 30 >nul
|
||||
start /wait cmd /c "D:\Scripts\StopDownloaders.bat"
|
||||
cd \
|
||||
openvpn-gui.exe --command disconnect_all
|
||||
taskkill /f /im "openvpn-gui.exe"
|
||||
taskkill /f /im "openvpn.exe"
|
||||
taskkill /f /im "openvpnserv.exe"
|
||||
net stop "OpenVPNServiceInteractive"
|
||||
net stop "OpenVPNServiceLegacy"
|
||||
net stop "OpenVPNService"
|
||||
timeout 10 >nul
|
||||
ipconfig /flushdns
|
||||
start openvpn-gui.exe --connect "USMidwest.ovpn"
|
||||
timeout 30 >nul
|
||||
ipconfig /flushdns
|
||||
start /wait cmd /c "D:\Scripts\StartDownloaders.bat"
|
||||
exit
|
||||
Reference in New Issue
Block a user