CASCF001E Failed to write credential file after CPM Hardening

CASCF001E Failed to write credential file after CPM Hardening

134
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 13:04 PM


Symptom


The CPM Service will not start after hardening. From CPM logs:

CASCF001E Failed to write credential file [C:\Program Files (x86)\CyberArk\Password Manager\Vault\User.ini]. Reason: CASPR001E Error parsing parameters file (Location:CCAGParmsStreamFile.cpp:180), Reason: Parms file [C:\Program Files (x86)\CyberArk\Password Manager\Vault\User.ini] open for write failed. 

CASTM053E Unexpected error in ChangeToRandomPasswordFromFile: [New password could not be written to file] code [4], Reason: CASCF001E Failed to write credential file [vault\user.ini] 

 


Environment


10.3;10.4;10.5;10.6;10.7;10.8

CPM
Windows Server



Cause


During the hardening of the CPM, a new local user called PasswordManagerUser is created and set to run the CPM services. The PasswordManagerUser's permission over the user.ini file have not been created correctly and it has failed when trying to update the user.ini file.

 


Resolution



Add full control permissions on the User.ini file for the PasswordManagerUser or rerun the hardening script.


Actions
  • Print
  • Copy Link

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