[SIA] - User Provisioning Fails with Strong Account Permission Error (LocalAccountTokenFilterPolicy)
Symptom
When initiating a session to a target server using a local strong account, the connection fails during the user provisioning phase. Diagnostic logs or on-screen session details report one of the following error messages:
Error Scenario 1:
"Result: Failed to provision user
Error: The provisioning process failed : Verify that the strong account has permission to create users on the target machine. If the problem persists, contact Support"
Error Scenario 2:
"USERMGMT_PLUGIN_STRONG_ACCOUNT_PERMISSIONS_ERROR"
Environment
N/A Privileged Access Manager (PAM, self-hosted) PSM
- Products: Idira Secure Infrastructure Access (SIA)
- Components: SIA RDP Service, Zero Standing Privileges (ZSP) Provisioning Engine
- OS / Platform: Non-Domain or In-Domain Windows Target Servers
- Provisioning Type: Local Administrative Strong Account
Cause
When User Account Control (UAC) is enabled on Windows target servers, local administrator accounts connecting remotely over network administrative shares (e.g., `ADMIN$`, `C$`) are stripped of their elevated administrative access token by default.
As a result, even if the local strong account has full administrator rights on the target server, Windows prevents the account from executing remote user provisioning scripts.
Resolution
To enable local administrator token elevation over network shares, set the `LocalAccountTokenFilterPolicy` registry value to `1` on the target Windows server:
Step 1: Check Current Registry Value
Open PowerShell as Administrator on the target machine and verify the policy status:
Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "LocalAccountTokenFilterPolicy" -ErrorAction SilentlyContinue
If the command returns `0` or does not return a value, UAC remote restrictions are active and blocking provisioning.
Step 2: Update the Registry Policy
Run the following PowerShell command as Administrator on the target machine:
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" -Name "LocalAccountTokenFilterPolicy" -Value 1 -Type DWord
Step 3: Test Provisioning
Attempt to connect to the target server again via SIA.
Important Note on Policy Reversion:
If this registry key reverts back to `0` automatically after a server reboot, verify your domain or local Group Policy (GPO) configurations to ensure no local security policies or compliance baseline templates are overriding `LocalAccountTokenFilterPolicy`.