Q.
1)Start "Task Scheduler" in Computer Management or Server Manager in Windows
2)Click [Create Task]
3)Configure the following items
[General] tab
3-1-1)
Enter a name into [Service name]
Assign-HDEOnePasswrdSyncGroup.bat
3-1-2)
[When running the task, use the following account]
The account should be [Domain Admins] or [Enterprise Admins] account
3-1-3)
Check [Run whether user is logged on or not]
3-1-4)
Check [Run with highest privileges]
Move to [Trigger] tab and click "New"
3-2-1)
[Settings] Check [Daily]
[Start] Select HDEOneDirectorySync tool setup date and time
[Recur every] 1 day
3-2-2)
[Advanced settings]
Check [Repeat task every] and select [1 hour]
*We recommend repeating the task ever 1 hour.
[for a duration of] Select 1 day
Check [Enabled]
3-2-3)
Click [OK] and then the Trigger will be created
Move to [Actions] tab and click [New]
3-3-1)
[Action] Select "Start a program"
3-3-2)
[Program/script] Select "C:¥HDEOne¥Assign-HDEOnePasswrdSyncGroup.bat" from the Browse button
3-3-3)
Click [OK] and then the Action will be created
3-4)
Click [OK] and then the task wil be created
3-5)
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.
How can I confirm execution results for Security Group assignation?