english francais

Setting up EntAudit.exe to email from the command line

I would like to have EntAudit.exe email snapshots to me.  How do I configure this?

Article Details

EntAudit.exe takes the following command line arguments:

EntAudit [/?] | [-email] [filename]

  • /?    Show the help for EntAudit
  • -email    Sends audit snapshot by email, using the settings specified in the settings.ini file located in the same directory as EntAudit.exe.
  • filename    Specifies the directory and/or filename where the snapshot file will be written. If no filename is provided then snapshot file will be written to MACHINE_NAME.esp, where MACHINE_NAME is the network name of the machine that you are auditing.

In order for the emailing itself to succeed, you need to have a "settings.ini" file in the same directory as entaudit.exe.  The settings file should contain the following contents:

  • For unauthorized SMTP:

    [Settings]
    SMTP Server=mail.my_smtp_server.net
    SMTP Port=25
    SMTP SenderAddress=from_address@from_domain.org
    Snapshot Delivery Address=to_address@to_domain.com