Skip to main content

OrgChart Help Guide

Active Directory Scheduler

Audience

Audience: Administrators

Overview

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".

2021-02-19_13-02-46.png

Configuring Windows Task Scheduler

To set up the Active Directory Agent task:

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

    2021-02-19_13-03-57.png
  2. Name the task "AD Agent" under the General tab.

    2021-02-19_13-05-40.png
  3. Select the "Change User or Group" button and provide the name of the user who will have the task.

    2021-02-19_15-02-41.png
  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.

    2021-02-19_13-06-10.png
  8. Select your preference on when the task will run, then click OK.

  9. Select the Actions tab.

    2021-02-19_13-06-37.png
  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.

    2021-02-19_13-07-15.png
  14. Select OK to save and exit.