A common complaint with the version of ADC Tools released with Exchange 2003 was:
When you use the wizard to create your connection agreements you don't have a chance to look at them or change them before they replicate. What if I want to look at them before they replicate to make sure all is well?
Well, with SP1 you can now set many default ADC options up front by modifying a file called ca_defaults.xml. By default, Ca_defaults.xml is in the \program files\msadc folder (once SP1 ADC is installed). Before creating new connection agreements with the ADC Tools wizard you can modify this file to set the defaults you would like new connection agreements to possess.
For example, if you would like to have all new connection agreements be set to "never replicate" so that you can review them before they initially run (and solve the problem I listed above) you would change the following line in the ca_defaults.xml file from: <attribute name="activationStyle" value="2"> to: <attribute name="activationStyle" value="0"> On the activationStyle attribute, 2=ALWAYS, 0=NEVER, and 1=selected times
Great news! What else can you do with ca_defaults.xml? Well for another example, you can also control the default settings on the "Deletion" tab:
You can control the option "When replicating deletions from the Exchange Directory" by setting msExchServer1DeletionOption A value of 0 = deletions are processed as normal A value of 1 = deletions are written to the LDF file You can control the option "When replicating deletions from the Windows Active Directory" by setting msExchServer2DeletionOption A value of 0 = deletions are processed as normal A value of 1 = deletions are written to the CSV file
If you reinstall the ADC (which would include service packing the ADC since that is really a reinstall) you will overwrite the ca_defaults.xml file - so make sure you back this up if you modify it so you can easily drop it back in.
Let’s say you set the default to "never replicate" in our original example and then the wizard comes back and tells you that you need to create 100 connection agreements for your environment. You run through, verify you agree with the settings and all is good and you are ready to use the connection agreements - except now you need to modify all 100 of these connection agreements to start replicating (remember you set it to NEVER). What now? Well there is a nice little script in that very same directory called activate_cas.vbs. Using this script you can easily set the value on all existing connection agreements to 2 (ALWAYS) by running: