Automatic ActiveDirectory Synchronization via Task Scheduler
To start automatic synchronization of Active Directory with OptimiDoc is necessary to proceed following steps:
1. Start the PowerShell as a administrator. |
|
2. Run the "Set-ExecutionPolicy RemoteSigned" command and confirm |
|
3. Start the Windows Task scheduler from Start menu or by run the command control schedtasks |
|
4. Select Create task... in Actions |
|
5. Enter the Name, select the option Run whether user is logged on or not and check the Don not store password option. |
|
6. Select the Triggers tab and Click on New... button. And define the schedule of synchronization, Confirm by Click on Ok. |
|
7. Select the Actions tab and Click on New... button. Select the action Start a program, enter the program "powershell" and put the arguments -c ". '<optimidoc_install_path>\Support\ad_sync.ps1'". After confirm the settings by Click on Ok button. |
|
8. Save the task by Click on Ok button. |
|
9. (Optional) In case of changed password of administration please change it also at <optimidoc_install_folder>\Support\ad_sync.ps1 file. |
|







