Re: export/import local group policy?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance





"Darren Mar-Elia (Group Policy MVP)" wrote:

Mark-
Easy is relative :). There is no way to export a local GPO. What you can
do, fairly roughly, is copy the contents of c:\windows\system32\grouppolicy
from one machine to another. However, its not completely that cut and dry.
First off, security policies are not represented in the local file system
and therefore can't be copied (you would have to export security settings
using a tool like secedit.exe). Secondly, just copying an existing local
GPO's files from one machine to the next may not guarantee that it actually
processes, because the local GPO's current version number, held in those
files, would need to be incremented from the existing version on the target
to ensure that the changed local GPO was detected.

The second possibility is here:
http://www.sdmsoftware.com/group_policy_scripting, which lets you use
Powershell to write scripts that can modify domain or local GPO settings
(same caveat around local security policy applies however). Disclaimer--it’s
a commercial product and its my company, but I did want to mention it as we
do have some folks using it for what you've asked :-).

Let me know if you have any questions on this.

Darren

Darren Mar-Elia
Group Policy Resource Site: http://www.gpoguy.com
Group Policy Blog: http://www.sdmsoftware.com/blog
Group Policy on Twitter:
http://www.twitter.com/grouppolicyguy
***********
Need to compare GPO settings? Get the SDM Software GPO Compare tool--
http://www.sdmsoftware.com/group_policy_compare
***********


"markd" <markd@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E4DC2090-B550-45BC-A891-CFC0F038417A@xxxxxxxxxxxxxxxx
Hi,

I'd like to apply local group policy to a number of machines that are not
domain members. Specifically, I have all domain members getting updates
through WSUS and now I need to implement the same configuration on a
number
of stand-alone servers. I'd prefer the local group policy method to
manually
setting the registry values.

Is there a way to easily export the local group policy settings from one
machine and import it into another?

"There is no way to export a local GPO"

What about using export in the Local Security Policy editor and then apply
it to new machines with the secedit command (secedit /configure /db
secedit.sdb /cfg C:\Security\Templates\LSPsettings.inf /overwrite) ?
.



Relevant Pages

  • Re: export/import local group policy?
    ... security policies are not represented in the local file system and therefore can't be copied (you would have to export security settings using a tool like secedit.exe). ... Secondly, just copying an existing local GPO's files from one machine to the next may not guarantee that it actually processes, because the local GPO's current version number, held in those files, would need to be incremented from the existing version on the target to ensure that the changed local GPO was detected. ... Group Policy Blog: http://www.sdmsoftware.com/blog ... I have all domain members getting updates ...
    (microsoft.public.windows.group_policy)
  • Re: 2 Windows XP, 1 Windows 2000 Domain, Security Settings Problem
    ... Policy being applied for those settings and the enforcing Group Policy. ... configure a Local Security Policy setting then that means that it is being ... for health of domain configuration and troubleshooting Group Policy ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Not Defined vs. Disabled Security Settings
    ... > I certainly don't propose that a user needs to define all settings in a ... > Group Policy. ... > in Local Security Policy and can cause a lot of problems if incompatible ... > settings are unintentiallly configured. ...
    (microsoft.public.win2000.security)
  • Re: Gpedit.msc, list only configured settings
    ... I assume that you want this for the local GPO? ... Have you looked into the Group Policy Management Console? ... How can i get a list of only configured settings of a group policy object? ...
    (microsoft.public.windows.server.active_directory)
  • Re: WMI missing security settings
    ... all RSoP_x WMI settings ... setting them in domain GPO and "local GPO". ... any "Group Policy Object". ...
    (microsoft.public.platformsdk.security)