Difference between revisions of "OpenVPN Startup"
(3 intermediate revisions by the same user not shown) | |||
Line 60: | Line 60: | ||
<p><br/> | <p><br/> | ||
4. Go to the '''Triggers''' tab and hit '''New...'''<br/><br/> | 4. Go to the '''Triggers''' tab and hit '''New...'''<br/><br/> | ||
− | 5. Select Begin the task: '''At Log on''' then hit '''OK'''.<br/> | + | 5. Select Begin the task: '''At Log on'''.<br/><br/> |
+ | 5b. Checkmark '''Delay task for:''' and select '''30 seconds''' then hit '''OK'''.<br/> | ||
<br/> | <br/> | ||
</p> | </p> | ||
Line 79: | Line 80: | ||
7. Hit '''Browse...''' and Locate the '''openvpn-gui.exe''' file which should be in ''C:\Program Files\OpenVPN\bin\openvpn-gui.exe''.<br/><br/> | 7. Hit '''Browse...''' and Locate the '''openvpn-gui.exe''' file which should be in ''C:\Program Files\OpenVPN\bin\openvpn-gui.exe''.<br/><br/> | ||
8. Copy '''--connect "BTGuard (Fastest).ovpn"''' into the ''''Add arguments (optional):''' Field then hit '''OK'''.<br/><br/> | 8. Copy '''--connect "BTGuard (Fastest).ovpn"''' into the ''''Add arguments (optional):''' Field then hit '''OK'''.<br/><br/> | ||
+ | <br/> | ||
+ | Depending on your computer, the '''openvpn-gui.exe''' could be located at '''C:\Program Files (x86)\OpenVPN\bin\openvpn-gui.exe'''<br/> | ||
+ | Please change the links accordingly. <br/> | ||
<br/> | <br/> | ||
''Note that you need to replace '''"BTGuard (Fastest).ovpn"''' with one of the file names found in '''"C:\Program Files\OpenVPN\config"''' if you have made some changes in the config files or are using the CA or EU config files.'' | ''Note that you need to replace '''"BTGuard (Fastest).ovpn"''' with one of the file names found in '''"C:\Program Files\OpenVPN\config"''' if you have made some changes in the config files or are using the CA or EU config files.'' |
Latest revision as of 12:04, 1 July 2015
How To Run and AutoConnect OpenVPN GUI when Windows Starts
Prerequisite:
- Your password must already be saved using this method.
1. Hit the Windows key and type in schedule to open the Task Scheduler.
4. Go to the Triggers tab and hit New...
5. Select Begin the task: At Log on.
5b. Checkmark Delay task for: and select 30 seconds then hit OK.
6. Go to the Actions tab and hit New....
7. Hit Browse... and Locate the openvpn-gui.exe file which should be in C:\Program Files\OpenVPN\bin\openvpn-gui.exe.
8. Copy --connect "BTGuard (Fastest).ovpn" into the 'Add arguments (optional): Field then hit OK.
Depending on your computer, the openvpn-gui.exe could be located at C:\Program Files (x86)\OpenVPN\bin\openvpn-gui.exe
Please change the links accordingly.
Note that you need to replace "BTGuard (Fastest).ovpn" with one of the file names found in "C:\Program Files\OpenVPN\config" if you have made some changes in the config files or are using the CA or EU config files.