Friday, March 2, 2012

How To Backup and Restore Group Policy


Group Policy Backup 01 300x268 How To Backup and Restore Group Policy
 Did you know that Microsoft have created Group Policy Management Console (GPMC) scripting samples that makes it extremely fast and easy to backup Group Policy Objects (GPO). With these sample scripts you can backup all or single GPO’s, grant permissions, import, restore, list and more. Check out the script examples here.
Download and install the GPMC Scripting Samples and create a weekly scheduled task.
Command line example :
C:WindowsSystem32cscript.exe "C:Program Files (x86)Microsoft Group PolicyGPMC Sample ScriptsBackupAllGPOs.wsf" "%XA%BackupGPOBackup" /Comment:"GPO Daily backup on %DATE%_%TIME%" /Domain:ctxlab.local

Group Policy Backup 02 300x258 How To Backup and Restore Group Policy

If something should happen to your GPO it’s very easy to restore it, with a script or simply by selecting “Restore from Backup” within GPMC shown in the picture above.
Group Policy Backup 03 300x229 How To Backup and Restore Group Policy

No comments:

Post a Comment