Re: set local group policy using a script
From: Martin (Martin_at_discussions.microsoft.com)
Date: 12/16/04
- Next message: Johan Arwidmark: "Re: WinPE on Hard Disk"
- Previous message: Pegasus \(MVP\): "Re: Getting rid of dual boot setup?"
- In reply to: george: "Re: set local group policy using a script"
- Next in thread: george: "Re: set local group policy using a script"
- Reply: george: "Re: set local group policy using a script"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 16 Dec 2004 15:39:03 -0800
Hi,
Thanx for the answer,
The settings I want to export and import is not the security settings.
The security settings you see in the "Security Templates" mmc is the same as
in gpedit.msc - Computer Configuration - Windows settings - Security Settings
And the policy's I want to export and import (automatic) is located in
gpedit.msc-Computerconfiguration -Administrative- Templates-Windows
components-Windows installer settings.
They are not listed in the "Security Templates" mmc !!
The template for the settings in gpedit.msc-Computerconfiguration
-Administrative- Templates, are stored i .adm files in the %windir%\inf
folder.
But these files at just templates, for the policy. I want to know if it is
possible to change these policy's "programtically" by using a script.
\Martin
"george" wrote:
> create MMC
> add snapins:
> Security Configuration and Analysis
> and
> Security Templates.
> Take one to the (most appropriate) Security templates and copy it (ie, right
> click it and Save As... with your own name.
> Go into this new template and set all the options the way you want them
> (eventually on multiple machines) and save the template back to disk.
> Now click on Security Configuration and Analysis and follow the instructions
> on the right hand side to create a new Database with your required settings
> inthere.
> Then look up the secedit command parameters, notably to see the "secedit
> /configure" .
> just enter secedit on the command line and follow the helpinfo from there.
> This should get you where you want to go.
> hope it wasn't too confusing and helps you further.
>
> george
>
>
>
> "Martin" <Martin@discussions.microsoft.com> wrote in message
> news:AD056EA5-A7B1-4C64-931C-8DD8B9651F54@microsoft.com...
> > Hi,
> > Thanks for the reply,
> >
> > So if I want to export gpedit.msc-Computerconfiguration -Administrative
> > Templates-Windows components-Windows installer settings , for
> > automatically
> > implementation on other computers (no ad access), how do I use Secedit for
> > this ?
> >
> > \Martin
> > "Stew Basterash" wrote:
> >
> >> Yes...
> >>
> >> Create a security template and apply it using Secedit.exe...
> >>
> >> Stew Basterash.
> >>
> >> "Martin" <Martin@discussions.microsoft.com> wrote in message
> >> news:F82BBBFE-249D-4587-AA47-318A8AACE5AB@microsoft.com...
> >> > Hi,
> >> >
> >> > Is it possible to set a Local Group policy using wsh (set policy using
> >> > the
> >> > registry is not an option) ?
> >> >
> >> > thanx in advance ..
> >> >
> >> > Martin
> >>
> >>
> >>
>
>
>
- Next message: Johan Arwidmark: "Re: WinPE on Hard Disk"
- Previous message: Pegasus \(MVP\): "Re: Getting rid of dual boot setup?"
- In reply to: george: "Re: set local group policy using a script"
- Next in thread: george: "Re: set local group policy using a script"
- Reply: george: "Re: set local group policy using a script"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|