Windows 10: Backup and Restore Local Group Policy Settings in Windows 10  

    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: 30,586

    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: 6278
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: 5761
Size:  39.6 KB



    That's it,
    Shawn


  1.    23 Mar 2017 #1

    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. Posts : 30,586
    64-bit Windows 10 Pro build 17713
    Thread Starter
       23 Mar 2017 #2

    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.    09 Nov 2017 #3

    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. Posts : 30,586
    64-bit Windows 10 Pro build 17713
    Thread Starter
       09 Nov 2017 #4

    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


  5. Posts : 1
    Windows 10 Enterprise
       28 Jan 2018 #5

    Hi Brink.

    I followed your instructions for the first option and downloaded the .vbs file to my Desktop folder. The file wasn't blocked so that was a non-issue, but there was no option to run the file when I right-clicked on it - only to open it. When I did that UAC asked me if I wanted Microsoft Windows Based Script Host to make changes to my device. I clicked on Yes and all that happened was that a Local Group Policy folder was placed in my Desktop folder next to the original .vbs file. The Group Policy Folder contained three other folders - GroupPolicyUsers, Machine, and User. All 3 folders were empty and contained no backups.

    Any thoughts or suggestions? Thank you kindly.
      My ComputerSystem Spec


  6. Posts : 30,586
    64-bit Windows 10 Pro build 17713
    Thread Starter
       28 Jan 2018 #6

    Hello Ring, and welcome to Ten Forums. :)

    It sounds like the .vbs file successfully ran (opened).

    The backup folder would only contain backups of policies set via the Local Group Policy Editor. Double check using the tutorial below to see if you have any set.

    See Applied Group Policies in Windows 10 General Tips Tutorials
      My ComputersSystem Spec


 

Tutorial Categories

Backup and Restore Local Group Policy Settings in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Xbox Windows Phone


Related Threads
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...
Windows defender missing from group policy editor in AntiVirus, Firewalls and System Security
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...
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...
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...
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...
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 03:40.
Find Us