It is a common security policy of an organization to disable inactive user accounts. This might happen for a number of reasons, for example an employee on a long break.
Instead of using an Initialize Data activity at the start of the Runbook we will use a different approach to automate the process. The business process to disable user accounts in Active Directory is described in the following diagram:
We need a shared folder (on the SCORCH 2012 server or access to shared on another server) as this Runbook would be triggered by monitoring a folder. Create and share the folder if required.
In addition to the preparation in the introduction of this chapter we need to create a new Runbook in the Runbook Designer.
In the Runbook Designer expand the connection to the SCORCH 2012 server.
Right-click on Runbooks and click on New (you can also right-click on a folder in Runbooks).
Right-click on the newly created Runbook and rename it to
Disable...