Article ID: 867627 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
By using the updated ADC Tools that are included in the Exchange Server 2003 Service Pack 1 Active Directory Connector (ADC) installation, you have more control over Connection Agreements.
You can set the default value of several ADC-related Active Directory directory service attributes by using the Ca_defaults.xml file.
You can use the Activate_cas.vbs file to change Connection Agreements that have a schedule of "Never" to a schedule of "Always." You can run the script after you have made sure that the Connection Agreements are configured correctly.
Microsoft Exchange Server 2003 Service Pack 1 (SP1) introduces changes to ADC Tools. These changes provide better control over the Connection Agreements that you create by using the Connection Agreement Wizard. These changes include the ability to postpone initial replication until after you have reviewed the Connection Agreements.
In the updated ADC Tools, there are two new files that you can use to control Connection Agreement settings. The files are named Ca_defaults.xml and Activate_cas.vbs. Both files are included with the Exchange Server 2003 SP1 Active Directory Connector (ADC) installation.
The new ADC Tools functionality is especially useful for large, complicated Exchange environments. With the Ca_defaults.xml file, you can configure the default settings that the Connection Agreement Wizard will use when it creates the Connection Agreements. For example, you can set the default replication schedule to "Never" at first. This gives you a chance to review the new Connection Agreements before they are in use. After you confirm that the settings are correct, you can use the Activate_cas.vbs file to change the Connection Agreement schedule to "Always."
The Ca_defaults.xml file and the Activate_cas.vbs file are located in the folder where you installed the Exchange Server 2003 SP1 ADC. Typically, this is the Drive:\Program Files\MSADC folder.
The Ca_defaults.xml fileYou can edit the Ca_defaults.xml file to configure the default settings for Connection Agreements that are created by ADC Tools. When you create a new Connection Agreement by using ADC Tools, the Connection Agreement Wizard consults the Ca_defaults.xml file for default attribute values. The attribute values that are used to create the Connection Agreement in ADC Tools are replaced with the default attribute values that are specified in the XML file. The default Ca_defaults.xml file contains the following code.
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
The following are the default attributes that are defined in the Ca_defaults.xml file.
Attributes that you can set by using the Ca_defaults.xml fileYou can set the value of the following attributes by using the Ca_defaults.xml file:
Additional recommendationsAfter you customize the Ca_defaults.xml file, you can copy the file to the MSADC folder on every Exchange Server 2003 Service Pack 1 (SP1) computer that is running the ADC.
If you have to reinstall the Exchange Server 2003 ADC, make sure that you first copy the Ca_defaults.xml file to another location so that you can copy the file back to its original location after the reinstallation. Otherwise, a reinstallation of ADC will overwrite the Ca_defaults.xml file.
The Activate_cas.vbs fileThe Activate_cas.vbs file is a Microsoft Visual Basic Scripting Edition (VBScript) script. You can use the Activate_cas.vbs file to change the schedules of all Connection Agreements from "Never" to "Always." The script is useful if you want to reconfigure any recipient Connection Agreements and public folder Connection Agreements that were created by using an activationStyle attribute setting of 0 to a setting of 2.
To run the script, change directories to the folder where the Activate_cas.vbs file is located, and then type the following at a command prompt:
Note The NOW argument is case-sensitive.
For additional information about Connection Agreements, click the following article number to view the article in the Microsoft Knowledge Base:
281223For additional information about Exchange Server 2003 SP1, click the following article numbers to view the articles in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/281223/ )Understanding Connection Agreements in Exchange
(http://support.microsoft.com/kb/328839/ )How to apply Exchange service packs and hotfixes
(http://support.microsoft.com/kb/836993/ )How to obtain the latest updates and service packs for Exchange Server 2003