To back up a Group Policy Object (GPO) on Windows Server 2025, use Group Policy Management Console (GPMC) and record the backup ID. Before you restore a GPO linked to production, import that backup into a test GPO. Check it in an isolated organizational unit (OU). A restore can change policy for users and computers as soon as the change reaches them.
What Is Group Policy Management Console?
Group Policy Management Console (GPMC) is Microsoft’s tool for managing GPOs, links, filtering, backups, and restores in an Active Directory domain. It runs on Windows Server or a supported Windows client with Remote Server Administration Tools (RSAT). Microsoft’s Windows Server GPMC documentation covers the Windows interface.
A GPO backup saves the GPO’s policy settings and related information. It won’t rebuild Active Directory or a domain controller. It also won’t tell you every reason a policy applies. Record links, link order, inheritance, filtering, and other deployment conditions separately.
Prerequisites
- An Active Directory Domain Services domain and network access to it. The examples use Windows Server 2025 management tools.
- A Windows Server 2025 management computer, or a supported Windows client with the RSAT Group Policy Management feature.
- Confirm the delegated access for the operation in the table below; backup permission is not blanket restore or GPO-administration permission.
| Operation | Access to verify before continuing |
|---|---|
| Back up a GPO | Read on the GPO and write access to the backup folder |
| Import settings | Edit on the existing destination GPO and read access to the backup |
| Create and link the isolated test GPO | Permission to create GPOs, plus Link GPOs on the test OU; have an administrator prepare/delegate the OU |
| Restore an existing GPO | Edit settings, delete, and modify security on that GPO, plus read access to the backup location. GPO creation rights are not required. |
| Restore a deleted GPO | The right to create GPOs in the original domain, plus read access to the backup location. Do not infer restore rights from backup or import permission. |
Microsoft’s GPMC operation permissions distinguish backup, editing and linking; its current backup and restore guide distinguishes restoring an existing GPO from restoring a deleted one. Microsoft’s GPMC GPO operations reference lists the separate restore permissions for each case.
- A backup folder the account can write to and later read. Keep a protected copy off the domain controller’s local disk, such as on a secured file server or NAS drive.
- A dedicated test user and test computer that you can place in an isolated OU.
- The name of the GPO to protect and a change record for the planned recovery.
The commands use the example local path C:\GPOBackups and a sample GPO named Workstation Baseline. Create the destination folder before generating a report or backup, or substitute a protected UNC path your current PowerShell account can write to. Replace the sample name with your existing GPO’s exact name; the sample backup GUID later in this guide is not a real recovery point. These steps use the Windows Server 2025 interface; labels may differ slightly on a Windows client.
Step-by-Step Guide
Step 1: Install and open GPMC
On Windows Server 2025, open Server Manager > Manage > Add Roles and Features. Choose Role-based or feature-based installation and select the management server. On Features, select Group Policy Management. Click Next > Install.
Or run this in an elevated PowerShell window, using the Install-WindowsFeature cmdlet:
Install-WindowsFeature -Name GPMC -IncludeManagementTools
The result should show Success as True and list Group Policy Management as installed. If it’s already installed, Windows reports that no change was needed.
On a supported Windows client, open Settings > System > Optional features > View features. Search for RSAT: Group Policy Management Tools and install it. Then open Start, search for Group Policy Management, and launch it. Expand Forest > Domains > your domain. You should see Group Policy Objects.
Step 2: Identify the GPO and record its deployment conditions
In GPMC, expand your domain and click Group Policy Objects. Select the GPO and confirm its name and domain. On Details, record its unique ID and status. On Settings, use Save Report to save a copy. On Scope, record its links, security filtering, and Windows Management Instrumentation (WMI) filter.
Also check link order, whether each link is enabled or enforced, and whether the target OUs block inheritance. Review Delegation for relevant permissions. These details affect where the restored policy applies.
Microsoft documents Get-GPOReport with -Name, -ReportType HTML and -Path to write an HTML report for a named GPO. Substitute your existing GPO name and output path:
Get-GPOReport -Name 'Workstation Baseline' -ReportType Html -Path 'C:\GPOBackups\Workstation-Baseline-before.html'
Expect an HTML report at that path. Keep it with your notes so you can compare settings after recovery. The backup folder alone won’t explain why a policy did or didn’t apply.
Step 3: Prepare a protected backup location
Create the backup directory in File Explorer at C:\GPOBackups, or run:
New-Item -Path 'C:\GPOBackups' -ItemType Directory -Force
The output should list C:\GPOBackups as a directory. In File Explorer, right-click the folder and select Properties > Security. Restrict access to the authorized backup/restore operators under your organization’s delegation policy. Backup operators need write access and restoring operators need read access. On a network share, check both share and NTFS permissions; do not grant broader domain rights just to access the folder.
Arrange a protected copy on a secured file server or NAS drive. A copy stored only on the domain controller’s local disk may be unavailable if that server or its storage fails, so keep an independent protected copy.
Step 4: Back up the selected GPO
In GPMC, right-click the GPO under Group Policy Objects and choose Back Up. Set Location to C:\GPOBackups. In Description, enter a reason and date, such as “Before workstation baseline change, 2026-10-14.” Click Back Up, then OK when GPMC reports success.
For a repeatable command, PowerShell’s Backup-GPO backs up the selected GPO:
Backup-GPO -Name 'Workstation Baseline' -Path 'C:\GPOBackups' -Comment 'Before workstation baseline change, 2026-10-14'
The output identifies the GPO and the new backup instance. Record the backup’s Id separately from the GPO’s own GUID; the backup ID selects that saved version for a later restore. One folder can hold several versions of the same GPO, so its name isn’t enough to pick a recovery point.
Step 5: Find the intended backup version
In GPMC, right-click Group Policy Objects and select Manage Backups. Click Browse and select C:\GPOBackups. Clear Show only the latest version of each GPO if you need an older backup.
Compare the GPO name, backup time, description, domain, and backup ID with your change record. Select the intended entry and inspect its settings. The version should match both the GPO and the point in time you need.
Step 6: Import the backup into a separate test GPO
Do this before restoring a production-linked GPO. A test GPO lets you check the backed-up settings without changing the production GPO.
In GPMC, right-click Group Policy Objects > New. Name the new object Workstation Baseline Recovery Test and leave the starter GPO unset. Right-click the new GPO and choose Import Settings. Select the backup folder and the exact version from Step 5. Review the summary and finish the import.
If the wizard asks about domain-specific references, review them before you finish. An import into another domain may need a migration table.
The test GPO’s Settings tab should now show the backed-up settings. Import Settings replaces policy settings in the target GPO, which is why this check uses a new, empty GPO. It does not copy the source GPO’s links or security filtering; review the destination GPO’s delegation separately and create its test link in the next step.
Step 7: Link the test GPO only to an isolated OU
In Active Directory Users and Computers, create an OU such as GPO Recovery Test if you need one. Place only the test user and test computer in it. In GPMC, right-click that OU and select Link an Existing GPO. Choose Workstation Baseline Recovery Test.
On the OU’s Linked Group Policy Objects tab, confirm the link. Check the test GPO’s Scope tab for other links. Review security filtering and any WMI filter so the test user or computer is eligible. Other inherited GPOs may still apply in the test OU; account for them when you check the result.
Step 8: Verify policy on the test computer
Sign in to the test computer as the test user. Open an elevated Command Prompt and run gpupdate with the force switch, which reapplies every policy setting instead of only changed ones:
gpupdate /force
Check for successful computer and user policy completion messages. Investigate errors, timeouts or connectivity failures before relying on the result. Some settings require sign-out or restart; follow a prompt only as appropriate for the test computer. Then create a gpresult HTML report:
gpresult /h C:\Users\Public\gpo-recovery-test.html
Open C:\Users\Public\gpo-recovery-test.html. Under Applied Group Policy Objects, look for Workstation Baseline Recovery Test in the relevant computer or user section. Check the setting results too. Check the individual setting and its winning GPO in the report instead of treating the GPO list as proof that every intended value took effect. Microsoft’s Group Policy processing documentation explains that later or higher-precedence policies can override individual settings from an earlier policy. Security filtering, by contrast, controls whether a GPO applies to the user or computer; it does not selectively filter settings within that GPO.
If the GPO appears under Denied GPOs, check the reason shown in the report. If it doesn’t appear at all, check OU membership, links, inheritance, replication, and whether user or computer settings are enabled.
Step 9: Restore the production GPO when ready
Production change: Restoring a GPO linked to production can affect users and computers as the change reaches them. Schedule the restore through your normal change process. The test import in Steps 6–8 is your check before that change.
For an existing GPO, right-click it under Group Policy Objects and select Restore from Backup. Browse to the backup folder and select the version you confirmed in Step 5. Check its details, finish the wizard, and wait for the success message. A standard restore returns the GPO to its original domain.
For a deleted GPO, right-click Group Policy Objects > Manage Backups. Choose the folder and backup version, then click Restore. This restores the GPO itself; verify or recreate its links and other deployment objects separately. Confirm that the GPO reappears under Group Policy Objects in its original domain. Check and restore any needed links and other deployment conditions before you expect it to apply.
Check whether the GPO still exists before using the cmdlet. Microsoft’s current Restore-GPO reference states: “if the GPO no longer exists in the domain, the cmdlet fails.” The PowerShell example below therefore applies to an existing GPO. For a deleted GPO, use the Manage Backups GUI restore described above.
For restoring an existing GPO, PowerShell’s Restore-GPO selects a specific backed-up version by its backup ID and restores that original GPO in its original domain. This is a command template: replace the placeholder GUID below with the real backup ID recorded in Step 5 and verify the path. It does not identify an arbitrary destination GPO by name:
Restore-GPO -BackupId '11111111-2222-3333-4444-555555555555' -Path 'C:\GPOBackups'
Verify that the result identifies the intended original GPO. Check links and deployment conditions separately in Step 10; do not treat the cmdlet’s success as proof that the intended clients received the settings. Use a specific backup ID for a single-GPO recovery. Restoring every backup in the folder is too broad for that job.
Step 10: Confirm the recovered production state
In GPMC, reopen the restored GPO’s Settings, Scope, Details, and Delegation tabs. Compare them with the report and notes from Step 2. Check the production links, filtering, WMI filter, status, and link order.
On a representative production computer, refresh policy at the approved time and run gpresult /h as in Step 8. Confirm that the GPO applies to the intended user or computer and that the expected settings appear. Keep the backup ID, baseline report, test report, and production result with the change record.
Configuration: Restore, Import, or Recover the Domain?
| Task | Use | What to check |
|---|---|---|
| Recover the same GPO in its original domain | Restore from Backup or Restore-GPO | A linked GPO can affect production as the restore takes effect. |
| Examine backed-up settings safely | Import Settings into a separate test GPO | Link it only to an OU with test users and computers, then use gpresult. |
| Apply settings to a GPO in another domain | Import Settings, with a migration table when needed | Check domain-specific paths, groups, and other references. A standard restore requires the original domain. |
| Recover a failed domain or domain controller | Your Active Directory and system-state recovery plan | A GPO backup alone cannot rebuild the domain. |
Put the change reason and date in each backup description. Keep more than one version when changes are frequent, and copy the folder to protected storage. Save the settings report and deployment notes too. Links and other domain settings affect how the policy applies.
Tips and Troubleshooting
The backup is missing from Manage Backups
Cause: GPMC is looking in another folder, Show only the latest version of each GPO hides an older entry, or your account can’t read the files.
Fix: Open Group Policy Objects > Manage Backups, click Browse, and select the backup folder. Clear the latest-version checkbox. Check the folder’s Security tab for read access, then match the description and ID before selecting a backup.
Restore into another domain fails
Cause: A standard GPO restore requires the domain where the GPO was backed up.
Fix: Restore in the original domain. To use the settings elsewhere, create a target GPO in the other domain and use Import Settings. Check domain-specific references and use the wizard’s migration-table option when needed.
GPMC reports that a SYSVOL file is in use
Cause: Another process holds an exclusive handle on a file the import or restore needs to replace.
Fix: In GPMC, right-click the domain and select Change Domain Controller. Choose a domain controller with little user activity and retry. The PowerShell cmdlets also accept -Server to select a domain controller. Microsoft documents this file-in-use failure and workaround.
The restored or test GPO does not apply
Cause: The user or computer is outside the linked OU, filtering excludes it, or a WMI filter doesn’t match. The relevant half of the GPO may also be disabled, or policy may need to refresh.
Fix: Check OU membership and the GPO link in GPMC. Check Scope and Details, then run gpupdate /force on the affected test computer. Use the HTML gpresult report to inspect applied and denied GPOs. If the change was recent, allow time for domain-controller replication.
Access is denied during backup or restore
Cause: The account lacks GPO permissions or access to the backup folder.
Fix: Check the GPO’s Delegation tab and the folder’s Security tab. Have a domain administrator grant the rights needed for the operation. Then reopen GPMC with the correct account and retry.
Wrapping Up
GPMC can recover a single GPO once you have the original domain, the right backup ID, and a record of its links. I’d keep the test-GPO import in every production runbook. It takes extra setup, but it lets you check policy behavior before a restore reaches live users and computers.