{"id":1626,"date":"2009-05-28T01:23:03","date_gmt":"2009-05-28T06:23:03","guid":{"rendered":"http:\/\/www.bhargavs.com\/index.php\/uncategorized\/2009\/05\/exchange-2007-setup-error-domain-controller-override-set-registry\/"},"modified":"2009-05-28T01:23:03","modified_gmt":"2009-05-28T06:23:03","slug":"exchange-2007-setup-error-domain-controller-override-set-registry","status":"publish","type":"post","link":"https:\/\/bhargavs.com\/index.php\/2009\/05\/28\/exchange-2007-setup-error-domain-controller-override-set-registry\/","title":{"rendered":"Exchange 2007 Setup Error: Setup Cannot use Domain Controller\u2026"},"content":{"rendered":"<p>On one of my tests I was trying to add Hub role to a server that already had Mailbox role installed. When I started the setup, I got an error and pre-requisite check failed with error \u201cSetup cannot use domain controller &#8216;dc1.mytest.int&#8217; because an override is set in the registry.\u201d<\/p>\n<p>I then tried to run setup with \u201c\/domaincontroller dc2.mytest.int\u201d which failed with same error as well.<\/p>\n<p>It was interesting. What could be causing this issue? I remembered that few minutes ago I had run command:<\/p>\n<pre lang=\"PowerShell\">Set-ExchangeServer -Identity exch1 -StaticExcludedDomainControllers dc1.mytest.int<\/pre>\n<p>I was trying to have my Exchange servers only connect to only one out of two Domain Controllers I had setup. I tried to reverse this by running:<\/p>\n<pre lang=\"PowerShell\">Set-ExchangeServer -Identity exch1 -StaticExcludedDomainControllers $null<\/pre>\n<p>I ran the setup again and it still failed with same error!<\/p>\n<p>After doing some research I found out that when I created exclusion, a registry entry was created for \u201cConfigDCHostName\u201d at:<\/p>\n<pre lang=\"MicrosoftRegistry\">HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\ Services\\MSExchangeADAccess\\Instance0<\/pre>\n<p>The entry had no value assigned. I deleted the \u201cConfigDCHostName\u201d entry and gave setup another try.<\/p>\n<p>Setup worked without any issues this time!<\/p>\n<p><b><i>Quote of the day: <\/i><\/b><\/p>\n<p>It is a mistake to think you can solve any major problems just with potatoes. &#8211; Douglas Adams<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On one of my tests I was trying to add Hub role to a server that already had Mailbox role installed. When I started the setup, I got an error [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pgc_sgb_lightbox_settings":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[51,40,45,48],"tags":[121,127,236],"class_list":["post-1626","post","type-post","status-publish","format-standard","hentry","category-exchange-2007","category-exchange-server","category-setup-exchange-2007","category-troubleshooting-exchange-2007","tag-exchange-2007","tag-exchange-server","tag-setup-error"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Exchange 2007 Setup Error: Setup Cannot use Domain Controller\u2026 - Bhargav&#039;s IT Playground<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bhargavs.com\/index.php\/2009\/05\/28\/exchange-2007-setup-error-domain-controller-override-set-registry\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Exchange 2007 Setup Error: Setup Cannot use Domain Controller\u2026 - Bhargav&#039;s IT Playground\" \/>\n<meta property=\"og:description\" content=\"On one of my tests I was trying to add Hub role to a server that already had Mailbox role installed. When I started the setup, I got an error [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bhargavs.com\/index.php\/2009\/05\/28\/exchange-2007-setup-error-domain-controller-override-set-registry\/\" \/>\n<meta property=\"og:site_name\" content=\"Bhargav&#039;s IT Playground\" \/>\n<meta property=\"article:published_time\" content=\"2009-05-28T06:23:03+00:00\" \/>\n<meta name=\"author\" content=\"Bhargav\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Bhargav\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/05\\\/28\\\/exchange-2007-setup-error-domain-controller-override-set-registry\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/05\\\/28\\\/exchange-2007-setup-error-domain-controller-override-set-registry\\\/\"},\"author\":{\"name\":\"Bhargav\",\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#\\\/schema\\\/person\\\/28f6d8c9b29f3a879483d65fc2ab5e26\"},\"headline\":\"Exchange 2007 Setup Error: Setup Cannot use Domain Controller\u2026\",\"datePublished\":\"2009-05-28T06:23:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/05\\\/28\\\/exchange-2007-setup-error-domain-controller-override-set-registry\\\/\"},\"wordCount\":202,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#\\\/schema\\\/person\\\/28f6d8c9b29f3a879483d65fc2ab5e26\"},\"keywords\":[\"Exchange 2007\",\"Exchange Server\",\"Setup Error\"],\"articleSection\":[\"Exchange 2007\",\"Exchange Server\",\"Setup\",\"Troubleshooting\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/05\\\/28\\\/exchange-2007-setup-error-domain-controller-override-set-registry\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/05\\\/28\\\/exchange-2007-setup-error-domain-controller-override-set-registry\\\/\",\"url\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/05\\\/28\\\/exchange-2007-setup-error-domain-controller-override-set-registry\\\/\",\"name\":\"Exchange 2007 Setup Error: Setup Cannot use Domain Controller\u2026 - Bhargav&#039;s IT Playground\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#website\"},\"datePublished\":\"2009-05-28T06:23:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/05\\\/28\\\/exchange-2007-setup-error-domain-controller-override-set-registry\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/05\\\/28\\\/exchange-2007-setup-error-domain-controller-override-set-registry\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bhargavs.com\\\/index.php\\\/2009\\\/05\\\/28\\\/exchange-2007-setup-error-domain-controller-override-set-registry\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bhargavs.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Exchange 2007 Setup Error: Setup Cannot use Domain Controller\u2026\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#website\",\"url\":\"https:\\\/\\\/bhargavs.com\\\/\",\"name\":\"Bhargav's IT Playground\",\"description\":\"Passion for Technology. Power of Collaboration.\",\"publisher\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#\\\/schema\\\/person\\\/28f6d8c9b29f3a879483d65fc2ab5e26\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/bhargavs.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#\\\/schema\\\/person\\\/28f6d8c9b29f3a879483d65fc2ab5e26\",\"name\":\"Bhargav\",\"logo\":{\"@id\":\"https:\\\/\\\/bhargavs.com\\\/#\\\/schema\\\/person\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/bhargavs.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Exchange 2007 Setup Error: Setup Cannot use Domain Controller\u2026 - Bhargav&#039;s IT Playground","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/bhargavs.com\/index.php\/2009\/05\/28\/exchange-2007-setup-error-domain-controller-override-set-registry\/","og_locale":"en_US","og_type":"article","og_title":"Exchange 2007 Setup Error: Setup Cannot use Domain Controller\u2026 - Bhargav&#039;s IT Playground","og_description":"On one of my tests I was trying to add Hub role to a server that already had Mailbox role installed. When I started the setup, I got an error [&hellip;]","og_url":"https:\/\/bhargavs.com\/index.php\/2009\/05\/28\/exchange-2007-setup-error-domain-controller-override-set-registry\/","og_site_name":"Bhargav&#039;s IT Playground","article_published_time":"2009-05-28T06:23:03+00:00","author":"Bhargav","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Bhargav","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bhargavs.com\/index.php\/2009\/05\/28\/exchange-2007-setup-error-domain-controller-override-set-registry\/#article","isPartOf":{"@id":"https:\/\/bhargavs.com\/index.php\/2009\/05\/28\/exchange-2007-setup-error-domain-controller-override-set-registry\/"},"author":{"name":"Bhargav","@id":"https:\/\/bhargavs.com\/#\/schema\/person\/28f6d8c9b29f3a879483d65fc2ab5e26"},"headline":"Exchange 2007 Setup Error: Setup Cannot use Domain Controller\u2026","datePublished":"2009-05-28T06:23:03+00:00","mainEntityOfPage":{"@id":"https:\/\/bhargavs.com\/index.php\/2009\/05\/28\/exchange-2007-setup-error-domain-controller-override-set-registry\/"},"wordCount":202,"commentCount":1,"publisher":{"@id":"https:\/\/bhargavs.com\/#\/schema\/person\/28f6d8c9b29f3a879483d65fc2ab5e26"},"keywords":["Exchange 2007","Exchange Server","Setup Error"],"articleSection":["Exchange 2007","Exchange Server","Setup","Troubleshooting"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bhargavs.com\/index.php\/2009\/05\/28\/exchange-2007-setup-error-domain-controller-override-set-registry\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bhargavs.com\/index.php\/2009\/05\/28\/exchange-2007-setup-error-domain-controller-override-set-registry\/","url":"https:\/\/bhargavs.com\/index.php\/2009\/05\/28\/exchange-2007-setup-error-domain-controller-override-set-registry\/","name":"Exchange 2007 Setup Error: Setup Cannot use Domain Controller\u2026 - Bhargav&#039;s IT Playground","isPartOf":{"@id":"https:\/\/bhargavs.com\/#website"},"datePublished":"2009-05-28T06:23:03+00:00","breadcrumb":{"@id":"https:\/\/bhargavs.com\/index.php\/2009\/05\/28\/exchange-2007-setup-error-domain-controller-override-set-registry\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bhargavs.com\/index.php\/2009\/05\/28\/exchange-2007-setup-error-domain-controller-override-set-registry\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/bhargavs.com\/index.php\/2009\/05\/28\/exchange-2007-setup-error-domain-controller-override-set-registry\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bhargavs.com\/"},{"@type":"ListItem","position":2,"name":"Exchange 2007 Setup Error: Setup Cannot use Domain Controller\u2026"}]},{"@type":"WebSite","@id":"https:\/\/bhargavs.com\/#website","url":"https:\/\/bhargavs.com\/","name":"Bhargav's IT Playground","description":"Passion for Technology. Power of Collaboration.","publisher":{"@id":"https:\/\/bhargavs.com\/#\/schema\/person\/28f6d8c9b29f3a879483d65fc2ab5e26"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bhargavs.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/bhargavs.com\/#\/schema\/person\/28f6d8c9b29f3a879483d65fc2ab5e26","name":"Bhargav","logo":{"@id":"https:\/\/bhargavs.com\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/bhargavs.com"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":211,"url":"https:\/\/bhargavs.com\/index.php\/2009\/12\/14\/how-do-i-check-update-rollup-version-on-exchange-20xx-server\/","url_meta":{"origin":1626,"position":0},"title":"How do I check Update Rollup version on Exchange 20xx Server?","author":"Bhargav","date":"December 14, 2009","format":false,"excerpt":"UPDATED: Feb 26, 2014, updated script to accommodate Exchange 2013 Now that Update Rollup for Exchange Server 2010 is available, I have updated my previous script to check for Update Rollup versions on both Exchange Server 2007 and Exchange Server 2010. No need to have two versions of script. Just\u2026","rel":"","context":"In &quot;Exchange 2007&quot;","block_context":{"text":"Exchange 2007","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/exchange-server\/exchange-2007\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":483,"url":"https:\/\/bhargavs.com\/index.php\/2012\/11\/16\/exchange-2013-setup-client-access-server-role-readiness-check-fails\/","url_meta":{"origin":1626,"position":1},"title":"Exchange 2013 Setup &#8211; Client Access server role readiness check fails","author":"Bhargav","date":"November 16, 2012","format":false,"excerpt":"When installing Exchange 2013 servers in complex lab scenario, I decided to separate Mailbox and Client Access server roles to dedicated servers running Windows Server 2012. I installed Mailbox server role first and then proceeded to install Client Access role. Since Mailbox server role installed fine using setup UI and\u2026","rel":"","context":"In &quot;Exchange 2013&quot;","block_context":{"text":"Exchange 2013","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/exchange-server\/exchange-2013\/"},"img":{"alt_text":"image","src":"https:\/\/i0.wp.com\/bhargavs.com\/wp-content\/uploads\/2012\/11\/image_thumb3.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1679,"url":"https:\/\/bhargavs.com\/index.php\/2012\/05\/03\/exchange-management-shell-error-500-internal-server-error\/","url_meta":{"origin":1626,"position":2},"title":"Exchange Management Shell Error 500 &#8211; Internal Server Error","author":"Bhargav","date":"May 3, 2012","format":false,"excerpt":"I have come across this issue enough times that even if it is documented on TechNet it deserves mention here. When you launch Exchange Management Shell or try to connect to an Exchange 2010 Server remotely using PowerShell, you get error \u201c500 \u2013 Internal Server Error. There is a problem\u2026","rel":"","context":"In &quot;Exchange 2010&quot;","block_context":{"text":"Exchange 2010","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/exchange-server\/exchange-2010\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":475,"url":"https:\/\/bhargavs.com\/index.php\/2012\/11\/14\/outlook-must-be-online-or-connected\/","url_meta":{"origin":1626,"position":3},"title":"Outlook must be online or connected\u2026","author":"Bhargav","date":"November 14, 2012","format":false,"excerpt":"Testing Exchange 2013 means careful planning of what you are going to test in lab, what you need to test al given scenarios and what is required. One of my golden rule is to test multiple versions of clients against given server. So in my recent configuration testing, I created\u2026","rel":"","context":"In &quot;Exchange 2013&quot;","block_context":{"text":"Exchange 2013","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/exchange-server\/exchange-2013\/"},"img":{"alt_text":"image","src":"https:\/\/i0.wp.com\/bhargavs.com\/wp-content\/uploads\/2012\/11\/image_thumb.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":205,"url":"https:\/\/bhargavs.com\/index.php\/2009\/11\/20\/verify-exchange-server-schema-version\/","url_meta":{"origin":1626,"position":4},"title":"Verify Exchange Server Schema Version","author":"Bhargav","date":"November 20, 2009","format":false,"excerpt":"UPDATED Feb 25, 2014 to include Exchange 2013 Service Pack 1 information. Since Microsoft has a dedicated TechNet article on this topic, I will no longer update this post. You can find updated information here: http:\/\/technet.microsoft.com\/en-us\/library\/bb125224(v=exchg.150).aspx When you run Exchange Setup to prepare schema, usually the very next question is,\u2026","rel":"","context":"In &quot;Exchange 2003&quot;","block_context":{"text":"Exchange 2003","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/exchange-server\/exchange-2003\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":485,"url":"https:\/\/bhargavs.com\/index.php\/2012\/11\/26\/createcluster-failed-with-0x5-adding-members-to-dag-in-exchange-2013\/","url_meta":{"origin":1626,"position":5},"title":"CreateCluster() failed with 0x5 adding members to DAG in Exchange 2013","author":"Bhargav","date":"November 26, 2012","format":false,"excerpt":"UPDATE: While TechNet article \u201cCreate a Database Availability Group\u201d only mentions Windows 2008 R2 domain controllers, I must thank Scott Schnoll for the following clarification: \"Creating an Exchange 2013 DAG with Mailbox servers on Windows Server 2012? You must pre-stage CNO before adding first server!\". TechNet documentation will be updated\u2026","rel":"","context":"In &quot;Exchange 2013&quot;","block_context":{"text":"Exchange 2013","link":"https:\/\/bhargavs.com\/index.php\/category\/microsoft\/exchange-server\/exchange-2013\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_shortlink":"https:\/\/wp.me\/pkROc-qe","_links":{"self":[{"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/posts\/1626","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/comments?post=1626"}],"version-history":[{"count":0,"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/posts\/1626\/revisions"}],"wp:attachment":[{"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/media?parent=1626"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/categories?post=1626"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bhargavs.com\/index.php\/wp-json\/wp\/v2\/tags?post=1626"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}