<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Edwin M SarmientoRenaming your domain controller hostname &#8211; Edwin M Sarmiento</title>
	<atom:link href="https://www.edwinmsarmiento.com/renaming-your-domain-controller-hostname/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.edwinmsarmiento.com</link>
	<description>Intentional Excellence</description>
	<lastBuildDate>Mon, 13 Apr 2026 21:00:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">84283043</site>		<item>
		<title>Renaming your domain controller hostname</title>
		<link>https://www.edwinmsarmiento.com/renaming-your-domain-controller-hostname/</link>
		<comments>https://www.edwinmsarmiento.com/renaming-your-domain-controller-hostname/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 10:09:00 +0000</pubDate>
		<dc:creator>Edwin M Sarmiento</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://bassplayerdoc.wordpress.com/2008/10/20/renaming-your-domain-controller-hostname</guid>

				<description><![CDATA[This is not really recommended if you think about it. How many of you eventually decided that one day, you need to rename your domain controller? I bet no one. But there are unusual cases where you do not have any other choice but to do it. That&#8217;s what happened to me when I was [&#8230;]]]></description>
					<content:encoded><![CDATA[<p><span style="font-family:arial;">This is not really </span><span style="font-family:arial;">recommended if you think about it. How many of you eventually decided that one day, you need to rename your domain controller? I bet no one. But there are unusual cases where you do not have any other choice but to do it.</span></p>
<p><span style="font-family:arial;">That&#8217;s what happened to me when I was building my virtual image of a Windows Server 2003 domain controller. I accidentally plugged in my automated installation CD. To my surprise, the installation has generated a random name for my machine. Although I could demote the domain controller, change the hostname, and promote it back, it would be very time consuming with all those reboots and manual steps. Searching thru Google gave me </span><a href="http://www.petri.co.il/windows_2003_domain_controller_rename.htm"><span style="font-family:arial;">this</span></a><span style="font-family:arial;"> site which recommends the use of the Netdom.exe tool. You do need to install the Windows Support Tools to use this tool. To change the hostname of the domain controller, open the command prompt associated with the Windows Support Tools. Then, run the following command</span></p>
<p><strong><span style="font-size:85%;">netdom computername oldhostname.domainname /add:newhostname.domainname</span></strong><br />
<strong></strong><br />
<span style="font-family:arial;">Although there are other instructions mentioned in the article, I only needed this command. After rebooting the server, I ran <a href="http://technet.microsoft.com/en-us/library/cc776854.aspx">dcdiag.exe</a> (Domain Controller Diagnostics Tool) and <a href="http://technet.microsoft.com/en-us/library/cc783438.aspx">netdiag.exe</a>(Network Connectivity Test Tool in the Windows Support Tools command prompt to validate the connectivity to the domain controllers. Knowing that you have the right tools available would make life a bit easy for any professional &#8211; whether in IT or not </span></p>
<div class="blogger-post-footer"><img decoding="async" src="" alt="" width="1" height="1" /></div>
]]></content:encoded>
			

		<wfw:commentRss>https://www.edwinmsarmiento.com/renaming-your-domain-controller-hostname/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
				<post-id xmlns="com-wordpress:feed-additions:1">141</post-id>	</item>
	</channel>
</rss>