Scripting - How do I tell when/if a security template was applied?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am writing a script to audit a server against hardening standards. Server is NOT a member of a domain and is in the DMZ. How can I tell programmatically it a security template was applied. I know I can use secedit to apply a template or analyze but how can you tell if a template was applied and when/which template? Please help.
 
The only thing I can suggest is to view the log file created when configuration is
done via secedit. Unfortunately the log file does not give the template name, but it
does list the time and if the application of settings was successful which should
help. --- Steve


fittee said:
I am writing a script to audit a server against hardening standards. Server is NOT
a member of a domain and is in the DMZ. How can I tell programmatically it a security
template was applied. I know I can use secedit to apply a template or analyze but
how can you tell if a template was applied and when/which template? Please help.
 
Back
Top