This question already has an answer here:

I'm not talking about autorun (because I use Windows 7 and understand that this has been disabled now) but a task that I can create that will detect when a certain USB device has been plugged in.

Basically its to operate as a backup. My idea is to create a bunch of profiles using Syncback and use a batch script to run these when my portable hard drive is plugged in. This way I can never forget to backup.

I've got to the part where I can create a new task, and understand it is some sort of event trigger, but I'm not sure which 'log' I need to chose and where to go from there

marked as duplicate by Karan, Ƭᴇcʜιᴇ007, terdon, Dave, Tog Mar 11 '13 at 9:31

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


The only flaw with this plan is that it will only occur when the drive is initially plugged in. With SyncBack, you can set scheduled tasks to automatically back up on an interval. If it does not see the drive available then the task scheduled for that day will be omitted and it will be available the next scheduled time.

To directly answer your question, check out as they may have the solution that you're looking for using Task Scheduler 2 and triggered events.


  • Check out their first answer. I was able to follow their steps (same for Windows 7) and trigger a task when an event occurs (plugging in specific USB device) – kobaltz Dec 27 '11 at 5:29
  • Hello @kobaltz, what answer where you referring to? this is the only one left for this question – Jess Stone Jul 30 '14 at 8:44
  • 1
    It was the answer referencing Task Scheduler 2.0 msdn.microsoft.com/en-us/library/bb756979.aspx – kobaltz Jul 30 '14 at 12:30

Not the answer you're looking for? Browse other questions tagged or ask your own question.