Prepare Active Directory and Domains For Exchange 2010

Posted: December 15, 2010 in AD, Exchange
Tags: , , , ,

If you run the Exchange 2010 Setup wizard with an account that has the permissions required (Schema Admins, Domain Admins, and Enterprise Admins) to prepare Active Directory and the domain, the wizard will automatically prepare Active Directory and the domain. However, if you’re deploying a new Exchange organization, and you’re preparing your Active Directory schema and domains using a computer running Windows Server 2008, you must first install the Active Directory management tools on the Windows Server 2008 computer prior to preparing the schema or domains. To do this, run the following command,
========
ServerManagerCmd -i RSAT-ADDS
========

To prepare the AD domains by using command line please follow the below steps,
=========

1- If you have any computers in your organization running Microsoft Exchange Server 2003, open a Command Prompt window, and then run one of the following commands:

To prepare legacy Exchange permissions in every domain in the forest that contains the Exchange Enterprise Servers and Exchange Domain Servers groups, run the following command.
=========================================
setup /PrepareLegacyExchangePermissions or setup /pl
=========================================

To prepare legacy Exchange permissions in a specific domain, run the following command.
=========================================
setup /PrepareLegacyExchangePermissions: or setup /pl:
=========================================

2- From a Command Prompt window, run the following command.
==========================
setup /PrepareSchema or setup /ps
==========================

3- From a Command Prompt window, run the following command.
==========================================
setup /PrepareAD [/OrganizationName: ] or setup /p [/on:]
==========================================

Please Note the following:
————————-
If you haven’t completed Step 1, setup /PrepareAD will automatically perform the PrepareLegacyExchangePermissions step. To complete the PrepareLegacyExchangePermissions step, the domain in which you run this command must be able to contact all domains in the forest. If you’re also a member of the Schema Admins group, and if you haven’t completed Step 2, setup /PrepareAD will automatically perform the PrepareSchema step. The advantages of running each step separately are that you can run each step with an account that has the minimum permissions required for that step, and you can verify completion, success, and replication before continuing to the next step.

4- From a Command Prompt window, run one of the following commands:
=============================
Run setup /PrepareDomain or setup /pd to prepare the local domain.
=============================

You don’t need to run this in the domain where you ran Step 3. Running setup /PrepareAD prepares the local domain.

=============================
Run setup /PrepareDomain: to prepare a specific domain.
=============================
Run setup /PrepareAllDomains or setup /pad to prepare all domains in your organization.
=============================

Advertisements
Comments
  1. Yanar Assaf says:

    Please Can You Expain More What The Command Do In Domain ?
    /PrepareDomain:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s