Yes! It is possible to have OpenVPN, remember your PIA username and password so it is not necessary to type it in each time you connect. The method varies depending on your operating system. Below we have provided you with instructions on how to configure your OS OpenVPN application to remember your username and password.
To save your username and password,
Step 1: Open your OpenVPN App.
Right-click on the icon for OpenVPN as if you were going to connect to a server.
Step 2: Edit Config.
Go to the server you wish to connect to, but instead of clicking connect, click Edit Config. This will open the config file for the server you chose.
Step 3: Add Command
Within the config file, add the following line:
Step 4: Save
Save the changes made to the config file.
Step 5: Notepad
Next, Go to and open Notepad, and click New.
Step 6: Type Credentials
Within the new Notepad window, you will type your PIA username and password.
On the very first line, type your username. Then press Enter, and on the second line, type your password. It should look similar to this when completed:
Note: The above is an example please use your own username and password instead of the examples I have provided.
Step 7: Save
Save the document as pass.txt to the following location:
C:\Program Files (x86)\OpenVPN\config,
and in the future, your OpenVPN Application shouldn't prompt you for your username or password again.
Note: Windows may not allow you to save the file in the above location. In this case, save it to your desktop as pass.txt, and then drag it into the OpenVPN config folder here:
C:\Program Files (x86)\OpenVPN\config
Saving your username and password in Viscosity or Tunnelblick is as simple as checking the option to Save in Keychain for your username and password when connecting to the server. You will likely have to do this once for each server that you wish to connect to, but after it has been done once you should not have to do it a second time.