Cannot launch application on Wifi Connection

1

I followed the instructions on the answer to: How to launch a command on network connection/disconnection? .

Basically, I want to kill uTorrent when I connect to a specific network.

Has something changed or am I doing something wrong?

Trigger Action Start only if network is available

Menios

Posted 2014-01-22T12:10:28.033

Reputation: 176

In the Event Viewer, Navigate: Applications and Service Logs -> Microsoft -> Windows -> TaskScheduler -> Operational. Look for Events with IDs of 101 (Task Start Failed), 112 (Launch condition not met), 126 (Task restarted on failure), and 108 (Task triggered on Event). These should give you a rough idea of what's going on. – jliv902 – 2014-08-14T15:29:04.090

@jliv902 I have the same problem and when I check the logs there are actually 0 events under operational – Rishav – 2019-03-24T19:37:04.147

In the task scheduler, it should show if the event ran successfully, exited with an error, or didn't exit at all. Connect to the network and check to see if anything shows up for the latest run in the task scheduler. Hard to tell if it isn't triggering or if the program you're running has an error. – nhinkle – 2014-01-22T20:45:03.933

When I run the program manually (right click run task - or something similar) it works. When I connect to the network it doesn't do anything. I'm suspecting it's something with the trigger. – Menios – 2014-01-22T20:56:49.567

Answers

0

5 years later just in case you still need help.

I had the same problem. Fixed it by setting the source to Microsoft-Windows-NetworkProfile.

Read the comments on this answer https://superuser.com/a/262880/873761

Rishav

Posted 2014-01-22T12:10:28.033

Reputation: 113

0

In my case, I need to use Trigger with Custom Filter like below

  • Event Level: Information (connect & disconnect has Information level)
  • Logs: Microsoft-Windows-NetworkProfile/Operational
  • EventID: 10000
  • Keywords: Choose All keywords (The 1st option)
  • User: All user (leave default)
  • Computer: All computer (leave default)

The rests are the same as OP's

enter image description here

Lê Quang Duy

Posted 2014-01-22T12:10:28.033

Reputation: 101