CPM - Scheduled Task Password Change Fails with Access is Denied error message

CPM - Scheduled Task Password Change Fails with Access is Denied error message

249
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:09 PM


Symptom


Password change operations for scheduled tasks on a Windows target machine failed when executed via CPM. 

On pm_error.log errors:

  • 14/01/2025 15:21:26 [33f6c] CACPM072E Change password process on remote machine failed (Error: 9010, Safe: <SafeName>, Folder: <FolderName>, Object: Operating System-<PlatformName>-<Address>-<AccountName> (1)).
  • 14/01/2025 15:21:26 [33f6c] CACPM250E Operation on remote machine on password object Safe: <SafeName>, Folder: <FolderName>, Object: Operating System-<PlatformName>-<Address>-<AccountName> (1) failed (try #0) with the following error:  Failed to get folder \<scheduled task folder> on <domain name> with user <username> at domain <domain.address>. Error: 0x80070003 Message: The system cannot find the path specified.
  • 14/01/2025 15:27:17 [33984] CACPM072E Change password process on remote machine failed (Error: 9004, Safe: <SafeName>, Folder: <FolderName>, Object: Operating System-<PlatformName>-<Address>-<AccountName> (1)).
  • 14/01/2025 15:27:17 [33984] CACPM250E Operation on remote machine on password object Safe: <SafeName>, Folder: <FolderName>, Object: Operating System-<PlatformName>-<Address>-<AccountName> (1) failed (try #0) with the following error:  Failed to get folder \<scheduled task folder> on <domain name> with user <username> at domain <domain.address>. Error: 0x80070005 Message: Access is denied.

 

Errors Observed:

  • CPM logs indicated that it could not reach the target machine.
  • Manual execution of the password change command from CMD was successful.

 

Please follow this article how to test managing Windows usages via command line:
https://community.cyberark.com/s/article/CPM-How-To-Test-Managing-Windows-Usages-Via-Command-Line



Environment


Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)
  • Central Policy Manager (CPM)
  • IIS Application Pool


Cause


The root cause was identified as a restrictive policy on the target machine:

  • The policy “Network security: Restrict NTLM: Incoming NTLM” was set to “Deny all accounts” on the target system.
  • This policy blocks NTLM connections, which are typically used by domain accounts to connect to the target machine.


Resolution


To resolve this issue, update the security policy on the target machine:

  1. Navigate to Local Security Policy (secpol.msc) on the target machine.
  2. Go to Local Policies > Security Options.
  3. Locate the policy “Network security: Restrict NTLM: Incoming NTLM traffic”.
  4. Change the value from “Deny all accounts” to “Allow all” or “Allow all domain accounts”.
  5. Apply the changes and restart the affected services or the machine if necessary.


Actions
  • Print
  • Copy Link

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