PSM unable to create shadow users or reset their passwords due to password complexity
163
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 13:04 PM
Symptom
Errors similar to this can be seen on the logs:
"PSMSC026E Failed to create local user PSM-02000000000000000000000000 Error value -1 System error 2245 The password does not meet the password policy requirements. Check the minimum password length, complexity and password history requirements."
"PSMSC026E Failed to create local user PSM-02000000000000000000000000 Error value -1 System error 2245 The password does not meet the password policy requirements. Check the minimum password length, complexity and password history requirements."
Environment
11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.1;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM) PSM
Cause
The PSM needs to create local windows users (shadow users) and also reset the password on every new connection, this can fail if the local password complexity is not met
Resolution
Change the password policy for the PSM server to be inline with the windows security policy.
Log in to 'PVWA' > 'Administration' > 'Options' > 'Privileged Session Management' -> 'General Settings' -> 'Server Settings' -> 'Advanced Settings' -> 'Password policy'
If the parameter 'Password Policy' does not exist right click 'Advanced Settings' and select 'Add Password Policy', Save changes and restart the PSM service for the changes to apply. The default Password policy is:
- PasswordLength 8
- MinUpperCase 2
- MinLowerCase 2
- MinDigit 1
- MinSpecial 1
- PasswordForbiddenChars PSM-0
These parameters are mentioned in the documentation:
Additional Information
Details
SYMPTOM:
Errors similar to this can be seen on the logs:
"PSMSC026E Failed to create local user PSM-02000000000000000000000000 Error value -1 System error 2245
The password does not meet the password policy requirements. Check the minimum password length, complexity and password history requirements."
PROBLEM:
The PSM needs to create local windows users (shadow users) and also reset the password on every new connection, this can fail if the local password complexity is not met
SOLUTION:
Change the password policy for the PSM server to be inline with the windows security policy.
Log in to 'PVWA' > 'Administration' > 'Options' > 'Privileged Session Management' -> 'General Settings' -> 'Server Settings' -> 'Advanced Settings' -> 'Password policy'
If the parameter 'Password Policy' does not exist right click 'Advanced Settings' and select 'Add Password Policy', Save changes and restart the PSM service for the changes to apply. The default Password policy is:
- PasswordLength 8
- MinUpperCase 2
- MinLowerCase 2
- MinDigit 1
- MinSpecial 1
- PasswordForbiddenChars PSM-0
These parameters are mentioned in the documentation:
https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/PASREF/Options%20-%20Privileged%20Session%20Management.htm?Highlight=%22PasswordPolicy%22