0 pts.
 How to automate security settings
I'm looking for a command line utility and associated syntax that will permit me to automate, via shell script, the setting of a user's 'User Rights Assignment'. I want to add the following to a new user account: Log on as batch job, Log on as service, Deny logon locally, Manage auditing and security log Any info in automating this setup would be greatly appreciated.

Software/Hardware used:
ASKED: July 10, 2005  11:41 AM
UPDATED: October 23, 2008  5:57 PM

Answer Wiki:
secedit.exe is builtin to Windows 2000/XP/2003. It will allow you to apply security templates designed either "by hand" or by using the "Security Templates" mmc snap-in also available builtin on the aforementioned versions of Windows. There are also a number of sample templates available for viewing using the snap-in. Once you've created the template you can apply it using secedit.exe, the "Security Analysis and Configuration" snap-in or by importing it into a Group Policy Object.
Last Wiki Answer Submitted:  July 11, 2005  2:07 am  by  Amigus   0 pts.
All Answer Wiki Contributors:  Amigus   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

The tool discussed in this tip from SearchEnterpriseDesktop.com provides some more information on how you can automate security updates.