The silent install option is provided for system administrators wishing to automate the process of installing Snare Enterprise Agent for MSSQL.

Command line options

The Snare Enterprise Agent for MSSQL installer has a number of command line options to support silent, automated installations in either deployment scenario:

If enabling web access with the command line options using /RemoteAllow and /RemoteLocal ensure the the password is set with /AccessKey.


When loading in an INF file for the MSSQL agent, ensure you use the parameters /SnarePass and /Reinstall.

Silent Install Setup Information File (INF)

To silently deploy a completely configured agent, the installer requires the help of a Setup Information File, also known as an INF file. To produce a working INF file, follow these steps:

  1. Install the Snare Enterprise Agent for MSSQL using the Wizard.
  2. Using the web interface configure the agent's Network, Remote Control and Heartbeat settings.
  3. Configure one or more audit policies targeting just one MSSQL instance.
  4. Ensure you have administrator rights, open a command prompt and browse to the directory where SnareMSSQL is installed.
  5. Run the following commands:
  6. You will be prompted with:
    Please enter the Encryption Password for sensitive information
    Enter and re-enter the password as directed for either the Service Account and/or the Sensitive Information encryption. 
  7. Your encrypted Installation Password will be displayed.  Note down the Installation Password. The /SnarePass command line option will accept this encrypted password and use it to decrypt the sensitive information in INFfile.

Silent Deployment

To install using the silent installer:

  1. Copy the Snare binary to your Snare installation e.g. c:\program files\snaremssql
  2. Ensure you have administrator rights, open a command prompt and browse to the directory where the setup program is stored.
  3. To install the SnareMSSQL application with the options specified in the mysettings.INF file, and not display any pop-up windows and create installation log files, run the file:
    Snare-MSSQL-Agent-v{Version}-{Architecture}.exe /verysilent /suppressmsgboxes /reinstall /LoadInf="mysettings.inf" /SnarePass="TG7Syk1ryEo=" /Log="c:\temp\mylogfile"
    This option is suitable for packaging and non-interactive installations. 
     For deployment in a failover cluster scenario, this command only needs to be run on one node by an account with administrator privileges that extends to all nodes in the cluster.
  4. To install the agent using the network configuration settings allowing access to the remote control interface with password set: 
    Snare-MSSQL-Agent-v{Version}-{Architecture}.exe /usehostip=1 /destination=10.1.1.1 /destport=514 /sockettype=0 /reinstall /verysilent /remoteallow=1 /accesskey=mypassword