Uninstall Agents

You can uninstall the SysTrack Agent from the client systems in one of three ways:

  • From the Assignments page in SysTrack Configure

  • From SysTrack Deploy

  • By using a command delivered to the client systems through a batch file or startup script

For assistance with the uninstall process, contact SysTrack Customer Support at support@lakesidesoftware.com.

Uninstall Order

The uninstall order is reverse of the Install Order.  Systems Management Agent must be uninstalled before uninstalling Microsoft Visual C++ 2015-2019 Redistributable (x86 and x64).

Uninstall Order:  (Opposite of the Installation Order)

1st:    Systems Management Agent_x32.msi

2nd:    VC_redist.x86.exe – 32-bit and 64-bit operating systems

3rd:    VC_redist.x64.exe – 64-bit operating systems only

Uninstall through SMS

You may uninstall SysTrack from child systems via Deployment Tool but, for those who wish to use some other methods, read the following:

Important:  Install, reinstall, upgrade, and uninstall must take place on the **golden image** for the Non-persistent desktop.

  1. Uninstallations must occur in the following order (seen in Programs and Features panel):

1st:    Systems Management Agent

2nd:    Microsoft Visual C++ 2015-2019 Redistributable (x86)

3rd:    Microsoft Visual C++ 2015-2019 Redistributable (x64)

  1. To enable/set time to remove the non-connecting child system(s) from Deployment Tool tree, run Deployment Tool found on the system where you installed the Administrative Tools.

    1. Enter the Master system name or IP address where your child system(s) reside.

Enter here

Graphical user interface, application

Description automatically generated

  1. Open the Global Configuration Items

    1. Select the menu item: Configuration > Global Configuration Items…

    2. Select the Deployment tab.

      1. “Auto remove time enabled for non-connecting systems” set True.

        Table

Description automatically generated

  1. Set ‘Auto remove time for non-connecting systems’ to the number of days a system has not connected to the master system before removing system from tree.  Default is 30 days.

    Graphical user interface, table

Description automatically generated

  2. Press the OK button.

  1. Two uninstall methods to consider:

    1. Large scale

    2. Small scale

  1. (Large scale) This section may be simplified for large scale uninstalls by executing the following command line:

    1. On the master system, copy “LsiCins.exe” from the <SysTrack install directory>\Agent\LsiAgent (e.g. C:\Program Files\SysTrack\Agent\LsiAgent) to a network share that all the child systems will have access.

    2. Launch the executable with the following command:

      1. LsiCins.exe –forceuninstall

  2. (Small scale) The registry has an entry defining the command needed to uninstall via other method. You’ll have to browse through the entries in this registry location until the specific GUID that refers to the Systems Management Agent are located.  Once found, use the value of the registry value named ‘UninstallString’ to uninstall.  Both Microsoft Visual C++ 2015-2019 Redistributable (x86) and Microsoft Visual C++ 2015-2019 Redistributable (x64) will be given below.

    1. Search registry key to get command line to uninstall Systems Management Agent:

      1. (32-bit OS) Registry

        1. HKEY_LOCAL_MACHINE\SOFTWARE\Lakeside Software\Deploy

          1. Get value of registry value named ChildMsiUninstallString

            -Or-

        2. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{<GUID>}

          1. Get value of registry value named UninstallString

      2. (64-bit OS) Registry

        1. HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Lakeside Software\Deploy

          1. Get value of registry value named ChildMsiUninstallString

            -Or-

        2. HKEY_LOCAL_MACHINE\SOFTWARE\ Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{<GUID>}

          1. Get value of registry value named UninstallString

    2. Uninstall Systems Management Agent:  From the child system, open a command prompt window and enter the following command:

      Registry:

      Msiexec.exe /qn /x {<Registry GUID goes here>} REBOOT=R /L*v <enter path to an existing temp folder>\silentuninstall.log (logging optional)

      Uninstall (no logging):

      Uninstall (with logging, create temp folder)

      -or-

      Point to the MSI file, if available:

      Msiexec.exe /x <path to msi>\Systems Management Agent_x32.msi REBOOT=R

      1. A successful removal log entry toward the bottom should look like the following:

        MSI (s) (18:14) [11:58:36:908]: Product: Systems Management Agent -- Removal completed successfully.

    3. Uninstall Microsoft Visual C++ 2015-2019 Redistributable (x86):  From the child system, bring up a command prompt window and enter the following command:

      1. From registry example:

        "C:\ProgramData\Package Cache\{Registry GUID goes here>}\VC_redist.x86.exe" /uninstall /quiet /log %temp%\vc2019x86_uninstall.log

      2. A successful removal log entry toward the bottom should look like the following:

        Creates 3 log files:

            vc2019x86_uninstall.log

            vc2019x86_uninstall_000_vcRuntimeAdditional_x86.log

            vc2019x86_uninstall_001_vcRuntimeMinimum_x86.log

        [0C28:03F0][2020-02-20T11:13:47]i007: Exit code: 0x0, restarting: No

        MSI (s) (0C:28) [11:13:46:133]: Product: Microsoft Visual C++ 2019 X86 Additional Runtime - 14.24.28127 -- Removal completed successfully.

        MSI (s) (0C:F4) [11:13:47:428]: Product: Microsoft Visual C++ 2019 X86 Minimum Runtime - 14.24.28127 -- Removal completed successfully.

    4. Uninstall Microsoft Visual C++ 2015-2019 Redistributable (x64):  From the child system, bring up a command prompt window and enter the following command:

      1. From registry example:

        "C:\ProgramData\Package Cache\{Registry GUID goes here>}\VC_redist.x64.exe" /uninstall /quiet /log %temp%\vc2019x64_uninstall.log

      2. A successful removal log entry toward the bottom should look like the following:

        Creates 3 log files:

            vc2019x64_uninstall.log

            vc2019x64_uninstall_000_vcRuntimeAdditional_x64.log

            vc2019x64_uninstall_001_vcRuntimeMinimum_x64.log

        [0C28:03F0][2020-02-20T11:13:47]i007: Exit code: 0x0, restarting: No

        MSI (s) (0C:28) [11:13:46:133]: Product: Microsoft Visual C++ 2019 X64 Additional Runtime - 14.24.28127 -- Removal completed successfully.

        MSI (s) (0C:F4) [11:13:47:428]: Product: Microsoft Visual C++ 2019 X64 Minimum Runtime - 14.24.28127 -- Removal completed successfully.

    5. Switch Information:

      1. REBOOT=R: to suppress automatic and certain prompts for system restarts.

      2. /q – (q)silent mode (no user interaction); (n)no user interface

      3. /x – uninstall

      4. /L*v – verbose logging (optional): Systems Management Agent_x32.msi only

      5. /log – path to create log file:  Visual C++ 2019 only

    6. More Information:

      http://technet.microsoft.com/en-us/library/cc759262(WS.10).aspx#BKMK_Uninstall