Systems Management Agent Uninstall

This page covers uninstalling the Systems Management Agent MSI and deleting the database file.

WARNING: Deleting the agent database is permanent!

By default, the Systems Management Agent (child agent) MSI uninstall does not delete the database file because the MSI does not have a command line argument to remove the database file.

Example: C:\Program Files (x86)\SysTrack\LsiAgent\MDB\collect.sqlite3

However, the child MSI uninstall will delete the database file if a registry value is found.

There are two ways to add the registry value before you uninstall the Systems Management Agent:

  1. Manually add a registry value to the child system’s registry (regedit).

  2. Configure SysTrack Deployment Tool (on-prem).

Add a Registry Value to Child System

Follow these steps to add a registry value to a child system.

  1. Open the registry (regedit) on the child system.

  2. Create a registry DWORD value named PreserveData and set to 0.

    • For 64bit OS Registry key:

      HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Lakeside Software\LsiAgent\DeployerSettings

    • Registry key (32bit OS):

      HKEY_LOCAL_MACHINE\SOFTWARE\Lakeside Software\LsiAgent\DeployerSettings

Configure SysTrack Deployment Tool (On-Premises)

Follow these steps to configure the deployment tool for SysTrack On-Premises.

    1. Open SysTrack Deployment Tool and connect to the master server.

    2. Go to Configuration > Global Configuration Items...

      Select Global Configuration Items from the Configuration menu

    3. Click Tree Settings and uncheck Preserve Data.

      Tree Settings in Global Configuration Items

    4. Click OK.

      NOTE: It may take a few minutes to add the registry value to the child system.

      This change creates a registry (DWORD) value named PreserveData which is set to 0.

    After the registry value is added to the child system's registry, you can uninstall the Systems Management Agent and it will delete the database file.