Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to automate this step on a local network that's not included in a domain. I've tried using auto-it but had little luck with that. Is there any way of doing this using a batch script or using PowerShell ?

alt text

alt text

share|improve this question

You can create a template file that matches the security policy settings you wish to apply. This file can then be applied via the command line using a tool called secedit.

This link provides the details.

share|improve this answer
I have reviewed your link, @zdan, but there is one thing I am not sure about it: can a template file for secedit make changes to only one parameter of the Security Policies? Or will the template change all the parameters on the section? Thanks. – Sopalajo de Arrierez Mar 26 '14 at 0:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.