This is a modified version of the SMS Active Directory Sync Tools. These modifications have been made March, 2003 by: James Kellogg, MCSE kelloj@friends.edu Under the employ of: Friends University www.friends.edu ************************************** Modifications to this version include: The addition of command line options, which makes automating much easier. The program will search for specific text that is entered to identify the options. This way, the options are all optional and can be entered in any order. Also, non of the options are case sensitive. Registry settings have been moved from the user hive to the machine hive. This allows the same settings to be available to multiple users. ********************* Command Line Options: ADDisc - "/AD=ou=" - Use this option to specify the OU in Active Directory to be queried. The domain can be stored in the registry and does not have to be entered here, but can be. ie. - /AD=ou=OU Name "/SILENT=" - Use this option to specify whether or not to automatically run the program. To use this, follow the option with a "T" OR "TRUE" to enable the option. Any other entry is the equivalent of a "FALSE" entry. ie. - /SILENT=TRUE CollSync - "/AD=ou=" - Use this option to specify the OU in Active Directory to be queried. The domain can be stored in the registry and does not have to be entered here, but can be. ie. - /AD=ou=OU Name "/SMS=" - Use this option to specify the SMS Collection to copy the AD data into. ie. - /SMS=Collection Name "/SILENT=" - Use this option to specify whether or not to automatically run the program. To use this, follow the option with a "T" OR "TRUE" to enable the option. Any other entry is the equivalent of a "FALSE" entry. ie. - /SILENT=TRUE ****************** Registry Settings: All registry entries are of a type "REG_SZ". The new registry entries and locations are as follows: For ADDisc - HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS Active Directory Sync Tools\ADDisc\Settings ADStartingDomain - Stores the default Active Directory Location of the domain. This allows the command line to require only the OU instead of the Fully Qualified Domain Name. This needs to be in the LDAP format. ie. domain.com would be ", dc=domain, dc=com" ADStartingOU - Stores the default Active Directory Location of the Ou. This needs to be in the LDAP format. ie. Client PCs would be "ou=Client PCs" Silent - Stores the default setting of whether or not to run the program silently. A "T" or "TRUE" will enable silent mode, any other entry will disable silent mode. For Collsync - HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SMS Active Directory Sync Tools\CollSync\Settings ADStartingDomain - Stores the default Active Directory Location of the domain. This allows the command line to require only the OU instead of the Fully Qualified Domain Name. This needs to be in the LDAP format. ie. domain.com would be ", dc=domain, dc=com" ADStartingOU - Stores the default Active Directory Location of the Ou. This needs to be in the LDAP format. ie. Client PCs would be "ou=Client PCs" CollectionStartingLocation - Stores the default starting collection in SMS. This is simply the name of the collection. Silent - Stores the default setting of whether or not to run the program silently. A "T" or "TRUE" will enable silent mode, any other entry will disable silent mode.