Clicky

How To Backup and Restore Group Policy

3 Flares Twitter 0 Facebook 1 Google+ 0 Pin It Share 0 LinkedIn 2 Email -- Buffer 0 3 Flares ×

Group Policy Backup 01 300x268 How To Backup and Restore Group Policy

By now you have probably Created a Central Store for Group Policy Administrative Templates and imported the Terminal Server & XenApp Tuning Group Policy, but what about backup? 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 :

[sourcecode language=”plain”]
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
[/sourcecode]

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

Like what you've read?

If so join over 20.000 people and receive FREE Citrix XenApp
and XenDesktop Training, blog updates and information on
upcoming webinars. Click the red button below!
 How To Backup and Restore Group Policy

2 Responses to How To Backup and Restore Group Policy

  1. kunalee says:

    I went a step further and wanted to have a continuous backup setup on the GPOs to make sure that I could retrieve older ones encase of a overwrite. Since I didn’t want to pay for a software that would do this, MS had a script that is available for use:
    http://gallery.technet.microsoft.com/ScriptCenter/en-us/cdfa9651-59ac-4dc8-b7c2-8efcf8685c68

    It works well and has been successful in my environment. Hope this helps other people out there looking for this.

Leave a reply

Name: Email:
3 Flares Twitter 0 Facebook 1 Google+ 0 Pin It Share 0 LinkedIn 2 Email -- Buffer 0 3 Flares ×