Preparing Active Directory Domain Services (Command Line)

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.

To install Office Communications Server 2007 R2 Enterprise Edition with a Consolidated configuration, you can run SetupEE.exe and step through the wizard. You can also use SetupEE.exe to begin an Expanded configuration setup. Select Prepare Environment and the wizard will take you through the preparations required to ready Active Directory Domain Services (AD DS) for Office Communications Server installation. For details about preparing AD DS and for using the wizard for this portion of the setup, see Office Communications Server 2007 R2 Active Directory Guide in the Deployment documentation. After you finish preparing the environment, exit the wizard and continue your Expanded configuration installation from the command line by following the instructions in this documentation beginning with Installing Server Prerequisites (Command Line).

Note

Running SetupEE.exe from the CD will not only start the setup wizard, but it will create the folder Deploy.Copy in the %temp% folder. All the commands in this section can then be run from the %temp%\Deploy.Copy folder or the appropriate subfolder.

If you prefer to do a full command-line installation, including AD DS preparation, follow these steps to prepare the AD DS schema, forest, and domain from the command line.

Note

The following steps show only the required switches. For a full list of options for each command, see Office Communications Server 2007 R2 Active Directory Guide in the Deployment documentation.

To prepare Active Directory Domain Services

  1. Prepare the schema.

    LCSCmd /Forest /Action:SchemaPrep

  2. Check that the schema preparation completed successfully.

    LCSCmd /Forest /Action:CheckSchemaPrepState

    A successful schema preparation will show a Schema Prep State value of Office Communications Server 2007 R2 in the resulting log file.

  3. Prepare the forest.

    LCSCmd /Forest /Action:ForestPrep

  4. Check that the forest preparation completed successfully.

    LCSCmd /Forest /Action:CheckForestPrepState

    A successful forest preparation will show a Forest Settings value of Ready in the resulting log file.

  5. Prepare the domain.

    LCSCmd /Domain /Action:DomainPrep

  6. Check that the domain preparation competed successfully.

    LCSCmd /Domain /Action:CheckDomainPrepState

    A successful domain preparation will show a Domain Settings value of Ready in the resulting log file.