CPM - Windows Local Account with WMI error "The system cannot find the file specified. Error code: 2"
Symptom
In the debug log on the CPM, the following is also seen:
Environment
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;12.7;13.0 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM) CPM - Microsoft Windows Local with WMI plugin
Cause
The error is due to the password policy set by Windows versus what is configured on the account's associated platform for "Generate Password." The current platform configuration for this account is setting a password which doesn't meet the Windows password policy requirements. When the CPM then attempts to change the password, it will return the error message.
Resolution
Update the platform's password policy to meet the requirements of the Windows password policy. This will then allow the CPM to successfully change the password.
The CPM password policy parameters are found here – PVWA > Administration > Platform Management > Edit the relevant platform > Automatic Password Management > Generate Password.
After updating the relevant parameters, attempt another password change.
Additional Information
Details
SYMPTOM:PROBLEM:
The error is being received due to the password policy set by Windows, and what is configured within the Accounts associated platform for the parameters within "Generate Password". The current platform configuration for this account is setting a password which doesn't meet the Windows password policy requirements, the CPM Server attempts to change the password and then it will return this error message.
SOLUTION:
Update the platforms password policy to meet the requirements of the Windows password policy, this will then allow CPM to successfully change the password.
The CPM password policy parameters are found here – PVWA > Administration > Administration > Select the relevant platform and click Edit > Automatic Password Management > Generate Password.
After updating the relevant parameters attempt another password change.