Is there some batch command out there that will allow me to edit a server's Local Security Policy / User Rights Assignment ? Looking to add a user to 3 of the policies here: "Allow Log On Locally" , "Log On as a Batch Job" and "Log On as a Service" I prep servers for many companies preparing for the installation of my companies software. Many pieces of this software need user credentials for services and batch jobs.
I'm looking for some registry keys to edit so I can add them to my server prep script.
Any ideas?
Thanks in advance
you can use the ntrights command from the resource kit, see more info here http://ss64.com/nt/ntrights.html and then try this
ntrights -u userName +r SeInteractiveLogonRight