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 ( for Linux and 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. 
        New to ADManager Plus?

          New to ADSelfService Plus?

            • 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 ...
            • Login diectly with SAML / Query to enable AD or Local Auth when there is an issue with SAML

              Issue: When users have AD and/or local authentication enabled along with SAML, the login page is shown when a link from an email is clicked and users need to click "Login with SAML" again. Workaround 1: You can bookmark, <sdp_url>/SamlRequestServlet ...
            • FATAL : Password Authentication failed for user "postgres"

              Log Trace : FATAL: password authentication failed for user "postgres" Analysis : During the major upgrade of Postgres say 10.21(From 13006) to 11.17 (From 14300), the Postgres upgrade fails with the above trace due to password authentication failure ...
            • 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 Pass Through Authentication Works

              NTLMV2 is a protocol supported by Microsoft in order to overcome the security issues of NTLMV1 and the same is implemented in ServiceDesk Plus. What's the protocol defines? When a service wants to initiate the Single-sign-on, first a secure channel ...