Script to reset the password of a user by entering his username and enable local authentication without connecting to DB.

Script to reset the password of a user by entering his username and enable local authentication without connecting to DB.

 Script to reset the password of a user by entering his username. Also, to enable local authentication in the application without connecting to DB.

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. 

                    New to ADSelfService Plus?

                      • Related Articles

                      • How to reset administrator password in ServiceDesk Plus MSP

                        Follow the below steps to reset Administrator password for builds more than 10600 (To reset the password for less than 10600. Please contact support. ) 1.Connect to the DB Server. i) For MS-SQL-Connect to the MS-SQL Server ii) For Postgres, go to ...
                      • Forgot password option missing

                        If Forgot password option missing in the login page, then please check the below option under Admin->Self-Service Portal Settings. If this option is disabled, then the Forgot password option will not be visible in the login page. Allow users to login ...
                      • Customize password reset email

                        Steps to customize the email sent for resetting the password of a technician or requester Follow the below steps to customize the password reset link email content: 1. Admin -> Settings -> General settings -> translations 2. In the search bar enter ...
                      • How to connect to external postgres(external DB)

                        1. From the postgres installed path navigate to bin folder and open a command prompt 2. Execute the command --> pg_ctl -D "C:\Program Files\PostgreSQL\10\data" start (Postgres server gets started) 3. Connect to DB using the command-->psql -U postgres ...
                      • Error While connecting default Postgres Database

                        If you are getting the below error while connecting the postgresDB , please follow the steps below : Error : psql: FATAL: no pg_hba.conf entry for host “::1”, user “postgres”, database “servicedesk”,SSL off Please open pg_hba.conf under [ServiceDesk ...