Start a Program Automatically When Hooking a Laptop Onto a Docking Station

by suriono in Circuits > Microsoft

1558 Views, 1 Favorites, 0 Comments

Start a Program Automatically When Hooking a Laptop Onto a Docking Station

internetexp.png

This instructible is about how to run a program or an application when you hook your laptop onto a docking station.

In this example I am using Lenovo T480 Windows 10.

Open Task Scheduler

taskschedule.png

Press the Window key then type "Task Scheduler" and it will open the application

Create a Task

createtask.png

Click the "Create a Basic Task" on the right hand menu of the Task Scheduler window.

Fill in the name and description, whatever you want.

Then click "Next" button on the bottom.

Trigger Event

trigger.png

Select "When a specific event is logged"

Then press "Next" button

Select the Event

event.png

This is the part to select the event in which the laptop is hooked on a docking station.

Follow what is shown on the picture in this step.

Then press "Next" button.

Select a Program

selectprogram.png
internetexp.png
finish.png

Select the "Start a program" then press "Next" button.

The next window show the program or script to run. Browse to the location of a program you wish to run. In this example I browse and select the Internet Explorer app.

Press "Next" button then in the next window press "Finish"

That's it. The program will run whenever you hook your laptop into a docking station.