Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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 at 0:03
add comment

Your Answer

 
discard

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.