Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Scheduler/trigger events

29 Oct 2009   #1

Win 7
Scheduler/trigger events


I am on Windows 7 enterprise. I use a script to backup my external harddrive to a NAS. (\\NAShome\openshare) (in the script i use "robocopy)

I want to use the scheduler to run the script WHEN I POWER ON THE NAS.. This should be possible with trigger-event. I just can't figure out which one...

Do you know which event/trigger? Or do you know a site which explains the triggers in the scheduler?


My System SpecsSystem Spec
22 May 2011   #2

Win 7 Pro x64

Did you ever find the answer to this question?
My System SpecsSystem Spec
23 May 2011   #3

Win 7

Sorry, no.
My System SpecsSystem Spec

23 May 2011   #4
Microsoft MVP

Windows 7 Ultimate X64 SP1

Sorry no one has heled you pbecks1963, try a new thread inNetworking.

EDIT: Perhaps this will help you Service Trigger Events. I'm not a networking person past Home groups.
My System SpecsSystem Spec
23 May 2011   #5

Win 7 Pro x64

That's the kind of thing I was thinking of, but where is there a list of all triggers so I can see if there is one for detecting when a device comes online?
My System SpecsSystem Spec
23 May 2011   #6

Windows 7 Professional SP1 - x64 [Non-UEFI Boot]

Have you tried the SyncToy 2.1 from Microsoft?:
Download details: SyncToy 2.1

It can schedule a task.

Schedule SyncToy

While you do not have to schedule SyncToy to use it, some users may find it helpful to schedule recurrent SyncToy runs. Perhaps you have a folder pair that takes a long time to sync and you want to run SyncToy in the middle of the night, for example. SyncToy does not provide a user interface to schedule folder pairs to run at designated times. However, there is a method to schedule tasks using the Microsoft© Windows© operating system.

Windows Vista/ Win7

To schedule a task using the operating system:
  1. From the Start menu, select All Programs - Accessories - System Tools - Task Scheduler.
  2. Select Create Basic Task in the Actions pane on the right.
  3. Add a Name and Description and select Next.
  4. Choose when you want the task to start and select Next.
  5. Choose date/times (if applicable) to run task and select Next.
  6. Choose Start a Program option and select Next.
  7. Select Browse and locate the SyncToyCmd.exe.
  8. Type "-R" in the Add Arguments textbox. –R all by itself will run all folder pairs that are active for run all. If you want to run just a single folder pair, add –R “My Pair” to the end of the command line.
    Note: If the folder pair name contains a space, surround it with quotation marks, as the example above shows. For another example, assume that SyncToy is in the folder named C:\Program Files\SyncToy 2.1\ and that you want to run a folder pair named "My folder pair." Enter the command line as follows, including the quotation marks: "C:\Program Files\SyncToy 2.1\SyncToyCmd.exe" -R "My folder pair." Note that there are two sets of quotation marks in this case: one is around the path to the SyncToy program file and the other surrounds the folder pair name.
See also:

Task - Create to Run a Program at Startup and Log On[2]=Networking Internet
My System SpecsSystem Spec

 Scheduler/trigger events

Thread Tools

Similar help and support threads
Thread Forum
Task scheduler: trigger on screensaver event possible?
I got task scheduler to run a sync utility when the (on idle) trigger occurs. However, it would trigger while I am watching a full screen movie or video and exit out. Is there anyway to fix this? If not, I noticed my screen saver doesn't get initialize while watching a movie or video in full...
Performance & Maintenance
Task Scheduler recognizes only first trigger
Hi, the problem is if I create a new task for the task scheduler which is having multiple triggers, only the first entered trigger is recogized and used. E.g., I have two weekly triggers to execute a program. The first selects Mon, Tue, Wed, Thu, and Fri to run the program. The second...
Performance & Maintenance
How to trigger 'task scheduler' on new wifi connection?
Hey everyone, Searched everywhere, and really striking out on how to do this (if it's even possible). I'd like to use Task Scheduler (or some other program) to automatically perform a task when my Android phone connects to my home wifi network (my PC is plugged into this router). Is there a...
Network & Sharing
Help with using idle trigger in Win Task Scheduler
OK I know i've bombarded the forums lately with a couple threads all somewhat related. Point of this thread -- how to correctly set the idle trigger in windows task scheduler. There is a MSFT article Task Idle Conditions (Windows) which tries to explain it, but I can't figure it out. I...
Performance & Maintenance
Task Scheduler Trigger @ Program shutdown
Hello, I would like a particular Task to run each time the Firefox application is closed, or, perhaps easier, each time my computer shutdowns. But I have no idea how to set up such Trigger. Have any of you an idea on how I should proceed? Thanks for the help.
Performance & Maintenance

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 09:56.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App