Using silent mode to install an RSCD agent (Windows)

To perform an unattended installation of the RSCD agent on a Microsoft Windows computer, use silent mode.

To install the agent on multiple computers, you can use an Agent Installer Job or the Unified Agent Installer. See Running the Unified Agent Installer.

Before you begin

  • The RSCD agent for Microsoft Windows requires that the Server service is running in order to function correctly.
  • For a server to provide information about Windows Group Policy objects, the file secedit.exe must be installed on the server, and it must be included in the server's executable path.
  • If the server is a domain member or domain controller, confirm that the Net Logon service is enabled and running before installing the RSCD agent. The agent uses the Net Logon service to determine the domain and obtain information about the machine. If the server is not part of a Windows domain, the agent uses a different method for determining machine information. Additionally, the automation principal feature uses the Net Logon service to access domain user information so the automation principal can act as a domain user.

    Note

    If you subsequently remove the agent computer from the domain, you must also remove the Net Logon dependency (via the registry) and restart the agent. Otherwise, the agent will not start.

  • The patch analysis function of BMC Server Automation requires the Microsoft XML (MSXML) parser version 6.0 SP2 or later to be installed on the server on which the RSCD agent is installed. You can install the RSCD agent on a computer on which MSXML is not installed, but patch analysis does not function correctly until MSXML 6.0 SP2 or later is installed.

Note

To enable patch deployment on Windows servers where a version 8.2.0 agent is installed, additional steps may be required. See Enabling deployment on Windows servers. This requirement was eliminated for agents running version 8.2.1 or later, as described in Agent installation and default treatment of the Windows Administrators group.

To install an RSCD agent in silent mode

  1. Copy the installation program (RSCD<version-platform>.msi) to the Windows system where you plan to install the agent.
  2. Change the directory to the location where the installer resides.
  3. At the command prompt, enter the command:
    msiexec /I RSCD<version-platform>.msi /QN <PROPERTY=value> <PROPERTY=value>
    where:
    • RSCD<version-platform>.msi is the name of the agent installer.
    • /QN — Sets the user interface level to no UI. Optionally, you can use /QB to display a progress bar for the installation.
    • (Optional) /L*V <logLocation> — Logs information about the installation to the file you specify.
    • <PROPERTY=value>— Specifies a property that overrides the default installation settings. You can specify one or more of the following properties:

      Property

      Description

      Possible values

      REBOOT

      The REBOOT property, set to the ReallySuppress value, is necessary to ensure that you are not prompted to reboot the host computer towards the end of the silent installation.

       

      INSTALLDIR

      The target location for the RSCD installation. The default is: C:\Program Files\BMC Software\BladeLogic\RSCD.

      Any valid path for Windows. Enclose the path in double quotation marks (" ").

      EXPORTSFILE

      Specifies the location of a file to use as the exports file for the RSCD agent. The installation renames the specified file to exports and puts it in the RSCD agent configuration file directory. The installation does not overwrite an existing file, if found. In addition, you cannot edit the specified file in the installation program GUI. For details about the exports configuration file, see Configuring the exports file.

      The full path to a file. The file name can contain Windows path variables (for example, %temp%); however, the file must reside on the local file system of the computer on which you are installing the agent.

      KEYLOGS

      Enables or disables use of keystroke logs for nexec commands. Keystroke logs capture log information from remote commands run on the agent using nexec. The logs are also periodically rolled and digitally signed as they are rolled.

      1 (enable) or 0 (disable). The default is 1.

      LOGFILEDIR

      Location of agent log files. The default is: C:\Program Files\BMC Software\BladeLogic\RSCD.

      Valid directory for RSCD log files

      MAPUSER

      A local user's account. If you specify a value for this property, the exports file is modified to force the agent to impersonate the specified user for all activities. By default, the property is not set and no user mapping is created.

      String

      RSCDPORT

      Sets the RSCD port number in rscd entry of the agent's secure file.

      Valid port number. The default is 4750.

      SECUREFILE

      Specifies the location of a file to use as the secure file for the RSCD agent. The installation renames the specified file to secure and puts it in the RSCD agent configuration file directory. The installation does not overwrite an existing file, if found. In addition, you cannot edit the specified file in the installation program GUI. For details about the secure file, see Configuring the secure file.

      The full path to a file. The file name can contain Windows path variables (for example, %temp%); however, the file must reside on the local file system of the computer on which you are installing the agent.

      SECURELOGS

      Enables or disables use of secure (digitally signed) logs for the RSCD agent. Secure agent logs have message authentication codes and sequence numbers assigned to the current log and digitally signed rolled logs.

      1 (enable) or 0 (disable). The default is 1.

      USERSLOCALFILE

      Specifies the location of a file to use as the users.local file for the RSCD agent. The installation renames the specified file to users.local and puts it in the RSCD agent configuration file directory. The installation does not overwrite an existing file, if found. In addition, you cannot edit the specified file in the installation program GUI. For details about the users.local configuration file, see Configuring the users or users.local files.

      The full path to a file. The file name can contain Windows path variables (for example, %temp%); however, the file must reside on the local file system of the computer on which you are installing the agent.

For example:
msiexec /I RSCD86-WIN32.msi /QB /L*V C:\rscd.log REBOOT=ReallySuppress INSTALLDIR="C:\Program Files\RSCD" KEYLOGS=0 MAPUSER=Administrator RSCDPORT=4400

This example specifies that:

  • The installation displays a progress bar but no UI.
  • Information about the installation is logged to C:\rscd.log.
  • Any need for reboot will be suppressed and handled by the installer.
  • The installation location is changed from the default to: C:\Program Files\RSCD.
  • Keystroke logging is disabled.
  • All client connections to the server are mapped to the local user called Administrator and run with Administrator permissions.
  • The RSCD port is changed from the default to 4400.

Using silent mode to uninstall the RSCD agent

To uninstall the RSCD agent in silent mode, use the Microsoft Windows Installer.

To use silent mode to uninstall the RSCD agent

  1. On the computer where you installed the agent, change the directory to the location of the installer program.
  2. At the command prompt, enter the command:
    msiexec /QN /X "<PackageName>|<ProductCode>"

    For example:
    msiexec /QN /X "{10C114523-8CAD-4358-A816-41B487B85A0D}"

    Where
    • /QN — Sets the user interface level to no UI.
    • /X — Specifies the package name or product code, enclosed in quotes.
      • The package name is the installer name (RSCD<version-platform>.msi). If the package resides on the computer on which you are uninstalling, you can specify the package name for the uninstall.
      • The RSCD agent product code is 10C114523-8CAD-4358-A816-41B487B85A0D. You can find the RSCD agent product code in the following registry key:
        HKEY_LOCAL_MACHINE\SOFTWARE\BladeLogic\RSCD Agent\ProductCode
Was this page helpful? Yes No Submitting... Thank you

Comments