Reset Jamf cli tools configuration pwd?

Valued Contributor

I don't use the cli tools often, and when trying to check something today, I'm being prompted for the configuration password but none of my documented passwords are being accepted.

Is there a quick and simple way to delete the cli configuration and set a new password? I believe the only thing I had set was a scheduled backup, which appears to have not been running correctly, so attempting to get in there to check it but unable to do so at the moment.


New Contributor
$ jamf-pro config encrypt forgot-password

Is what you are looking for.
This can happen on older versions of the CLI tools incorrectly calculating the key if none where set. You may want to also try upgrading to the latest using the package managers as described in Using the Jamf Pro Server Tools Command-Line Interface

Valued Contributor

Just wanted to say a belated "thank you" @brandon.roehl . Finally got some time to get back to it, and worked like a charm.

New Contributor III

I ran into a situation in which resetting the password would work until the following time you launched server-tools.jar. Not sure what the cause was, but have seen it happen during upgrade--very annoying. I contacted support about it and was given this info, which really fixes it for me:

If you want create a new configuration password you'll need to delete the yaml.tool file otherwise it not work.

( )

On Windows, the configuration file is stored in the following locations:

User-based location (default): %LOCALAPPDATA%\Jamf\tools.yaml A typical path is: C:\Users\<username>\AppData\Local\Jamf\tools.yaml

Global location (optional): %ProgramData%\Jamf\tools.yaml A typical path is: C:\ProgramData\Jamf\tools.yaml


Delete that file, re-enter the server info, and never worry about it again.

Hi there,

Do I run this command and then delete the tools.yaml file? i am on a windows system, does the same command apply to that? if so do i change the path to any directory? I'm also trying to get into the CLI but unable to without the config pwd.


$ jamf-pro config encrypt forgot-password