Windows 10: VPN dies if a task use connection event to run a program

Discus and support VPN dies if a task use connection event to run a program in Windows 10 Software and Apps to solve the problem; This is the trigger in my taskAnd this is the actionIt is simple, I want to add some routes after my VPN connection is estasbilished. The content of... Discussion in 'Windows 10 Software and Apps' started by Raikoug, May 22, 2023.

  1. Raikoug Win User

    VPN dies if a task use connection event to run a program


    This is the trigger in my taskAnd this is the actionIt is simple, I want to add some routes after my VPN connection is estasbilished. The content of the bat file is:route add 192.168.4.0 mask 255.255.255.0 192.168.0.1If I run this manually after connecting to the VPN it works and VPN doesn't die.If I enable the task, the script run, but the VPN dies quite immediately.These are the other configuration on the task:The VPN connection dies with a code 631.What could the issue be to make this happens?ThanksRiccardo

    :)
     
    Raikoug, May 22, 2023
    #1
  2. Knoxx29 Win User

    Vpn ( trusted Vpn)

    Hi everyone.
    I am not an expert about Vpn and that's why I would like to know if someone could list me a few trusted Vpns, I would really appreciate any suggestion/ advice.

    Thanks.
     
    Knoxx29, May 22, 2023
    #2
  3. P4-630 Win User
    Vpn ( trusted Vpn)

    Tired of Germany blocking many youtube videos? *Big Grin VPN dies if a task use connection event to run a program :D
     
    P4-630, May 22, 2023
    #3
  4. Nikhar_K Win User

    VPN dies if a task use connection event to run a program

    Trigger Task Scheduler by connection and disconnection of a wireless headphone

    Hi Paul,



    Thank you for writing to Microsoft Community Forums.



    We understand that you want to trigger a task in Task Scheduler when you connect headphone to your PC.



    We would suggest you to try the steps mentioned below and see if that helps:



    1. Connect the headphone to the computer. Now, press
      Windows key + X, and select Device Manager.
    2. Expand Bluetooth, right click on the
      headphone and select Properties.
    3. Click on Events tab, you will find 2 events.
    4. Click on the Device started event and click on
      View All Events.
    5. An Event Manager window will open, click on
      Attach Task To This Event on the lower right hand side.
    6. This should provide you the options to create a new task. Select the Actions for the program to be run based on the trigger.


    Let us know how it goes.



    Regards,

    Nikhar Khare

    Microsoft Community - Moderator
     
    Nikhar_K, May 22, 2023
    #4
Thema:

VPN dies if a task use connection event to run a program

Loading...
  1. VPN dies if a task use connection event to run a program - Similar Threads - VPN dies task

  2. VPN dies if a task use connection event to run a program

    in Windows 10 Gaming
    VPN dies if a task use connection event to run a program: This is the trigger in my taskAnd this is the actionIt is simple, I want to add some routes after my VPN connection is estasbilished. The content of the bat file is:route add 192.168.4.0 mask 255.255.255.0 192.168.0.1If I run this manually after connecting to the VPN it works...
  3. Task Scheduler running a program minimized.

    in Windows 10 Software and Apps
    Task Scheduler running a program minimized.: I have seen a lot of people asking the question about running a program minimized in Task Scheduler.Nobody seemed to have had an answer.This worked for me.......
  4. Task run at program launch

    in Windows 10 Ask Insider
    Task run at program launch: I have a question and can't find an answer. I'm trying to make a task in task scheduler that would do an action at start of a specific program, but there (quite annoyingly) is no simple way to do it, which seems odd, but maybe it's not a common thing. Is there a way to do it...
  5. What is this: "Program" running in task Manager

    in Windows 10 Ask Insider
    What is this: "Program" running in task Manager: [ATTACH] submitted by /u/PsychedelicPistachio [link] [comments] https://www.reddit.com/r/Windows10/comments/en91f0/what_is_this/
  6. Remote Desktop connection using VPN connection

    in Windows 10 Network and Sharing
    Remote Desktop connection using VPN connection: Hello there, Can anyone help me with the below issue please, For some reason, i couldn't connect to my work remote desktop computer. However, i can connect this from my laptop. Recently got a new Desktop so, wanted to connect to my work virtual computer from my desktop....
  7. schedual a task to run a program within a program

    in Windows 10 Customization
    schedual a task to run a program within a program: task scheduler is easy to use up to a point for those who can fathom the basics. My problem is I am using SyncToy for backing up to my home server. Whilst I can task SyncToy to run how do I get it to open and then run a program within , ie "run all folder pairs" Any help...
  8. How to run a program in task scheduler?

    in Windows 10 Software and Apps
    How to run a program in task scheduler?: I have installed Speedfan and it won't run at the windows startup, so I tried to schedule it in task scheduler, I am not familiar with using it and wondered if there is a guide for W10 64 anywhere or if anyone can tell me how? Many thanks in advance! John. 13863
  9. Task Scheduler doesn't run program

    in Windows 10 Performance & Maintenance
    Task Scheduler doesn't run program: I'm running a task schedule to run a program at a certain time. It worked great in windows 7 but since I upgraded to 10 nothing happens when the task is run. I've run SFC and Dism see below and no problems found. C:\WINDOWS\system32>sfc /scannow Beginning system scan....
  10. Task Scheduler not running programs...

    in Windows 10 Support
    Task Scheduler not running programs...: Hello Guys, I have a Windows 10 Laptop. Tried using Task Scheduler to automatically run Good Sync program on a predefined schedule. However, it fails to run the program. My user account has administrative priviledges. Thanks for your replies. 37970