Uninstall Application Control for Linux

 

Windows Server

This section describes how to uninstall Application Control for Linux and cleanup your files. Follow these steps:

  1. Uninstall Mosquitto: before we uninstall AC for Linux , we need to remove Mosquitto:

    • Open Services, locate Mosquitto Broker, then stop the service. Once stopped, close the Services window.

    • Open the Control Panel, go to Programs > Features / Uninstall or Change a program. Right click on Eclipse Mosquitto MQTT broker and choose Uninstall, let the uninstall wizard run to finish.

    • Navigate to C:\Program Files and highlight the Mosquitto folder, use the shift+delete keys to permanently delete this folder.

  2. Clean up all the certificates and IIS website from your server: in order to do this , follow these steps:

    • As admin, open a Command prompt window and navigate to here:

      C:\Program Files\Ivanti\ACServer\Configure Environment

    • Next, type ConfigureEnvironmentApp.exe -uninstall, press Enter and let the command finish.

    • When finished, change directory, cd ../.., to exit the folder.

      If this is not done, the uninstall utility will leave residual files and folders in C:\Program Files\Ivanti\ACServer\ as if they are still in use.

    • Browse to C:\Program Files\Ivanti\ACServer\Configure Environment, and find the log file called configureApp.log. Open this log and make sure there are no errors listed.

  3. With those steps complete, now you can uninstall Ivanti AC for Linux:

    • Open the Control Panel, go to Programs and Features / Uninstall or change a program. Right click on Ivanti Application Control for Linux Server and choose Uninstall.

    • In the Modify Setup window, select Uninstall and let the wizard follow its course.

    • Close once Uninstall Successfully Completed message appears.

  4. Delete or archive the AcDatabase. The current uninstall process does not do this action automatically, so here is how to archive or delete AcDatabase on your SQL server:

    1. Archive the AcDatabase

      1. Open Microsoft SQL Server Management Studio and connect to your SQL server instance browser

      2. Under Databases , locate the AcDatabase.

      3. Right-click on the AcDatabase, then select Tasks > Back up. If you have version 2018/2019, this is not available.

      4. On the Back Up Database window, make sure the Database field contains the name of the database you want to back up.

      5. Select the Backup Type. By default, it is Full and this is the option you want.

      6. Click Remove to remove the default/last backup file name.

      7. Click Add to open the Select Backup Destination window.

      8. Click [...] next to the File Name field.

      9. On the Locate Database Files window, select the folder where you want the backup file to go. By default, it is:
        ..\Microsoft SQL Server\MSSQL.1\MSSQL\Backup

      10. In the File Name field, type the name for this backup, with a .bak extension. Recommended: AcDatabase_OLD.bak

      11. Click OK to close the Locate Database Files window.

      12. Click OK to close the Select Backup Destination window.

      13. Click OK to start the backup.
        The progress icon displays in the lower-left corner, and a ‘completed successfully’ message displays when it's done.

    2. Now that you have a backup of the AcDatabase, you can delete the active AcDatabase for your SQL server.
      Remember, you can always reinstate it by using the AcDatabase_OLD.bak we created earlier .

      1. Open Microsoft SQL Server Management Studio and connect to your SQL server instance browser.

      2. Under Databases, locate the AcDatabase.

      3. Right click on the AcDatabase and choose Delete from the menu.

      4. Un-select the delete backup ... box, if you want to keep the AcDatabase_OLD.bak file created earlier; leave that box ticked in if you do not want backups for you AcDatabase.

      5. Select in the box Close Existing Connections.

      6. Press OK.

      7. Right-click the Databases folder and choose refresh; AcDatabase should not be there anymore.

Additionally, if you do not need them anymore, you can also clean residual perquisite applications, that we leave behind, by hand . These are the Windows Server Hosting suite and the Visual C++ 2015-2022 redistributable.

  • Windows Server Hosting suite: this is not actually a suite , so you need to manually uninstall each component by hand , from Control Panel; go to Programs and Features / Uninstall or change a program

  • Microsoft Visual C++ 2015-2022 Redistributable: this is needed for many other applications on your windows server, however, if you want to uninstall it , make sure to uninstall both x64 and x86 versions.

Linux Endpoint

1.Find the package names on your Linux endpoint. The following command will return the names required:

rpm -qa | grep -i "ivanti*"

Example output:

ivanti-ac-engine-0.1-1.x86_64

ivanti-ac-agent-1.1-1.x86_64

2.Remove found packages.
Adapt the following commands with the package name values identified:

sudo yum remove -y <ivanti-ac-agent_package_name>

Example package_name: "ivanti-ac-agent-1.1-1.x86_64", quotes excluded.

Optional: if your Linux system cannot resolve Agent to Engine dependency, and does not automatically offer Engine removal, perform the following additional step:

sudo yum remove -y <ivanti-ac-engine_package_name>

Example package_name: "ivanti-ac-engine-0.1-1.x86_64", quotes excluded.

Related topics:

Installation Overview

Prerequisites

Install Windows Server

Install Linux

Troubleshooting - please see Ivanti Community, Troubleshooting Application Control for Linux

Application Control for Linux Utilization (opens Application Control Help)