Get FREE Citrix XenApp 6 Video Training Course

Are you setting up a new Proof of Concept
or a Production Environment?

We'll coach you through the configurations step-by-step with Real World Best Practices

  • Microsoft Active Directory and Group Policy...
  • Install and Configure Citrix XenApp 6...
  • Citrix Web Interface and Licensing...
  • And Much Much More...

We respect your privacy. We'll NEVER sell, rent or share your email address. That's more than a policy, it's our personal guarantee!

How To Backup and Restore Group Policy

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 :

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

Have a comment to share?

One of the big reasons that I blog is because I like people and I want to help them. Part of the reward for my work is your comments. I read every comment and post my replies pretty fast, so if you have something to say or a question to ask, please use the form below. Thanks very much.





If you like this post enter your information below to receive our FREE "Citrix XenApp 5.0 on Windows 2008" eBook and a 7 day eCourse with Tips & Tricks never revealed before.



{ 2 comments… read them below or add one }

kunalee June 17, 2010 at 17:41

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.

Reply

admin June 17, 2010 at 17:56

Thanks,

My friend Jan Egil Ring just posted something similar : Backing up Group Policy Objects using Windows PowerShell

Eric

Reply

Leave a Comment


Previous post:

Next post: