Step-by-Step tutorial to schedule a Job using windows 7 or 2008 scheduler

Home | Tutorials | Compare


The Microsoft Task Scheduler is an amazing little FREE tool that (in most cases) comes already with your Windows installation. This tutorial explains how to schedule already saved task using windows7 or windows 2008 task scheduler. (To Save Job for scheduling please see Step by Step tutorial to schedule LDAP/AD export to Excel )

On Windows 7 and Server 2008 (click here for windows XP or windows 2003) you can start Windows Task Scheduler by clicking the 'ScheduledTask' from the Start Menu| Administrative Tools

Click on Create Basic Task.


Enter a name for the task and Click Next.


Set the scheduling options,


Set the time and other options, Click Next


Select 'Start a program' and click Next


Split the command line which you have copied from export scheduler window into two (Separate them Starting from -X)

First Part--> "C:\Program Files (x86)\LDAPSoft\AD Admin And Reporting Tool\ADAdminReportingTool.exe"

Second Part--> -Xnosplash com.ldapsoft.scheduler.AARScheduler EXPORT "New Task 1"

Manually Paste the first part in 'Program and Script' and 2nd part in the 'Argument' field


Verify the values and Click Finish (Please note that you must be running the Task under the same user who created the scheduled job, scheduled jobs are stored in user home folder due to security reasons - password, binddn values. For example: if you have installed admin reporting tool on a windows 2008 or 7 machine and logged on with a username 'Jdoe' and created a job for scheduling using Admin Reporting Tool, you must use the same username 'Jdoe' to run the scheduled task. If you want to run the task as a different user you must install Admin Reporting Tool under this user, again create a job for scheduling and then schedule it. To confirm the task run as user check 'Open the Properties dialog for this task when I click Finish').




See Also:

How to schedule task using Windows scheduler (Windows XP or 2003)
How to scheduler task using Linux cron