FREE Citrix XenApp Training

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

I'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...
  • Citrix Web Interface and Licensing...
  • And Much Much More...

I respect your privacy. I'll NEVER sell, rent or share your email address. That's more than a policy, it's my 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 :

[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

Prepare For Your Next Citrix Exam with FREE Training
Enter you email to Get Instant Access to Citrix Training and blog post updates directly to your inbox. Over 14644 people have already enjoyed this comprehensive training.

{ 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: