SRS - How-to Configure Domain GPO for SRSExecutionUser
Objective
Configuring Domain GPO User Rights for Idira Secrets Rotation Service (SRSExecutionUser)
When deploying the Idira Privilege Cloud Connector with the Secrets Rotation Service (SRS), the connector host automatically provisions a dedicated local account—SRSExecutionUser—during the first secrets rotation. If your connector machines reside in an Active Directory Domain and receive domain-level Group Policy Objects (GPOs), corporate User Rights Assignments can overwrite the local security baseline and prevent secret rotations from executing.
This guide details how to configure domain GPOs to grant the required permissions and enforce least-privilege denials for SRSExecutionUser in accordance with Idira hardening specifications.
Overview & Account Characteristics
The SRSExecutionUser account executes plugins and rotation tasks on the connector host. Idira provisions it under strict least-privilege standards:
-
Account Type: Local user (created on each individual connector host).
-
Group Membership: None (not a member of
Users,Administrators, or any other built-in group). -
Interactive Access: Blocked from Remote Desktop (RDP), RunAs, and local console logon.
-
Lifecycle: Managed automatically; the Management Agent rotates its password every 14 days.
Required Rights & Denials Matrix
| Policy / Right | Setting | Policy Location | Purpose |
Log on as a batch job (SeBatchLogonRight) | Grant (Add SRSExecutionUser) | Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies/User Rights Assignment | Allows the SRS service runner to execute rotation scripts and provider processes unattended. |
Deny log on locally (SeDenyInteractiveLogonRight) | Enforce (Add SRSExecutionUser) | Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies/User Rights Assignment | Enforces least-privilege by blocking interactive console logins. |
Deny log on through Remote Desktop Services (SeDenyRemoteInteractiveLogonRight) | Enforce (Best Practice) | Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies/User Rights Assignment | Blocks incoming RDP sessions using the execution user account. |
Environment
Privilege Cloud Secrets Rotation Service (SRS)
Procedure
Step-by-Step Implementation
Step 1: Isolate Connectors in a Dedicated Organizational Unit (OU)
Do not apply these settings to default domain-wide policies (e.g., Default Domain Policy).
-
Open Active Directory Users and Computers (
dsa.msc). -
Move all Idira Connector servers hosting SRS/PSM into a dedicated Organizational Unit (e.g.,
OU=Idira-Connectors,DC=company,DC=com).
Step 2: Create or Edit the Connector GPO
-
Open the Group Policy Management Console (
gpmc.msc) on a Domain Controller or administrative workstation. -
Right-click the dedicated Connector OU and select Create a GPO in this domain, and Link it here... (or right-click an existing dedicated Connector Hardening GPO and select Edit).
-
Name the GPO descriptively (e.g.,
GPO_Idira_Connector_Hardening).
Step 3: Configure User Rights Assignment
Navigate down the policy tree to:
Computer Configuration
└── Policies
└── Windows Settings
└── Security Settings
└── Local Policies
└── User Rights Assignment
1. Grant "Log on as a batch job"
-
In the right pane, locate and double-click Log on as a batch job.
-
Check Define these policy settings if not already enabled.
-
Click Add User or Group....
-
Enter
SRSExecutionUser(or*S-1-5-32-544/ existing administrators plusSRSExecutionUser).Note on Local Users in Domain GPO: Because
SRSExecutionUseris a local account on member servers and does not exist in Active Directory, the GPMC object picker cannot resolve it against domain controllers. TypeSRSExecutionUserdirectly into the text box and click OK. Windows accepts the string literal and applies it to the corresponding local SAM account on target machines. -
Click Apply and OK.
2. Enforce "Deny log on locally"
-
In the right pane, double-click Deny log on locally.
-
Check Define these policy settings.
-
Click Add User or Group... and add
SRSExecutionUser. -
Ensure standard accounts that need local console access are not inadvertently placed here.
-
Click Apply and OK.
3. Verify Supplementary Connector Rights
Ensure existing domain hardening policies do not strip related rights required by the connector framework:
-
Replace a process level token (
SeAssignPrimaryTokenPrivilege): EnsureIdiraManagementAgentis present. -
Adjust memory quotas for a process (
SeIncreaseQuotaPrivilege): Ensure the management agent/system service accounts retain this right.
Verification & Troubleshooting
1. Apply and Verify on the Connector Host
-
Log in to the target connector host using an administrative account.
-
Open an elevated PowerShell or Command Prompt window and refresh the policy:
DOSgpupdate /force -
Generate a Resultant Set of Policy report:
DOSgpresult /h C:\temp\gpreport.html -
Open
C:\temp\gpreport.htmland verify under Computer Configuration > Security Settings > User Rights Assignment:-
SRSExecutionUseris listed under Log on as a batch job. -
SRSExecutionUseris listed under Deny log on locally.
-
2. Common Pitfalls
-
Active Directory Resolution Errors: If an administrator attempts to search AD via the Browse dialog for
SRSExecutionUser, the lookup will fail. Always input the bare username directly into the text box without a domain prefix. -
Overriding Local Hardening Scripts: Idira connector deployment scripts apply local security policy settings automatically during installation. If a domain GPO defines "Log on as a batch job" without including
SRSExecutionUser, the domain GPO will overwrite the local assignment and break automated rotations. Ensure all domain policies targeting the connector OU merge these settings rather than wiping them.