Preparing Domains
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.
Preparing the Office Communications Server Active Directory domain in a command-line environment provides the following actions:
Action | Description |
---|---|
DomainUnPrep |
Prepare a domain by adding the necessary ACEs to universal groups that grant permissions to host and manage users within the domain. |
CheckDomainPrepState |
Check those actions to ensure the domain is properly prepared. |
DomainUnPrep |
Remove the actions back to the domains original state. |
This procedure requires Domain Admins credentials in the proposed Office Communications Server domain and ForestPrep must be successfully completed. Using /Domain without the parameter value defaults to the local domain.
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.
DomainPrep Action
The DomainPrep action prepares a domain to host Office Communications Server 2007 by adding the necessary ACEs to universal groups that grant permissions to host and manage users within the domain. The syntax for the DomainPrep action is:
LCSCmd.exe /Domain[:<domain FQDN>] /Action:DomainPrep [/PDCRequired[:{TRUE|FALSE}]]
Such as:
LCSCmd.exe /Domain:contoso.com /Action:DomainPrep
By default, DomainPrep uses the primary domain controller (PDC) in the current/specified domain and the primary domain controller in the root domain. However /PDCRequired can be used as an optional parameter to use any domain controller in both the current/specified domain and in the root domain. It can be preferable to use a domain controller other than the primary domain controller when the primary domain controller is not available or when network connectivity to the primary domain controller is poor.
CheckDomainPrepState Action
Verify that DomainPrep was successful by using the LCSCmd.exe action as follows:
LCSCmd.exe /Domain[:<domain FQDN>] /Action:CheckDomainPrepState
Such as:
LCSCmd.exe /Domain:contoso.com /Action:CheckDomainPrepState
DomainUnPrep Action
DomainUnPrep reverses all actions initiated by the DomainPrep command and is useful in environments that have orphaned entries or settings. All activated Enterprise Edition or Standard Edition Office Communications Servers in the domain should be deactivated before running this action. The following command runs the DomainUnPrep action:
LCSCmd.exe /Domain[:<Domain FQDN>] /Action:DomainUnPrep
Such as:
LCSCmd.exe /Domain:contoso.com /Action:DomainUnPrep
For more information about domain actions, such as creating, checking, or removing permissions, see the section on Managing Permissions on a Domain.