Script to reset password and enable local authentication

Script to reset password and enable local authentication

Purpose : 

     Interactive mode of resetting the password of a user by entering his username. Also, to enable local authentication in the application.
This script can be used in builds on or above 9400 version

How the script works ?

     Invoking the script will show two options. 



1. Enable local authentication in the application when you are locked out of the application.
2. To reset the password of a user in the application. Since we are resetting the local authentication password, local authentication in the application will be enabled if it is disabled already.

Steps to invoke the script :

1. Download the zip file appropriate to the application server OS ( reset_linux.zip for Linux and reset_windows.zip for Windows )
2. Unzip and place the resetpassword script (.bat/.sh) in the application bin directory. Place reset.jar in the application lib directory
3. Open the command prompt/terminal with administrator privileges, navigate to the bin directory and invoke the resetpassword script.

Once done, remove the resetpassword script and reset.jar

Things to keep in mind while executing the batch file :

1. If the batch file is executed only to enable Local Authentication, then application services need to be restarted for the changes to take effect. 
2. The domain name provided should be exactly how the domain name appears on the login page.
3. If the password reset does not work even after running the batch file, please share the severoutX.txt files (serverout0.txt to serverout5.txt) to support team for analysis. 
          • Related Articles

          • How to reset administrator password in ServiceDesk Plus.

            1. Access your ServiceDesk Plus server and browse to [your drive]:\ManageEngine\ServiceDesk\bin. 2. Click changeDBServer.bat. Information on the configured database will be displayed.   If the database is MSSQL, go to the SQL Management Studio, go to ...
          • ADMP Integration - Password Reset for a user account

            Use Case:  Frequent calls to the help desk to reset their account password, are quite common. This process entails redundant work, its time consuming. This can be automated with ServiceDesk Plus’ in-product capabilities. Making use of the DRE in ...
          • How to configuring Pass-Through Authentication ( SSO) in ServiceDesk Plus ?

            Note: If the login page is customized, Pass-Through authentication will not work as it can't make use of the session variables set in login.jsp file The following instructions will help you to configure Pass-through authentication under Admin – ...
          • ADMP Integration - Enable or Disable an User Account

            Use Case:   Automate the acitvation and deactivation of user accounts in your organization's Active Directory (AD) using a single Deluge script. Each time a request is created using a specific template, you can invoke the Deluge script to enable or ...
          • ADMP Integration - How to automate AD user creation

            This post described the use of a python script to automate AD user creation from request. This script can be configured under Request custom triggers and you will find more information about this here. Integrating ServiceDesk Plus with ADManager Plus ...