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.
How to Backup and Restore Group Policy Object in Windows
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:
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:
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.
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.
You may also like -
Latest posts by Arranda Saputra (see all)
- Restore DHCP Server in Windows Server 2012 R2 - January 9, 2020
- Backup DHCP Server in Windows Server 2012 R2 - January 9, 2020
- Configure DHCP Reservation in Windows Server 2012 R2 - January 9, 2020