Starting scheduled task by detecting connection of USB drive

Posted by gemisigo on Super User See other posts from Super User or by gemisigo
Published on 2010-12-07T14:49:30Z Indexed on 2012/10/10 3:41 UTC
Read the original article Hit count: 180

I know it has been discussed before several times that it is not possible to start an application from an usb drive when connecting it due to limitations of autorun (or autoplay??) in Win 7. But it is possible to create a scheduled task having On an event type trigger and surely there must be an event occurring when the drive is connected.

Does anybody have the slightest idea which Event ID should I use? Or at least what type of event? There are too many logs to pick from.

© Super User or respective owner

Related posts about windows-7

Related posts about scheduled-tasks