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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 03/21/2008 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
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.
Answered 03/22/2008 by: jtwigg
Yellow Belt

Please log in to comment
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.
Answered 03/23/2008 by: p4ntb0y
Orange Belt

Please log in to comment
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.
Answered 03/24/2008 by: mhsl808
Fifth Degree Brown Belt

Please log in to comment
0
I was able to solve this using a Wise Script.
Answered 03/24/2008 by: mhsl808
Fifth Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity