Skip to main content

Reset SuperAdmin password on Windows

To reset the SuperAdmin password in the Contrast application.

  1. Stop the Contrast Server service.

  2. Launch a command prompt (cmd.exe) as an Administrator by right-clicking on cmd.exe and selecting Run As Administrator.

  3. Go to the Contrast\bin directory. (On most systems, this is C:\Program Files\Contrast\bin.)

  4. Use this command to edit the JVM options:

      notepad contrast-server.vmoptions
  5. Add the following options to the file. (Replace youremaildomain.com with your email domain.)

     -Dreset.superadmin=true
      -Dsuperadmin.username=contrast_superadmin@<your.email.domain.com>
      -Dsuperadmin.password=<password>
  6. Save the file and exit Notepad.

  7. Use this command to start the Contrast service:

      net start "Contrast Server"
  8. Verify you are able to log in with the new password.

  9. Enter the following command to stop the Contrast service:

      net stop "Contrast Server"
  10. Enter the following command to edit the JVM options:

      notepad contrast-server.vmoptions
  11. Remove the options added in step 5.

  12. Save the file and exit Notepad.

  13. Exit the command prompt.

  14. Start the Contrast Server service as normal (from the Services control panel).