[PSM] - Connections Fail with PSMCP087E "Logon failure: the user has not been granted the requested logon type at this computer" After Upgrade or Applying In-Domain GPO

[PSM] - Connections Fail with PSMCP087E "Logon failure: the user has not been granted the requested logon type at this computer" After Upgrade or Applying In-Domain GPO

280
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 13:04 PM


Symptom


When attempting to initiate a connection through PSM, the session immediately terminates with one of the following symptoms:

 

Scenario 1 (Client On-Screen Error):
The user receives a dialog stating:
- "Failed to establish connection."
- "The privileged session could not be established securely. Try to connect again through the Password Vault Web Access. If this problem persists, contact your system administrator."

 

Scenario 2 (PSM Application Event Log / Trace):
The Windows Application Event Log on the PSM server records:
"PSMCP087E The logon attempt failed due to authentication error. Reason: Logon failure: the user has not been granted the requested logon type at this computer."

 

Scenario 3 (Windows Security Event Log):
Security Event ID 4625 (An account failed to log on) is logged on the PSM server:
- Logon Type: 10 (RemoteInteractive)
- Status / Sub Status: 0xC000006D / 0xC000015B (The user has not been granted the requested logon type at this machine)
- Account Name: PSMConnect (or domain PSMConnect account)



Environment


14.2;14.6;15.0;14.7;14.8;15.2 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Privileged Session Management (PSM);Privilege Cloud PSM

- Products: Privileged Access Manager (PAM, self-hosted), Privilege Cloud
- Components: Privileged Session Manager (PSM)
- Accounts: Domain or Local PSMConnect, PSMAdminConnect
- OS Policy: Windows User Rights Assignment (SeRemoteInteractiveLogonRight)
- Affected Versions: Idira PAM v14.x, v15.x



Cause


To broker remote desktop sessions, `PSMConnect` and `PSMAdminConnect` require the Windows User Right: **"Allow log on through Remote Desktop Services"** (`SeRemoteInteractiveLogonRight`).

 

This right is typically stripped in two scenarios:


1. **In-Place PSM Upgrade:**

During an upgrade, the installer re-applies default local security baseline policies. If the environment uses domain-level `PSMConnect` and `PSMAdminConnect` accounts, the installer resets the local policy to include only local accounts and the local Remote Desktop Users group, removing the domain accounts.


2. **Applying Idira In-Domain Hardening GPO:**

When applying the In-Domain GPO provided in the Idira Hardening package, the domain policy overwrites local server user rights assignments. If the GPO baseline does not explicitly include the specific `PSMConnect` and `PSMAdminConnect` accounts used by that PSM OU, RDP logon rights are revoked.



Resolution


Add the `PSMConnect` and `PSMAdminConnect` accounts back to the "Allow log on through Remote Desktop Services" policy.

 

Method A: If Using Domain-Level Accounts or In-Domain Hardening GPO (Recommended)


1. On a Domain Controller or management workstation, open Group Policy Management (`gpmc.msc`).
2. Locate and edit the GPO linked to the Organizational Unit (OU) where the PSM server computer objects reside (e.g., Idira PSM In-Domain Hardening GPO).
3. Navigate to:
   Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies > User Rights Assignment
4. Open the policy: **"Allow log on through Remote Desktop Services"**.
5. Ensure the following accounts and groups are defined:
   - `Administrators`
   - `Remote Desktop Users`
   - `<Domain>\PSMConnect` (or local `PSMConnect` if domain GPO manages local accounts)
   - `<Domain>\PSMAdminConnect` (or local `PSMAdminConnect`)
6. Click Apply and OK.
7. Log on to each affected PSM server as an Administrator and execute:
   gpupdate /force
8. Test the connection from PVWA.

 

Method B: If Using Local Accounts on a Standalone / Non-Domain Hardened PSM


1. Log on to the PSM server as a local Administrator.
2. Open Local Security Policy (`secpol.msc`).
3. Navigate to:
   Security Settings > Local Policies > User Rights Assignment
4. Double-click **"Allow log on through Remote Desktop Services"**.
5. Click **Add User or Group...** and add:
   - `<PSMServerName>\PSMConnect`
   - `<PSMServerName>\PSMAdminConnect`
   - `Remote Desktop Users`
6. Click Apply and OK.
7. Open an elevated Command Prompt and run:
   gpupdate /force
8. Test the connection from PVWA.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000qReCAI&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail