Windows – How to run a Windows application when the ethernet cable is connected


We have a laptop that is primarily used offline, but when it is connected to our network (via ethernet cable), we would like to start a backup application. Is it possible?

The network address is static.

Best Answer

  • You can create a scheduled task to run a program. In the options there is an option to only start the task if a specific network connection is available.

    In the taskoptions, select a trigger and set it to this event data (Event 10000):

    enter image description here

    enter image description here

    In the action tab, select the program you want to run.

  • Related Question