I love the idea of doing less in C. Most of this code doesn't even belong in C IMO. Using something like powershell is probably the right answer to this problem and will probably explore it at some point (unless of course someone beats me to it) but even this solution requires tearing down the old, cleaning up and rebuilding. Oh and that precious thing called time.
I see no reason the many Windows Admins who have already spoken up in this thread can't put together something like this if they so desired. Please look into the code and tell me what you think. This thread has been great so far. Exactly what I wanted. A lot of good, thoughtful feedback from our awesome community. -- --- 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 ossec-list+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.