<?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>danejeffrey.com &#187; dfs</title>
	<atom:link href="http://danejeffrey.com/blog/tag/dfs/feed/" rel="self" type="application/rss+xml" />
	<link>http://danejeffrey.com/blog</link>
	<description>Good ways to break things.</description>
	<lastBuildDate>Tue, 06 Jul 2010 01:26:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Removing An Orphaned DFS Root Target</title>
		<link>http://danejeffrey.com/blog/2009/07/08/removing-an-orphaned-dfs-root-target/</link>
		<comments>http://danejeffrey.com/blog/2009/07/08/removing-an-orphaned-dfs-root-target/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 13:38:50 +0000</pubDate>
		<dc:creator>danejeff</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[dfs]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://danejeffrey.com/blog/?p=86</guid>
		<description><![CDATA[So, a DFS root target has disappeared. Could be because the server broke bad enough to never be able to be recovered back in to AD or because it was previously a domain controller that has been demoted and decommissioned. In any case, you will get an error from dfsgui saying, &#8220;Access is denied&#8221; when you [...]]]></description>
			<content:encoded><![CDATA[<p>So, a DFS root target has disappeared. Could be because the server broke bad enough to never be able to be recovered back in to AD or because it was previously a domain controller that has been demoted and decommissioned. In any case, you will get an error from dfsgui saying, &#8220;Access is denied&#8221; when you try to remove a DFS root target that no longer exists.</p>
<p>Use the dfsutil command to first backup the DFS namespace and then remove the orphaned reference:</p>
<p>1. If not already installed, install the Support Tools for Windows Server 2003</p>
<p>2. Start -&gt; All Programs -&gt; Windows Support Tools -&gt; Command Prompt</p>
<p>3. Backup the DFS namespace, type:</p>
<p><code>dfsutil /root:&lt;fully_qualified_name&gt; /export:&lt;file&gt;</code></p>
<p>(&lt;fully_qualified_name&gt; will be the namespace, e.g. <a href="file://\\mydomain\dfsroot">\\mydomain\dfsroot</a> and &lt;file&gt;, for example, c:\dfs.txt)</p>
<p>4. Open the file you exported it to, it will show you the reference to the orphaned server and will include a field called &#8216;Folder&#8217;.</p>
<p>5. Remove the reference, type (all on one line):</p>
<p><code>dfsutil /UnmapFtRoot /Root:&lt;fully_qualified_name&gt;</code></p>
<p><code>/Server:&lt;server_name&gt; /Shared:&lt;folder&gt;</code></p>
<p>(&lt;server_name&gt; is the name of the orphaned server and &lt;folder&gt; is the value from Step 4 above</p>
<p>6. Open or refresh dfsgui and the old root target will be gone.</p>
<p>Be careful to ensure that there is another root target available for the DFS namespace because otherwise the namespace will be deleted.</p>
]]></content:encoded>
			<wfw:commentRss>http://danejeffrey.com/blog/2009/07/08/removing-an-orphaned-dfs-root-target/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
