Secedit

Hi

Does anybody know how to script the turn on "Audit logon events" within the Audit Policy.

I found a old method on a forum which suggested the following

1. Configure a machine as wanted via secpol.msc
2. export it by running the following:
secedit /export /cfg c:\filename
3. copy that file to the managed files on the Kserver
4. create a script in kaseya that copies the file to the temp dir and runs:
secedit /import /cfg tempdir\filename /quiet

however this was obviously written for a older version of secedit.exe and it no longer supports /import.

The version of secedit.exe im using is 5.1.2600.5512

Any help would be appreciated.
 
http://technet.microsoft.com/en-us/library/hh875511.aspx

this was updated in april 2012.

===========

http://www.itninja.com/blog/view/performing-extra-security-configurations-using-ris

==========

http://books.google.com/books?id=k7...edit /export /cfg c:\filename, for xp&f=false

starting at page 158, about using secedit, and a bug within xp, read the knowledge base articles it refers to on page 159.

==========

http://social.technet.microsoft.com...andIgnore=True&searchTerm=secedit.exe,+for+xp

and you might want to post in the Technet forums for xp pro. I am not up on scripting, but hope the above links can help you.
 
Back
Top