How to auto reconnect? alternatively how to delay the launch of PIA?

edited February 2018 in Windows VPN Setup
I have set PIA up to connect at launch and to launch when Windows starts. But when my laptops login to Windows PIA will usually fail to connect. Then I have to manually connect it which is pretty darn annoying, especially since I got 8 laptops to do it on... The succes rate for PIA to auto connect at launch is something like 2 out of 8. The success rate seems better than this for the laptops that have the best CPU, and worse for the lesser CPU's. I am suspecting that the cause is that in the case of especially the slower CPU laptops they don't finish connecting properly to the wifi signal in time before PIA makes it attempt at connecting? Im thinking three possible solutions here: 1. make PIA attempt to reconnect after it has disconnected (but I see no options for this?). 2. delay PIA's auto connect attempt after it has launched (again I do not see any options for this). 3. Somehow delay the launching of the PIA application, like delay it's launch with 30 seconds or something, such that Windows has sufficient time to finish doing it's thang upon login and has properly connected to the wifi signal.

Im not sure though how I would go about enacting any of these three solutions?

Comments

  • PIA uses the Task Scheduler in order to launch itself on boot, so it should be fairly simple to do:
    1. Search for "taskschd" in the start menu and open the Task Scheduler application.
    2. In the top panel of the center area, right click on the "Private Internet Access" entry and select Properties
    3. Go to the Triggers tab
    4. Click on the Edit... button
    5. Finally, check the "Delay task for:" box and set the delay you want to use in the dropdown menu right next to it.
    6. Click OK on both windows to save
  • Great info. Thank you Max-P :)
  • Max-P said:
    PIA uses the Task Scheduler in order to launch itself on boot, so it should be fairly simple to do:
    1. Search for "taskschd" in the start menu and open the Task Scheduler application.
    2. In the top panel of the center area, right click on the "Private Internet Access" entry and select Properties
    3. Go to the Triggers tab
    4. Click on the Edit... button
    5. Finally, check the "Delay task for:" box and set the delay you want to use in the dropdown menu right next to it.
    6. Click OK on both windows to save
    Ah after trying to implement this, unfortunately it seems that PIA still fails very often to connect properly the first time. Initially I had thought this was because Windows weren't ready soon enough, but even with long delays after windows login PIA still fails. Why does PIA fail the first time so often? Is there some way to have PIA try to reconnect on failed connect attempt?
  • @p3637599 Can you submit me a debug log from the PIA application and post the resulting ID here? That will submit your system's IP configuration, routing table as well as the connection log from OpenVPN so we can have a look and see exactly for what reason it fails to connect :)
  • tddtdd
    edited February 2018
    Note that I also experience PIA not attempting to reconnect (ever) again if it tried connecting once and some kind of problem prevented it from succeeding (e.g. the router is temporarily offline).

    E.g. you tell it to Connect, it goes into the "Connecting" state, which keeps trying to connect until a timeout. After that timeout is reached, it goes back into the "Disconnected" state and never ever tries to connect again.

    This is a huge problem if you rely on your PC being online (or doing its best to stay online) while you are away.
Sign In or Register to comment.