Excluding Domain Controllers from Exchange servers

The directory team have started decommissioning old DC servers. New ones have already
been installed and operational. Please use the script below and the step-by-step instructions to exclude the old DC servers from your exchange servers. You will need to run the script using exchange powershell.
 
Set-ExchangeServer -Identity servername -StaticConfigDomainController $null
-StaticDomainControllers $null -StaticGlobalCatalogs $null
-StaticExcludedDomainControllers DC1.domain.com,DC2.Domain.com,DC3.domain.com
 
These steps apply to Exchange 2007 servers ONLY:
 
1. Run the powershell script on the active node of your cluster. Remember to use the
exchange server cluster name as the identity for Set-Exchangeserver command
2. Restart MSExchange Topology service. This will also restart transport log search,
service host, search indexer, replication service, mail submission and mailbox
assistants)
3. Verify by going to the exchange console, right click on cluster properties, system
settings. You will see only domain controllers in the list
4. Repeat the same procedure for the passive node of your cluster
5. You have completed the change
 
These steps apply to Exchange 2010 ONLY:
 
Step by Step Configuration Steps:
 
1. Run the powershell script on the each node of your DAG.
2. Restart Microsoft Exchange Active Directory Topology. This will also restart
(transport log search, service host, search indexer, RPC Client Access, replication
service, mail submission, mailbox replication, edgesync, file distribution, antispam
update, exchange addressbook, exchange throttling and mailbox assistants)
3. Verify by going to the exchange console, click on server configuration, right click on the server, properties, system settings.You will see only domain controllers in the list
4. Repeat the same procedure for the other DAG nodes
5. You have completed the change
Advertisement

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 )

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

%d bloggers like this: