Starting version 8.9.03, BMC Network Automation is renamed to TrueSight Network Automation. This space contains information about BMC Network Automation 8.9.02 and previous versions. For TrueSight Network Automation 8.9.03 and later releases, see the TrueSight Network Automation documentation.

Uninstalling silently

A silent uninstallation is non-interactive and does not launch a wizard. It enables you to quickly repeat the uninstallation by using the same parameters for multiple BMC Network Automation application servers and remote device agents.

To uninstall in silent mode

  1. Create a text file called options.txt.
    For more information, see Automatically generating an options.txt file.
    Make sure to include the appropriate -P, -J, or -U option.



    Syntax and examples


    Sets the installation folder for an application.

    -P <installLocation>=<filePath>

    Application server for Microsoft Windows:
    -P installLocation=C:\Program Files\BMC Software\BCA-Networks

    Application server for Linux:
    -P installLocation=/opt/bmc/bca-networks

    Remote device agent for Windows: -P installLocation=C:\Program Files\BMC Software\BCA-Networks-Agent
    Remote device agent for Linux: -P installLocation=/opt/bmc/bca-networks-agent

    Note: If you installed BMC Network Automation in a non-default path, replace the path with the actual installation path.


    Uninstalls a product or an individual feature.

    -U product<productName>
    -U feature<featureName>

    Application server: -U featureBcanServer
    Remote device agent: -U featureBcanDeviceAgent
    TFTP server (Windows only): -U featureBcanTftpServer


    Specifies Java properties that correspond to user inputs.

    To preserve the operational data on uninstall:

  2. Save the options file.
  3. Change to the directory where the uninstall file is located, for example:
    • Application server for Windows — C:\Program Files\BMC Software\BCA-Networks\UninstallBMCBcan
    • Application server for Linux — /opt/bmc/bca-networks/UninstallBMCBcan
    • Remote device agent for Windows — C:\Program Files\BMC Software\BCA-Networks-Agent\UninstallBMCBcan
    • Remote device agent for Linux — /opt/bmc/bca-networks-agent/UninstallBMCBcan


      If you installed BMC Network Automation in a non-default path, replace the path with the actual installation path.

  4. Run the uninstaller with the -i silentoption.
    • For Windows, enter:

      uninstall.cmd -i silent -DOPTIONS_FILE=pathToFile\options.txt
    • For Linux, enter:

      ./ -i silent -DOPTIONS_FILE=pathToFile/options.txt


You must specify an absolute path to the options.txt file because the uninstaller does not execute from the directory where you run the command.

Was this page helpful? Yes No Submitting... Thank you