Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Tedstonegenious

How to write a script for PIA to auto connect when connecting to a certain network.

Recommended Posts

Posted · Original PosterOP

I have created a custom schedule in windows scheduler to launch PIA when connecting to my school's wifi. But what I want is for it to automatically connect when connecting to my school network. All mine will do so far is launch the PIA client. I think I need to attach a script, but I don't know how to write one. 

Link to post
Share on other sites

You should use the PIA command line parameters to specify that you want to connect on launch. This should be under

Task -> Edit -> Actions Tab -> Edit Action -> Add Arguments
 

Command line options:

https://www.privateinternetaccess.com/helpdesk/kb/articles/pia-desktop-command-line-interface


PLEASE QUOTE ME IF YOU ARE REPLYING TO ME
LinusWare Dev | NotCPUCores Dev

Desktop Build: Ryzen 7 1800X @ 4.0GHz, AsRock Fatal1ty X370 Professional Gaming, 32GB Corsair DDR4 @ 3000MHz, RX480 8GB OC, Benq XL2730 1440p 144Hz FS

Retro Build: Intel Pentium III @ 500 MHz, Dell Optiplex G1 Full AT Tower, 768MB SDRAM @ 133MHz, Integrated Graphics, Generic 1024x768 60Hz Monitor


 

Link to post
Share on other sites
Posted · Original PosterOP

I am aware of the start at launch feature. But I want it to be launched only when I connect to the school wifi. Mainly because they have many sites locked (including some useful ones) And I want the VPN to circumvent that. 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×