Exchange 2007 SP2 Prepare Schema Error because an override is set in the registry.

[ERROR] Setup cannot use domain controller ‘because an override is set in the registry. Run Setup again, and specify ‘/DomainController:.

When you are running /prepareschema or /PrepareAd from the Exchange 2007 SP1 server some times you may land in Above error message.  This error can occur when you are set the restriction on Exchange 2007 to use specific DC by using Set-ExchangeServer command. Below link has some example on how to point Exchange 2007 to user specific GCs and DCs  and also to restrict pointing to required GCs and DCs

https://smtpport25.wordpress.com/2009/03/20/statically-pointing-exchange-2007-servers-to-dedicated-domain-controllers-and-global-catalogs-and-excluding-other-domain-controllers/

Solution :

1. You can add Schema Master domain controller to the list of Staticdomaincontrollers and StaticGlobalcatalogserver and run the setup

2. Run PrepareSchema and PrepareAd on the Server where you have not installed any Exchange server using below command

Setup.com /PrepareSchema /DomainController:SchemaMasterServer

Setup.com /PrepareAD /DomainController:SchemaMasterServer

One thought on “Exchange 2007 SP2 Prepare Schema Error because an override is set in the registry.

  1. Pingback: VPS

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 )

Google+ photo

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

Connecting to %s