CPM/SRS - winRc=1385: 'Logon failure: the user has not been granted the requested logon type at this computer.'

CPM/SRS - winRc=1385: 'Logon failure: the user has not been granted the requested logon type at this computer.'

305
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 15:58 PM


Symptom


 


When CPM/SRS tries to manage a Windows account, a winRc=1385 error is returned.  Depending on which log is viewed, the error may look like the below:

 

  • .Debug.Log:
    • Connecting with user [<domain>\<username>] to [\\<address>\ipc$] failed. Error: 1385.
  • .log:
    • Note: If the CPM/SRS action is verify, you won't see this log because it was not generated.
  • pm.log:
    • Note: If the CPM/SRS action is verify, you won't see a failure entry in the log because there isn't one.

 



Environment


Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM);Secrets Rotation Service (SRS)


CPM/SRS
Windows Target
 



Cause


 

This error is generated when the CPM/SRS plugin is attempts to perform a verify action against an account, local or domain-based, that is restricted via Group Policy from logging onto a device from the network.

 

NOTE: When the restrictions are in place, a verify action will produce a winRc=1385 error.  However, change and reconcile actions against the account produce different results.  For more information, review this KB: How the PMWindows.dll plugin handles the outcome of various Verify action attempts




winRc stands for Windows Return Code.  Windows Return Codes are generated by Windows systems.  The return code shown in the CPM/SRS logs and PVWA UI is from the target Windows machine and not from CPM/SRS.

winRc=1385 Error Definition:
ERROR_LOGON_TYPE_NOT_GRANTED
1385 (0x569)
Logon failure: the user has not been granted the requested logon type at this computer.

 



Resolution



To resolve this issue:

  1.  Edit the 'Access this computer from the network' policy on the target device:.
    1. Local Security Policy (secpol): Navigate to Security Settings -> Local Policies -> User Rights Assignment
    2. Group Policy Management Editor: Local Computer Policy -> Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment
  2. Add the user, or group containing the user, to the 'Access this computer from the network'' policy.
  3. Open Command Prompt as Administrator and run: gpupdate /force
  4. Ensure that there are no superseding GPO's that would alter that policy setting from its current state.



Resources:
How does CPM Manage Windows Accounts Passwords

Windows System Error Codes
Windows Network Management Error Codes
Windows Routing and Remote Access Error Codes
Windows Sockets Error Codes
 



Actions
  • Print
  • Copy Link

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