--- title: "Troubleshoot a Failed Agent Installation" slug: "failed-installation" description: "Use the installation log to find why an On-Premises SysTrack agent installation failed, with examples of common log errors." status: "update" updated: 2026-11-23T09:34:41Z published: 2026-11-23T09:34:32Z canonical: "documentation.lakesidesoftware.com/failed-installation" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.lakesidesoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Troubleshoot a Failed Agent Installation If the agent installation fails, the installation log helps you find the cause. To create the log, add the `/L*v` switch to the installation command line. ## Failure During the Installation If the failure occurred during the installation, search for the phrase `return value 3` in the LOG file. Each action that takes place during an installation will return a value and log it as `return value #`. When an action fails, you should see the phrase `return value 3` and some other information immediately before or after this line and should help pinpoint where and why the installation failed. ## Failure Before the Installation Starts If a failure occurs before the installation begins, the LOG file will have very few lines of information available and the phrase `return value 3` may not exist. Verify that the command line is correct, including the spelling of the path to the MSI file. ### Example 1: UAC Issue ```plaintext MSI (s) (B8:D0) [08:57:16:681]: Note: 1: 2203 2: \\server\share\msi\Systems Management Agent_x32.msi 3:-2147023570 MSI (s) (B8:D0) [08:57:16:681]: MainEngineThread is returning 1620 MSI (c) (4C:68) [08:57:16:697]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1 MSI (c) (4C:68) [08:57:16:697]: MainEngineThread is returning 1620 === Verbose logging stopped: 7/9/2019 8:57:16 === ``` - Information: User was logged on as local admin on a Vista system launching the MSI as administrator via command prompt window. - Troubleshoot: the example above shows the following return codes: - 2147023570 means Unknown username or bad password - 1620 means this installation package could not be opened. - Troubleshoot: the path used to launch the MSI file pointed to a network share (\\server\share...). - Possible solution: - Change UAC settings to allow the MSI installation to occur. - Do not use a shared path. Copy MSI file to your local system and launch the MSI pointing to the local path. ### Example 2: Wrong Path to the MSI File This is all the information displayed in the log: ```plaintext MSI (s) (78:A0) [09:29:34:328]: Note: 1: 2203 2: c:\sms464\Systems Management Agent_x32.msi 3: -2147287038 MSI (s) (78:A0) [09:29:34:328]: MainEngineThread is returning 2 MSI (c) (A8:DC) [09:29:34:328]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1 MSI (c) (A8:DC) [09:29:34:328]: MainEngineThread is returning 2 === Verbose logging stopped: 7/9/2019 9:29:34 === ``` - Few lines of information in an installation log also may indicate the wrong path or incorrect syntax was entered in a command line. - The example above shows the return error -2147287038 which translates to mean %1 could not be found. - In this case, an incorrect path to Systems Management Agent_x32.msi was entered in the command line. - Solution: Rewrite the command line with the correct path and restart the installation. ## Error 1920: The Agent Service Doesn't Start If the log shows Error 1920 (Service Systems Management Agent (LsiAgent) failed to start), the Visual C++ Redistributable prerequisites are usually missing, or the system needs a restart after an earlier install or uninstall. Check that the prerequisites are installed (see [Prerequisites for Agent Installation](/documentation/docs/prerequisites-for-32-bit-and-64-bit)). For the causes and fixes, see [Error 1920](/documentation/docs/error-1920-1) and [Agent Service Installation Error 1920/1923](/documentation/docs/agent-service-installation-error-1920-1923).