You are here: Troubleshooting > Resetting a Forgotten Password

Resetting a Forgotten Password

You can change your administrative password any time on the User Account tab of the Settings page (see Setting User Account Preferences), but this is of little use if you have forgotten your existing password and cannot access the Express Server Manager. In this case you can still reset your password oustide the Express Server Manager.

To reset a forgotten password:

  1. Make sure either the JAVA_HOME or JRE_HOME environment variable is set.
  2. Run the file "digest.bat" (found in <Express Server installation directory>/ImageServer/Tomcat/bin) as follows:

    digest.bat -a SHA <password> 

    where <password> is a new password of your choosing.

  3. Copy the resulting 40-character hashed output and past it into the file "tomcat-users.xml" found in <Express Server installation directory>ImageServer/Tomcat/conf as the value of the "password" property, as in the example below:

    <?xml version='1.0' encoding='utf-8'?>
    <tomcat-users>
    <role rolename="admin-gui"/>
    <role rolename="manager-gui"/>
    <user username="admin" password="f3c57870608ka87f432e5912d4fg6f8e322791ba" roles="manager-gui,admin-gui"/>
    </tomcat-users>