How to automate security settings

pts.
Tags:
Windows
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.

Answer Wiki

Thanks. We'll let you know when a new response is added.

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.

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following