Can we take GPO backup and restore it?

Home

  • News & Insights

    • News & Insights Home
    • Innovation
    • IT Careers & Skills
    • Cloud
    • Cyber Security
    • Future of Work
    • All Categories
    • Marketing
    • HR
    • Finance
  • Community

    • Ask question
    • Community Home
    • Spiceworks Originals
    • Cloud
    • Collaboration
    • Networking
    • Water Cooler
    • Windows
    • All forums
    • How-Tos
    • Scripts
    • Vendors
    • Meetups
  • Reviews

  • Online Events

Login Join

Login Join

  1. Learn
  2. Data Storage, Backup & Recovery
  3. General Backup

Rupesh (Lepide)

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Jun 03, 2016 1 Minute Read

  • Spice

  • Reply (3)

  • Subscribe

  • Share

    • Facebook
    • Twitter
    • Reddit
    • LinkedIn

Rupesh Kumar

This person is a verified professional.

Verify your account to enable IT peers to see that you are a professional.

Rupesh (Lepide)

5493

Contributions

141

Best Answers

51

Helpful Posts

Main Areas of Contribution:

  • Active Directory & GPO |
  • Microsoft Exchange |
  • General IT Security |
  • Windows Server |
  • Microsoft Office 365

Register. Track Progress. Earn Credits.

Learning has never been so easy!

Sign Up

Group Policy Object is one of the critical elements for Windows domain environment. It is the job for administrator to manage the GPO carefully as the simplest mistake in GPO setting can potentially lead to a major service disruption. The best way to mitigate that risk is by backing up the GPO before doing any modification on the settings. Fortunately, the feature to backup and restore Group Policy Object in Windows Group Policy Management Console is already built-in. Administrator can leverage this feature and avoid the hassle of re-creating GPO from scratch.

Backing up GPO is fairly easy. It can be done for a single policy object or all policy objects in the domain. Follow the steps below to make GPO backup using Group Policy Management console in Windows:

Backup GPO

1. Find the policy or policies to be backed up
To back up a single policy, first expand the Group Policy Object container folder, find the policy name you want to create the backup, then right click on it and select Back Up. See figure below for example:

If you want to back up the whole policies instead of doing it on by one, simply right click on the Group Policy Objects container folder and select Back Up All

2. Select the backup folder location
After clicking “Back Up” on single policy object or “Back Up All” on the GPO folder, a pop-up window will appear. In the first field, fill in the folder location path where the backup will be stored, and also provide the definition as necessary. Example to do this is as shown in figure below:

Click the Back Up button to continue. Wait until the backup progress bar completely filled in and see the report at the bottom.

If all the targeted GPO has successfully backed up then we’re good to go.

3. Verify the output
Open the folder where GPO backup was stored (as specified in the previous step), the backup for policy objects will look like in below figure. Each folder represents a single policy object that has been backed up.

Now that the backup is done, it will be easy to restore the GPO using this backup when needed. Administrator can restore a modified GPO back to the state where it was backed up, or restore a deleted GPO as well. The steps to perform a restore is shown below:

Restore GPO

1. Opening the backup file
To open the backup file, right click on the Group Policy Object container and select Manage Backups

Now a pop-up window will appear. You may want to select the backup folder location by using the Browse button. When the backup folder has been selected correctly, it will list all the backed up GPOs in there. See figure below for example:

2. Verification steps
Before performing a restore, it is best to verify the settings in the backed up GPO. To do that, select the backup GPO name that wants to be restored and click on View Settings.

The GPO settings will be displayed in HTML format which is nice enough for review. Everything related to this GPO will be shown such as the backed up date, where it was linked, the delegation settings, and of course the users and computers policy settings.

3. Restoring the backed up GPO
Now when it is verified that the right backup has been selected, we can highlight it and click on Restore button to start the restore process.

When clicking on Restore button, a confirmation will appear. Click OK to continue.

Wait until the restore progress bar is completed.

Conclusion

This feature will always come in handy every time. Note that if a GPO with the same name has already exist, the restored GPO will overwrite the existing – this is nice when a rollback for any changes in a GPO is required. And one more thing, if there is no existing GPO with the same name, the restored GPO will create a new one – which is also nice in case to recover a deleted policy. Therefore, it is important for every administrator that works with GPO to understand how to backup and restore Group Policy Object in Windows.

The following two tabs change content below.

  • Bio
  • Latest Posts

I am IT practitioner in real life with specialization in network and server infrastructure. I have years of experience in design, analysis, operation, and optimization of infrastructure solutions for enterprise-scaled network. You can send me a message on LinkedIn or email to for further inquiry regarding stuffs that I wrote or opportunity to collaborate in a project.

Can you backup GPO?

Microsoft also provides the Group Policy Management Console (GPMC), an MMC snap-in that can be used to back up and restore Group Policy Objects. Like the Backup-GPO cmdlet, it can back up either a single specified GPO or all of a domain's GPOs.

Can you import GPO settings?

To import policy settings to an existing GPO, you must have List Contents, Edit Settings, and Import GPO permissions for the domain, and the GPO must be checked out by you. By default, you must be an Editor or an AGPM Administrator (Full Control) to perform this procedure.

Can you apply a GPO to a container?

A GPO can be associated (linked) to one or more Active Directory containers, such as a site, domain, or organizational unit. Multiple containers can be linked to the same GPO, and a single container can have more than one GPO linked to it.

When performing a GPO backup what information is not covered by the backup?

The GPO backup does not contain information about the AD containers to which it is assigned (scope-of-management info), information about GPO links, and block inheritance settings.

Chủ đề