<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2523 " id="quads-ad2523" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>
<h1>The Story</h1>
<p>Few months ago I have got a request from one of my clients regarding migrating DFS from 2012R2 to 2016.</p>
<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2525 " id="quads-ad2525" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2530 " id="quads-ad2530" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2527 " id="quads-ad2527" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<p>2012R2 was migrated from 2008r2 and was based on 2000 Mode. To do this you’ve got a list of requirements as it can be migrated but certain features won’t be supported if you continue to use the 2000 Mode in DFS on Windows 2016 server.</p>
<h3>How to Start</h3>
<p>In this tutorial I will explain how to do this migration by doing a demo step by step and guide you through this Migration with screenshots and the required commands.</p>
<p>I have added a tiny comparison also to make it clear why are we going to use this particular method of migrating DFS mode and Server.</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0014.png"><img style="display: inline; background-image: none;" title="clip_image001[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0014_thumb.png" alt="clip_image001[4]" width="1002" height="386" border="0" /></a> 

<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2522 " id="quads-ad2522" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>
 
</p>
<h1>To migrate a domain-based namespace to Windows Server 2008 mode</h1>
<ol>
<li>Open a Command Prompt window and type the following command to export the namespace to a file, where \\ domain \ namespace is the name of the appropriate domain and namespace and path\filename is the path and file name of the export file:</li>
</ol>
<h5>On the source DC/DFS Server</h5>
<p>Dfsutil root export <a href="file://domain/namespace">\\domain\namespace</a> C:\filename.xml</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0024.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image002[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0024_thumb.png" alt="clip_image002[4]" width="1229" height="673" border="0" /></a></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0034.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image003[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0034_thumb.png" alt="clip_image003[4]" width="605" height="140" border="0" /></a></p>
<ol>
<li>Write down the path (\\ server \ share ) for each namespace server. You must manually add namespace servers to the recreated namespace because Dfsutil cannot import namespace servers.</li>
</ol>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0044.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image004[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0044_thumb.png" alt="clip_image004[4]" width="1043" height="285" border="0" /></a></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0054.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image005[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0054_thumb.png" alt="clip_image005[4]" width="976" height="398" border="0" /></a></p>
<ol>
<li>In DFS Management, right-click the namespace and then click Delete , or type the following command at a command prompt, where \\ domain \ namespace is the name of the appropriate domain and namespace:<br />
Copy<br />
Dfsutil root remove <a href="file://domain/namespace">\\domain\namespace</a></li>
</ol>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0064.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image006[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0064_thumb.png" alt="clip_image006[4]" width="432" height="60" border="0" /></a></p>
<p>Let&#8217;s go refresh the console and see if it&#8217;s deleted there</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0074.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image007[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0074_thumb.png" alt="clip_image007[4]" width="480" height="281" border="0" /></a></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0084.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image008[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0084_thumb.png" alt="clip_image008[4]" width="755" height="285" border="0" /></a></p>
<h5>Next remove</h5>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0094.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image009[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0094_thumb.png" alt="clip_image009[4]" width="387" height="154" border="0" /></a></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0104.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image010[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0104_thumb.png" alt="clip_image010[4]" width="545" height="217" border="0" /></a></p>
<p>I will remove the rest of the name spaces</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0114.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image011[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0114_thumb.png" alt="clip_image011[4]" width="426" height="186" border="0" /></a></p>
<p>All have been removed, Now lets remove the name spaces from the display and observe what happens to the replication groups</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0124.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image012[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0124_thumb.png" alt="clip_image012[4]" width="1081" height="329" border="0" /></a></p>
<h3>NOTE:</h3>
<p>Replication groups didn&#8217;t get affected</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0134.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image013[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0134_thumb.png" alt="clip_image013[4]" width="1095" height="286" border="0" /></a></p>
<ol>
<li>In DFS Management, recreate the namespace with the same name, but use the Windows Server 2008 mode, or type the following command at a command prompt, where \\ server \ namespace is the name of the appropriate server and share for the namespace root:<br />
Dfsutil root adddom <a href="file://server/namespace">\\server\namespace</a> v2</li>
</ol>
<h5>I will use the UI instead of the command</h5>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0144.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image014[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0144_thumb.png" alt="clip_image014[4]" width="703" height="320" border="0" /></a></p>
<p>Although we raised the forest and domain function forest but still the 2008 is still greyed out. Lets try to restart the DFS services on the FSMO server</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0154.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image015[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0154_thumb.png" alt="clip_image015[4]" width="391" height="100" border="0" /></a></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0164.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image016[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0164_thumb.png" alt="clip_image016[4]" width="846" height="761" border="0" /></a></p>
<p>After restarting</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0174.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image017[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0174_thumb.png" alt="clip_image017[4]" width="865" height="639" border="0" /></a></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0184.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image018[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0184_thumb.png" alt="clip_image018[4]" width="836" height="632" border="0" /></a></p>
<p>Next, I will copy all the xml files to the new server and import them there</p>
<h1>My new server is 2016</h1>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0194.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image019[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0194_thumb.png" alt="clip_image019[4]" width="772" height="398" border="0" /></a></p>
<ol>
<li>To import the namespace from the export file, type the following command at a command prompt, where \\ domain \ namespace is the name of the appropriate domain and namespace and path\filename is the path and file name of the file to import:<br />
Dfsutil root import merge path\filename.xml <a href="file://domain/namespace">\\domain\namespace</a></li>
</ol>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0204.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image020[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0204_thumb.png" alt="clip_image020[4]" width="978" height="175" border="0" /></a></p>
<p>After the Import</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0214.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image021[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0214_thumb.png" alt="clip_image021[4]" width="754" height="214" border="0" /></a></p>
<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2531 " id="quads-ad2531" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0224.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image022[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0224_thumb.png" alt="clip_image022[4]" width="828" height="220" border="0" /></a></p>
<p>I will continue to import the rest of the namespaces</p>
<p>First we need to create them with their matching namespaces from the GUI</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0234.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image023[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0234_thumb.png" alt="clip_image023[4]" width="703" height="389" border="0" /></a></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0244.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image024[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0244_thumb.png" alt="clip_image024[4]" width="717" height="566" border="0" /></a></p>
<p>Now I will import and merge the xml file</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0254.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image025[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0254_thumb.png" alt="clip_image025[4]" width="966" height="170" border="0" /></a></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0264.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image026[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0264_thumb.png" alt="clip_image026[4]" width="812" height="236" border="0" /></a></p>
<p>After adding the NEW folder which has replicating group existing already from the previous mode. First it didn&#8217;t show up</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0274.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image027[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0274_thumb.png" alt="clip_image027[4]" width="939" height="172" border="0" /></a></p>
<p>but after navigating to the NewFolder and clicking on Replication tab then Navigate to the replication group showed the replication group underneath the Replication</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0284.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image028[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0284_thumb.png" alt="clip_image028[4]" width="833" height="346" border="0" /></a></p>
<p>What has changed?</p>
<p>The only noticeable thing which has changed is the NameSpace Servers everything else like ( Folder targets still the same, replication is identical to previous settings)</p>
<p>See this screenshot</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0294.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image029[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0294_thumb.png" alt="clip_image029[4]" width="823" height="278" border="0" /></a></p>
<p>Let&#8217;s check the access to the new namespace</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0304.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image030[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0304_thumb.png" alt="clip_image030[4]" width="645" height="223" border="0" /></a></p>
<p>Finally, Let&#8217;s import the latest namespace and its configuration (PublicFolder)</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0314.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image031[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0314_thumb.png" alt="clip_image031[4]" width="713" height="572" border="0" /></a></p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0324.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image032[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0324_thumb.png" alt="clip_image032[4]" width="974" height="174" border="0" /></a></p>
<p>Let&#8217;s check the result on GUI</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0334.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image033[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0334_thumb.png" alt="clip_image033[4]" width="851" height="337" border="0" /></a></p>
<p>Notice the replication group for the PF didn&#8217;t come, so let&#8217;s do as we have explained before to show the replication group</p>
<p>Here we go</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0344.png"><img style="margin: 0px; display: inline; background-image: none;" title="clip_image034[4]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0344_thumb.png" alt="clip_image034[4]" width="873" height="345" border="0" /></a></p>
<p>Right after this process finishes, the command creates some kind of a report with time, importing status and other related settings such as site cost, timeout.. Etc</p>
<p><a href="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0357.png"><img style="display: inline; background-image: none;" title="clip_image035[7]" src="https://www.moh10ly.com/wp-content/uploads/2019/11/clip_image0357_thumb.png" alt="clip_image035[7]" width="870" height="329" border="0" /></a></p>
<h5>Note</h5>
<p>To minimize the time that is required to import a large namespace, run the Dfsutil root import command locally on a namespace server.</p>
<p>Add any remaining namespace servers to the recreated namespace by right-clicking the namespace in DFS Management and then clicking Add Namespace Server , or by typing the following command at a command prompt, where \\ server \ share is the name of the appropriate server and share for the namespace root:<br />
Copy<br />
Dfsutil target add <a href="file://server/share">\\server\share</a></p>
<h5>Note</h5>
<p>You can add namespace servers before importing the namespace, but doing so causes the namespace servers to incrementally download the metadata for the namespace instead of immediately downloading the entire namespace after being added as a namespace server.</p>
<p>Ref:</p>
<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2528 " id="quads-ad2528" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>

<p><a href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc753875(v=ws.11)">https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc753875(v=ws.11)</a></p>

<!-- WP QUADS Content Ad Plugin v. 2.0.92 -->
<div class="quads-location quads-ad2526 " id="quads-ad2526" style="float:none;margin:0px 3px 3px 3px;padding:0px 0px 0px 0px;" data-lazydelay="0">

</div>


Reset and manage your Active Directory users' Passwords Active Directory is one of the most…
Finding Exchange Database hidden mailboxes. Story:Maybe you have been in this situation before, trying to…
If you're using a Proxy server in your firewall or in your network and have…
Story:I got some clients that have reported some of their users being locked out and…
Delegate Permissions This is a code that I have wrote recently to check if an…
Story: I got a request from a client who constantly gets CVs and have to…