1)Start "Task Scheduler" in Computer Management or Server Manager in Windows
2)Click [Create Task]
3)Configure the following items
Enter a name into [Service name]
[When running the task, use the following account]
The account should be [Domain Admins] or [Enterprise Admins] account
Check [Run whether user is logged on or not]
Check [Run with highest privileges]
Move to [Trigger] tab and click "New"
[Settings] Check [Daily]
[Start] Select HDEOneDirectorySync tool setup date and time
[Recur every] 1 day
Check [Repeat task every] and select [1 hour]
*We recommend repeating the task ever 1 hour.
[for a duration of] Select 1 day
Click [OK] and then the Trigger will be created
Move to [Actions] tab and click [New]
[Action] Select "Start a program"
[Program/script] Select "C:¥HDEOne¥Assign-HDEOnePasswrdSyncGroup.bat" from the Browse button
Click [OK] and then the Action will be created
Click [OK] and then the task wil be created
Once Password dialog is displayed, enter a password for the user who runs the task and click [OK]
Now you can set a Task Scheduler for the security group assigned batch. Please check the following article about how to check execution results for the Security Group assignation batch.