How can I execute Assign-HDEOnePasswordSyncGroup.bat on a regular basis?

Q.

 
I use a HDE One Direct Sync tool to integrate user information from AD to HDE One Access Control. I need to execute the security group assignation batch each time after one or more user is added to the AD. How can I execute the batch automatically to prevent the batch from un-executed situation?
 
A.
 
The Windows Task Scheduler enables you to automatically perform the security group assignation batch. There are no problems if the security group assignation batch is executed more than once. The following is one example about how to set a task in the Windows Task Scheduler.  

 

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]

 

__________2016-08-12_11.55.52.png

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

 __________2016-08-12_12.04.03.png

 blobid0.png

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

 

 __________2016-08-12_12.15.11.png

3-4)

 Click [OK] and then the task wil be created

 

__________2016-08-12_12.18.36.png

 3-5)

    Once Password dialog is displayed, enter a password for the user who runs the task and click [OK]

 

__________2016-08-12_12.22.04.png

 

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?

 

 

 

 

 

 

          
Was this article helpful?