Run the LEM Local Agent Installer non-interactively for large Windows deployments

The Local Agent Installer allows you to install the LEM Agent without the need to step through an installation wizard. This option is only available for Windows systems.

You can run the Local Agent Installer non-interactively using software distribution policies or local logon scripts. This method is an alternative to the Windows-only Remote Agent Installer in large deployment scenarios.

This procedure only works with the local installer. Do not use the Remote Agent Installer for this task.

Installation notes

See LEM Agent pre-installation checklist: Prepare to deploy LEM Agents for Agent download information and a pre-install checklist.

There are three steps to using the Local Agent Installer to install the LEM Agent non-interactively. Each step is described in detail in the sections below.

  1. Create the setup.* installer file for the operating system running on the computer hosting the LEM Agent. The installer file extension is unique for each Windows operating system.
  2. Configure a custom file that contains your environmental variables.
  3. Run the Local Agent Installer non-interactively.

See Run the LEM Remote Agent Installer non-interactively for large Windows deployments for more information about installing the SolarWinds LEM Agent.

Create a setup file for the Local Agent Installer

  1. Download the installer from the SolarWinds Customer Portal:

    1. Log in to the Customer Portal.

    2. Navigate to the License Management page.

    3. Locate LEM in the product list, and then click Choose Download.

    4. Download the local Agent installer for Windows. Find the appropriate installer on the list.

      Be sure you download the Local Agent Installer. You cannot use the Remote Agent Installer for this task.

  2. Extract the contents of the installer ZIP file to a local or network location.

  3. Copy setup.* to a known location.

Configure a custom file

  1. Open a text editor and create a file with the following two lines, followed by a carriage return:

    /* Remove this third line and replace it with a carriage return. The third line needs to be blank. */


    • <LEMManagerHostname> is the hostname or IP address of the LEM appliance.

    • <n> is 0 or 1. Specify 0 if USB defender should not be installed, or 1 if USB defender should be installed.

  2. Verify that a blank line with a carriage return follows the INSTALL_USB_DEFENDER entry.

    A blank line with a carriage return after the INSTALL_USB_DEFENDER entry is required for the file to work correctly.

    The contents of the file should look similar to this:


  3. Save the file as in the same folder as the setup.* file.

Run the Local Agent Installer non-interactively

  1. Verify that setup.* and are located in the same folder.

    UNC paths should not be used during this installation.

  2. Run the command, setup -i silent using the active resource directory that matches the folder that contains the two installer files. The command immediately returns to the command prompt.

    Right-click the installer file and select Run as administrator.

    The LEM Agent starts automatically and continues running until you uninstall or manually stop the Agent. It begins sending alerts to your LEM Manager immediately. The LEM Agent should also appear in Add/Remove Programs.

    Next steps: