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 :

cscript "C:Program FilesMicrosoft Group PolicyGPMC Sample ScriptsBackupAllGPOs.wsf"
"%XA%Group PolicyBackups" /Comment:"GPO Weekly Backup on %DATE%_%TIME%"

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.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.