Skip to main content

OrgChart Help Guide

Active Directory Scheduler


Audience: Administrators


The Windows Task Scheduler, available on Windows 10 is the preferred method for managing the Active Directory Agent process. Tasks run using a specific Windows login. It is recommended that you create a Windows Account specifically for managing the Active Directory task.

Accessing Windows Task Scheduler

To access the Windows Task Scheduler for Windows 10, press the Windows key on your keyboard, then type "Task Scheduler".


Configuring Windows Task Scheduler

To set up the Active Directory Agent task:

  1. Select "Create Task" under the Action column.

  2. Name the task "AD Agent" under the General tab.

  3. Select the "Change User or Group" button and provide the name of the user who will have the task.

  4. Click the radio button for "Run whether user is logged on or not" option.

  5. Check the box for "Run with highest privileges".

  6. Select the Trigger tab.

  7. Click the New button.

  8. Select your preference on when the task will run, then click OK.

  9. Select the Actions tab.

  10. Click the New button.

  11. In the "Program/script:" box, enter the following: "C:\Python37\python.exe".

  12. In the "Add Arguments" box, enter the file you will run.

  13. In the "Start In" box, enter the folder name of where file from the previous step is saved.

  14. Select OK to save and exit.