Hi
Having used the CreateXMLFromEnvironment.wsf to backup to a XML file a test Common Scenarios environment that had the standard Microsoft GPO's installed with minor modifications plus a few custom developed GPO's I attempted a restore using the following proceedure.
1. Installed the Group Policies Management Consol (GPMC) on a workstation used to administer the network running GPMC.msi.
2. Installed the Common Scenarios on the on a workstation used to administer the network running GroupPolicyCommonScenarios.msi.
3. Copied BackupScenarios.xml to Program Files\Microsoft\Group Policy Common Scenarios\Environment folder. This folder structure will have been created by Common Scenarios.msi.
4. Modifed Common Scenarios.cmd to point to BackupScenarios.xml and saved as Common Scenarios1.cmd
Saved Common Scenarios1.cmd in the Program Files\Microsoft\Group Policy Common Scenarios\Scripts folder. Note that another command file exists in this directory the default provided by Microsoft.
5. Chose Start – Programs – Group Policy Common Scenarios – Common Scenarios Command Prompt.
6. Typed CommonScenarios1 – Enter. Select Y when instructed by the prompt.
Result
Script ran without error and I could see all the policies, OU's and Links in the GPMC - everything looking perfect. I checked the settings tab and to my surprise there is absolutely NO settings at all in any of the policies files?? I ran Common Scenarios1 /undo and it completely removed the empty policies and I ran it again this time pointing to the default CommonScenarios.xml file and I get the standard policies with all the settings intact. I compare both of the xml files and they look identical excepting the few additional custom policies.
What is happening to ALL the settings when I point to the xml file as input to the script that I created from the MS provided CreateXMLFrom Environment.wsf?
How do I troubleshoot from here?