How to manually uninstall Applications Manager?

How to manually uninstall Applications Manager?

Windows

To manually uninstall Applications Manager in Windows, follow the steps given below:
  1. Shutdown Applications Manager (Make sure the service is stopped if installed as a service)
  2. Start command prompt as an administrator [cmd > right click --> run as administrator] View screenshot
  3. Go to <Applications Manager Home> directory ( by default C:\Program Files\ManageEngine\AppManager\ ) and execute the below command,
           shutdownApplicationsManager.bat -force
  4. Click on the Windows Start button -> Run -> regedit. Then in the Registry Editor, go to
           For 32-bit machine: HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Windows -> CurrentVersion -> Uninstall 
           For 64-bit machine: HKEY_LOCAL_MACHINE-> SOFTWARE -> Wow6432Node -> Microsoft -> Windows -> CurrentVersion -> Uninstall
    Delete the entry {e6aea16f-0377-42b0-b4eb-7fa3dbbfdfaf}. If that key is not present, check and delete the keys which start like
           Profxxxxx - Found for professional edition (standalone installation)
               or
           AAMxxxxx - Found for Admin Server (Enterprise Edition)
               or
          MASxxxxx - Found For Managed Server (Enterprise Edition)
    (when you click on the entries, you will see for the DisplayName key value as ManageEngine Applications Manager).
  5. Delete the directory which has the same name as the above entry in the "C:\Program Files\InstallShield Installation Information\" directory (For a 64 bit machine, go to 'C:\Program Files (x86)\InstallShield Installation Information' directory)
  6. If Applications Manager is installed as service, uninstall the service first by executing the uninstallService.bat file under <Applications Manager Home>\bin\ directory.
  7. Delete from the start menu options by right clicking on Start -> All Programs -> ManageEngine Applications Manager xx and choosing the delete option.
  8. Finally, delete all the files present under <Applications Manager Home> directory. 

Linux

To manually uninstall Applications Manager in Linux, follow the steps given below:
  1. From the command line, go to <Applications Manager Home> directory (by default, it is under /opt/ManageEngine/AppManager ) and execute the below commands:
          sh shutdownApplicationsManager.sh
          sh shutdownApplicationsManager.sh -force
  2. Exit out of the command prompt and close all files, folders opened in the <Applications Manager Home> directory.
  3. Execute the command ./uninstallApplicationsManager from the <Applications Manager Home> directory.
  4. If there is any issue still due to permission problem or any files still locked then run below command to make sure all process are killed from the /opt/ManageEngine/AppManager location.
        ps -auxwwwwwww|grep working|grep \`pwd\`|grep java|awk '{system("kill -9 "$2)}'
        ps -auxwwwwwww|grep working|grep \`pwd\`|grep mysql|awk '{system("kill -9 "$2)}'
        rm -rf ./working/mysql/mysql.sock
  5. Finally, delete all the files present under the <Applications Manager Home> directory. (by default, it is under /opt/ManageEngine/AppManager )

          • Related Articles

          • OpManager crashed/shut down while silently installing Applications Manager Plugin

            If OpManager installed in Windows machine Stop OpManager service and it's related processes Open Resource Monitor in the OpManager installed machine Click on the CPU tab In the Search Handles bar which can be found in the Associated Handles row, type ...
          • Disable HTTP access in Applications Manager

            Overview This article describes configuring a secure connection between Applications Manager server and the browser/client. Applications Manager can be accessed through any of the following URLs: For HTTP  -> http://[hostname/ip-address]:[http-port] ...
          • Maintenance of Applications Manager

            Applications Manager with MySQL database Open services.msc, stop “ManageEngine Applications Manager” service or via command prompt with administrator permission. If using command prompt, navigate to <Applications Manager Home> directory and execute ...
          • Uninstall option opens the Installation wizard

            This article explains the step to follow, if some one comes across the issue where executing the uninstall option leads to the installation wizard and the user is shown the steps to install the product instead of steps to uninstall. To rectify the ...
          • Installing Applications Manager in AWS

            Applications Manager can be installed in EC2 instances in both Windows and Linux platforms.  Applications Manager comes with bundled PostgreSQL. Installing Applications Manager in EC2 for Windows Go to EC2 console and launch an "Windows" instance ...