
You’re done! You can test it by logging out and in again. On the first line, write your username and on the second line your password.Įdit the configuration file that you are using to connect to OVPN by opening the file with a text editor such as Notepad++.įind the command auth-user-pass and change it to auth-user-pass password.txt. Usually, they can be found in:Ĭreate a file called password.txt. Go to the configuration directory where you keep the configuration files for OVPN. If you are not comfortable with having a text file with your credentials saved, there is, unfortunately, no other way to automatically connect to OVPN on computer startup.
#Openvpn connect windows password
This requires you to enter your username and password in a text file and save it on your computer. To automatically connect to OVPN, you need to make a few more configurations. If you’ve followed the steps in the guide, OpenVPN will now be run when you log in. On the opened tab, check **Run with highest privileges **, and click OK. If the name of your file is different, enter that name insteadĬheck the box Open the Properties dialog for this task when I click Finish.Ī new window should now open called Properties for OpenVPN (Local Computer). IF the configuration file you are using is named OVPN - Sverige.ovpn. In the field Add arguments (optional ), type: Click Browse, and look up openvpn-gui.exe. It’s time to choose the program that should be opened when you log in.
#Openvpn connect windows free
Under Action, choose Start a program, and click Next. Browse the web anonymously safely and securely ZPN Connect is a free and feature-rich VPN client for Windows PCs.

If you don’t have the Start button, just search for Task Scheduler.Ĭlick Create basic task on the Actions menu on the right-hand side.Įnter OpenVPN as the name for the new activity and click Next. Task SchedulerĬlick the Start button and go to Programs » Accessories » System.

This is a guide explaining how you can set your OpenVPN client to run automatically when you start your computer.
