/build/static/layout/Breadcrumb_cap_w.png

Local Group Policies

Is there anyway to change local Group Policies from a command line? Running gpedit.msc will not work for what I need to do. I need to make changes to the local policies on the fly on many computers and have to do it from a command line.

Is there anyway to do it or do from a CMD window or do you have to run a vbscript or something similar?

Thank you.

0 Comments   [ + ] Show comments

Answers (5)

Posted by: aogilmor 16 years ago
9th Degree Black Belt
0
Look for secedit.
Documentation is sparse and I've never used it, but have heard others here swear by it. do a site or google search for secedit or secedit.exe command line. There are some posts here that will guide you to resources and tips.
Posted by: jtwigg 16 years ago
Yellow Belt
0
If the items that you need to set are configured through the registry, I would recommend using a VB Script (or powershell) to write the required registry keys and values.
Posted by: p4ntb0y 16 years ago
Orange Belt
0
When you say you have many computers do you not have a domain?

Just create a new policy with your settings and apply to your OU.

This aint Package Development its Windows Administration.

Are your machines getting polices that overwrite others? do a "gpresult" to check.

so many things can be wrong here you need to provide more info on what you actually want to do.
Posted by: mhsl808 16 years ago
Fifth Degree Brown Belt
0
It can't be done from the doman level. I am creating a package that will run on about 50 machines and all I need to do is open up 1 setting, install the app, and then close the setting.

I have yet to play with PowerShell so what commands should I look at to manipulate the Local group policies using that?

Thank you.
Posted by: mhsl808 16 years ago
Fifth Degree Brown Belt
0
I was able to solve this using a Wise Script.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ