Control Access by Using the Health Service Lockdown Tool in Operations Manager
Updated: May 13, 2016
Applies To: System Center 2012 R2 Operations Manager, System Center 2012 - Operations Manager, System Center 2012 SP1 - Operations Manager
On computers requiring high security, for example a domain controller, you may need to deny certain identities access to rules, tasks, and monitors that might jeopardize the security of your server. The Health Service lockdown tool (HSLockdown.exe) enables you to use various command-line options to control and limit the identities used to run a rule, task, or monitor.
Note
You will be unable to start the System Center Management service if you have used the Health Service Lockdown tool to lock out the Action Account. To be able to restart the System Center Management service, follow the second procedure in this topic to unlock the Action Account.
The following command-line options are available:
HSLockdown [ManagementGroupName] /L - List Accounts/groups
HSLockdown [ManagementGroupName] /A - Add an allowed account|group
HSLockdown [ManagementGroupName] /D - Add a denied account|group
HSLockdown [ManagementGroupName] /R - Remove an allowed/denied account|group
Accounts must be specified in one of the following fully qualified domain name (FQDN) formats:
NetBios : DOMAIN\username
UPN : username@fqdn.com
If you used the add or deny options when running the Health Service Lockdown tool, you will need to restart the System Center Management service before the changes take effect.
When evaluating allowed and denied listings, know that denies takes priority over allows. If a user is listed as allowed, and the same user is a member of a group that is listed as denied, the user will be denied.
To use the health service lockdown tool
-
Log on to the computer with an account that is a member of the Administrators group.
-
On the Windows desktop, click Start, and then click Run.
-
In the Run dialog box, type cmd and then click OK.
-
At the command prompt, type <drive_letter>: (where <drive_letter> is the drive where the Operations Manager installation media is located) and then press ENTER.
-
Type cd\Program Files\System Center Operations Manager 2012\Server and then press ENTER.
-
Type HSLockdown [Management Group Name] /D [account or group] to deny the group or account, and then press ENTER.
To unlock the Action Account
-
Log on to the computer with an account that is a member of the Administrators group.
-
On the Windows desktop, click Start, and then click Run.
-
In the Run dialog box, type cmd and then click OK.
-
At the command prompt, type <drive_letter>: (where <drive_letter> is the drive where the Operations Manager installation media is located) and then press ENTER.
-
Type cd\Program Files\System Center Operations Manager 2012 and then press ENTER.
-
Type HSLockdown [Management Group Name] /A <Action Account> and then press ENTER.
See Also
Managing Access in Operations Manager
Operations Manager Accounts
Implementing User Roles
How to Create a New Action Account in Operations Manager
How to Manage the Report Server Unattended Execution Account in Operations Manager
Accessing UNIX and Linux Computers in Operations Manager
Managing Run As Accounts and Profiles