On 08/05/2014 04:01 AM, morgan cox wrote:
Just to add i'm having the same issue on Windows 2008/2012 servers with
AR and Ossec 2.8

https://groups.google.com/forum/#!topic/ossec-list/bTAbuvSZKGo

Well, I wasn't able to find the working version, but the shipped version seems to be close. Can you please try adding this to the '::Set some variables' section?

FOR /f "TOKENS=2*" %%A in ('REG QUERY HKLM\SYSTEM\CurrentControlSet\Services\OssecSvc /v ImagePath') DO (
  SET OSSECPATH=%%B
  SET OSSECPATH=%OSSECPATH:"=%
  SET OSSECPATH=%OSSECPATH:ossec-agent.exe=%
)

That should at least fix this issue with the undefined %OSSECPATH% (I think--some quick testing on XP seems to be working)

--

--- You received this message because you are subscribed to the Google Groups "ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to