Setup unexpectedly exits when you run commands to prepare Active Directory

主題上次修改日期: 2007-05-30

This topic provides information about how to troubleshoot Exchange Server 2007 Setup if Setup unexpectedly exits when you run either of the following commands to prepare Active Directory for the installation of Exchange 2007:

  • Setup.com /PrepareSchema
  • Setup.com /PrepareAD

This issue occurs when you run setup without sufficient permissions to prepare Active Directory for the installation of Exchange 2007. This could be because you are using an account that has not been delegated membership in the correct group, or it could be because you have modified the specific permissions for the required group.

Resolution

To resolve the problem, perform one or more of the following tasks:

  • Confirm that you have not modified the permissions in the Schema Admins group or the Enterprise Admins group.
  • Run Setup with an account that has sufficient permissions to prepare Active Directory for the installation of Exchange 2007.
    To prepare the schema by using the Setup.com /PrepareSchema command, the account you use must be delegated membership in the Schema Admins group and the Enterprise Admins group.
    To prepare Active Directory by using the Setup.com /PrepareAD command, the account you use must be delegated membership in the Enterprise Admins group.

Procedure

To use run Setup with an account that has sufficient permissions

  1. Add a user or group to the Schema Admins group. For more information, see Add a member to the Schema Admins group.

  2. Add a user or group to the Enterprise Admins group. To do this, perform the following steps:

    1. Open Active Directory Users and Computers.
    2. In the console tree, click Users in the forest root domain.
    3. In the details pane, right-click the user or group that you want to add, and then click Properties.
    4. Click the Member Of tab, and then click Add.
    5. In Enter the object names to select, type Enterprise Admins, and then click OK.
  3. Prepare Active Directory for Exchange 2007. For more information, see 如何準備 Active Directory 及網域.