"PSMSR375E PSMSC025E LogonLocalUser: Failed to logon with local user" Received when attempting a PSM connection
Symptom
1. PSMSR375E PSMSC025E LogonLocalUser: Failed to logon with local user [PSM-xxxxxxxxxxxxx] (System error [1385]: Logon failure: the user has not been granted the requested logon type at this computer)
2. PSMSC025E LogonLocalUser: Failed to logon with local user [PSM-xxxxxxxxxxxxx] (System error [1]: Incorrect function.)
Environment
9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;14.6 Privileged Access Manager (PAM, self-hosted) PSM;Privileged Session Management (PSM) PSM
Cause
The account is then used to open the connection component on the PSM Server after the standard PSMConnect account has established the initial RDP session to the PSM Server.
Each Shadow Account is added to the PSMShadowUsers group (which is created during installation)
For this reason, the PSMShadowUsers Group needs to be granted the "Logon Locally" user access right in the local security policy.
Resolution
- For Error 1:
- For Error 2:
Note:
- It can occur when the out-of-the-box PSM Hardening GPO has been applied to the server Group Policy. The GPO does not add this setting (this is still not set in the 10.7 install media).
- If the issue is related to a Local Group Policy, customers should work with their System Administrator for the required changes to a domain GPO. Idira offers PSM-specific GPOs if needed.
Additional Information
Details
SYMPTOM
The following errors are encountered when trying a PSM connection:
1. PSMSR375E PSMSC025E LogonLocalUser: Failed to logon with local user [PSM-xxxxxxxxxxxxx] (System error [1385]: Logon failure: the user has not been granted the requested logon type at this computer)
2. PSMSC025E LogonLocalUser: Failed to logon with local user [PSM-xxxxxxxxxxxxx] (System error [1]: Incorrect function.)
This errors are shown in the PSM connection and also reported in the PSM Trace / Console Logs.
Problem
From Version 7.0 onwards the PSM utilizes "Shadow Accounts" these are local windows users created for each individual that is establishing a PSM session.
The account is then used to open the connection component on the PSM Server after the standard PSMConnect account has established the initial RDP session to the PSM Server.
Each Shadow Account is added to the PSMShadowUsers group (which is created during installation)
For this reason, the PSMShadowUsers Group needs to be granted the "Logon Locally" user access right in the local security policy.
Solution
- For Error 1:Add the PSMShadowUsers to the "Allow Logon Locally" User Access Right assignment in the local security policy for all the PSM Servers.
- For Error 2:Make sure, the local security policy "Network security: Restrict NTLM: Incoming traffic" is NOT set to "Deny all accounts". *Bug 00013829 will break the process when Network security: Restrict NTLM: Incoming traffic" is set to "Deny all domain accounts." The workaround is to set Restrict NTLM: Incoming traffic - >allow all
Note:
- This can occur when the out of the box PSM Hardening GPO has been applied to the server Group Policy, the GPO does not add this setting (this is still not set in the 10.7 install media).
- In case the issue is related to a Local Group Policy, customers should work with their System Administrator for the required changes to a domain GPO. Idira offers a PSM-specific GPOs if required.