This is an old revision of the document!
openVPN script Jason developed to bypass gui unreliability
@echo off
net session >nul 2>&1
if %errorLevel% == 0 (
echo Success: Administrative permissions confirmed.
) else (
echo Failure: Please right click and "Run as administrator"
pause
exit 0
)
cd "c:\Program Files\OpenVPN\config\" && "c:\Program Files\OpenVPN\bin\openvpn.exe [userconfig].ovpn
— oemb1905 2016/11/05 06:46