Backup and Restore Local Group Policy Settings in Windows 10

    Backup and Restore Local Group Policy Settings in Windows 10

    How to Backup and Restore Local Group Policy Settings in Windows 10
    Published by Category: Backup & Restore
    24 Apr 2017
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 25,285

    Show Printable Version 


    How to Backup and Restore Local Group Policy Settings in Windows 10

    information   Information
    The Local Group Policy Editor (gpedit.msc) is a Microsoft Management Console (MMC) snap-in that provides a single user interface through which all the the Computer Configuration and User Configuration settings of Local Group Policy objects can be managed.

    The Local Group Policy Editor is only available in the Windows 10 Pro, Enterprise, and Education editions.

    This tutorial will show you how to backup and restore Local Group Policy settings on any Windows 10 Pro, Enterprise, or Education PC.

    You must be signed in as an administrator to be able to reset all Local Group Policy Editor settings.

    Note   Note
    This will not include Local Security Policy settings.



    By default, local group policy settings are saved in the two hidden folders below. This is what the downloadable .vbs files below will automatically backup and restore for you.

    (Computer Configuration)
    %SystemRoot%\System32\GroupPolicy\Machine

    (User Configuration)
    %SystemRoot%\System32\GroupPolicy\User

    (User/Group Specific GPOs Configuration)
    %SystemRoot%\System32\GroupPolicyUsers


    CONTENTS:
    • Option One: To Backup Local Group Policy Editor Objects from a PC
    • Option Two: To Restore Local Group Policy Editor Objects to a PC


    EXAMPLE: Local Group Policy Editor
    Name:  Local_Group_Policy_Editor.png
Views: 2484
Size:  53.3 KB






    Backup and Restore Local Group Policy Settings in Windows 10 OPTION ONE Backup and Restore Local Group Policy Settings in Windows 10
    Open Local Group Policy Editor Objects in Run

    1. Click/tap on the Download button below to download the .vbs file below.

    Backup_Local_Group_Policy.vbs

    download

    2. Save the .vbs file to your desktop.

    3. Unblock the .vbs file, and run the .vbs file.

    4. Click/tap on Yes when prompted by UAC.

    5. You will now have a Local-Group-Policy-Backup folder on your desktop that is the backup of the local group policies on this PC.

    6. Move this folder to where you like for safe keeping.
    warning   Warning
    Do not rename this folder since it must remain the exact same name to be able to use it in OPTION TWO below to restore.






    Backup and Restore Local Group Policy Settings in Windows 10 OPTION TWO Backup and Restore Local Group Policy Settings in Windows 10
    To Restore Local Group Policy Editor Objects to a PC

    1. Move or copy the Local-Group-Policy-Backup folder created from OPTION ONE above to your desktop.

    2. Click/tap on the Download button below to download the .vbs file below.

    Restore_Local_Group_Policy.vbs

    download

    3. Save the .vbs file to your desktop.

    4. Unblock the .vbs file, and run the .vbs file.

    5. Click/tap on Yes when prompted by UAC.

    6. When both Computer policy and User policy update has completed successfully, you can close the command prompt. (see screenshot below)

    Name:  Updating_policy.jpg
Views: 2363
Size:  39.6 KB



    That's it,
    Shawn


  1.    23 Mar 2017 #1
    Join Date : Jul 2015
    Posts : 54
    Windows 10 64bit

    The script is interesting. I was reviewing the script and wondered what the ' ' SIG blah blah ' ' was for. I found through some reading that the vbscript is digitally signed, Is there a reason for this? What certificate is the script signed as? Why doesn't the script verify that it is signed?


    Sorry about all these questions but I'm just interested to know. Thanks,

    PS: I review each script and registry file.
      My ComputerSystem Spec
  2.    23 Mar 2017 #2
    Join Date : Oct 2013
    Posts : 25,285
    64-bit Windows 10 Pro build 17046
    Thread Starter

    Hello Jerry,

    That's correct. It's the digital signature for the .vbs file so folks won't possibly get the default "unknown publisher possible dangerous file" warning when downloading.
      My ComputersSystem Spec
  3.    2 Weeks Ago #3
    Join Date : Nov 2014
    Posts : 10
    Windows 10

    backup the group policies on one machine and restore them to the other machines? So I can be sure that the group policies are consistent across the machines? in other words all group policies have the same settings in all machines.
      My ComputerSystem Spec
  4.    2 Weeks Ago #4
    Join Date : Oct 2013
    Posts : 25,285
    64-bit Windows 10 Pro build 17046
    Thread Starter

    Hello BC66,

    Yes, that would be correct as long as the PCs are running Windows 10 Pro, Enterprise, or Education to have the Local Group Policy Editor.
      My ComputersSystem Spec

 


Similar Threads
Tutorial Category
Security System Open Local Group Policy Editor in Windows 10
How to Open the Local Group Policy Editor in Windows 10 The Local Group Policy Editor (gpedit.msc) is a Microsoft Management Console (MMC) snap-in that provides a single user interface through which all the the Computer Configuration and User...
Tutorials
Windows defender missing from group policy editor
Dear tenforums! I've attempted to turn off my windows defender via group policy editing, however; following the guide here on the forums(how to turn off defender) there is simply no folder/tree with windows defender in the group policy editor. I...
AntiVirus, Firewalls and System Security
General Tips Reset Local Group Policy Editor Settings to Default in Windows 10
How to Reset All Local Group Policy Settings to Default in Windows 10 The Local Group Policy Editor (gpedit.msc) is a Microsoft Management Console (MMC) snap-in that provides a single user interface through which all the the Computer...
Tutorials
Solved Backup and Restore Local Group Policies
Is there a way to backup and restore all local and group policies entered in Windows 10? Is there a way to share local and group policy settings in Windows 10? I searched for Powershell scripts that can be used to change local and group...
Backup and Restore
Solved Local Group Policy Editor non-existant on my computer
Trying to solve a problem (listed on another forum here in these forums) I was told to go to my 'Local Group Policy Editor. I tried the following methods: -1- Windows -> Run -> type in 'gpedit.msc' and nothing happened, getting a window telling me...
Performance & Maintenance
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 02:44.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums