Issue
You may encounter an error while rotating the password of a Windows local account.
Error: “Access is denied”
Cause
This issue may occur due to either of the following reasons:
-
Case 1: The management account's current password is not updated in PAM, or the account lacks the required permissions to change or reset passwords.
-
Case 2: The PAM application IIS Application Pool, running under the Local System account, lacks the required impersonation rights to connect remotely to the target Windows server and change or reset passwords.
Resolution
Case 1: Update the Management Account Password
If the management account password has changed on the target server, update the latest password in PAM.
-
Log in to the PAM Console as an administrator.
-
Navigate to Setup → General → Account Defaults.
-
Search for the asset type on which password rotation is being performed. For example, “Windows Server”.
-
Identify the configured management account. For Windows Server, the default system-defined management account is “Administrator”.
-
Navigate to Manage, search for the relevant asset.
-
Click Action icon and update the management account with its latest password.
The management account must have administrative permissions to change or reset passwords on the target server. If the default Administrator account is renamed, update its name in the system-defined configuration.
Case 2: Configure IIS Application Pool Identity
-
Create a local administrator account on the PAM Application Server.
-
Open Internet Information Services (IIS) Manager on the PAM Application Server.
-
Navigate to Application Pools and select SpectraPAM.
-
Click Advanced Settings in the right-hand Actions panel.
-
Under Process Model, locate Identity, which is set to LocalSystem by default.
-
Click the Identity option to configure the application pool account.
-
In the popup, select Custom account.
-
Enter the credentials of the local administrator account and click OK.
-
Verify that the Identity is updated to the specified account.
-
Recycle the SpectraPAM application pool.
-
Test password rotation for the Windows local account.