- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
10-23-2025 05:07 AM
I'm trying to manually create a new cred file on our PSM server and following CyberArk documentation I'm running the following command from an admin command prompt that's had it's directory changed to CyberArk\PSM\Vault
CreateCredFile.exe psmapp.cred Password -Username <USERNAME_HERE> -Password <PASSWORD_HERE> -AppType PSMApp -DPAPIMachineProtection -EntropyFile -ExePath "<INSTALL_PATH_HERE>\CAPSM.EXE"
I get the following result which mentions username being redundant but then says it was successful. However in the directory no new cred file is actually created or modified. I've tried copying out the existing cred file to see if that would do it but the command still does nothing.
10-23-2025 09:31 PM
Hi @Conner DeRosier
There are known issue in CreateCredFile in PSM ver 14.6.
Just replace the exe and dll files from ver 14.2 it should work.
10-23-2025 05:15 AM
I think the - should be replaced with /
Syntax should be
CreateCredFile.exe psmapp.cred Password /Username {username} /Password {password} /AppType PSMApp /DPAPIMachineProtection /EntropyFile /ExePath "{capsm.exe file path}"
Where did you see your syntax in the docs ?
10-23-2025 05:27 AM
That's actually what I tried first but it leads to an identical result. Although I have to remove the quotations around the ExePath for it to work with / instead of - . Otherwise the command doesn't have an output at all.
This is the CyberArk doc I'm looking at.
This is a newly upgraded test environment that's on version 14.6.0.28
10-23-2025 06:02 AM
This just worked for me on a 14.6psm (pcloud ) under an admin powershell
.\CreateCredFile.exe psmtest.cred Password /UserName DUMMY /Password DUMMY /AppType PSMAPP /DPAPIMachineProtection /EntropyFile /ExePath "D:\Program Files (x86)\CyberArk\PSM\capsm.exe"
Command ended successfully
10-23-2025 06:28 AM
Hi @Conner DeRosier ,
You can run only the .\CreateCredFile.exe psmapp.cred command on the elevated cmd or powershell. Then it will ask for the username and password, enter the username and pw of the relevant component user.
Then will ask for the configuration settings, you can proceed with default selections by pressing the Enter. (in those selections, change the default selections of the Entropy query)
10-23-2025 09:10 AM
Same result with that unfortunately. Something with the upgrade process must be causing this, I went to my other PSM server running version 14.2 and tried this and it worked fine. Then I upgraded that server and I can no longer generate a cred file. No output at all when I run the command in Powershell, it just completes instantly.
10-23-2025 09:31 PM
Hi @Conner DeRosier
There are known issue in CreateCredFile in PSM ver 14.6.
Just replace the exe and dll files from ver 14.2 it should work.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

