Locked Out Of Admin Console Due To Bad Login
Posted by Gary Garber, Last modified by Said Khammar on 17 June 2014 05:07 AM

OS: Windows; IceWarp Server Version: 11/10

 

Password change using the Tool command line


If you have required the console to authenticate and have forgotten the password you will need to either add a new user or change the password of an existing user. This can be done using the tool.exe program.

You will need to open a command prompt in Windows.

Once the DOS window loads please go to to the Program Files > IceWarp directory. You should see this in the DOS window, C:\Program Files\Icewarp, if not then you are not in the right directory.

If this is what you see then type Tool the command line. This should then populate options to use the tool.exe with. From here you can add a user or change the password for an existing user among other things. You can look over these variables and switches to build the command for what ever it is you are trying to do. In your case you want to change a users properties so the command would be as follow :

tool modify account user@domain.com u_password password

This will change the users password you specify.

The command below will make the user an administrator if he is not already.

tool modify account user@domain.com u_admin 1

Please change your password and you should be able to access the console once again.

To create a new user please use the command below, this will create a new administrator account that you could login with.

tool create account user@domain.com u_admin 1 u_password password