How to copy local Group Policy?


  1. Posts : 5
    Windows 7 x86
       #1

    How to copy local Group Policy?


    I have a large network of about 500 machines on a domain. I have set up a local account for exams, with a special local Group Policy that is for non-administrators. The group policy restricts almost everything apart from a few applications.

    I need to copy this GP over to another 20-30 machines. Is there any way i can do this.

    Copying %systemroot%\system32\grouppolicy didn't work.
      My Computer


  2. Posts : 130
    Windows 7 Ultimate 64-Bit SP1
       #2

    Welcome to Sevenforums theslowminded!

    After you copied the policy over, did you force the update?

    Code:
    gpupdate /force
      My Computer


  3. Posts : 5
    Windows 7 x86
    Thread Starter
       #3

    Hi V43L1N,

    Yes I have tried to force the policy in CMD, but to no avail.

    I have even tried using "save as" in the MMC, copying it to a USB, but when I try to load it on another machine I get the error "Failed to open the Group Policy Object on this computer. You may not have appropriate rights." "Details: No mapping between account names and security IDs was done."

    I am logged in as local admin so I should have the rights, even if I right click and select "Run as Administrator" I get the same error.
      My Computer


  4. Posts : 130
    Windows 7 Ultimate 64-Bit SP1
       #4

    Received the same error last week when I moved a GPO to a separate domain. Had to adjust the security properties in order to use it. Check the security properties and make sure your domain admin has full control.

    I'm sure you've done a lot of searching trying to solve this, but just in case you may have missed it, here is a KB from MS that lists your error and the causes for it:

    "Failed to Open the Group Policy Object" Error Message Occurs When You Try to Open a Policy As a Domain Administrator
    Group Policy Error Message When Appropriate Sysvol Contents Are Missing

    Couple of other questions:
    Can you access the local GPO on the system, before you replace it?
    -If you can, can you edit the policy without receiving errors?
    Have these systems already been joined to the domain?
    If any, what error is showing in the event logs?
      My Computer


  5. Posts : 5
    Windows 7 x86
    Thread Starter
       #5

    I have been trying to use Microsoft Security Compliance Manager (MSCM) to export a backup of the GP and then import it on the other machines, however it wont install.

    Is there any way I can create a logon script that would cause the same effects as group policy. All it needs to do is remove everything from the start menu, including the all programs button, just leaving My Docs and My computer (but not show the C drive), Remove all pinned aps from the taskbar, Deny right click, and only show specified shortcuts on the desktop.

    One thing that I have just noticed is that when I copy the GPO to another machine, it just copys the name of it and who it applies to, none of the GP that have been set to "Enabled" come across, they all revert to "Not Configured"

    As for your questions

    Can you access the local GPO on the system, before you replace it?
    -If you can, can you edit the policy without receiving errors?

    Yes, this is what I have been doing because I can't copy the GPO, I've been manually changing the 65 polices.

    Have these systems already been joined to the domain?
    If any, what error is showing in the event logs?

    The laptops automatically connect to the domain from the MDT imaging, so when I try to set them up for the Exam account I take it off the domain before I start. No errors show in event logs.
    Last edited by theslowminded; 27 Apr 2012 at 05:29.
      My Computer


  6. Posts : 4
    windows 7 Professional
       #6

    I have the same issue. Did you get to resolve it? Thanks!
    How to copy local Group Policy?-capture.png
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 12:30.
Find Us