Skip to main content
AD Academy
Back to all recipes
Level: JuniorLast updated:

Back up and restore a GPO

Backup-GPO -All -Path C:\GPOBackup
Restore-GPO -Name "Workstation Baseline" -Path C:\GPOBackup

Why it works this way

Back up before any policy change. Restoring takes seconds; rebuilding without a backup takes a day.

Watch out

  • Keep the backup off the DC.
  • Who changed what: event 5136 in the security log.

Related events

Similar recipes