CPM – How can I create or update the credential files (credfile) for the CPM manually? (12.1 AND HIGHER)

CPM – How can I create or update the credential files (credfile) for the CPM manually? (12.1 AND HIGHER)

122
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:08 PM


Objective



How can I create or update the credential files (credfile) for the CPM manually?


Environment


12.1;14.0;14.2;14.6

Procedure



IMPORTANT NOTE: The credfile process has changed in version 12.1. If you are on version 12.0 or below, please use directions from this article instead. DO NOT use this article.
 

To determine your version, run the following command. The following output indicates version 12.1 or higher:

image.png

Versions under 12.1 print the following with a version below 12.1:
image.png

 

In order to do this, run the createcredfile utility on the CPM machine as follows:

1. Stop the CPM service via the Windows services console
cpmcredfile1.png

2. Logon to PrivateArk Client as “Administrator” or any other user with “Manage Users” privileges in the root location.
cpmcredfile2.jpg

3. Go to Menu “Tools-Administrative Tools-Users and Groups”
cpmcredfile3.jpg

4. Select “PasswordManager” and click “Update”. (Note: Make sure you select the right PasswordManager. Be careful if you have more than one CPM! If there is more than one, you can check the user.ini from the file location in step 7)
cpmcredfile5.png

5. In the “Authentication" tab, specify a new, random password in the “Password” field, repeat it and click “OK”.
cpmcredfile6.png

6. Click "Trusted Net Areas" button and make sure "State" is set to "Active". If it is set to "Inactive" click "Activate" to change the state to active. Remember / write down the password set as it will be needed in a later step.
cpmcredfile7.png

7. On the CPM Server, open an administrative command line and go to “<drive>:\Program Files (x86)\CyberArk\Password Manager\Vault”
cpmcredfile8.png

8. Run the following command:

CreateCredFile.exe user.ini Password /Username {username} /Password {password} /AppType CPM /EntropyFile /DPAPIMachineProtection



9. The output will look like this:



10. Start the CPM service through the services console
cpmcredfile10.png

11. If starting the service succeeds, the credfile was reset correctly as the service will not start without a valid credfile



Actions
  • Print
  • Copy Link

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