Reset Administrator Username and Password

On occasion, you may need to reset the system administrator password. This is useful in the event that the primary administrator has lost the password.

Applies to SmarterMail 7.x - 15.x

Follow these steps to reset the primary administrator login and password:

  1. In the Windows Services panel, STOP the SmarterMail service. (Find the Services panel by clicking on the Start menu and expanding the Administrative Tools option.)
  2. Navigate to the SmarterMail directory. By default, this will be C:\Program Files\SmarterTools\SmarterMail.
  3. Open the Service subdirectory.
  4. Make a backup copy of the file MailConfig.xml.
  5. Open the MailConfig.xml file in Notepad.
  6. Find the section that looks like this:
    <!-- ** System Admin *************************** -->
    <!-- ** To reset admin password, delete these items ** -->
    <!-- ** and then restart the SmarterMail Service. ** -->
    <!-- ***************************************** -->
    <sysadminusername> ... < /sysadminusername>
    <sysadminpassword> ... < /sysadminpassword>
    <!-- ***************************************** -->
  7. Delete those lines and save the file.
  8. Start the SmarterMail service.

You should now be able to log in to SmarterMail using the default username and password:

  • Email: admin
  • Password: admin



If the reset was not successful or if you receive an "Access is denied." error when attempting to replace the mailConfig.xml file, it is likely because your user account that's logged into the server does not have the proper User Account Control (UAC) permissions. In this case, there are two workarounds that may help:
  • After making a backup of the mailConfig.xml, drag the file out of the Services folder and onto your desktop. (Alternatively, you can right-click on the file in the Services folder, click Copy, then right-click on your desktop and click Paste.) Complete steps 5-7. Save and close the file. Then, drag the file from your desktop back into the Services folder (or copy and paste it in there). Confirm that you would like to replace the mailConfig.xml file that's already there. Start your SmarterMail services. 
  • After making a backup of the mailConfig.xml file, click on the Start menu. (If Notepad is not already visible in the list of applications, type Notepad in the search bar.) Right-click on Notepad and choose Run as Administrator. In the User Account Control popup, choose Yes to allow the program to make changes to the computer. In Notepad, navigate to and open the mailConfig.xml file. (If mailConfig.xml is not visible in the folder, change the "Text Documents (*.txt)" dropdown to "All Files (*.*)" instead.) Save and close the file. In the Windows Services panel, start the SmarterMail service.
Also, please ensure you are making changes to the mailConfig.xml file directly, NOT the mailConfig_bak.xml file. The latter is only used as a backup file in case of any potential corruption or loss to the mailConfig.xml. SmarterMail will not recognize changes to this file. 
For all other cases, please contact the SmarterTools Support Department for direct troubleshooting.

Learn more about SmarterMail's enterprise email features and benefits.

Add Feedback