Admin Password reset in OpM 12

Admin Password reset in OpM 12


For users that are authenticated with Active Directory Domain authentication, you can reset the password of an AD user by changing the AD password. The same is applicable for Radius Authenticated users.

Local Authenticated users can follow one of the two steps given below to reset the password:

Reset password for admin

  • If Mail Server Settings and User Email Id is configured, use Forgot Password option to reset your password.
  • If you are unable to configure your Mail Server settings, contact support to reset the password.

Forgot Password:

  • The Forgot Password option in the login page can be used to reset the password.
  • Make sure the Mail Server Settings and User's email ID are configured. The auto generated password will be sent to the email ID entered as the User's email ID
  • Go to the login page on OpManager. Click on the Forgot password button, enter your user name and press Send.
  • This will send an auto-generated password to the user's configured email.

Note: We highly recommend that you change the password upon logging in for the first time after resetting it.

Reset password for an Operator/Administrator by Administrator user

  • Login to OpManager using an account with admin privilege
  • Click Settings >> Basic Settings >> User Management tab
  • Under Change Password tab click on Assign New of the respective user
  • Update the new password and click on Save to save the changes.

For OpManager version below 123190, Follow the below steps to reset admin password

1. Open a command prompt

2. Go to the <OpManager_HOME>\pgsql\bin directory

3. Type
For Windows    :   psql -U postgres -p 13306 -h 127.0.0.1 -d OpManagerDB
For Linux        :   ./psql -U postgres -p 13306 -h 127.0.0.1 -d OpManagerDB

Please execute the below query :

select name,apikey from ApiKeyToUserMap inner join AAALogin on AAALogin.USER_ID=ApiKeyToUserMap.APIKEYID inner join ApiKey on ApiKey.APIKEYID=ApiKeyToUserMap.APIKEYID where name='admin';

4 . Copy the API Key from the output of the query.

5. Install the Google chrome Postman add-on.


6. Open a Google chrome browser and open Postman add-on and execute the below API command in POST method to reset the password.

For Example:

http://localhost:8080/api/json/nfaadmin/changePassword?apiKey=34b77304c502174eaf8b70b034254071&newPwd=admin&userName=admin

Localhost - Opmanager server IP:webserverport
API key - Copied from the command output
New Password- new password for admin user

          • Related Articles

          • !!!!!!!!DO NOT USE THIS!!!!!!!Admin Password reset for v12.3.190 and above

            ​ -Stop the OpManager service. -Open the command prompt as Admin and navigate to OpManagerHome/bin directory. -Run ResetPassword.bat/sh (Running this script will populate all the OpManager modules as in startup) -It will ask confirmation to reset ...
          • Steps for setting up a password for PgSQL DB

            The steps are verified and tested until 12.4.072.  We request you to take a VM snapshot or a folder backup of the OpManager server itself (stop the OpManager service) as a first measure. Below mentioned steps are applicable for Postgres version till ...
          • Configuring a non-admin user for WMI monitoring (domain level)

            For non-admin users to perform WMI monitoring in OpManager, the user profiles need to be configured accordingly in your network. This can be done: On a device level (configuring individual devices) - Link to KB On a domain level (configuring the ...
          • How do I set a password for my OpManager pgsql database ?

            1) Start OpManager service 2)Connect  to OpManager database :   a)Go to OpManager\pgsql\bin folder   b)Type psql -U postgres -h 127.0.0.1 -p13306  OpManagerDB   c)Once connected to the Database, execute the below query to set password          ALTER ...
          • Configuring a non admin user for WMI monitoring

            Configuring a non-admin user for WMI monitoring You can configure a regular Windows user to access WMI information by adding the necessary user account to the Distributed COM Users and the Performance Monitor Users group using lusrmgr.msc, and then ...