Well if manage_agent.exe would support /y switch (force adding new
agent silently) then everything would be much easier.

For example running shell command during computer startup in windows

'get computer name
strComputerName = WSNetwork.ComputerName

'open key file
Set strFile = OpenTextFile(strComputerName,1)
strAgentKey = strFile.ReadLine

'add agent key
WSShell.Run manage_agent.exe -i -y strAgentKey


D.B.



On Aug 9, 10:29 pm, Michael Starks <[email protected]>
wrote:
> > Thanks very much for your reply.
> > I should be able to use the MSI package that comes with the new
> > version?
>
> I made some changes/bug fixes to the OSSEC Windows installer for the
> express purpose of facilitating mass installs better. You should see them
> in the next release. It's not an MSI package, but it most likely can be
> converted to one with one of the many tools out there. Key management is
> still out-of-band at the moment.
>
> --
> Michael Starks
> [I] Immutable Security
> Information Security, Privacy and Personal 
> Libertyhttp://www.immutablesecurity.com

Reply via email to