Wechsel des Administrator Passworts für den ServiceDesk Plus oder Asset Explorer OnPrem

Wechsel des Administrator Passworts für den ServiceDesk Plus oder Asset Explorer OnPrem


1. Access your application server and browse to [your drive]:\ManageEngine\<application_name>\bin.
2. Click changeDBServer.bat.  Information on the configured database will be displayed. 
Info
  If the database is MSSQL, go to the SQL Management Studio, go to the 6th step.
3. If the database is PGSQL , connect to it. 
4. Click the Windows icon and select  Command Prompt (Run as administrator).
5. Go to [your drive]:ManageEngine\<spplication_name>\pgsql\bin and run 
If SDP versions less than 10.5/ AE version less than 6.5:
psql.exe -U postgres -p 65432 -d servicedesk -h 127.0.0.1

If SDP versions greater than 10.5/ AE version greater than 6.5:
psql.exe -U sdpadmin -p 65432 -d servicedesk -h 127.0.0.1
InfoEnter password sdp@123 when prompted.
6. Copy and paste the below query and run it to Fetch Active SDOrgAdmin after SDP 11.0 / AE 6.6 (See below for older versions)
Quote
Select al.login_id"Login ID",au.first_name"Name",al.name"Login Name", al.domainname"Domain Name" from aaaauthorizedrole aar left join aaarole ar on aar.role_id=ar.role_id left join aaaaccount aa on aar.account_id=aa.account_id left join aaalogin al on aa.login_id=al.login_id left join aaauser au on al.user_id=au.user_id left join sduser sd on au.user_id=sd.userid where ar.name like 'SDOrgAdmin' and sd.status='ACTIVE';

7. From the result, select the user and use their login_id in the below query to reset their password after SDP 10.5 / AE 6.5 (See below for older versions)
PGSQL:
Quote
update AaaPassword set password='$2a$12$fZUC9IK8E/AwtCxMKnCfiu830qUyYB/JRhWpi2k1vgWLC6iLFAgxa', SALT=pgp_sym_encrypt('$2a$12$fZUC9IK8E/AwtCxMKnCfiu','SChar@123Mas!er','s2k-mode=1, cipher-algo=aes256'), algorithm='bcrypt' where password_id in (select ap.password_id from aaaaccpassword ap left join aaaaccount ac on ac.account_id=ap.account_id left join aaalogin al on al.login_id=ac.login_id where al.login_id= Login_ID);
MSSQL:
Quote
OPEN SYMMETRIC KEY ZOHO_SYMM_KEY DECRYPTION BY CERTIFICATE ZOHO_CERT;update AaaPassword set password='$2a$12$fZUC9IK8E/AwtCxMKnCfiu830qUyYB/JRhWpi2k1vgWLC6iLFAgxa', SALT= EncryptByKey(Key_GUID('ZOHO_SYMM_KEY'), N'$2a$12$fZUC9IK8E/AwtCxMKnCfiu'), algorithm='bcrypt' where password_id in (select ap.password_id from aaaaccpassword ap left join aaaaccount ac on ac.account_id=ap.account_id left join aaalogin al on al.login_id=ac.login_id where al.login_id= Login_ID);CLOSE SYMMETRIC KEY ZOHO_SYMM_KEY ;
Info
NOTE FOR MSSQL:  Application should be running while executing the above query
AlertAfter resetting the password, you will be able to log in with password as 'admin'. Ensure that you have selected 'Local Authentication' in the "Log on to" drop-down list. If the user has any domain, choose the domain in the next dropdown (if the dropdown is visible)

Note: For SDP, if Local Authentication is disabled in the application, please execute the query below in the database and restart SDP service. For AE, this entry does not exist and we allow local authentication by default (unless customer has inserted this entry with the value 'false').
Quoteupdate globalconfig set paramvalue='true' where parameter='Enable_LocalAuthentication_Login';

For Older Versions:

Step 6:
To Fetch Active SDAdmin (before SDP 11.0 / AE 6.6 )
QuoteSelect al.login_id"Login ID",au.first_name"Name",al.name"Login Name" from aaaauthorizedrole aar left join aaarole ar on aar.role_id=ar.role_id left join aaaaccount aa on aar.account_id=aa.account_id left join aaalogin al on aa.login_id=al.login_id left join aaauser au on al.user_id=au.user_id left join sduser sd on au.user_id=sd.userid where ar.name like 'SDAdmin' and sd.status='ACTIVE';

Step 7:
 If the version/build is less than SDP 10.5 / AE 6.5 execute the below query:
Quoteupdate AaaPassword set password='$2a$12$fZUC9IK8E/AwtCxMKnCfiu830qUyYB/JRhWpi2k1vgWLC6iLFAgxa', SALT='$2a$12$fZUC9IK8E/AwtCxMKnCfiu', algorithm='bcrypt' where password_id in (select ap.password_id from aaaaccpassword ap left join aaaaccount ac on ac.account_id=ap.account_id left join aaalogin al on al.login_id=ac.login_id where al.login_id= Login_ID);

If the version/build is less than SDP 9.3 / AE 6.2   execute the below query:
Quote
update AaaPassword set password='2+uYvE3SLfO3XaHl+CaGLA==', SALT='1103287238602', algorithm='MD5' where password_id in (select ap.password_id from aaaaccpassword ap left join aaaaccount ac on ac.account_id=ap.account_id left join aaalogin al on al.login_id=ac.login_id where al.login_id=Login_ID);
    • Related Articles

    • ADAudit Plus Installation

      Voraussetzungen Stellen Sie sicher, dass Sie die notwendigen System Voraussetzungen erfüllen. Eine Übersicht der Hardware Anforderungen, unterstützten Betriebssysteme, unterstützten Webbrowser sowie MSSQL Server Versionen finden Sie hier: ...
    • Asset Management - User Zuweisung

      Voraussetzungen für die Benutzerzuordnung: Damit ein Benutzer automatisch einem Asset zugeordnet werden kann, muss die Integration zwischen Endpoint Central und ServiceDesk Plus korrekt eingerichtet und die automatische Besitzerzuordnung für ...
    • Zertifikat-Store erstellen und Zertifikate verlängern

      In diesem Video zeigen wir, wie man einen Zertifikat-Store ganz einfach mittels der eigenen CA (Certificate Authority) erstellt und diesen im nächsten Jahr mit einem Klick erneuern kann. Das gilt sowohl für Zertifikat-Stores der ManageEngine-Produkte ...
    • Verteilung über WoL nicht möglich

      Herausforderung WoL funktioniert nicht und somit kann vor der Verteilung ein Rechner nicht mittels WoL aufgeweckt werden. Lösung 1. Im BIOS sollten sowohl der Wake-On-LAN- als auch der Deep-Sleep-Modus (falls verfügbar) konfiguriert werden. Wake on ...
    • Response Time - SLAs einhalten

      Die erste Reaktion muss ein Hinweis oder eine Antwort an den Kunden sein. Unter Allgemeine Einstellungen - Erweiterte Portaleinstellungen kann man den Punkt finden.