Preparing the Schema
Microsoft Office Communications Server 2007 and Microsoft Office Communications Server 2007 R2 will reach end of support on January 9, 2018. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.
Before beginning this procedure, review all Active Directory extensions that will be modified for Office Communications Server using a text editor such as Windows Notepad. The Schema.ldf file is located in the \Setup\I386 folder of the installation CD. Office Communications Server schema extensions are replicated across all child domains, which impacts network bandwidth.
SchemaPrep Action
Run SchemaPrep at a time when network utilization is low. SchemaPrep must access the Schema Master. To access the Schema Master, the remote registry service must be running with the remote registry key enabled. To prepare the schema of the current forest, you should log on to a computer in the Active Directory domain with Schema Admins credentials and administrator credentials on the Schema Master as follows:
LCSCmd.exe /Forest /Action:SchemaPrep [/ldf:<folder where the .ldf file is located>]
Such as:
LCSCmd.exe /Forest /Action:SchemaPrep
Use the following command to verify that Schema Prep completed successfully.
LCSCmd.exe /Forest /Action:CheckSchemaPrepState
The following example shows a successful Schema Prep action:
Figure 1. Example of successful command-line SchemaPrep action showing LCSCmd.exe and log file directory paths
CheckSchemaPrepState Action
Use the CheckSchemaPrepState action to check Active Directory schema state. The syntax for the CheckSchemaPrepState action is:
LCSCmd.exe /Forest[:<forest FQDN>] /Action:CheckSchemaPrepState
Such as:
LCSCmd.exe /Forest /Action:CheckSchemaPrepState
A successful CheckSchemaPrepState action will produce a result similar to the one depicted in the following figure:
Figure 2. Example of Successful CheckSchemaPrepState action
Open the indicated log file for further details on the CheckSchemaPrepState action.
When you run LCSCmd.exe, the command automatically discovers the global catalog server and primary domain controllers. If you experience problems because these servers are unavailable or network connectivity is poor, you can use optional parameters to specify the global catalog server or domain controllers to use instead. For more information, see Optional LCSCmd.exe Parameters for Domain Controller and Global Catalog Server Discovery later in this document.