SIA-RDP error - USERMGMT_PLUGIN_STRONG_ACCOUNT_PERMISSIONS_ERROR
Symptom
When testing a ZSP connection to a target, using a local strong account, the connection fails, and we get the following error:
Failed to run provision action on target machine [error_type=Plugin Error] [succeeded=False] [output=The provisioning process failed : Verify that the strong account has permission to create users on the target machine. If the problem persists, contact Support]
Failed requesting target access [Provisioning Error,USERMGMT_PLUGIN_STRONG_ACCOUNT_PERMISSIONS_ERROR]
Environment
Secure Infrastructure Access (formerly DPA) DPA for RDP
Windows targets, using a local strong account for the ZSP connections.
Cause
This can occur because the target is not opened with administrative shares, such as C$, D$, Admin$, etc.
We need to enable the administrative shares in the target so the strong account can use them to access the targets, create the ephemeral accounts in them, and delete them after the session ends.
Resolution
We need to add this registry key to the target server to resolve this issue:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\AutoShareServer
We need to change the key value to 1 -
1 (default): Automatically creates administrative shares.
0: Prevents the automatic creation of administrative shares (except IPC$ and manually created ones).
After adding the registry key, the ZSP connection should work as expected.