I have been wanting to start using the task scheduler so I can have more control of my PC. I tried finding a way to create a basic task that launches the "Xbox 360 Accessory Status" utility driver when my PC detects a connection with my Xbox 360 controller, and also stops it once connection is terminated. I can't find the correct log trigger to make this happen. I read about DirectInput and XInput and figured that it might be under one of those, but I don't see them on the logs list. What am I looking for to detect when my controller is connected? Obviously I could just have it run at start-up, but as I said I want to learn how to use the task scheduler.

Thanks in advance.