<?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>DNS &#8211; Carl Webster</title>
	<atom:link href="https://www.carlwebster.com/category/dns/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.carlwebster.com</link>
	<description>The Accidental Citrix Admin - The site for those who find themselves supporting Citrix involuntarily or accidentally</description>
	<lastBuildDate>Mon, 29 May 2023 09:38:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
<site xmlns="com-wordpress:feed-additions:1">42228915</site>	<item>
		<title>Building Webster&#8217;s Lab V2.1</title>
		<link>https://www.carlwebster.com/building-websters-lab-v2-1/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Mon, 29 May 2023 09:31:09 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[XenServer]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=62549</guid>

					<description><![CDATA[On September 9, 2019, I published the Building Webster&#8217;s Lab V1 article series that used vSphere/vCenter 6.7 U3 and XenServer 8.0. On May 24, 2021, I published the Building Webster&#8217;s&#8230;]]></description>
										<content:encoded><![CDATA[<p>On September 9, 2019, I published the <a href="https://www.carlwebster.com/building-websters-lab-v1/" target="_blank" rel="noopener"><em>Building Webster&#8217;s Lab V1</em></a> article series that used vSphere/vCenter 6.7 U3 and XenServer 8.0.</p>
<p>On May 24, 2021, I published the <a href="https://www.carlwebster.com/building-websters-lab-v2/" target="_blank" rel="noopener"><em>Building Webster&#8217;s Lab V2</em></a> article series that used vSphere/vCenter 7.0 original release and XenServer 8.2.0.</p>
<p>This is a follow-up on building the lab with vSphere/vCenter 7.0U3L and XenServer 8.2.1.</p>
<p>Why didn&#8217;t I use vSphere/vCenter 8? Neither my hardware nor Synology units support vSphere 8. There is a change I can make to an install file to bypass the hardware compatibility check, but I would rather not risk it. It took Synology a long time to add vSphere 7 support, so I have no idea how long before they add support for vSphere 8.</p>
<p>I need to rebuild the lab because something terrible happened after powering down the lab for an extended weekend. When I powered on the lab after returning to the lab the following Monday, the vSphere servers would not connect to local storage and NFS storage, nor connect to any switches or networking.</p>
<p>Read the rest in the PDF&#8230;</p>
<p><strong>You can always find the most current PDF by going to </strong><a title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">62549</post-id>	</item>
		<item>
		<title>All Current Documentation Scripts are Getting Updated 7-Feb-2022</title>
		<link>https://www.carlwebster.com/all-current-documentation-scripts-are-getting-updated-7-feb-2022/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Mon, 07 Feb 2022 12:21:34 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Citrix Federated Authentication Service]]></category>
		<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[Configuration Manager]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[NetScaler]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PVS]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[XenApp 6.5]]></category>
		<category><![CDATA[XenApp 7.8 through CVAD 2006]]></category>
		<category><![CDATA[XenApp/XenDesktop 7.0 - 7.7]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=61964</guid>

					<description><![CDATA[As I get time over the next couple of days, I am updating all the current documentation scripts with a few minor bug fixes. Any script that has anything different&#8230;]]></description>
										<content:encoded><![CDATA[<p>As I get time over the next couple of days, I am updating all the current documentation scripts with a few minor bug fixes. Any script that has anything different from the fixes listed below will have that change(s) listed separately.</p>
<p>Script Bug Fix Updates 7-Feb-2022</p>
<ul>
<li>Changed the date format for the transcript and error log files from yyyy-MM-dd_HHmm format to the FileDateTime format
<ul>
<li>The format is yyyyMMddTHHmmssffff (case-sensitive, using a 4-digit year, 2-digit month, 2-digit day, the letter T as a time separator, 2-digit hour, 2-digit minute, 2-digit second, and 4-digit millisecond).</li>
<li>For example: 20221225T0840107271.</li>
</ul>
</li>
<li>Fixed the German Table of Contents (Thanks to Rene Bigler)
<ul>
<li>From
<ul>
<li>&#8216;de-&#8216; { &#8216;Automatische Tabelle 2&#8217;; Break }</li>
</ul>
</li>
<li>To
<ul>
<li>&#8216;de-&#8216; { &#8216;Automatisches Verzeichnis 2&#8217;; Break }</li>
</ul>
</li>
</ul>
</li>
<li>In Function AbortScript, add test for the winword process and terminate it if it <span style="font-size: 1rem;">is running</span>
<ul>
<li>Added stopping the transcript log if the log was enabled and started</li>
</ul>
</li>
<li>In Functions AbortScript and SaveandCloseDocumentandShutdownWord, add code from Guy Leech to test for the &#8220;Id&#8221; property before using it</li>
<li>Replaced most script Exit calls with AbortScript to stop the transcript log if the log was enabled and started</li>
<li>Updated the help text</li>
<li>Updated the ReadMe file</li>
</ul>
<p>&nbsp;</p>
<p>Active Directory 3.09 7-Feb-2022</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>Added to Domain Information the data for ms-DS-MachineAccountQuota</li>
</ul>
</li>
</ul>
<p>Active Directory Health Check 3.09 7-Feb-2022</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>Add missing variable $Script:ThisScriptPath</li>
<li>Changed all Write-Verbose statements from Get-Date to Get-Date -Format G as requested by Guy Leech</li>
<li>Removed Function Stop-Winword</li>
<li>Updated Functions CheckWordPrereq and SetupWord with the versions used in the other documentation scripts</li>
</ul>
</li>
</ul>
<p>Citrix Federated Authentication Services 1.14 7-Feb-2022</p>
<p>Citrix Provisioning Services (PVS) New 6.03 8-Feb-2022</p>
<p>Citrix Provisioning Services (PVS) Old 4.32 10-Feb-2022</p>
<p>Citrix XenApp/XenDesktop 7.0 through 7.7 1.51 13-Feb-2022</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>Since the Citrix.GroupPolicy.Commands.psm1 module file was removed in  1.50,  removed the block for Elevation if $Policies is True</li>
</ul>
</li>
</ul>
<p>Citrix XenApp/XenDesktop 7.8 through CVAD 2006 2.46 15-Feb-2022</p>
<p>Citrix Virtual Apps and Desktops V3.32 15-Feb-2022</p>
<p>Microsoft Configuration Manager 2012R2 V2.40 17-Feb-2022</p>
<p>Microsoft DHCP V2.05 17-Feb-2022</p>
<p>Microsoft DNS V2.03 18-Feb-2022</p>
<p>Citrix NetScaler Old (uses ns.conf file) V2.62 18-Feb-2022</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>Fixed $Null comparisons that were on the wrong side</li>
<li>Updated Functions CheckWordPrereq and SendEmail to the latest version</li>
</ul>
</li>
</ul>
<p>Parallels RAS V17 V1.02 18-Feb-2022</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>Added Function OutputReportFooter</li>
<li>Added Parameter ReportFooter
<ul>
<li>Outputs a footer section at the end of the report.</li>
<li>Report Footer
<ul>
<li>Report information:
<ul>
<li>Created with: &lt;Script Name&gt; &#8211; Release Date: &lt;Script Release Date&gt;</li>
<li>Script version: &lt;Script Version&gt;</li>
<li>Started on &lt;Date Time in Local Format&gt;</li>
<li>Elapsed time: nn days, nn hours, nn minutes, nn.nn seconds</li>
<li>Ran from domain &lt;Domain Name&gt; by user &lt;Username&gt;</li>
<li>Ran from the folder &lt;Folder Name&gt;</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>Updated Functions SaveandCloseTextDocument and  SaveandCloseHTMLDocument to add a &#8220;Report Complete&#8221; line</li>
<li>Updated Functions ShowScriptOptions and ProcessScriptEnd to add  $ReportFooter</li>
</ul>
</li>
</ul>
<p>Parallels RAS V18 V2.11 18-Feb-2022</p>
<ul>
<li style="list-style-type: none;">
<ul>
<li>Added Function OutputReportFooter</li>
<li>Added Parameter ReportFooter
<ul>
<li>Outputs a footer section at the end of the report.</li>
<li>Report Footer
<ul>
<li>Report information:
<ul>
<li>Created with: &lt;Script Name&gt; &#8211; Release Date: &lt;Script Release Date&gt;</li>
<li>Script version: &lt;Script Version&gt;</li>
<li>Started on &lt;Date Time in Local Format&gt;</li>
<li>Elapsed time: nn days, nn hours, nn minutes, nn.nn seconds</li>
<li>Ran from domain &lt;Domain Name&gt; by user &lt;Username&gt;</li>
<li>Ran from the folder &lt;Folder Name&gt;</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>Updated Functions SaveandCloseTextDocument and  SaveandCloseHTMLDocument to add a &#8220;Report Complete&#8221; line</li>
<li>Updated Functions ShowScriptOptions and ProcessScriptEnd to add  $ReportFooter</li>
</ul>
</li>
</ul>
<p>VMware vSphere 1.93 23-Feb-2022</p>
<p>Citrix XenApp 6.5 5.06 23-Feb-2022</p>
<p>If you have questions or issues, please email me. webster at carlwebster dot com.</p>
<p><strong style="font-size: 1rem;">You can always find the most current script by going to </strong><a style="font-size: 1rem;" title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">61964</post-id>	</item>
		<item>
		<title>Microsoft DNS Documentation Script V2.02</title>
		<link>https://www.carlwebster.com/microsoft-dns-documentation-script-v2-02/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Tue, 31 Aug 2021 20:58:56 +0000</pubDate>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=48280</guid>

					<description><![CDATA[Version 2.02 11-Sep-2021 Added array error checking for non-empty arrays before attempting to create the Word table for most Word tables Added Function OutputReportFooter Added Parameter ReportFooter Outputs a footer&#8230;]]></description>
										<content:encoded><![CDATA[<p>Version 2.02 11-Sep-2021</p>
<ul>
<li>Added array error checking for non-empty arrays before attempting to create the Word table for most Word tables</li>
<li>Added Function OutputReportFooter</li>
<li>Added Parameter ReportFooter
<ul>
<li>Outputs a footer section at the end of the report.</li>
<li>Report Footer
<ul>
<li>Report information:
<ul>
<li>Created with: &lt;Script Name&gt; &#8211; Release Date: &lt;Script Release Date&gt;</li>
<li>Started on &lt;Date Time in Local Format&gt;</li>
<li>Elapsed time: nn days, nn hours, nn minutes, nn.nn seconds</li>
<li>Ran from domain &lt;Domain Name&gt; by user &lt;Username&gt;</li>
<li>Ran from the folder &lt;Folder Name&gt;</li>
</ul>
</li>
</ul>
</li>
<li>Updated Functions SaveandCloseTextDocument and SaveandCloseHTMLDocument to add a &#8220;Report Complete&#8221; line</li>
<li>Updated Functions ShowScriptOptions and ProcessScriptEnd to add $ReportFooter</li>
<li>Updated the help text</li>
<li>Updated the ReadMe file</li>
</ul>
</li>
</ul>
<p>Thanks to fellow CTP Thomas Krampe for the push to add the report footer.</p>
<p>If you have questions or issues, please email me. webster at carlwebster dot com.</p>
<p><strong style="font-size: 1rem;">You can always find the most current script by going to </strong><a style="font-size: 1rem;" title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">48280</post-id>	</item>
		<item>
		<title>Building Webster&#8217;s Lab V2 PDF</title>
		<link>https://www.carlwebster.com/building-websters-lab-v2-pdf/</link>
					<comments>https://www.carlwebster.com/building-websters-lab-v2-pdf/#comments</comments>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Wed, 07 Jul 2021 11:54:35 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[IGEL]]></category>
		<category><![CDATA[Parallels]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PVS]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[XenServer]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=43805</guid>

					<description><![CDATA[I spent 688 hours on the article series and another 50 hours getting this PDF edited and created. Along the way, Grammarly kept finding issues to correct. All the corrections&#8230;]]></description>
										<content:encoded><![CDATA[<p>I spent 688 hours on the article series and another 50 hours getting this PDF edited and created. Along the way, Grammarly kept finding issues to correct. All the corrections are also in the posted articles. The PDF is 1,335 pages, has well over 1,500 images, and is 42MB.</p>
<p>I updated the PDF last on 22-Sep-2021.</p>
<p><strong style="font-size: 1rem;">You can always find the most current PDF by going to </strong><a style="font-size: 1rem;" title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.carlwebster.com/building-websters-lab-v2-pdf/feed/</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">43805</post-id>	</item>
		<item>
		<title>20 Building Webster&#8217;s Lab V2 – Create a Management Computer</title>
		<link>https://www.carlwebster.com/20-building-websters-lab-v2-create-a-management-computer/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Fri, 18 Jun 2021 08:17:34 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Parallels]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[PVS]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[XenServer]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=32109</guid>

					<description><![CDATA[[Updated 8-Nov-2021] The next step is to create a management computer from the Windows 10 template with the additional servers built and configured. We use the VM built in this&#8230;]]></description>
										<content:encoded><![CDATA[<p>[Updated 8-Nov-2021]</p>
<p>The next step is to create a management computer from the Windows 10 <span style="font-size: 1rem;">template with the additional servers built and configured. We use the VM built in this article for PowerShell scripting running consoles from Citrix, Microsoft, Parallels, and VMware. My lab&#8217;s infrastructure VMs reside in my XenServer pool, as explained in the </span><a style="font-size: 1rem;" href="https://www.carlwebster.com/01-building-websters-lab-v2-introduction/" target="_blank" rel="noopener">Introduction article</a><span style="font-size: 1rem;">. I consider the management computer an infrastructure computer as it is permanent.</span></p>
<p><strong>Note:</strong> What I call a Management Computer goes by different names.</p>
<ul>
<li>Jump Server</li>
<li>Jump Machine</li>
<li>Jump Host</li>
<li>Bastion Machine</li>
<li>Bastion Host</li>
<li>And I am sure other locations around the world use other names</li>
</ul>
<p>Whatever you want to call it, this is a centralized computer for managing and accessing servers, network equipment, storage devices, and other management activities. Some people use a server operating system (OS), and some use a desktop OS. It depends on the licensing restrictions of the software used on the computer.</p>
<p>From the <a href="https://www.carlwebster.com/01-building-websters-lab-v2-introduction/" target="_blank" rel="noopener">introduction article</a>, this is the VM we are building.</p>
<table>
<tbody>
<tr>
<td width="104"><strong>Name</strong></td>
<td width="382"><strong>Description</strong></td>
<td width="107"><strong>IP Address</strong></td>
</tr>
<tr>
<td width="104">LabMgmtPC</td>
<td width="382">VM with management consoles, PowerShell stuff, and Office</td>
<td width="107">192.168.1.200</td>
</tr>
</tbody>
</table>
<h2>VMware</h2>
<p>In vCenter, right-click the Windows 10 Template and click on <em>New VM from This Template…</em>, as shown in Figure 1.</p>
<figure id="attachment_32113" aria-describedby="caption-attachment-32113" style="width: 471px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-18.png" target="_blank" rel="noopener"><img fetchpriority="high" decoding="async" class="wp-image-32113 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-18.png" alt="Figure 1" width="471" height="332" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-18.png 471w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-18-426x300.png 426w" sizes="(max-width: 471px) 100vw, 471px" /></a><figcaption id="caption-attachment-32113" class="wp-caption-text">Figure 1</figcaption></figure>
<p>Enter a V<em>irtual machine name</em> and click <em>Next</em>, as shown in Figure 2.</p>
<figure id="attachment_32114" aria-describedby="caption-attachment-32114" style="width: 1152px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-18.png" target="_blank" rel="noopener"><img decoding="async" class="wp-image-32114 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-18.png" alt="Figure 2" width="1152" height="757" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-18.png 1152w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-18-457x300.png 457w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-18-900x591.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-18-768x505.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-18-600x394.png 600w" sizes="(max-width: 1152px) 100vw, 1152px" /></a><figcaption id="caption-attachment-32114" class="wp-caption-text">Figure 2</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 3.</p>
<figure id="attachment_32115" aria-describedby="caption-attachment-32115" style="width: 1000px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-18.png" target="_blank" rel="noopener"><img decoding="async" class="wp-image-32115 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-18.png" alt="Figure 3" width="1000" height="758" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-18.png 1000w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-18-396x300.png 396w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-18-900x682.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-18-768x582.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-18-600x455.png 600w" sizes="(max-width: 1000px) 100vw, 1000px" /></a><figcaption id="caption-attachment-32115" class="wp-caption-text">Figure 3</figcaption></figure>
<p>Select the NFS shared datastore <a href="https://www.carlwebster.com/07-building-websters-lab-v2-create-vsphere-networking-and-network-storage/" target="_blank" rel="noopener">created earlier</a> in this series and click <em>Next</em>, as shown in Figure 4.</p>
<figure id="attachment_32116" aria-describedby="caption-attachment-32116" style="width: 1001px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-18.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32116 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-18.png" alt="Figure 4" width="1001" height="759" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-18.png 1001w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-18-396x300.png 396w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-18-900x682.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-18-768x582.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-18-600x455.png 600w" sizes="auto, (max-width: 1001px) 100vw, 1001px" /></a><figcaption id="caption-attachment-32116" class="wp-caption-text">Figure 4</figcaption></figure>
<p>Select <em>Power on virtual machine after creation</em> and click <em>Next</em>, as shown in Figure 5.</p>
<figure id="attachment_32117" aria-describedby="caption-attachment-32117" style="width: 1002px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-18.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32117 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-18.png" alt="Figure 5" width="1002" height="758" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-18.png 1002w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-18-397x300.png 397w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-18-900x681.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-18-768x581.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-18-600x454.png 600w" sizes="auto, (max-width: 1002px) 100vw, 1002px" /></a><figcaption id="caption-attachment-32117" class="wp-caption-text">Figure 5</figcaption></figure>
<p>Verify that the configuration data for the new VM is correct and click <em>Finish</em>, as shown in Figure 6. If any item is incorrect, click <em>Back</em>, correct the item(s), and continue.</p>
<figure id="attachment_32118" aria-describedby="caption-attachment-32118" style="width: 1000px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-18.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32118 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-18.png" alt="Figure 6" width="1000" height="758" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-18.png 1000w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-18-396x300.png 396w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-18-900x682.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-18-768x582.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-18-600x455.png 600w" sizes="auto, (max-width: 1000px) 100vw, 1000px" /></a><figcaption id="caption-attachment-32118" class="wp-caption-text">Figure 6</figcaption></figure>
<p>It took about 2 minutes to create the VM from the template in my lab.</p>
<p>Wait for the creation of the VM to complete, as shown in Figure 7.</p>
<figure id="attachment_32119" aria-describedby="caption-attachment-32119" style="width: 563px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32119 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-17.png" alt="Figure 7" width="563" height="131" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-17.png 563w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-17-530x123.png 530w" sizes="auto, (max-width: 563px) 100vw, 563px" /></a><figcaption id="caption-attachment-32119" class="wp-caption-text">Figure 7</figcaption></figure>
<p>Since we enabled Remote Desktop in the Template, the new VM has it enabled.</p>
<p>In vCenter, select the new Windows 10 VM, and in the right pane, look at the IP address, as shown in Figure 8.</p>
<figure id="attachment_32120" aria-describedby="caption-attachment-32120" style="width: 832px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32120 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-17.png" alt="Figure 8" width="832" height="372" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-17.png 832w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-17-530x237.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-17-768x343.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-17-600x268.png 600w" sizes="auto, (max-width: 832px) 100vw, 832px" /></a><figcaption id="caption-attachment-32120" class="wp-caption-text">Figure 8</figcaption></figure>
<p>As shown in Figure 9, click <em>Start</em>, <em>Run</em>, and type in <strong>mstsc /v:ipaddress /admin</strong>, and press <em>Enter</em> [where IP Address is the IP address shown in Figure 8].</p>
<figure id="attachment_32121" aria-describedby="caption-attachment-32121" style="width: 399px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32121 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-17.png" alt="Figure 9" width="399" height="208" /></a><figcaption id="caption-attachment-32121" class="wp-caption-text">Figure 9</figcaption></figure>
<p>Using Remote Desktop at this point makes it easier for me to get screenshots.</p>
<p>Enter the credentials for the local account created during the Windows 10 template build and press <em>Enter</em>, as shown in Figure 10.</p>
<figure id="attachment_32122" aria-describedby="caption-attachment-32122" style="width: 456px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32122 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-17.png" alt="Figure 10" width="456" height="313" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-17.png 456w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-17-437x300.png 437w" sizes="auto, (max-width: 456px) 100vw, 456px" /></a><figcaption id="caption-attachment-32122" class="wp-caption-text">Figure 10</figcaption></figure>
<p>Click <em>Yes</em>, as shown in Figure 11.</p>
<figure id="attachment_32123" aria-describedby="caption-attachment-32123" style="width: 392px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32123 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-17.png" alt="Figure 11" width="392" height="401" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-17.png 392w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-17-293x300.png 293w" sizes="auto, (max-width: 392px) 100vw, 392px" /></a><figcaption id="caption-attachment-32123" class="wp-caption-text">Figure 11</figcaption></figure>
<p>Select your region and click <em>Yes</em>, as shown in Figure 12.</p>
<figure id="attachment_32124" aria-describedby="caption-attachment-32124" style="width: 1084px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32124 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-17.png" alt="Figure 12" width="1084" height="829" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-17.png 1084w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-17-392x300.png 392w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-17-900x688.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-17-768x587.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-17-600x459.png 600w" sizes="auto, (max-width: 1084px) 100vw, 1084px" /></a><figcaption id="caption-attachment-32124" class="wp-caption-text">Figure 12</figcaption></figure>
<p>Select your keyboard layout and click <em>Yes</em>, as shown in Figure 13.</p>
<figure id="attachment_32125" aria-describedby="caption-attachment-32125" style="width: 1078px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32125 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-17.png" alt="Figure 13" width="1078" height="828" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-17.png 1078w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-17-391x300.png 391w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-17-900x691.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-17-768x590.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-17-600x461.png 600w" sizes="auto, (max-width: 1078px) 100vw, 1078px" /></a><figcaption id="caption-attachment-32125" class="wp-caption-text">Figure 13</figcaption></figure>
<p>Click <em>Skip</em>, as shown in Figure 14.</p>
<figure id="attachment_32126" aria-describedby="caption-attachment-32126" style="width: 1080px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32126 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-17.png" alt="Figure 14" width="1080" height="842" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-17.png 1080w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-17-385x300.png 385w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-17-900x702.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-17-768x599.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-17-600x468.png 600w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></a><figcaption id="caption-attachment-32126" class="wp-caption-text">Figure 14</figcaption></figure>
<p>Click <em>Accept</em>, as shown in Figure 15.</p>
<figure id="attachment_32127" aria-describedby="caption-attachment-32127" style="width: 1077px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-18.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32127 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-18.png" alt="Figure 15" width="1077" height="831" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-18.png 1077w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-18-389x300.png 389w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-18-900x694.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-18-768x593.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-18-600x463.png 600w" sizes="auto, (max-width: 1077px) 100vw, 1077px" /></a><figcaption id="caption-attachment-32127" class="wp-caption-text">Figure 15</figcaption></figure>
<p>Click <em>Domain join instead</em>, as shown in Figure 16.</p>
<figure id="attachment_32128" aria-describedby="caption-attachment-32128" style="width: 1078px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32128 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-17.png" alt="Figure 16" width="1078" height="829" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-17.png 1078w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-17-390x300.png 390w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-17-900x692.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-17-768x591.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-17-600x461.png 600w" sizes="auto, (max-width: 1078px) 100vw, 1078px" /></a><figcaption id="caption-attachment-32128" class="wp-caption-text">Figure 16</figcaption></figure>
<p>Type in a local user account name and click <em>Next</em>, as shown in Figure 17.</p>
<figure id="attachment_32129" aria-describedby="caption-attachment-32129" style="width: 1079px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32129 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-17.png" alt="Figure 17" width="1079" height="836" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-17.png 1079w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-17-387x300.png 387w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-17-900x697.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-17-768x595.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-17-600x465.png 600w" sizes="auto, (max-width: 1079px) 100vw, 1079px" /></a><figcaption id="caption-attachment-32129" class="wp-caption-text">Figure 17</figcaption></figure>
<p>Enter a password and click <em>Next</em>, as shown in Figure 18.</p>
<figure id="attachment_32130" aria-describedby="caption-attachment-32130" style="width: 1081px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32130 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-17.png" alt="Figure 18" width="1081" height="832" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-17.png 1081w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-17-390x300.png 390w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-17-900x693.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-17-768x591.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-17-600x462.png 600w" sizes="auto, (max-width: 1081px) 100vw, 1081px" /></a><figcaption id="caption-attachment-32130" class="wp-caption-text">Figure 18</figcaption></figure>
<p>Confirm the password and click <em>Next</em>, as shown in Figure 19.</p>
<figure id="attachment_32131" aria-describedby="caption-attachment-32131" style="width: 1078px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32131 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-17.png" alt="Figure 19" width="1078" height="833" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-17.png 1078w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-17-388x300.png 388w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-17-900x695.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-17-768x593.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-17-600x464.png 600w" sizes="auto, (max-width: 1078px) 100vw, 1078px" /></a><figcaption id="caption-attachment-32131" class="wp-caption-text">Figure 19</figcaption></figure>
<p>Select three security questions, enter the answer, and click <em>Next</em>, as shown in Figures 20 through 22.</p>
<figure id="attachment_32132" aria-describedby="caption-attachment-32132" style="width: 1074px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32132 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-17.png" alt="Figure 20" width="1074" height="835" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-17.png 1074w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-17-386x300.png 386w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-17-900x700.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-17-768x597.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-17-600x466.png 600w" sizes="auto, (max-width: 1074px) 100vw, 1074px" /></a><figcaption id="caption-attachment-32132" class="wp-caption-text">Figure 20</figcaption></figure>
<figure id="attachment_32133" aria-describedby="caption-attachment-32133" style="width: 1079px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32133 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-16.png" alt="Figure 21" width="1079" height="828" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-16.png 1079w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-16-391x300.png 391w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-16-900x691.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-16-768x589.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-16-600x460.png 600w" sizes="auto, (max-width: 1079px) 100vw, 1079px" /></a><figcaption id="caption-attachment-32133" class="wp-caption-text">Figure 21</figcaption></figure>
<figure id="attachment_32134" aria-describedby="caption-attachment-32134" style="width: 1080px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32134 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-16.png" alt="Figure 22" width="1080" height="831" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-16.png 1080w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-16-390x300.png 390w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-16-900x693.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-16-768x591.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-16-600x462.png 600w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></a><figcaption id="caption-attachment-32134" class="wp-caption-text">Figure 22</figcaption></figure>
<p>Select your privacy settings and click <em>Accept</em>, as shown in Figure 23. I set them all to No.</p>
<figure id="attachment_32135" aria-describedby="caption-attachment-32135" style="width: 1077px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32135 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-15.png" alt="Figure 23" width="1077" height="831" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-15.png 1077w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-15-389x300.png 389w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-15-900x694.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-15-768x593.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-15-600x463.png 600w" sizes="auto, (max-width: 1077px) 100vw, 1077px" /></a><figcaption id="caption-attachment-32135" class="wp-caption-text">Figure 23</figcaption></figure>
<p>Make a selection for Cortana, as shown in Figure 24. I selected <em>Not now</em>, plus one of the settings in my Lab Defaults Group Policy to disable the use of Cortana.</p>
<figure id="attachment_32136" aria-describedby="caption-attachment-32136" style="width: 1082px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32136 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-15.png" alt="Figure 24" width="1082" height="830" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-15.png 1082w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-15-391x300.png 391w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-15-900x690.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-15-768x589.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-15-600x460.png 600w" sizes="auto, (max-width: 1082px) 100vw, 1082px" /></a><figcaption id="caption-attachment-32136" class="wp-caption-text">Figure 24</figcaption></figure>
<p>If you receive the following popup, click <em>Yes</em>, as shown in Figure 25. I only received this popup for VMware, not XenServer.</p>
<figure id="attachment_32137" aria-describedby="caption-attachment-32137" style="width: 343px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32137 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-14.png" alt="Figure 25" width="343" height="403" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-14.png 343w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-14-255x300.png 255w" sizes="auto, (max-width: 343px) 100vw, 343px" /></a><figcaption id="caption-attachment-32137" class="wp-caption-text">Figure 25</figcaption></figure>
<p>Right-click the network icon in the systray and click <em>Open Network &amp; Internet settings</em>, as shown in Figure 26.</p>
<figure id="attachment_32138" aria-describedby="caption-attachment-32138" style="width: 290px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32138 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-13.png" alt="Figure 26" width="290" height="107" /></a><figcaption id="caption-attachment-32138" class="wp-caption-text">Figure 26</figcaption></figure>
<p>Click <em>Change adapter options</em>, as shown in Figure 27.</p>
<figure id="attachment_32139" aria-describedby="caption-attachment-32139" style="width: 466px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32139 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-13.png" alt="Figure 27" width="466" height="247" /></a><figcaption id="caption-attachment-32139" class="wp-caption-text">Figure 27</figcaption></figure>
<p>Right-click the adapter and click <em>Properties</em>, as shown in Figure 28.</p>
<figure id="attachment_32140" aria-describedby="caption-attachment-32140" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32140 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-12.png" alt="Figure 28" width="400" height="348" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-12.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-12-345x300.png 345w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-32140" class="wp-caption-text">Figure 28</figcaption></figure>
<p>Click <em>Configure…</em>, as shown in Figure 29.</p>
<figure id="attachment_32141" aria-describedby="caption-attachment-32141" style="width: 362px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32141 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-12.png" alt="Figure 29" width="362" height="468" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-12.png 362w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-12-232x300.png 232w" sizes="auto, (max-width: 362px) 100vw, 362px" /></a><figcaption id="caption-attachment-32141" class="wp-caption-text">Figure 29</figcaption></figure>
<p>Click the <em>Power Management</em> tab, deselect every option, and click <em>OK</em>, as shown in Figure 30.</p>
<figure id="attachment_32142" aria-describedby="caption-attachment-32142" style="width: 399px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32142 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-12.png" alt="Figure 30" width="399" height="454" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-12.png 399w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-12-264x300.png 264w" sizes="auto, (max-width: 399px) 100vw, 399px" /></a><figcaption id="caption-attachment-32142" class="wp-caption-text">Figure 30</figcaption></figure>
<p>Right-click the Adapter and click <em>Properties</em>, as shown in Figure 28.</p>
<p>Click <em>Internet Protocol Version 4 (TCP/IPv4)</em> and click <em>Properties</em>, as shown in Figure 31.</p>
<figure id="attachment_32143" aria-describedby="caption-attachment-32143" style="width: 362px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32143 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-13.png" alt="Figure 31" width="362" height="465" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-13.png 362w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-13-234x300.png 234w" sizes="auto, (max-width: 362px) 100vw, 362px" /></a><figcaption id="caption-attachment-32143" class="wp-caption-text">Figure 31</figcaption></figure>
<p>Select <em>Use the following IP address</em>, enter the IP information for your network, and click <em>OK</em>, as shown in Figure 32. For the <em>DNS server addresses</em>, use the IP addresses of your domain controllers.</p>
<figure id="attachment_32144" aria-describedby="caption-attachment-32144" style="width: 399px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32144 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-13.png" alt="Figure 32" width="399" height="456" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-13.png 399w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-13-263x300.png 263w" sizes="auto, (max-width: 399px) 100vw, 399px" /></a><figcaption id="caption-attachment-32144" class="wp-caption-text">Figure 32</figcaption></figure>
<p>How many DNS servers should you configure on the network adapter? Not as many as you think. I recommend on DCs, a total of three where the third is always 127.0.0.1. For all other computers, also no more than three. I have seen places with 15 DCs, and every computer had all 15 DCs in the list of DNS servers. If you understand Windows <a href="https://docs.microsoft.com/en-US/troubleshoot/windows-server/networking/dns-client-resolution-timeouts" target="_blank" rel="noopener">DNS client resolution timeouts</a>, limit the number of DNS entries.</p>
<p>Click <em>Close</em>, as shown in Figure 33.</p>
<figure id="attachment_32145" aria-describedby="caption-attachment-32145" style="width: 363px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32145 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-12.png" alt="Figure 33" width="363" height="466" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-12.png 363w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-12-234x300.png 234w" sizes="auto, (max-width: 363px) 100vw, 363px" /></a><figcaption id="caption-attachment-32145" class="wp-caption-text">Figure 33</figcaption></figure>
<p>After clicking <em>Close</em>, <em> y</em>ou lose the connection to the RDP session. Reconnect using the new static IP address.</p>
<p>Close Network Connections.</p>
<p>Click <em>Home</em>, then <em>System</em>, then <em>About</em>, and finally <em>Rename this PC (Advanced)</em>, as shown in Figure 34.</p>
<figure id="attachment_32146" aria-describedby="caption-attachment-32146" style="width: 1202px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-11.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32146 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-11.png" alt="Figure 34" width="1202" height="934" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-11.png 1202w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-11-386x300.png 386w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-11-900x699.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-11-768x597.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-11-600x466.png 600w" sizes="auto, (max-width: 1202px) 100vw, 1202px" /></a><figcaption id="caption-attachment-32146" class="wp-caption-text">Figure 34</figcaption></figure>
<p>Click <em>Change</em>, as shown in Figure 35.</p>
<figure id="attachment_32147" aria-describedby="caption-attachment-32147" style="width: 412px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32147 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-12.png" alt="Figure 35" width="412" height="468" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-12.png 412w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-12-264x300.png 264w" sizes="auto, (max-width: 412px) 100vw, 412px" /></a><figcaption id="caption-attachment-32147" class="wp-caption-text">Figure 35</figcaption></figure>
<p>Enter a <em>Computer name</em>, <em>Domain</em>, and click <em>OK</em>, as shown in Figure 36.</p>
<figure id="attachment_32148" aria-describedby="caption-attachment-32148" style="width: 323px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-10.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32148 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-10.png" alt="Figure 36" width="323" height="391" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-10.png 323w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-10-248x300.png 248w" sizes="auto, (max-width: 323px) 100vw, 323px" /></a><figcaption id="caption-attachment-32148" class="wp-caption-text">Figure 36</figcaption></figure>
<p>Enter the domain&#8217;s Administrator name and password and click <em>OK</em>, as shown in Figure 37.</p>
<figure id="attachment_32149" aria-describedby="caption-attachment-32149" style="width: 456px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32149 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-9.png" alt="Figure 37" width="456" height="300" /></a><figcaption id="caption-attachment-32149" class="wp-caption-text">Figure 37</figcaption></figure>
<p>Click <em>OK</em>, as shown in Figure 38.</p>
<figure id="attachment_32150" aria-describedby="caption-attachment-32150" style="width: 320px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-10.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32150 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-10.png" alt="Figure 38" width="320" height="152" /></a><figcaption id="caption-attachment-32150" class="wp-caption-text">Figure 38</figcaption></figure>
<p>Click <em>OK</em>, as shown in Figure 39.</p>
<figure id="attachment_32151" aria-describedby="caption-attachment-32151" style="width: 352px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-10.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32151 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-10.png" alt="Figure 39" width="352" height="185" /></a><figcaption id="caption-attachment-32151" class="wp-caption-text">Figure 39</figcaption></figure>
<p>Click <em>Close</em>, as shown in Figure 40.</p>
<figure id="attachment_32152" aria-describedby="caption-attachment-32152" style="width: 412px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32152 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-9.png" alt="Figure 40" width="412" height="468" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-9.png 412w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-9-264x300.png 264w" sizes="auto, (max-width: 412px) 100vw, 412px" /></a><figcaption id="caption-attachment-32152" class="wp-caption-text">Figure 40</figcaption></figure>
<p>Click <em>Restart Now</em>, as shown in Figure 41.</p>
<figure id="attachment_32153" aria-describedby="caption-attachment-32153" style="width: 352px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32153 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-9.png" alt="Figure 41" width="352" height="170" /></a><figcaption id="caption-attachment-32153" class="wp-caption-text">Figure 41</figcaption></figure>
<p>When the VM restarts, log in using the domain&#8217;s Administrator account.</p>
<p>Make any customizations you require to the VM before we start installing consoles. I upgraded my Windows 10 20H2 VM to Windows 10 21H1.</p>
<h2>XenServer</h2>
<p>In XenCenter, right-click the Windows 10 Template and click on <em>New VM wizard…</em>, as shown in Figure 42.</p>
<figure id="attachment_32154" aria-describedby="caption-attachment-32154" style="width: 373px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure042-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32154 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure042-9.png" alt="Figure 42" width="373" height="306" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure042-9.png 373w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure042-9-366x300.png 366w" sizes="auto, (max-width: 373px) 100vw, 373px" /></a><figcaption id="caption-attachment-32154" class="wp-caption-text">Figure 42</figcaption></figure>
<p>Select the <em>Windows 10 Template</em> template and click <em>Next</em>, as shown in Figure 43.</p>
<figure id="attachment_32155" aria-describedby="caption-attachment-32155" style="width: 811px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32155 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-9.png" alt="Figure 43" width="811" height="546" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-9.png 811w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-9-446x300.png 446w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-9-768x517.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-9-600x404.png 600w" sizes="auto, (max-width: 811px) 100vw, 811px" /></a><figcaption id="caption-attachment-32155" class="wp-caption-text">Figure 43</figcaption></figure>
<p>Enter a <em>Name</em>, an optional <em>Description</em>, and click <em>Next</em>, as shown in Figure 44.</p>
<figure id="attachment_32156" aria-describedby="caption-attachment-32156" style="width: 811px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32156 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-9.png" alt="Figure 44" width="811" height="546" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-9.png 811w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-9-446x300.png 446w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-9-768x517.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-9-600x404.png 600w" sizes="auto, (max-width: 811px) 100vw, 811px" /></a><figcaption id="caption-attachment-32156" class="wp-caption-text">Figure 44</figcaption></figure>
<p>Since the operating system is installed in the template VM, Click <em>Next</em>, as shown in Figure 45.</p>
<figure id="attachment_32157" aria-describedby="caption-attachment-32157" style="width: 811px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32157 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-9.png" alt="Figure 45" width="811" height="546" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-9.png 811w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-9-446x300.png 446w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-9-768x517.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-9-600x404.png 600w" sizes="auto, (max-width: 811px) 100vw, 811px" /></a><figcaption id="caption-attachment-32157" class="wp-caption-text">Figure 45</figcaption></figure>
<p>Select <em>Don&#8217;t assign this VM a home server</em> and click <em>Next</em>, as shown in Figure 46.</p>
<figure id="attachment_32158" aria-describedby="caption-attachment-32158" style="width: 811px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32158 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-9.png" alt="Figure 46" width="811" height="546" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-9.png 811w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-9-446x300.png 446w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-9-768x517.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-9-600x404.png 600w" sizes="auto, (max-width: 811px) 100vw, 811px" /></a><figcaption id="caption-attachment-32158" class="wp-caption-text">Figure 46</figcaption></figure>
<p>You may change the <em>Number of vCPUs</em>, <em>Topology</em>, and <em>Memory</em> if you wish. I left everything the same as the template VM. Click <em>Next</em>, as shown in Figure 47.</p>
<figure id="attachment_32159" aria-describedby="caption-attachment-32159" style="width: 811px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32159 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-9.png" alt="Figure 47" width="811" height="546" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-9.png 811w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-9-446x300.png 446w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-9-768x517.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-9-600x404.png 600w" sizes="auto, (max-width: 811px) 100vw, 811px" /></a><figcaption id="caption-attachment-32159" class="wp-caption-text">Figure 47</figcaption></figure>
<p>As my hosts do not have a GPU card, I clicked <em>Next</em>, as shown in Figure 48.</p>
<figure id="attachment_32160" aria-describedby="caption-attachment-32160" style="width: 811px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32160 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-9.png" alt="Figure 48" width="811" height="546" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-9.png 811w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-9-446x300.png 446w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-9-768x517.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-9-600x404.png 600w" sizes="auto, (max-width: 811px) 100vw, 811px" /></a><figcaption id="caption-attachment-32160" class="wp-caption-text">Figure 48</figcaption></figure>
<p>Click <em>Edit</em>, as shown in Figure 49.</p>
<figure id="attachment_32161" aria-describedby="caption-attachment-32161" style="width: 811px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32161 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-9.png" alt="Figure 49" width="811" height="546" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-9.png 811w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-9-446x300.png 446w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-9-768x517.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-9-600x404.png 600w" sizes="auto, (max-width: 811px) 100vw, 811px" /></a><figcaption id="caption-attachment-32161" class="wp-caption-text">Figure 49</figcaption></figure>
<p>I recommend changing both the <em>Name</em> and <em>Description</em>. Doing so makes it easier later if you ever delete a VM and its attached hard disks. If all the hard disks have the same name and description, it is challenging to determine which disks go with which VM.</p>
<p>Enter a <em>Name</em> and <em>Description</em> and click <em>OK</em>, as shown in Figure 50.</p>
<figure id="attachment_32162" aria-describedby="caption-attachment-32162" style="width: 649px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure050-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32162 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure050-9.png" alt="Figure 50" width="649" height="434" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure050-9.png 649w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure050-9-449x300.png 449w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure050-9-600x401.png 600w" sizes="auto, (max-width: 649px) 100vw, 649px" /></a><figcaption id="caption-attachment-32162" class="wp-caption-text">Figure 50</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 51.</p>
<figure id="attachment_32163" aria-describedby="caption-attachment-32163" style="width: 811px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32163 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-8.png" alt="Figure 51" width="811" height="546" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-8.png 811w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-8-446x300.png 446w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-8-768x517.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-8-600x404.png 600w" sizes="auto, (max-width: 811px) 100vw, 811px" /></a><figcaption id="caption-attachment-32163" class="wp-caption-text">Figure 51</figcaption></figure>
<p>If multiple Virtual network interfaces are available, select the appropriate interface and click <em>Next</em>, as shown in Figure 52.</p>
<figure id="attachment_32164" aria-describedby="caption-attachment-32164" style="width: 811px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure052-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32164 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure052-8.png" alt="Figure 52" width="811" height="546" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure052-8.png 811w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure052-8-446x300.png 446w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure052-8-768x517.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure052-8-600x404.png 600w" sizes="auto, (max-width: 811px) 100vw, 811px" /></a><figcaption id="caption-attachment-32164" class="wp-caption-text">Figure 52</figcaption></figure>
<p>Verify all the configuration options are correct and click <em>Create Now</em>, as shown in Figure 53. If an option is not correct, click <em>Previous</em>, correct the option and then continue.</p>
<p>I deselected the option <em>Start the new VM automatically</em> since it doesn&#8217;t work.</p>
<figure id="attachment_32165" aria-describedby="caption-attachment-32165" style="width: 811px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32165 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-9.png" alt="Figure 53" width="811" height="546" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-9.png 811w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-9-446x300.png 446w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-9-768x517.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-9-600x404.png 600w" sizes="auto, (max-width: 811px) 100vw, 811px" /></a><figcaption id="caption-attachment-32165" class="wp-caption-text">Figure 53</figcaption></figure>
<p>Wait for the creation of the VM to complete, as shown in Figure 54. It took about 2 seconds in my lab to create the VM from the template.</p>
<figure id="attachment_32166" aria-describedby="caption-attachment-32166" style="width: 215px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32166 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-8.png" alt="Figure 54" width="215" height="310" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-8.png 215w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-8-208x300.png 208w" sizes="auto, (max-width: 215px) 100vw, 215px" /></a><figcaption id="caption-attachment-32166" class="wp-caption-text">Figure 54</figcaption></figure>
<p>In XenCenter, right-click the new VM and click <em>Start</em>, as shown in Figure 55.</p>
<figure id="attachment_32167" aria-describedby="caption-attachment-32167" style="width: 651px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure055-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32167 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure055-8.png" alt="Figure 55" width="651" height="262" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure055-8.png 651w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure055-8-530x213.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure055-8-600x241.png 600w" sizes="auto, (max-width: 651px) 100vw, 651px" /></a><figcaption id="caption-attachment-32167" class="wp-caption-text">Figure 55</figcaption></figure>
<p>Expand the XenServer host on which you started the VM, click the VM, and click the <em>Networking</em> tab, as shown in Figure 56. You see the IP address assigned to the VM.</p>
<figure id="attachment_32168" aria-describedby="caption-attachment-32168" style="width: 875px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32168 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-8.png" alt="Figure 56" width="875" height="258" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-8.png 875w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-8-530x156.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-8-768x226.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-8-600x177.png 600w" sizes="auto, (max-width: 875px) 100vw, 875px" /></a><figcaption id="caption-attachment-32168" class="wp-caption-text">Figure 56</figcaption></figure>
<p>As shown in Figure 57, click <em>Start</em>, <em>Run</em>, and type in <strong>mstsc /v:ipaddress /admin</strong>, and press <em>Enter</em> [where IP Address is the IP address shown in Figure 56].</p>
<figure id="attachment_32169" aria-describedby="caption-attachment-32169" style="width: 399px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="wp-image-32169 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure057-7.png" alt="Figure 57" width="399" height="206" /><figcaption id="caption-attachment-32169" class="wp-caption-text">Figure 57</figcaption></figure>
<p>Using Remote Desktop at this point makes it easier for me to get screenshots.</p>
<p>Enter the credentials for the local account created during the Windows 10 template build and press <em>Enter</em>, as shown in Figure 58.</p>
<figure id="attachment_32170" aria-describedby="caption-attachment-32170" style="width: 456px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure058-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32170 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure058-7.png" alt="Figure 58" width="456" height="313" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure058-7.png 456w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure058-7-437x300.png 437w" sizes="auto, (max-width: 456px) 100vw, 456px" /></a><figcaption id="caption-attachment-32170" class="wp-caption-text">Figure 58</figcaption></figure>
<p>Click <em>Yes</em>, as shown in Figure 59.</p>
<figure id="attachment_32171" aria-describedby="caption-attachment-32171" style="width: 392px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure059-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32171 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure059-7.png" alt="Figure 59" width="392" height="401" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure059-7.png 392w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure059-7-293x300.png 293w" sizes="auto, (max-width: 392px) 100vw, 392px" /></a><figcaption id="caption-attachment-32171" class="wp-caption-text">Figure 59</figcaption></figure>
<p>Select your region and click <em>Yes</em>, as shown in Figure 60.</p>
<figure id="attachment_32172" aria-describedby="caption-attachment-32172" style="width: 1084px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure060-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32172 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure060-7.png" alt="Figure 60" width="1084" height="829" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure060-7.png 1084w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure060-7-392x300.png 392w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure060-7-900x688.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure060-7-768x587.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure060-7-600x459.png 600w" sizes="auto, (max-width: 1084px) 100vw, 1084px" /></a><figcaption id="caption-attachment-32172" class="wp-caption-text">Figure 60</figcaption></figure>
<p>Select your keyboard layout and click <em>Yes</em>, as shown in Figure 61.</p>
<figure id="attachment_32173" aria-describedby="caption-attachment-32173" style="width: 1078px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure061-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32173 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure061-7.png" alt="Figure 61" width="1078" height="828" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure061-7.png 1078w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure061-7-391x300.png 391w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure061-7-900x691.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure061-7-768x590.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure061-7-600x461.png 600w" sizes="auto, (max-width: 1078px) 100vw, 1078px" /></a><figcaption id="caption-attachment-32173" class="wp-caption-text">Figure 61</figcaption></figure>
<p>Click <em>Skip</em>, as shown in Figure 62.</p>
<figure id="attachment_32174" aria-describedby="caption-attachment-32174" style="width: 1080px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32174 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-7.png" alt="Figure 62" width="1080" height="842" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-7.png 1080w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-7-385x300.png 385w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-7-900x702.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-7-768x599.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-7-600x468.png 600w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></a><figcaption id="caption-attachment-32174" class="wp-caption-text">Figure 62</figcaption></figure>
<p>Click <em>Accept</em>, as shown in Figure 63.</p>
<figure id="attachment_32175" aria-describedby="caption-attachment-32175" style="width: 1077px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure063-6.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32175 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure063-6.png" alt="Figure 63" width="1077" height="831" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure063-6.png 1077w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure063-6-389x300.png 389w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure063-6-900x694.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure063-6-768x593.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure063-6-600x463.png 600w" sizes="auto, (max-width: 1077px) 100vw, 1077px" /></a><figcaption id="caption-attachment-32175" class="wp-caption-text">Figure 63</figcaption></figure>
<p>Click <em>Domain join instead</em>, as shown in Figure 64.</p>
<figure id="attachment_32176" aria-describedby="caption-attachment-32176" style="width: 1078px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure064-6.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32176 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure064-6.png" alt="Figure 64" width="1078" height="829" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure064-6.png 1078w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure064-6-390x300.png 390w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure064-6-900x692.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure064-6-768x591.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure064-6-600x461.png 600w" sizes="auto, (max-width: 1078px) 100vw, 1078px" /></a><figcaption id="caption-attachment-32176" class="wp-caption-text">Figure 64</figcaption></figure>
<p>Type in a local user account name and click <em>Next</em>, as shown in Figure 65.</p>
<figure id="attachment_32177" aria-describedby="caption-attachment-32177" style="width: 1079px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure065-6.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32177 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure065-6.png" alt="Figure 65" width="1079" height="836" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure065-6.png 1079w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure065-6-387x300.png 387w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure065-6-900x697.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure065-6-768x595.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure065-6-600x465.png 600w" sizes="auto, (max-width: 1079px) 100vw, 1079px" /></a><figcaption id="caption-attachment-32177" class="wp-caption-text">Figure 65</figcaption></figure>
<p>Enter a password and click <em>Next</em>, as shown in Figure 66.</p>
<figure id="attachment_32178" aria-describedby="caption-attachment-32178" style="width: 1081px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure066-6.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32178 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure066-6.png" alt="Figure 66" width="1081" height="832" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure066-6.png 1081w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure066-6-390x300.png 390w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure066-6-900x693.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure066-6-768x591.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure066-6-600x462.png 600w" sizes="auto, (max-width: 1081px) 100vw, 1081px" /></a><figcaption id="caption-attachment-32178" class="wp-caption-text">Figure 66</figcaption></figure>
<p>Confirm the password and click <em>Next</em>, as shown in Figure 67.</p>
<figure id="attachment_32179" aria-describedby="caption-attachment-32179" style="width: 1078px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure067-6.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32179 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure067-6.png" alt="Figure 67" width="1078" height="833" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure067-6.png 1078w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure067-6-388x300.png 388w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure067-6-900x695.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure067-6-768x593.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure067-6-600x464.png 600w" sizes="auto, (max-width: 1078px) 100vw, 1078px" /></a><figcaption id="caption-attachment-32179" class="wp-caption-text">Figure 67</figcaption></figure>
<p>Select three security questions, enter the answer, and click <em>Next</em>, as shown in Figures 68 through 70.</p>
<figure id="attachment_32180" aria-describedby="caption-attachment-32180" style="width: 1074px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure068-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32180 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure068-5.png" alt="Figure 68" width="1074" height="835" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure068-5.png 1074w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure068-5-386x300.png 386w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure068-5-900x700.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure068-5-768x597.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure068-5-600x466.png 600w" sizes="auto, (max-width: 1074px) 100vw, 1074px" /></a><figcaption id="caption-attachment-32180" class="wp-caption-text">Figure 68</figcaption></figure>
<figure id="attachment_32181" aria-describedby="caption-attachment-32181" style="width: 1079px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure069-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32181 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure069-5.png" alt="Figure 69" width="1079" height="828" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure069-5.png 1079w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure069-5-391x300.png 391w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure069-5-900x691.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure069-5-768x589.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure069-5-600x460.png 600w" sizes="auto, (max-width: 1079px) 100vw, 1079px" /></a><figcaption id="caption-attachment-32181" class="wp-caption-text">Figure 69</figcaption></figure>
<figure id="attachment_32182" aria-describedby="caption-attachment-32182" style="width: 1080px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure070-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32182 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure070-4.png" alt="Figure 70" width="1080" height="831" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure070-4.png 1080w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure070-4-390x300.png 390w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure070-4-900x693.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure070-4-768x591.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure070-4-600x462.png 600w" sizes="auto, (max-width: 1080px) 100vw, 1080px" /></a><figcaption id="caption-attachment-32182" class="wp-caption-text">Figure 70</figcaption></figure>
<p>Select your privacy settings and click <em>Accept</em>, as shown in Figure 71. I set them all to No.</p>
<figure id="attachment_32183" aria-describedby="caption-attachment-32183" style="width: 1077px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure071-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32183 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure071-4.png" alt="Figure 71" width="1077" height="831" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure071-4.png 1077w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure071-4-389x300.png 389w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure071-4-900x694.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure071-4-768x593.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure071-4-600x463.png 600w" sizes="auto, (max-width: 1077px) 100vw, 1077px" /></a><figcaption id="caption-attachment-32183" class="wp-caption-text">Figure 71</figcaption></figure>
<p>Make a selection for Cortana, as shown in Figure 72. I selected <em>Not now</em>, plus one of the settings in my Lab Defaults Group Policy to disable the use of Cortana.</p>
<figure id="attachment_32184" aria-describedby="caption-attachment-32184" style="width: 1082px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure072-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32184 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure072-4.png" alt="Figure 72" width="1082" height="830" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure072-4.png 1082w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure072-4-391x300.png 391w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure072-4-900x690.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure072-4-768x589.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure072-4-600x460.png 600w" sizes="auto, (max-width: 1082px) 100vw, 1082px" /></a><figcaption id="caption-attachment-32184" class="wp-caption-text">Figure 72</figcaption></figure>
<p>If you receive the following popup, click <em>Yes</em>, as shown in Figure 73. I only received this popup for VMware, not XenServer.</p>
<figure id="attachment_32185" aria-describedby="caption-attachment-32185" style="width: 343px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure073-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32185 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure073-4.png" alt="Figure 73" width="343" height="403" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure073-4.png 343w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure073-4-255x300.png 255w" sizes="auto, (max-width: 343px) 100vw, 343px" /></a><figcaption id="caption-attachment-32185" class="wp-caption-text">Figure 73</figcaption></figure>
<p>Right-click the network icon in the systray and click <em>Open Network &amp; Internet settings</em>, as shown in Figure 74.</p>
<figure id="attachment_32186" aria-describedby="caption-attachment-32186" style="width: 290px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure074-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32186 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure074-4.png" alt="Figure 74" width="290" height="107" /></a><figcaption id="caption-attachment-32186" class="wp-caption-text">Figure 74</figcaption></figure>
<p>Click <em>Change adapter options</em>, as shown in Figure 75.</p>
<figure id="attachment_32187" aria-describedby="caption-attachment-32187" style="width: 466px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure075-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32187 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure075-4.png" alt="Figure 75" width="466" height="247" /></a><figcaption id="caption-attachment-32187" class="wp-caption-text">Figure 75</figcaption></figure>
<p>Right-click the adapter and click <em>Properties</em>, as shown in Figure 76.</p>
<figure id="attachment_32188" aria-describedby="caption-attachment-32188" style="width: 472px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure076-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32188 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure076-4.png" alt="Figure 76" width="472" height="364" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure076-4.png 472w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure076-4-389x300.png 389w" sizes="auto, (max-width: 472px) 100vw, 472px" /></a><figcaption id="caption-attachment-32188" class="wp-caption-text">Figure 76</figcaption></figure>
<p>Click <em>Internet Protocol Version 4 (TCP/IPv4)</em> and click <em>Properties</em>, as shown in Figure 77.</p>
<figure id="attachment_32189" aria-describedby="caption-attachment-32189" style="width: 363px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure077-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32189 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure077-4.png" alt="Figure 77" width="363" height="468" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure077-4.png 363w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure077-4-233x300.png 233w" sizes="auto, (max-width: 363px) 100vw, 363px" /></a><figcaption id="caption-attachment-32189" class="wp-caption-text">Figure 77</figcaption></figure>
<p>Select <em>Use the following IP address</em>, enter the IP information for your network, and click <em>OK</em>, as shown in Figure 78. For the <em>DNS server addresses</em>, use the IP addresses of your domain controllers.</p>
<figure id="attachment_32190" aria-describedby="caption-attachment-32190" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure078-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32190 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure078-4.png" alt="Figure 78" width="400" height="455" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure078-4.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure078-4-264x300.png 264w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-32190" class="wp-caption-text">Figure 78</figcaption></figure>
<p>How many DNS servers should you configure on the network adapter? Not as many as you think. I recommend on DCs, a total of three where the third is always 127.0.0.1. For all other computers, also no more than three. I have seen places with 15 DCs, and every computer had all 15 DCs in the list of DNS servers. If you understand Windows <a href="https://docs.microsoft.com/en-US/troubleshoot/windows-server/networking/dns-client-resolution-timeouts" target="_blank" rel="noopener">DNS client resolution timeouts</a>, limit the number of DNS entries.</p>
<p>Click <em>Close</em>, as shown in Figure 79.</p>
<figure id="attachment_32191" aria-describedby="caption-attachment-32191" style="width: 363px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure079-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32191 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure079-4.png" alt="Figure 79" width="363" height="468" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure079-4.png 363w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure079-4-233x300.png 233w" sizes="auto, (max-width: 363px) 100vw, 363px" /></a><figcaption id="caption-attachment-32191" class="wp-caption-text">Figure 79</figcaption></figure>
<p>After clicking <em>Close</em>, <em> y</em>ou lose the connection to the RDP session. Reconnect using the new static IP address.</p>
<p>Close Network Connections.</p>
<p>Click <em>Home</em>, then <em>System</em>, then <em>About</em>, and finally <em>Rename this PC (Advanced)</em>, as shown in Figure 80.</p>
<figure id="attachment_32192" aria-describedby="caption-attachment-32192" style="width: 1154px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure080-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32192 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure080-4.png" alt="Figure 80" width="1154" height="939" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure080-4.png 1154w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure080-4-369x300.png 369w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure080-4-900x732.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure080-4-768x625.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure080-4-600x488.png 600w" sizes="auto, (max-width: 1154px) 100vw, 1154px" /></a><figcaption id="caption-attachment-32192" class="wp-caption-text">Figure 80</figcaption></figure>
<p>Click <em>Change</em>, as shown in Figure 81.</p>
<figure id="attachment_32193" aria-describedby="caption-attachment-32193" style="width: 412px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure081-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32193 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure081-4.png" alt="Figure 81" width="412" height="468" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure081-4.png 412w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure081-4-264x300.png 264w" sizes="auto, (max-width: 412px) 100vw, 412px" /></a><figcaption id="caption-attachment-32193" class="wp-caption-text">Figure 81</figcaption></figure>
<p>Enter a <em>Computer name</em>, <em>Domain</em>, and click <em>OK</em>, as shown in Figure 82.</p>
<figure id="attachment_32194" aria-describedby="caption-attachment-32194" style="width: 323px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure082-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32194 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure082-4.png" alt="Figure 82" width="323" height="391" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure082-4.png 323w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure082-4-248x300.png 248w" sizes="auto, (max-width: 323px) 100vw, 323px" /></a><figcaption id="caption-attachment-32194" class="wp-caption-text">Figure 82</figcaption></figure>
<p>Enter the domain&#8217;s Administrator name and password and click <em>OK</em>, as shown in Figure 83.</p>
<figure id="attachment_32195" aria-describedby="caption-attachment-32195" style="width: 456px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure083-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32195 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure083-4.png" alt="Figure 83" width="456" height="300" /></a><figcaption id="caption-attachment-32195" class="wp-caption-text">Figure 83</figcaption></figure>
<p>Click <em>OK</em>, as shown in Figure 84.</p>
<figure id="attachment_32196" aria-describedby="caption-attachment-32196" style="width: 320px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure084-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32196 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure084-3.png" alt="Figure 84" width="320" height="152" /></a><figcaption id="caption-attachment-32196" class="wp-caption-text">Figure 84</figcaption></figure>
<p>Click <em>OK</em>, as shown in Figure 85.</p>
<figure id="attachment_32197" aria-describedby="caption-attachment-32197" style="width: 352px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure085-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32197 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure085-3.png" alt="Figure 85" width="352" height="185" /></a><figcaption id="caption-attachment-32197" class="wp-caption-text">Figure 85</figcaption></figure>
<p>Click <em>Close</em>, as shown in Figure 86.</p>
<figure id="attachment_32198" aria-describedby="caption-attachment-32198" style="width: 412px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure086-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32198 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure086-3.png" alt="Figure 86" width="412" height="468" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure086-3.png 412w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure086-3-264x300.png 264w" sizes="auto, (max-width: 412px) 100vw, 412px" /></a><figcaption id="caption-attachment-32198" class="wp-caption-text">Figure 86</figcaption></figure>
<p>Click <em>Restart Now</em>, as shown in Figure 87.</p>
<figure id="attachment_32199" aria-describedby="caption-attachment-32199" style="width: 352px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure087-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32199 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure087-2.png" alt="Figure87" width="352" height="170" /></a><figcaption id="caption-attachment-32199" class="wp-caption-text">Figure 87</figcaption></figure>
<p>When the VM restarts, log in using the domain&#8217;s Administrator account.</p>
<p>Make any customizations you require to the VM before we start installing consoles. I upgraded my Windows 10 20H2 VM to Windows 10 21H1.</p>
<h2>Install Active Directory Consoles</h2>
<p>There are no Citrix Virtual Apps and Desktops or Parallels Remote Application Server or VMware Horizon environments at this point in the lab&#8217;s building process. The only consoles to install at this point are for the Microsoft products in the lab.</p>
<p>Before the October 2018 update to Windows 10, a download was available for the Remote Server Administrative Tools (RSAT). The old approach to RSAT was that the Windows 10 upgrade removed the RSAT from the computer. The new approach allows the RSAT to persist between Windows 10 upgrades.</p>
<p>Click the <em>Start</em> button and click <em>Settings</em>, as shown in Figure 88.</p>
<figure id="attachment_32201" aria-describedby="caption-attachment-32201" style="width: 256px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure088-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32201 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure088-1.png" alt="Figure 88" width="256" height="287" /></a><figcaption id="caption-attachment-32201" class="wp-caption-text">Figure 88</figcaption></figure>
<p>Click <em>Apps</em>, as shown in Figure 89.</p>
<figure id="attachment_32202" aria-describedby="caption-attachment-32202" style="width: 1202px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure089-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32202 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure089-1.png" alt="Figure 89" width="1202" height="637" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure089-1.png 1202w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure089-1-530x281.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure089-1-900x477.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure089-1-768x407.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure089-1-600x318.png 600w" sizes="auto, (max-width: 1202px) 100vw, 1202px" /></a><figcaption id="caption-attachment-32202" class="wp-caption-text">Figure 89</figcaption></figure>
<p>Click <em>Optional features</em>, as shown in Figure 90.</p>
<figure id="attachment_32203" aria-describedby="caption-attachment-32203" style="width: 1202px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure090.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32203 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure090.png" alt="Figure 90" width="1202" height="637" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure090.png 1202w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure090-530x281.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure090-900x477.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure090-768x407.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure090-600x318.png 600w" sizes="auto, (max-width: 1202px) 100vw, 1202px" /></a><figcaption id="caption-attachment-32203" class="wp-caption-text">Figure 90</figcaption></figure>
<p>Click <em>Add a feature</em>, as shown in Figure 91.</p>
<figure id="attachment_32204" aria-describedby="caption-attachment-32204" style="width: 1202px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure091.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32204 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure091.png" alt="Figure 91" width="1202" height="637" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure091.png 1202w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure091-530x281.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure091-900x477.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure091-768x407.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure091-600x318.png 600w" sizes="auto, (max-width: 1202px) 100vw, 1202px" /></a><figcaption id="caption-attachment-32204" class="wp-caption-text">Figure 91</figcaption></figure>
<p>Select the following items and click <em>Install,</em> as shown in Figure 92.</p>
<ul>
<li>RSAT: Active Directory Certificate Services Tools</li>
<li>RSAT: Active Directory Domain Services and Lightweight Directory Services Tools</li>
<li>RSAT: DHCP Server Tools</li>
<li>RSAT: DNS Server Tools</li>
<li>RSAT: Group Policy Management Tools</li>
</ul>
<figure id="attachment_32205" aria-describedby="caption-attachment-32205" style="width: 682px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure092.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32205 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure092.png" alt="Figure 92" width="682" height="757" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure092.png 682w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure092-270x300.png 270w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure092-600x666.png 600w" sizes="auto, (max-width: 682px) 100vw, 682px" /></a><figcaption id="caption-attachment-32205" class="wp-caption-text">Figure 92</figcaption></figure>
<p>The tools install, as shown in Figure 93.</p>
<figure id="attachment_32206" aria-describedby="caption-attachment-32206" style="width: 486px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure093.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32206 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure093.png" alt="Figure 93" width="486" height="364" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure093.png 486w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure093-401x300.png 401w" sizes="auto, (max-width: 486px) 100vw, 486px" /></a><figcaption id="caption-attachment-32206" class="wp-caption-text">Figure 93</figcaption></figure>
<p>You can find the tools by clicking <em>Start</em>, scrolling down to, and expanding <em>Windows Administrative Tools</em>, as shown in Figure 94.</p>
<figure id="attachment_32207" aria-describedby="caption-attachment-32207" style="width: 313px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure094.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32207 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure094.png" alt="Figure 94" width="313" height="680" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure094.png 313w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure094-138x300.png 138w" sizes="auto, (max-width: 313px) 100vw, 313px" /></a><figcaption id="caption-attachment-32207" class="wp-caption-text">Figure 94</figcaption></figure>
<p>Installing RSAT installed several PowerShell modules. To ensure that we have current help text for every PowerShell module, start an elevated PowerShell session.</p>
<p>Click <em>Start</em>, scroll down to and expand <em>Windows Powershell</em>, right-click <em>Windows PowerShell</em>, click <em>More</em>, and click <em>Run as administrator</em>, as shown in Figure 95.</p>
<figure id="attachment_32208" aria-describedby="caption-attachment-32208" style="width: 647px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure095.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32208 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure095.png" alt="Figure 95" width="647" height="489" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure095.png 647w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure095-397x300.png 397w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure095-600x453.png 600w" sizes="auto, (max-width: 647px) 100vw, 647px" /></a><figcaption id="caption-attachment-32208" class="wp-caption-text">Figure 95</figcaption></figure>
<p>Type in the following in the PowerShell window, as shown in Figure 96.</p>
<pre class="brush: powershell; title: ; notranslate">
update-help -force
</pre>
<p>The help text updates, as shown in Figure 96. You can safely ignore any warnings or errors.</p>
<figure id="attachment_32209" aria-describedby="caption-attachment-32209" style="width: 417px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure096.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32209 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure096.png" alt="Figure 96" width="417" height="146" /></a><figcaption id="caption-attachment-32209" class="wp-caption-text">Figure 96</figcaption></figure>
<p>To verify that PowerShell Remoting is enabled, type the following in the PowerShell window, as shown in Figure 97.</p>
<pre class="brush: powershell; title: ; notranslate">
enable-psremoting
</pre>
<figure id="attachment_32210" aria-describedby="caption-attachment-32210" style="width: 391px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure097.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32210 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure097.png" alt="Figure 97" width="391" height="172" /></a><figcaption id="caption-attachment-32210" class="wp-caption-text">Figure 97</figcaption></figure>
<p>You can access each of the RSAT consoles from the start menu or build an MMC console containing all the snap-ins you use often.</p>
<p>Type <strong>mmc</strong> and press <em>Enter</em> in the PowerShell window and then exit PowerShell.</p>
<p>The mmc console opens, as shown in Figure 98.</p>
<figure id="attachment_32211" aria-describedby="caption-attachment-32211" style="width: 1722px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure098.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32211 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure098.png" alt="Figure 98" width="1722" height="907" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure098.png 1722w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure098-530x279.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure098-900x474.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure098-768x405.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure098-1536x809.png 1536w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure098-600x316.png 600w" sizes="auto, (max-width: 1722px) 100vw, 1722px" /></a><figcaption id="caption-attachment-32211" class="wp-caption-text">Figure 98</figcaption></figure>
<p>Click <em>File</em>, click <em>Add/Remove Snap-in…</em>, or press <em>Ctrl+M</em> (my preference), as shown in Figure 99.</p>
<figure id="attachment_32212" aria-describedby="caption-attachment-32212" style="width: 304px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure099.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32212 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure099.png" alt="Figure 99" width="304" height="255" /></a><figcaption id="caption-attachment-32212" class="wp-caption-text">Figure 99</figcaption></figure>
<p>Double-click the following items, as shown in Figure 100.</p>
<ul>
<li><em>Active Directory Do…</em></li>
<li><em>Active Directory Site…</em></li>
<li><em>Active Directory Use…</em></li>
<li><em>ADSI Edit</em></li>
</ul>
<figure id="attachment_32213" aria-describedby="caption-attachment-32213" style="width: 674px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure100.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32213 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure100.png" alt="Figure 100" width="674" height="477" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure100.png 674w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure100-424x300.png 424w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure100-600x425.png 600w" sizes="auto, (max-width: 674px) 100vw, 674px" /></a><figcaption id="caption-attachment-32213" class="wp-caption-text">Figure 100</figcaption></figure>
<p>Double-click <em>Certification Authority,</em> and on the popup, type in the name of your Certification Authority server and click <em>Finish</em>, as shown in Figure 101.</p>
<figure id="attachment_32214" aria-describedby="caption-attachment-32214" style="width: 520px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure101.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32214 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure101.png" alt="Figure 101" width="520" height="357" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure101.png 520w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure101-437x300.png 437w" sizes="auto, (max-width: 520px) 100vw, 520px" /></a><figcaption id="caption-attachment-32214" class="wp-caption-text">Figure 101</figcaption></figure>
<p>Scroll down, double-click the following and click <em>OK</em>, as shown in Figure 102.</p>
<ul>
<li><em>DHCP</em></li>
<li><em>DNS</em></li>
<li><em>Group Policy Manag…</em></li>
</ul>
<figure id="attachment_32215" aria-describedby="caption-attachment-32215" style="width: 674px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure102.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32215 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure102.png" alt="Figure 102" width="674" height="477" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure102.png 674w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure102-424x300.png 424w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure102-600x425.png 600w" sizes="auto, (max-width: 674px) 100vw, 674px" /></a><figcaption id="caption-attachment-32215" class="wp-caption-text">Figure 102</figcaption></figure>
<p>Click on and expand each node. Connect to the appropriate server when requested.</p>
<p>Figure 103 shows my console.</p>
<figure id="attachment_32216" aria-describedby="caption-attachment-32216" style="width: 455px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure103.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32216 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure103.png" alt="Figure 103" width="455" height="1139" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure103.png 455w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure103-120x300.png 120w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure103-320x800.png 320w" sizes="auto, (max-width: 455px) 100vw, 455px" /></a><figcaption id="caption-attachment-32216" class="wp-caption-text">Figure 103</figcaption></figure>
<p>I always recommend using these consoles installed on a management computer to avoid logging in on a production server (i.e., domain controller or certificate authority). While our lab servers may not be &#8220;production&#8221; level servers, we learn a valuable habit: stay off production servers when possible.</p>
<p>Save the mmc console to the location and name of your choice, as shown in Figure 104.</p>
<figure id="attachment_32217" aria-describedby="caption-attachment-32217" style="width: 557px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure104.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32217 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure104.png" alt="Figure 104" width="557" height="417" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure104.png 557w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure104-401x300.png 401w" sizes="auto, (max-width: 557px) 100vw, 557px" /></a><figcaption id="caption-attachment-32217" class="wp-caption-text">Figure 104</figcaption></figure>
<h2>Install SQL Server Management Studio</h2>
<p>We install the SQL Server Management Studio (SSMS) in the management computer to avoid logging in to a production SQL Server. While our lab servers may not be &#8220;production&#8221; level servers, we learn a valuable habit: stay off production servers when possible.</p>
<p>In your internet browser, browse to <a href="https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver15" target="_blank" rel="noopener">https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-ver15</a>, and click the link to <em>Download SQL Server Management Studio (SSMS)</em>, as shown in Figure 105.</p>
<p><strong>Note:</strong> The version number may change.</p>
<figure id="attachment_32218" aria-describedby="caption-attachment-32218" style="width: 631px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure105.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32218 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure105.png" alt="Figure 105" width="631" height="699" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure105.png 631w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure105-271x300.png 271w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure105-600x665.png 600w" sizes="auto, (max-width: 631px) 100vw, 631px" /></a><figcaption id="caption-attachment-32218" class="wp-caption-text">Figure 105</figcaption></figure>
<p>Click the link your browser provides to open the downloaded file, as shown in Figure 106.</p>
<figure id="attachment_32219" aria-describedby="caption-attachment-32219" style="width: 366px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure106.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32219 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure106.png" alt="Figure 106" width="366" height="135" /></a><figcaption id="caption-attachment-32219" class="wp-caption-text">Figure 106</figcaption></figure>
<p>Click <em>Run</em> on the popup, as shown in Figure 107.</p>
<figure id="attachment_32220" aria-describedby="caption-attachment-32220" style="width: 466px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure107.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32220 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure107.png" alt="Figure 107" width="466" height="344" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure107.png 466w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure107-406x300.png 406w" sizes="auto, (max-width: 466px) 100vw, 466px" /></a><figcaption id="caption-attachment-32220" class="wp-caption-text">Figure 107</figcaption></figure>
<p>You can exit your browser at this point.</p>
<p>Click <em>Install</em>, as shown in Figure 108.</p>
<figure id="attachment_32221" aria-describedby="caption-attachment-32221" style="width: 695px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure108.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32221 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure108.png" alt="Figure 108" width="695" height="600" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure108.png 695w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure108-348x300.png 348w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure108-600x518.png 600w" sizes="auto, (max-width: 695px) 100vw, 695px" /></a><figcaption id="caption-attachment-32221" class="wp-caption-text">Figure 108</figcaption></figure>
<p>SSMS begins installing, as shown in Figure 109. The installation takes a few minutes.</p>
<figure id="attachment_32222" aria-describedby="caption-attachment-32222" style="width: 695px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure109.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32222 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure109.png" alt="Figure 109" width="695" height="600" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure109.png 695w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure109-348x300.png 348w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure109-600x518.png 600w" sizes="auto, (max-width: 695px) 100vw, 695px" /></a><figcaption id="caption-attachment-32222" class="wp-caption-text">Figure 109</figcaption></figure>
<p>Click <em>Close</em>, as shown in Figure 110.</p>
<figure id="attachment_32223" aria-describedby="caption-attachment-32223" style="width: 695px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure110.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32223 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure110.png" alt="Figure 110" width="695" height="600" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure110.png 695w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure110-348x300.png 348w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure110-600x518.png 600w" sizes="auto, (max-width: 695px) 100vw, 695px" /></a><figcaption id="caption-attachment-32223" class="wp-caption-text">Figure 110</figcaption></figure>
<p>Click <em>Start</em>, scroll to and expand <em>Microsoft SQL Server Tools 18</em>, click <em>Microsoft SQL Server Management…</em>, as shown in Figure 111.</p>
<figure id="attachment_32224" aria-describedby="caption-attachment-32224" style="width: 325px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure111.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32224 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure111.png" alt="Figure 111" width="325" height="641" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure111.png 325w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure111-152x300.png 152w" sizes="auto, (max-width: 325px) 100vw, 325px" /></a><figcaption id="caption-attachment-32224" class="wp-caption-text">Figure 111</figcaption></figure>
<p>Enter the name of your SQL Server and click <em>Connect</em>, as shown in Figure 112.</p>
<figure id="attachment_32225" aria-describedby="caption-attachment-32225" style="width: 477px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure112.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32225 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure112.png" alt="Figure 112" width="477" height="315" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure112.png 477w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure112-454x300.png 454w" sizes="auto, (max-width: 477px) 100vw, 477px" /></a><figcaption id="caption-attachment-32225" class="wp-caption-text">Figure 112</figcaption></figure>
<p>As shown in Figure 113, we made a connection to the SQL Server.</p>
<figure id="attachment_32226" aria-describedby="caption-attachment-32226" style="width: 398px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure113.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32226 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure113.png" alt="Figure 113" width="398" height="373" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure113.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure113-320x300.png 320w" sizes="auto, (max-width: 398px) 100vw, 398px" /></a><figcaption id="caption-attachment-32226" class="wp-caption-text">Figure 113</figcaption></figure>
<p>If you get the error shown in Figure 114, did you remember to <a href="https://www.carlwebster.com/19-building-websters-lab-v2-create-additional-servers/" target="_blank" rel="noopener">create the Inbound TCP Port 1433 firewall rule on the SQL Server</a>?</p>
<figure id="attachment_32227" aria-describedby="caption-attachment-32227" style="width: 607px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure114.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32227 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure114.png" alt="Figure 114" width="607" height="216" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure114.png 607w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure114-530x189.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure114-600x214.png 600w" sizes="auto, (max-width: 607px) 100vw, 607px" /></a><figcaption id="caption-attachment-32227" class="wp-caption-text">Figure 114</figcaption></figure>
<p>Exit SSMS.</p>
<h2>Install Microsoft Office</h2>
<p>I only need Microsoft Excel and Word on my management PC for use with scripting. Unfortunately, if you tell the Office 365 site to install Office or select the Install option from the Office ISO, you get every Office component installed. To restrict what you download, install, and configure, you must use an XML file.</p>
<p>Microsoft makes the <a href="https://docs.microsoft.com/en-us/deployoffice/overview-of-the-office-customization-tool-for-click-to-run" target="_blank" rel="noopener">Office Customization Tool</a> if you do not know how to create the required XML file.</p>
<p>Open a command prompt.</p>
<p>Make a folder named <em>O365</em> on the C drive by typing <strong>md c:\O365</strong> followed by <strong>cd c:\O365</strong>, as shown in Figure 115.</p>
<figure id="attachment_32279" aria-describedby="caption-attachment-32279" style="width: 404px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure115.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32279 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure115.png" alt="Figure 115" width="404" height="178" /></a><figcaption id="caption-attachment-32279" class="wp-caption-text">Figure 115</figcaption></figure>
<p>In your internet browser, browse to <a href="https://config.office.com/" target="_blank" rel="noopener">https://config.office.com/</a> and click <em>Create</em>, as shown in Figure 116.</p>
<figure id="attachment_32280" aria-describedby="caption-attachment-32280" style="width: 1288px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure116.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32280 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure116.png" alt="Figure 116" width="1288" height="1143" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure116.png 1288w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure116-338x300.png 338w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure116-900x800.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure116-768x682.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure116-600x532.png 600w" sizes="auto, (max-width: 1288px) 100vw, 1288px" /></a><figcaption id="caption-attachment-32280" class="wp-caption-text">Figure 116</figcaption></figure>
<p>Select the following, as shown in Figure 117:</p>
<p><em>Architecture</em>: 64-bit</p>
<p><em>Office Suites</em>: Microsoft 365 Apps for business</p>
<p><em>Viso</em>: None (shows as Select Visio product)</p>
<p><em>Project</em>: None (shows as Select Project product)</p>
<p><em>Additional products</em>: None (shows as Select Additional product)</p>
<figure id="attachment_32281" aria-describedby="caption-attachment-32281" style="width: 418px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure117.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32281 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure117.png" alt="Figure 117" width="418" height="764" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure117.png 418w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure117-164x300.png 164w" sizes="auto, (max-width: 418px) 100vw, 418px" /></a><figcaption id="caption-attachment-32281" class="wp-caption-text">Figure 117</figcaption></figure>
<p><em>Select the update channel </em>and <em>Select the version</em> you prefer, as shown in Figure 118.</p>
<figure id="attachment_32282" aria-describedby="caption-attachment-32282" style="width: 794px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure118.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32282 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure118.png" alt="Figure 118" width="794" height="508" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure118.png 794w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure118-469x300.png 469w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure118-768x491.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure118-600x384.png 600w" sizes="auto, (max-width: 794px) 100vw, 794px" /></a><figcaption id="caption-attachment-32282" class="wp-caption-text">Figure 118</figcaption></figure>
<p>Deselect the apps you do NOT want to be installed and click <em>Next</em>, as shown in Figure 119.</p>
<figure id="attachment_32283" aria-describedby="caption-attachment-32283" style="width: 562px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure119.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32283 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure119.png" alt="Figure 119" width="562" height="338" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure119.png 562w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure119-499x300.png 499w" sizes="auto, (max-width: 562px) 100vw, 562px" /></a><figcaption id="caption-attachment-32283" class="wp-caption-text">Figure 119</figcaption></figure>
<p><em>Select primary language</em> and any additional languages or proofing tools required and click <em>Next</em>, as shown in Figure 120.</p>
<figure id="attachment_32284" aria-describedby="caption-attachment-32284" style="width: 258px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure120.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32284 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure120.png" alt="Figure 120" width="258" height="454" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure120.png 258w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure120-170x300.png 170w" sizes="auto, (max-width: 258px) 100vw, 258px" /></a><figcaption id="caption-attachment-32284" class="wp-caption-text">Figure 120</figcaption></figure>
<p>Select <em>Office Content Delivery Network (CDN)</em>, leave the other two options at the default settings, and click <em>Next</em>, as shown in Figure 121.</p>
<figure id="attachment_32285" aria-describedby="caption-attachment-32285" style="width: 416px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure121.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32285 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure121.png" alt="Figure 121" width="416" height="541" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure121.png 416w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure121-231x300.png 231w" sizes="auto, (max-width: 416px) 100vw, 416px" /></a><figcaption id="caption-attachment-32285" class="wp-caption-text">Figure 121</figcaption></figure>
<p>Deselect <em>Uninstall any MSI versions of Office, including Visio and Project</em>, leave the other options at their default settings, and click <em>Next</em>, as shown in Figure 122.</p>
<figure id="attachment_32286" aria-describedby="caption-attachment-32286" style="width: 584px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure122.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32286 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure122.png" alt="Figure 122" width="584" height="827" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure122.png 584w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure122-212x300.png 212w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure122-565x800.png 565w" sizes="auto, (max-width: 584px) 100vw, 584px" /></a><figcaption id="caption-attachment-32286" class="wp-caption-text">Figure 122</figcaption></figure>
<p>Select <em>Automatically accept the EULA</em> and click <em>Next</em>, as shown in Figure 123.</p>
<figure id="attachment_32287" aria-describedby="caption-attachment-32287" style="width: 795px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure123.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32287 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure123.png" alt="Figure 123" width="795" height="869" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure123.png 795w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure123-274x300.png 274w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure123-732x800.png 732w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure123-768x839.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure123-600x656.png 600w" sizes="auto, (max-width: 795px) 100vw, 795px" /></a><figcaption id="caption-attachment-32287" class="wp-caption-text">Figure 123</figcaption></figure>
<p>Enter your organization&#8217;s name, an optional description, and click <em>Next</em>, as shown in Figure 124.</p>
<figure id="attachment_32288" aria-describedby="caption-attachment-32288" style="width: 603px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure124.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32288 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure124.png" alt="Figure 124" width="603" height="463" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure124.png 603w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure124-391x300.png 391w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure124-600x461.png 600w" sizes="auto, (max-width: 603px) 100vw, 603px" /></a><figcaption id="caption-attachment-32288" class="wp-caption-text">Figure 124</figcaption></figure>
<p>Microsoft offers numerous settings for configuring Office applications. If you wish, you can review the options and make any configuration changes required. After reviewing the <em>Application preferences</em>, click <em>Finish</em>, as shown in Figure 125.</p>
<figure id="attachment_32289" aria-describedby="caption-attachment-32289" style="width: 411px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure125.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32289 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure125.png" alt="Figure 125" width="411" height="909" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure125.png 411w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure125-136x300.png 136w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure125-362x800.png 362w" sizes="auto, (max-width: 411px) 100vw, 411px" /></a><figcaption id="caption-attachment-32289" class="wp-caption-text">Figure 125</figcaption></figure>
<p>Click <em>Export</em>, as shown in Figure 126.</p>
<figure id="attachment_32290" aria-describedby="caption-attachment-32290" style="width: 919px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure126.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32290 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure126.png" alt="Figure 126" width="919" height="491" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure126.png 919w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure126-530x283.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure126-900x481.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure126-768x410.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure126-600x321.png 600w" sizes="auto, (max-width: 919px) 100vw, 919px" /></a><figcaption id="caption-attachment-32290" class="wp-caption-text">Figure 126</figcaption></figure>
<p>Select your desired <em>Default File Format</em> and click <em>OK</em>. As shown in Figure 127, I prefer using <em>Office Open XML formats.</em></p>
<figure id="attachment_32291" aria-describedby="caption-attachment-32291" style="width: 581px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure127.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32291 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure127.png" alt="Figure 127" width="581" height="671" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure127.png 581w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure127-260x300.png 260w" sizes="auto, (max-width: 581px) 100vw, 581px" /></a><figcaption id="caption-attachment-32291" class="wp-caption-text">Figure 127</figcaption></figure>
<p>Select <em>I accept the terms in the license agreement</em>, enter a <em>File Name</em> for the XML file, and click <em>Export</em>, as shown in Figure 128.</p>
<figure id="attachment_32292" aria-describedby="caption-attachment-32292" style="width: 579px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure128.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32292 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure128.png" alt="Figure 128" width="579" height="632" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure128.png 579w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure128-275x300.png 275w" sizes="auto, (max-width: 579px) 100vw, 579px" /></a><figcaption id="caption-attachment-32292" class="wp-caption-text">Figure 128</figcaption></figure>
<p>Using Windows File Explorer, browse to the location your internet browser save the XML file, typically your user account&#8217;s Downloads folder, as shown in Figure 129.</p>
<figure id="attachment_32293" aria-describedby="caption-attachment-32293" style="width: 513px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure129.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32293 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure129.png" alt="Figure 129" width="513" height="115" /></a><figcaption id="caption-attachment-32293" class="wp-caption-text">Figure 129</figcaption></figure>
<p>Right-click the XML file and click <em>Copy</em>, as shown in Figure 130.</p>
<figure id="attachment_32294" aria-describedby="caption-attachment-32294" style="width: 424px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure130.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32294 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure130.png" alt="Figure 130" width="424" height="298" /></a><figcaption id="caption-attachment-32294" class="wp-caption-text">Figure 130</figcaption></figure>
<p>In Windows File Explorer, browse to C:\O365, right-click in the empty space and click <em>Paste</em>, as shown in Figure 131.</p>
<figure id="attachment_32295" aria-describedby="caption-attachment-32295" style="width: 353px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure131.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32295 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure131.png" alt="Figure 131" width="353" height="276" /></a><figcaption id="caption-attachment-32295" class="wp-caption-text">Figure 131</figcaption></figure>
<p>Exit Windows File Explorer.</p>
<p>Now we need to download the Office Deployment Toolkit.</p>
<p>In your internet browser, browse to <a href="https://www.microsoft.com/en-us/download/details.aspx?id=49117" target="_blank" rel="noopener">https://www.microsoft.com/en-us/download/details.aspx?id=49117</a>, and click <em>Download</em>, as shown in Figure 132.</p>
<figure id="attachment_32296" aria-describedby="caption-attachment-32296" style="width: 673px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure132.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32296 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure132.png" alt="Figure 132" width="673" height="894" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure132.png 673w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure132-226x300.png 226w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure132-602x800.png 602w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure132-600x797.png 600w" sizes="auto, (max-width: 673px) 100vw, 673px" /></a><figcaption id="caption-attachment-32296" class="wp-caption-text">Figure 132</figcaption></figure>
<p>Click the link your browser provides to open the file, as shown in Figure 133.</p>
<figure id="attachment_32297" aria-describedby="caption-attachment-32297" style="width: 358px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure133.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32297 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure133.png" alt="Figure 133" width="358" height="137" /></a><figcaption id="caption-attachment-32297" class="wp-caption-text">Figure 133</figcaption></figure>
<p>Click <em>Run</em>, as shown in Figure 134.</p>
<figure id="attachment_32298" aria-describedby="caption-attachment-32298" style="width: 466px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure134.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32298 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure134.png" alt="Figure 134" width="466" height="344" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure134.png 466w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure134-406x300.png 406w" sizes="auto, (max-width: 466px) 100vw, 466px" /></a><figcaption id="caption-attachment-32298" class="wp-caption-text">Figure 134</figcaption></figure>
<p>Select <em>Click here to accept the Microsoft Software License Terms</em> and click <em>Continue</em>, as shown in Figure 135.</p>
<figure id="attachment_32299" aria-describedby="caption-attachment-32299" style="width: 764px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure135.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32299 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure135.png" alt="Figure 135" width="764" height="482" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure135.png 764w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure135-476x300.png 476w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure135-600x379.png 600w" sizes="auto, (max-width: 764px) 100vw, 764px" /></a><figcaption id="caption-attachment-32299" class="wp-caption-text">Figure 135</figcaption></figure>
<p>Browse to C:\O365 and click <em>OK</em>, as shown in Figure 136.</p>
<figure id="attachment_32300" aria-describedby="caption-attachment-32300" style="width: 377px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure136.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32300 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure136.png" alt="Figure 136" width="377" height="447" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure136.png 377w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure136-253x300.png 253w" sizes="auto, (max-width: 377px) 100vw, 377px" /></a><figcaption id="caption-attachment-32300" class="wp-caption-text">Figure 136</figcaption></figure>
<p>Click <em>OK</em>, as shown in Figure 137.</p>
<figure id="attachment_32301" aria-describedby="caption-attachment-32301" style="width: 355px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure137.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32301 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure137.png" alt="Figure 137" width="355" height="133" /></a><figcaption id="caption-attachment-32301" class="wp-caption-text">Figure 137</figcaption></figure>
<p>Exit your internet browser.</p>
<p>In the command prompt, type in <strong>setup.exe /configure configuration.xml</strong> (use your XML file name) and press <em>Enter</em>, as shown in Figure 138.</p>
<figure id="attachment_32302" aria-describedby="caption-attachment-32302" style="width: 493px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure138.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32302 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure138.png" alt="Figure 138" width="493" height="212" /></a><figcaption id="caption-attachment-32302" class="wp-caption-text">Figure 138</figcaption></figure>
<p>Office starts installing, as shown in Figures 139 and 140.</p>
<figure id="attachment_32303" aria-describedby="caption-attachment-32303" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure139.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32303 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure139.png" alt="Figure 139" width="400" height="250" /></a><figcaption id="caption-attachment-32303" class="wp-caption-text">Figure 139</figcaption></figure>
<figure id="attachment_32304" aria-describedby="caption-attachment-32304" style="width: 779px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure140.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32304 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure140.png" alt="Figure 140" width="779" height="501" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure140.png 779w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure140-466x300.png 466w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure140-768x494.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure140-600x386.png 600w" sizes="auto, (max-width: 779px) 100vw, 779px" /></a><figcaption id="caption-attachment-32304" class="wp-caption-text">Figure 140</figcaption></figure>
<p>When the installation and configuration are complete, click <em>Close</em>, as shown in Figure 141.</p>
<figure id="attachment_32305" aria-describedby="caption-attachment-32305" style="width: 779px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure141.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32305 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure141.png" alt="Figure 141" width="779" height="501" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure141.png 779w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure141-466x300.png 466w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure141-768x494.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure141-600x386.png 600w" sizes="auto, (max-width: 779px) 100vw, 779px" /></a><figcaption id="caption-attachment-32305" class="wp-caption-text">Figure 141</figcaption></figure>
<p>Exit the command prompt.</p>
<p>Click <em>Start</em> and verify that only the Office applications you installed are there. I installed only Microsoft Excel and Word, as shown in Figures 142 and 143.</p>
<figure id="attachment_32306" aria-describedby="caption-attachment-32306" style="width: 235px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure142.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32306 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure142.png" alt="Figure 142" width="235" height="678" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure142.png 235w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure142-104x300.png 104w" sizes="auto, (max-width: 235px) 100vw, 235px" /></a><figcaption id="caption-attachment-32306" class="wp-caption-text">Figure 142</figcaption></figure>
<figure id="attachment_32307" aria-describedby="caption-attachment-32307" style="width: 266px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure143.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32307 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure143.png" alt="Figure 143" width="266" height="672" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure143.png 266w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure143-119x300.png 119w" sizes="auto, (max-width: 266px) 100vw, 266px" /></a><figcaption id="caption-attachment-32307" class="wp-caption-text">Figure 143</figcaption></figure>
<p>Start any installed Office product to start the licensing and activation process, as shown in Figure 144.</p>
<figure id="attachment_32308" aria-describedby="caption-attachment-32308" style="width: 1002px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure144.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32308 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure144.png" alt="Figure 144" width="1002" height="602" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure144.png 1002w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure144-499x300.png 499w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure144-900x541.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure144-768x461.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure144-600x360.png 600w" sizes="auto, (max-width: 1002px) 100vw, 1002px" /></a><figcaption id="caption-attachment-32308" class="wp-caption-text">Figure 144</figcaption></figure>
<p>After the activation process completes, click <em>Done</em>, as shown in Figure 145.</p>
<figure id="attachment_32309" aria-describedby="caption-attachment-32309" style="width: 652px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure145.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32309 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure145.png" alt="Figure 145" width="652" height="634" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure145.png 652w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure145-309x300.png 309w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure145-600x583.png 600w" sizes="auto, (max-width: 652px) 100vw, 652px" /></a><figcaption id="caption-attachment-32309" class="wp-caption-text">Figure 145</figcaption></figure>
<h2>Additional Applications</h2>
<p>There are many other applications you can install. Feel free to install and configure any software you require.</p>
<p>Here is some of the software I use.</p>
<ul>
<li>Citrix PVS Console (Can&#8217;t install yet)</li>
<li>Citrix Studio Console (Can&#8217;t install yet)</li>
<li>Google Chrome</li>
<li>Notepad++</li>
<li>Parallels Remote Application Server Console and PowerShell (Can&#8217;t install yet)</li>
<li>PuTTY</li>
<li>VMware Horizon Dynamic Environment Manager Management Console (Can&#8217;t install yet)</li>
<li>WinSCP</li>
</ul>
<p>Many management consoles are web-based—for example, vCenter, Citrix Director, VMware Horizon Connection Server, and others. I manage my Netgear switches and WiFi router and my two Synology units using a browser.</p>
<h2>Install vCenter Root Certificate</h2>
<p>The vCenter root certificate requires installing to manage vCenter from this computer. Citrix Studio also requires it to create a hosting connection to vCenter.</p>
<p>In <a href="https://www.carlwebster.com/06-building-websters-lab-v2-install-the-vmware-vcenter-server-appliance/" target="_blank" rel="noopener">Part 6</a>, we downloaded the root certificate from vCenter.</p>
<p>Browse to the <em>certs\win </em>folder, as shown in Figure 146.</p>
<figure id="attachment_32310" aria-describedby="caption-attachment-32310" style="width: 494px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure146.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32310 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure146.png" alt="Figure 146" width="494" height="115" /></a><figcaption id="caption-attachment-32310" class="wp-caption-text">Figure 146</figcaption></figure>
<p>Double-click the file with the extension &#8220;crt&#8221;.</p>
<p>Click <em>Open</em> if you receive a file security warning, as shown in Figure 147.</p>
<figure id="attachment_32311" aria-describedby="caption-attachment-32311" style="width: 466px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure147.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32311 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure147.png" alt="Figure 147" width="466" height="344" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure147.png 466w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure147-406x300.png 406w" sizes="auto, (max-width: 466px) 100vw, 466px" /></a><figcaption id="caption-attachment-32311" class="wp-caption-text">Figure 147</figcaption></figure>
<p>Click <em>Install Certificate…</em>, as shown in Figure 148.</p>
<figure id="attachment_32312" aria-describedby="caption-attachment-32312" style="width: 405px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure148.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32312 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure148.png" alt="Figure 148" width="405" height="515" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure148.png 405w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure148-236x300.png 236w" sizes="auto, (max-width: 405px) 100vw, 405px" /></a><figcaption id="caption-attachment-32312" class="wp-caption-text">Figure 148</figcaption></figure>
<p>Click <em>Local machine</em> and <em>Next</em>, as shown in Figure 149.</p>
<figure id="attachment_32313" aria-describedby="caption-attachment-32313" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure149.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32313 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure149.png" alt="Figure 149" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure149.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure149-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-32313" class="wp-caption-text">Figure 149</figcaption></figure>
<p>Select <em>Place all certificates in the following store</em> and click <em>Browse…</em>, as shown in Figure 150.</p>
<figure id="attachment_32314" aria-describedby="caption-attachment-32314" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure150.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32314 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure150.png" alt="Figure 150" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure150.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure150-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-32314" class="wp-caption-text">Figure 150</figcaption></figure>
<p>Click on <em>Trusted Root Certification Authorities</em> and click <em>OK</em>, as shown in Figure 151.</p>
<figure id="attachment_32315" aria-describedby="caption-attachment-32315" style="width: 281px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure151.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32315 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure151.png" alt="Figure 151" width="281" height="263" /></a><figcaption id="caption-attachment-32315" class="wp-caption-text">Figure 151</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 152.</p>
<figure id="attachment_32316" aria-describedby="caption-attachment-32316" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure152.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32316 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure152.png" alt="Figure 152" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure152.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure152-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-32316" class="wp-caption-text">Figure 152</figcaption></figure>
<p>Click <em>Finish</em>, as shown in Figure 153.</p>
<figure id="attachment_32317" aria-describedby="caption-attachment-32317" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure153.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32317 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure153.png" alt="Figure 153" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure153.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure153-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-32317" class="wp-caption-text">Figure 153</figcaption></figure>
<p>Click <em>OK</em>, as shown in Figure 154.</p>
<figure id="attachment_32318" aria-describedby="caption-attachment-32318" style="width: 232px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure154.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32318 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure154.png" alt="Figure 154" width="232" height="152" /></a><figcaption id="caption-attachment-32318" class="wp-caption-text">Figure 154</figcaption></figure>
<p>Click <em>OK</em>, as shown in Figure 155.</p>
<figure id="attachment_32319" aria-describedby="caption-attachment-32319" style="width: 405px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure155.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32319 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure155.png" alt="Figure 155" width="405" height="515" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure155.png 405w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure155-236x300.png 236w" sizes="auto, (max-width: 405px) 100vw, 405px" /></a><figcaption id="caption-attachment-32319" class="wp-caption-text">Figure 155</figcaption></figure>
<p>Using your browser, go to the link for the vCenter Getting Started Page. For me, that is https://vcenter.labaddomain.com, as shown in Figure 156.</p>
<figure id="attachment_32320" aria-describedby="caption-attachment-32320" style="width: 438px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure156.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32320 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure156.png" alt="Figure 156" width="438" height="231" /></a><figcaption id="caption-attachment-32320" class="wp-caption-text">Figure 156</figcaption></figure>
<p>Click the padlock symbol, as shown in Figure 157.</p>
<figure id="attachment_32321" aria-describedby="caption-attachment-32321" style="width: 538px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure157.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32321 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure157.png" alt="Figure 157" width="538" height="312" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure157.png 538w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure157-517x300.png 517w" sizes="auto, (max-width: 538px) 100vw, 538px" /></a><figcaption id="caption-attachment-32321" class="wp-caption-text">Figure 157</figcaption></figure>
<h2>Activate Windows 10</h2>
<p>If you have a MAPS or similar subscription service, you can activate your copy of Windows 10.</p>
<p>Click <em>Start</em>, <em>Settings</em>, as shown in Figure 158.</p>
<figure id="attachment_32323" aria-describedby="caption-attachment-32323" style="width: 255px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure158.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32323 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure158.png" alt="Figure 158" width="255" height="276" /></a><figcaption id="caption-attachment-32323" class="wp-caption-text">Figure 158</figcaption></figure>
<p>Click <em>Windows isn&#8217;t activated. Activate Windows now.</em>, as shown in Figure 159.</p>
<figure id="attachment_32324" aria-describedby="caption-attachment-32324" style="width: 853px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure159.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32324 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure159.png" alt="Figure 159" width="853" height="698" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure159.png 853w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure159-367x300.png 367w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure159-768x628.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure159-600x491.png 600w" sizes="auto, (max-width: 853px) 100vw, 853px" /></a><figcaption id="caption-attachment-32324" class="wp-caption-text">Figure 159</figcaption></figure>
<p>Click <em>Change product key</em>, as shown in Figure 160.</p>
<figure id="attachment_32325" aria-describedby="caption-attachment-32325" style="width: 483px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure160.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32325 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure160.png" alt="Figure 160" width="483" height="726" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure160.png 483w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure160-200x300.png 200w" sizes="auto, (max-width: 483px) 100vw, 483px" /></a><figcaption id="caption-attachment-32325" class="wp-caption-text">Figure 160</figcaption></figure>
<p>Enter your Windows 10 <em>Product key</em> and click <em>Next</em>, as shown in Figure 161.</p>
<figure id="attachment_32326" aria-describedby="caption-attachment-32326" style="width: 682px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure161.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32326 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure161.png" alt="Figure 161" width="682" height="322" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure161.png 682w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure161-530x250.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure161-600x283.png 600w" sizes="auto, (max-width: 682px) 100vw, 682px" /></a><figcaption id="caption-attachment-32326" class="wp-caption-text">Figure 161</figcaption></figure>
<p>Click <em>Activate</em>, as shown in Figure 162.</p>
<figure id="attachment_32327" aria-describedby="caption-attachment-32327" style="width: 682px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure162.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32327 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure162.png" alt="Figure 162" width="682" height="216" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure162.png 682w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure162-530x168.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure162-600x190.png 600w" sizes="auto, (max-width: 682px) 100vw, 682px" /></a><figcaption id="caption-attachment-32327" class="wp-caption-text">Figure 162</figcaption></figure>
<p>If your copy of Windows 10 activated successfully, click <em>Close</em>, as shown in Figure 163.  If activation was not successful, resolve the issue and attempt the activation again.</p>
<figure id="attachment_32328" aria-describedby="caption-attachment-32328" style="width: 682px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure163.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32328 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure163.png" alt="Figure 163" width="682" height="216" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure163.png 682w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure163-530x168.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure163-600x190.png 600w" sizes="auto, (max-width: 682px) 100vw, 682px" /></a><figcaption id="caption-attachment-32328" class="wp-caption-text">Figure 163</figcaption></figure>
<p>Windows 10 now shows as activated.</p>
<figure id="attachment_32329" aria-describedby="caption-attachment-32329" style="width: 399px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure164.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32329 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure164.png" alt="Figure 164" width="399" height="213" /></a><figcaption id="caption-attachment-32329" class="wp-caption-text">Figure 164</figcaption></figure>
<p>Exit all open windows.</p>
<p>Up next: <a href="https://www.carlwebster.com/21-building-websters-lab-v2-create-a-10zig-management-server/" target="_blank" rel="noopener">Create a 10ZiG Management Server</a></p>
<p><a href="https://www.carlwebster.com/building-websters-lab-v2/" target="_blank" rel="noopener">Landing page for the article series</a></p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">32109</post-id>	</item>
		<item>
		<title>14 Building Webster&#8217;s Lab V2 – Create Active Directory</title>
		<link>https://www.carlwebster.com/14-building-websters-lab-v2-create-active-directory/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Thu, 10 Jun 2021 08:42:37 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=31257</guid>

					<description><![CDATA[[Updated 22-Sep-2021] With the two Server 2019 VMs built for domain controllers, the next step is to create Active Directory (AD).  To make sure you understand what I cover in&#8230;]]></description>
										<content:encoded><![CDATA[<p>[Updated 22-Sep-2021]</p>
<p>With the two Server 2019 VMs built for domain controllers, the next step is to create Active Directory (AD).  To make sure you understand what I cover in this article, you should understand a few terms.</p>
<h2>Definitions</h2>
<p><a href="https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/get-started/virtual-dc/active-directory-domain-services-overview" target="_blank" rel="noopener">What is Active Directory</a>?</p>
<blockquote><p>A directory is a hierarchical structure that stores information about objects on the network. A directory service, such as AD, provides the methods for storing directory data and making this data available to network users and administrators. For example, AD stores information about user accounts, such as names, passwords, phone numbers, and so on, and enables other authorized users on the same network to access this information.</p>
<p>AD stores information about objects on the network and makes this information easy for administrators and users to find and use. Active Directory uses a structured data store to form a logical, hierarchical organization of directory information.</p>
<p>This data store, also known as the directory, contains information about AD objects. These objects typically include shared resources such as servers, volumes, printers, and the network user and computer accounts.</p></blockquote>
<p><a href="https://docs.microsoft.com/en-us/windows-server/networking/dns/dns-top" target="_blank" rel="noopener">What is Domain Name System</a> (DNS)?</p>
<blockquote><p>DNS is one of the industry-standard suites of protocols that comprise TCP/IP. The DNS Client and DNS Server provide computer name-to-IP address mapping name resolution services to computers and users.</p>
<p>AD uses DNS as its domain controller location mechanism. When any principal AD operations are performed, such as authentication, updating, or searching, computers use DNS to locate Active Directory domain controllers. In addition, domain controllers use DNS to locate each other.</p></blockquote>
<p><a href="https://docs.microsoft.com/en-us/windows/win32/ad/global-catalog" target="_blank" rel="noopener">What is the Global Catalog</a> (GC)?</p>
<blockquote><p>A Domain run by AD can consist of many partitions or naming contexts. The distinguished name (DN) includes enough information to locate a replica of the partition that holds the object. However, the user or application may not know the DN of the target object or which partition might contain the object. The GC allows users and applications to find objects in an AD domain tree, given one or more attributes of the target object.</p>
<p>The global catalog contains a partial replica of every naming context in the directory. It contains the schema and configuration naming contexts as well. This means the GC holds a replica of every object in the directory but with only a small number of their attributes. The attributes in the GC are those most frequently used in search operations (such as a user&#8217;s first and last names or login names) and those required to locate a full replica of the object. The GC allows users to quickly find objects of interest without knowing what domain holds them and without requiring a contiguous extended namespace in the enterprise.</p></blockquote>
<p><a href="https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/fsmo-roles" target="_blank" rel="noopener">What is Flexible Single Master Operations</a> (FSMO)?</p>
<blockquote><p>AD is the central repository in which all objects in an enterprise and their respective attributes are stored. It&#8217;s a hierarchical, multi-master-enabled database that can store millions of objects. Changes to the database can be processed at any given domain controller (DC) in the enterprise, regardless of whether the DC is connected or disconnected from the network.</p>
<p>A multi-master-enabled database, such as AD, provides the flexibility of allowing changes to occur at any DC in the enterprise. But it also introduces the possibility of conflicts that can potentially lead to problems once the data is replicated to the rest of the enterprise. One way Windows deals with conflicting updates is by having a conflict resolution algorithm handle discrepancies in values. It&#8217;s done by resolving to the DC to which changes were written last, which is the last writer wins. The changes in all other DCs are discarded. Although this method may be acceptable in some cases, there are times when conflicts are too difficult to resolve using the last writer wins approach. In such cases, it&#8217;s best to prevent the conflict from occurring rather than trying to resolve it after the fact.</p>
<p>To prevent conflicting updates in Windows, AD performs updates to certain objects in a single-master fashion. In a single-master model, only one DC in the entire directory is allowed to process updates. It&#8217;s similar to the role given to a primary domain controller (PDC) in earlier versions of Windows, such as Microsoft Windows NT 3.51 and 4.0. In earlier versions of Windows, the PDC is responsible for processing all updates in a given domain.</p>
<p>AD extends the single-master model found in earlier versions of Windows to include multiple roles and transfer roles to any DC in the enterprise. Because an AD role isn&#8217;t bound to a single DC, it&#8217;s referred to as an FSMO role. Currently, in Windows, there are five FSMO roles:</p>
<ul>
<li>Schema master</li>
<li>Domain naming master</li>
<li>RID master</li>
<li>PDC emulator</li>
<li>Infrastructure master</li>
</ul>
</blockquote>
<p><a href="https://docs.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-top" target="_blank" rel="noopener">What is Dynamic Host Configuration Protocol</a> (DHCP)?</p>
<blockquote><p>DHCP is a client/server protocol that automatically provides an Internet Protocol (IP) host with its IP address and other related configuration information. These include the subnet mask and default gateway.</p></blockquote>
<p><a href="https://www.windows-active-directory.com/active-directory-sites.html" target="_blank" rel="noopener">What are AD Sites</a>?</p>
<blockquote><p>AD sites manage organizations that have branches spread across different geographical locations but fall under the same domain. It is a robust solution to geographically manage an AD network without changing any aspect of the logical structure of the environment. AD sites are physical groupings of well-connected IP subnets used to efficiently replicate information among domain controllers (DC). Image AD sites as a map describing the best routes for replicating in AD, thus efficiently using the available network bandwidth. AD sites help to achieve cost-efficiency and speed. It also lets one exercise better control over the replication traffic and the authentication process. AD sites can locate the closest DC to perform these actions when more than one DC is in the associated site capable of handling client logon, services, and directory searches. Sites also play a role in the deployment and targeting of group policies.</p>
<p>In AD, the information about the topology is stored as site link objects. By default, the Default-First-Site-Name site container is created for the forest. Until another site is created, all DCs are automatically assigned to this site.</p></blockquote>
<p><a href="https://www.windows-active-directory.com/active-directory-sites.html" target="_blank" rel="noopener">What are Subnets</a>?</p>
<blockquote><p>Within sites, subnets are entities that help in grouping neighboring computer systems based on their IP addresses. A range of associated IP addresses identifies every subnet, and a site is the aggregate of all well-connected subnets. Subnets could be based on either TCP/IPv4 or TCP/IPv6 protocol addresses.</p></blockquote>
<p>What is Directory Services Restore Mode (DSRM)?</p>
<blockquote><p>DSRM is a special boot mode for repairing or recovering Active Directory. Use DSRM to log on to the computer when AD has failed or needs restoring.</p></blockquote>
<p><a href="https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/active-directory-functional-levels" target="_blank" rel="noopener">What are AD Forest and Domain Functional Levels</a>?</p>
<blockquote><p>Functional levels determine the available AD domain or forest capabilities. They also determine which Windows Server operating systems you can run on domain controllers in the domain or forest. However, functional levels do not affect which operating systems you can run on workstations and member servers joined to the domain or forest.</p>
<p>When deploying AD, set the domain and forest functional levels to the highest value that your environment can support. This way, you can use as many AD DS features as possible. When you deploy a new forest, you are prompted to set the forest functional level and domain functional level. You can set the domain functional level to a value that is higher than the forest functional level. You cannot set the domain functional level to a lower value than the forest functional level.</p></blockquote>
<p><a href="https://docs.microsoft.com/en-us/windows-server/identity/ad-ds/get-started/adac/introduction-to-active-directory-administrative-center-enhancements--level-100-" target="_blank" rel="noopener">What is the AD Recycle Bin</a>?</p>
<blockquote><p>The accidental deletion of Active Directory objects is common for AD. Before Windows Server 2008 R2, you could recover accidentally deleted objects in AD, but the solutions had drawbacks.</p>
<p>In Windows Server 2008, you could use the Windows Server Backup feature and ntdsutil authoritative restore command to mark objects as authoritative to ensure that the restored data replicates throughout the domain. The drawback to the authoritative restore solution was that you had to perform it in DSRM. During DSRM, the domain controller used for the restoration had to remain offline. Therefore, it could not service client requests.</p>
<p>In Windows Server 2003 Active Directory and Windows Server 2008 AD DS, you could recover deleted AD objects through tombstone reanimation. However, reanimated objects&#8217; link-valued attributes (for example, group memberships of user accounts) that were physically removed and non-link-valued attributes cleared were not recovered. Therefore, administrators could not rely on tombstone reanimation as the ultimate solution to the accidental deletion of objects. For more information about tombstone reanimation, see Reanimating Active Directory Tombstone Objects.</p>
<p>Starting in Windows Server 2008 R2, AD Recycle Bin builds on the existing tombstone reanimation infrastructure and enhances your ability to preserve and recover accidentally deleted Active Directory objects.</p>
<p>When the AD Recycle Bin is enabled, all link-valued and non-link-valued attributes of the deleted AD objects are preserved. The objects are restored in their entirety to the same consistent logical state they were in immediately before deletion. For example, restored user accounts automatically regain all group memberships and corresponding access rights that they had immediately before deletion, within and across domains.</p>
<p>In Windows Server 2012 and newer, the AD Recycle Bin feature is enhanced with a new graphical user interface to manage and restore deleted objects. Users can now visually locate a list of deleted objects and restore them to their original or desired locations.</p></blockquote>
<h2>Create Forest</h2>
<p>The first DC we build is a GC, DNS, and DHCP server. We use PowerShell to install and configure all AD Roles and Features.</p>
<p>Use mstsc to remote into the VM that is our first DC. Exit Server Manager and start an elevated PowerShell session, as shown in Figure 1.</p>
<figure id="attachment_31266" aria-describedby="caption-attachment-31266" style="width: 1004px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31266 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-13.png" alt="Figure 1" width="1004" height="684" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-13.png 1004w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-13-440x300.png 440w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-13-900x613.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-13-768x523.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-13-600x409.png 600w" sizes="auto, (max-width: 1004px) 100vw, 1004px" /></a><figcaption id="caption-attachment-31266" class="wp-caption-text">Figure 1</figcaption></figure>
<p>We start by installing the necessary Roles and Features.</p>
<ul>
<li>Active Directory Domain Services</li>
<li>Remote Server Administration Tools
<ul>
<li>Role Administration Tools
<ul>
<li>Active Directory module for Windows PowerShell</li>
<li>AD DS and AD LDS Tools
<ul>
<li>Active Directory Administrative Center</li>
<li>AD DS Snap-Ins and Command-Line Tools</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>Telnet Client</li>
</ul>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 2.</p>
<pre class="brush: powershell; title: ; notranslate">
#setup new AD Forest/Domain
Install-WindowsFeature AD-Domain-Services, RSAT-AD-PowerShell, RSAT-ADDS, RSAT-AD-AdminCenter, RSAT-ADDS-Tools, Telnet-Client
</pre>
<figure id="attachment_31267" aria-describedby="caption-attachment-31267" style="width: 857px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31267 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-13.png" alt="Figure 2" width="857" height="222" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-13.png 857w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-13-530x137.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-13-768x199.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-13-600x155.png 600w" sizes="auto, (max-width: 857px) 100vw, 857px" /></a><figcaption id="caption-attachment-31267" class="wp-caption-text">Figure 2</figcaption></figure>
<p>We now create the new AD Forest, which automatically creates the first domain. The first domain is also known as the forest root domain. You can never rename this domain without destroying the domain or migrating to a new forest or domain.</p>
<p>Remember to use your domain name.</p>
<p>The first thing we need is the password used for DSRM. This password <a href="https://datatracker.ietf.org/doc/html/rfc2119" target="_blank" rel="noopener"><em>should</em></a> be the same for every DC.</p>
<p>The highest forest and domain functional level support is Windows Server 2016. The <a href="https://docs.microsoft.com/en-us/powershell/module/addsdeployment/install-addsforest?view=windowsserver2019-ps" target="_blank" rel="noopener">help text</a> for the Install-ADDSForest cmdlet shows the following allowed values:</p>
<blockquote><p>-DomainMode (and also for -ForestMode)</p>
<p>The acceptable values for this parameter are:</p>
<ul>
<li>Windows Server 2003: 2 or Win2003</li>
<li>Windows Server 2008: 3 or Win2008</li>
<li>Windows Server 2008 R2: 4 or Win2008R2</li>
<li>Windows Server 2012: 5 or Win2012</li>
<li>Windows Server 2012 R2: 6 or Win2012R2</li>
<li>Windows Server 2016: 7 or WinThreshold</li>
</ul>
</blockquote>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 3.</p>
<pre class="brush: powershell; title: ; notranslate">
$DomainName = &quot;LabADDomain.com&quot;
$NetbiosName = &quot;LabADDomain&quot;
$SafeModePwd = Read-Host -AsSecureString -Prompt &quot;Enter DSRM password&quot;
</pre>
<figure id="attachment_31268" aria-describedby="caption-attachment-31268" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31268 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-13.png" alt="Figure 3" width="859" height="96" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-13.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-13-530x59.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-13-768x86.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-13-600x67.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31268" class="wp-caption-text">Figure 3</figcaption></figure>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 4.</p>
<pre class="brush: powershell; title: ; notranslate">
Install-ADDSForest `
-Confirm:$False `
-CreateDnsDelegation:$False `
-DomainMode &quot;WinThreshold&quot; `
-DomainName $DomainName `
-DomainNetbiosName $NetbiosName `
-ForestMode &quot;WinThreshold&quot; `
-SafeModeAdministratorPassword $SafeModePwd

#new DC restarts at this point
</pre>
<figure id="attachment_31269" aria-describedby="caption-attachment-31269" style="width: 858px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31269 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-13.png" alt="Figure 4" width="858" height="624" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-13.png 858w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-13-413x300.png 413w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-13-768x559.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-13-600x436.png 600w" sizes="auto, (max-width: 858px) 100vw, 858px" /></a><figcaption id="caption-attachment-31269" class="wp-caption-text">Figure 4</figcaption></figure>
<p>The local account named Administrator is now the domain account named Administrator, and the password used for the local account is the password used for the domain account.</p>
<p>After the VM restarts, log in using the domain&#8217;s Administrator account and password.</p>
<p>Now we can start the debate. The DC promotion process changed the network card&#8217;s Preferred DNS Server to 127.0.0.1, the Local Loopback address. My AD mentors taught me over the years that on the first DC, the Preferred DNS Server should be the DC&#8217;s IP address, and, at this time, the Loopback address should be Secondary. I recommend changing the DNS servers, as shown in Figure 5.</p>
<figure id="attachment_31270" aria-describedby="caption-attachment-31270" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31270 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-13.png" alt="Figure 5" width="400" height="455" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-13.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-13-264x300.png 264w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31270" class="wp-caption-text">Figure 5</figcaption></figure>
<p>Next up is enabling the AD Recycle Bin.</p>
<h2>AD Recycle Bin</h2>
<p>Open the AD Administrative Center.</p>
<p>Server Manager, Tools, and click on Active Directory Administrative Center, as shown in Figure 6.</p>
<figure id="attachment_31271" aria-describedby="caption-attachment-31271" style="width: 374px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31271 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-12.png" alt="Figure 6" width="374" height="201" /></a><figcaption id="caption-attachment-31271" class="wp-caption-text">Figure 6</figcaption></figure>
<p>In the left pane, click on your domain, and in the right pane, you see <em>Enable Recycle Bin…</em>, as shown in Figure 7. We do not use the GUI to enable the recycle bin. We use PowerShell to enable the recycle bin.</p>
<figure id="attachment_31272" aria-describedby="caption-attachment-31272" style="width: 969px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31272 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-12.png" alt="Figure 7" width="969" height="418" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-12.png 969w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-12-530x229.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-12-900x388.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-12-768x331.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-12-600x259.png 600w" sizes="auto, (max-width: 969px) 100vw, 969px" /></a><figcaption id="caption-attachment-31272" class="wp-caption-text">Figure 7</figcaption></figure>
<p>Start an elevated PowerShell session.</p>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 8.</p>
<pre class="brush: powershell; title: ; notranslate">
#enable the AD Recycle Bin
$DomainName = &quot;LabADDomain.com&quot;
Enable-ADOptionalFeature 'Recycle Bin Feature' -Scope ForestOrConfigurationSet -Target $DomainName -Confirm:$False
</pre>
<figure id="attachment_31273" aria-describedby="caption-attachment-31273" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31273 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-12.png" alt="Figure 8" width="859" height="224" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-12.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-12-530x138.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-12-768x200.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-12-600x156.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31273" class="wp-caption-text">Figure 8</figcaption></figure>
<p>Refresh the AD Administrative Center and see that <em>Enable Recycle Bin…</em> greyed out, as shown in Figure 9.</p>
<figure id="attachment_31274" aria-describedby="caption-attachment-31274" style="width: 976px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31274 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-12.png" alt="Figure 9" width="976" height="419" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-12.png 976w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-12-530x228.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-12-900x386.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-12-768x330.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-12-600x258.png 600w" sizes="auto, (max-width: 976px) 100vw, 976px" /></a><figcaption id="caption-attachment-31274" class="wp-caption-text">Figure 9</figcaption></figure>
<p>Exit the AD Administrative Center.</p>
<p>Now we set the domain&#8217;s password and lockout policy.</p>
<h2>Set the Domain&#8217;s Password and Lockout Policy<b></b></h2>
<p>Open the Group Policy Management console.</p>
<p>Server Manager, Tools, and click on Group Policy Management, as shown in Figure 10.</p>
<figure id="attachment_31275" aria-describedby="caption-attachment-31275" style="width: 372px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31275 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-12.png" alt="Figure 10" width="372" height="381" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-12.png 372w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-12-293x300.png 293w" sizes="auto, (max-width: 372px) 100vw, 372px" /></a><figcaption id="caption-attachment-31275" class="wp-caption-text">Figure 10</figcaption></figure>
<p>You may want to widen the console and expand the width of the two panes.</p>
<p>In the left pane, expand the Forest node.</p>
<p>Expand Domains.</p>
<p>Expand your domain.</p>
<p>Click on <em>Default Domain Policy</em>, click on the <em>Settings </em>tab in the right pane, and scroll down to the <em>Security Settings</em> section, as shown in Figure 11.</p>
<figure id="attachment_31276" aria-describedby="caption-attachment-31276" style="width: 1013px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31276 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-12.png" alt="Figure 11" width="1013" height="768" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-12.png 1013w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-12-396x300.png 396w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-12-900x682.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-12-768x582.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-12-600x455.png 600w" sizes="auto, (max-width: 1013px) 100vw, 1013px" /></a><figcaption id="caption-attachment-31276" class="wp-caption-text">Figure 11</figcaption></figure>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 12.</p>
<p>Remember to set the values you need.</p>
<pre class="brush: powershell; title: ; notranslate">
#set the domain's password and lockout policy
$DomainName = &quot;LabADDomain.com&quot;
Set-ADDefaultDomainPasswordPolicy -Identity $DomainName `
-PasswordHistoryCount 6 `
-MaxPasswordAge 90.00:00:00 `
-MinPasswordAge 7.00:00:00 `
-MinPasswordLength 8 `
-ComplexityEnabled $False `
-ReversibleEncryptionEnabled $False `
-LockoutDuration 00:00:00 `
-LockoutObservationWindow 00:00:00 `
-LockoutThreshold 5
</pre>
<figure id="attachment_31277" aria-describedby="caption-attachment-31277" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31277 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-12.png" alt="Figure 12" width="859" height="292" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-12.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-12-530x180.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-12-768x261.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-12-600x204.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31277" class="wp-caption-text">Figure 12</figcaption></figure>
<p>Refresh the Group Policy Management console and view the Security Settings in the Default Domain Policy, as shown in Figure 13.</p>
<p>See how the settings in the policy match what we set using PowerShell.</p>
<figure id="attachment_31278" aria-describedby="caption-attachment-31278" style="width: 509px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31278 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-12.png" alt="Figure 13" width="509" height="349" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-12.png 509w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-12-438x300.png 438w" sizes="auto, (max-width: 509px) 100vw, 509px" /></a><figcaption id="caption-attachment-31278" class="wp-caption-text">Figure 13</figcaption></figure>
<p>Exit the Group Policy Management console.</p>
<p>Next up is AD Sites and Services.</p>
<h2>AD Sites and Services</h2>
<p>Open the Active Directory Sites and Services console.</p>
<p>Server Manager, Tools, and click on Active Directory Sites and Services, as shown in Figure 14.</p>
<figure id="attachment_31279" aria-describedby="caption-attachment-31279" style="width: 362px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31279 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-12.png" alt="Figure 14" width="362" height="198" /></a><figcaption id="caption-attachment-31279" class="wp-caption-text">Figure 14</figcaption></figure>
<p>We perform the following steps using PowerShell.</p>
<ol>
<li>Create a new site named after the city where I live</li>
<li>Move the new DC from the default Default-First-Site-Name site to the site created in Step 1</li>
<li>Remove the default Default-First-Site-Name site</li>
<li>Create a subnet and link it to the site created in Step 1</li>
</ol>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 15.</p>
<p>Remember to set the values you need.</p>
<pre class="brush: powershell; title: ; notranslate">
#setup Sites
$DomainName = &quot;LabADDomain.com&quot;
$ADSites2 = @()
#create a new site
$ADSites = @{
    &quot;Tullahoma&quot; = &quot;Webster's Lab in Tullahoma, TN&quot;
}

ForEach($ADSite in $ADSites.Keys)
{
    $ADSites2 += $ADSite
    New-ADReplicationSite -Name $ADSite -Description $ADSites&#x5B;$ADSite] -ProtectedFromAccidentalDeletion $True -Server $DomainName
}

#move the new domain controller from the Default-First-Site-Name site to the new site
Move-ADDirectoryServer -Identity &quot;LabDC1&quot; -Site &quot;Tullahoma&quot;

#remove the Default-First-Site-Name site
Remove-ADReplicationSite -Identity &quot;Default-First-Site-Name&quot; -Confirm:$False

#create subnets and associate them to a site
$Subnets = @{
&quot;Tullahoma&quot; = &quot;192.168.1.0/24&quot;
}

ForEach($Subnet in $Subnets.Keys)
{
    New-ADReplicationSubnet -Name $Subnets&#x5B;$Subnet] -Site $Subnet
}
</pre>
<figure id="attachment_31280" aria-describedby="caption-attachment-31280" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31280 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-13.png" alt="Figure 15" width="859" height="538" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-13.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-13-479x300.png 479w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-13-768x481.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-13-600x376.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31280" class="wp-caption-text">Figure 15</figcaption></figure>
<p>Refresh the Active Directory Sites and Services console. Expand the various nodes to verify the changes, as shown in Figure 16.</p>
<figure id="attachment_31288" aria-describedby="caption-attachment-31288" style="width: 485px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31288 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-12.png" alt="Figure 16" width="485" height="243" /></a><figcaption id="caption-attachment-31288" class="wp-caption-text">Figure 16</figcaption></figure>
<p><strong>Note: </strong>If you have multiple AD Sites in your lab, please read <em><a href="https://docs.microsoft.com/en-us/archive/blogs/ashleymcglone/report-and-edit-ad-site-links-from-powershell-turbo-your-ad-replication" target="_blank" rel="noopener">Report and Edit AD Site Links From PowerShell (Turbo Your AD Replication)</a></em> for Microsoft&#8217;s recommendations on DC replication between AD Sites.</p>
<p>Exit the Sites and Services console.</p>
<p>Now on to the topics that need much discussion: DNS, Aging &amp; Scavenging, and DHCP. This discussion is only necessary if you run Microsoft DHCP and Microsoft DNS on a Microsoft AD domain controller.</p>
<p>Even though we create and configure the DHCP server later, let&#8217;s discuss the various settings now.</p>
<h2>DNS and DHCP</h2>
<h3>DNS Aging and Scavenging</h3>
<p>The DNS Server service supports Aging and Scavenging features. These features are provided as a mechanism for performing cleanup and removing stale resource records that accumulate in zone data over time.</p>
<p>With dynamic updates, resource records are automatically added to zones when computers start on the network. However, sometimes, they are not automatically removed when computers leave the network. For example, if a computer registers its host (A) resource record at startup and is later improperly disconnected from the network, its host (A) resource record might not be deleted. If your network has mobile users and computers, this situation can occur frequently.</p>
<p>If left unmanaged, the presence of stale resource records in zone data may cause problems:</p>
<ul>
<li>If many stale resource records remain in zones, they can eventually take up server disk space and cause unnecessarily long zone transfers.</li>
<li>DNS servers that load zones that contain stale resource records might use outdated information to answer client queries, potentially causing the clients to experience name resolution problems on the network.</li>
<li>The accumulation of stale resource records at the DNS server can degrade its performance and responsiveness.</li>
<li>Sometimes, the presence of a stale resource record in a zone can prevent a DNS domain name from being used by another computer or host device.</li>
</ul>
<p>The DNS Server service has these features to solve these problems:</p>
<ul>
<li>Timestamping, based on the current date and time set at the server computer, for any resource records added dynamically to primary-type zones. Also, timestamps are recorded in standard primary zones where aging and scavenging are enabled.</li>
<li>A timestamp value of zero is used for manually added resource records, indicating that these records are not affected by the aging process. They can remain without limitation in zone data unless you otherwise change their time stamp or delete them.</li>
<li>Aging of resource records in local data, based on a specified refresh time period for any eligible zones.</li>
<li>Only primary-type zones loaded by the DNS Server service are eligible to participate in this process.</li>
<li>Scavenging for any resource records that persist beyond the specified refresh period.</li>
<li>When a DNS server performs a scavenging operation, it can determine that resource records have aged to the point of becoming stale and remove them from zone data. You can configure servers to perform recurring scavenging operations automatically, or you can initiate an immediate scavenging operation at the server.</li>
<li>A highly recommended option is to set an advanced zone parameter that enables you to specify a restricted list of IP addresses for DNS servers enabled to perform scavenging of the zone.</li>
</ul>
<p>By default, if this parameter is not specified, all DNS servers that load an Active Directory-integrated zone (also enabled for scavenging) attempt to perform scavenging of the zone. Sometimes, this parameter can be helpful if it is preferable that scavenging is performed at some servers loading the directory-integrated zone.</p>
<p>To set this parameter, you must specify the list of IP addresses for the servers enabled to scavenge the zone in the ZoneResetScavengeServers parameter for the zone. You do this using the dnscmd command, a command line-based tool for administering Windows DNS servers.</p>
<p>Microsoft recommends configuring at least one and no more than two DNS servers for scavenging for a zone.</p>
<p>You must enable Aging and Scavenging in five places:</p>
<ol>
<li>DNS Server</li>
<li>DNS Server Properties</li>
<li>Forward Lookup Zones</li>
<li>Reverse Lookup Zones</li>
<li>Then via dnscmd.exe, set a scavenging server</li>
</ol>
<p class="Body">The default Aging and Scavenging interval is 7 days. Seven days is tied to the DHCP Lease Duration, which, by default, is 8 days. A DHCP client requests a lease renewal at 50% of the Lease Duration, or 4 days (by default). If the lease is not renewed, the DHCP Client attempts another lease renewal at 87.5% of the Lease Duration, or 7 days (by default). If the lease is not renewed, the DHCP Client stops requesting a renewal of its IP address and requests a new IP address. If DHCP and DNS are correctly configured (DHCP DNS Dynamic Update Credentials and Secure Dynamic updates), the original DHCP server releases the non-renewed IP address. DNS is updated to show the DNS resource record flagged as eligible to be aged and then scavenged.</p>
<p>By default, the DNS Server does not accept any refreshes of a non-static resource record for7 days.</p>
<p>By default, the DNS Server waits 7 days for the resource record to have its timestamp refreshed.</p>
<p>By default, after these two 7-day intervals (14 days), the resource record is removed from the DNS management console and flagged as tombstoned. The resource record still resides in the AD database.</p>
<p>By default, the resource record is tombstoned for 7 days.</p>
<p>By default, after the 7-day tombstone period has passed, the resource record is marked to be scavenged.</p>
<p>By default, the resource record stays in the &#8220;to be scavenged&#8221; state for 7 days.</p>
<p>At this time, by default, 28 days have passed since the resource record was not renewed by DHCP and flagged as eligible to be aged and scavenged.</p>
<p class="Body">The resource record is purged from the AD database at 2 AM (non-configurable) on day 29 (by default).</p>
<p>At any time in the 28 days (by default), the record is flagged as deleted/tombstoned/scavenged, if the original DHCP Client is granted the original IP address from the original DHCP server, the resource record is reanimated from the scavenge/tombstone state and returned to DNS with an updated timestamp.</p>
<p class="Body">If you change the DHCP Lease Duration from the default 7 days, you should carefully consider aging and scavenging effects.</p>
<p>In AD, all domain controllers are equal. Still, the domain controller that holds the Primary Domain Controller Emulator (PDCe) Flexible Single Master Operations (FSMO) role holder is the most equal of all domain controllers. That specific domain controller provides several critical functions in an AD Domain and must be the most stable, reliable, and highly available domain controller in the domain.</p>
<p>All PDC Emulator Functions <a href="http://rickardnobel.se/all-pdc-emulator-functions/" target="_blank" rel="noopener">http://rickardnobel.se/all-pdc-emulator-functions/</a></p>
<p>Because of the importance of the PDCe FSMO role holder, I recommend making that DC the primary DNS Server.</p>
<p>Select a DNS Server for each domain to serve as a scavenging server for every AD-Integrated Forward and Reverse Lookup Zone.</p>
<h3>DNS Forwarders</h3>
<p>DNS servers are designed to resolve names for a specific set of computers. DNS calls this &#8220;specific set&#8221; a zone, but this typically maps to a domain or a forest in a Windows environment. If a DNS server hosts a zone, it is considered authoritative for that zone, and all those computers are considered to be internal to the zone. All other zones are external.</p>
<p>To resolve names for an external zone requires using a forwarder –a DNS server that &#8220;knows more&#8221; than the local DNS server. By default, external resolution is enabled in Windows DNS servers; however, it can be disabled if desired. Specific servers can be configured to be used as forwarders, or DNS can default to using Root Hints.</p>
<p>A forwarding query only occurs if a DNS server cannot resolve a query using its data or cache. This often occurs when a query for an external name occurs (for example, a DNS server hosting &#8220;contoso.local&#8221; receives a query for &#8220;www.microsoft.com&#8221;). Figure 17 depicts the sequence for DNS name resolution.</p>
<figure id="attachment_31289" aria-describedby="caption-attachment-31289" style="width: 3150px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31289 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-12.png" alt="Figure 17 (Image taken from https://www.mustbegeek.com/understanding-dns-forwarders-and-root-hints-in-windows-dns-server/)" width="3150" height="1394" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-12.png 3150w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-12-530x235.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-12-900x398.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-12-768x340.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-12-1536x680.png 1536w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-12-2048x906.png 2048w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-12-600x266.png 600w" sizes="auto, (max-width: 3150px) 100vw, 3150px" /></a><figcaption id="caption-attachment-31289" class="wp-caption-text">Figure 17 (Image taken from <a href="https://www.mustbegeek.com/understanding-dns-forwarders-and-root-hints-in-windows-dns-server/" target="_blank" rel="noopener">https://www.mustbegeek.com/understanding-dns-forwarders-and-root-hints-in-windows-dns-server/</a>)</figcaption></figure>
<p>You can see where DNS Forwarders and Root Hints take part in name resolution on the above flowchart. DNS Forwarders itself is a list of DNS servers used to help resolve a query. A DNS Forwarder can be a master DNS appliance residing on the internal network or an external DNS server, such as Google or an ISP. The only thing to consider is the network accessibility between the servers (quicker access à better DNS).</p>
<h3>DHCP: DNS Dynamic Update Credentials</h3>
<p>If Microsoft DHCP runs on a domain controller and a DNS zone is configured for secure dynamic updates, and you do not configure DNS dynamic update credentials DHCP, DNS registrations fail.</p>
<p>DNS dynamic update credentials require no special rights, privileges, or permissions. You should use a regular domain user account following your naming standards.</p>
<p>Create a regular domain user account dedicated for use by DNS dynamic update credentials. You should set the account so the user cannot change the password, and the password should never expire.</p>
<p>I recommend using the account name DNSDynamicUpdateCred. In the Description property for this account, enter the text &#8221; DO NOT CHANGE THE PASSWORD OR DELETE/DISABLE ACCOUNT&#8221;.</p>
<p>Once you configure DHCP with the DNS dynamic update credentials, configure all AD-related DNS Forward and Reverse lookup zones to secure dynamic updates only.</p>
<p class="Body">You should add this account to the IPv4 protocol on every DHCP server. The DHCP servers do not replicate the account between DHCP servers. If the password for this account is changed, you must enter the updated password on every DHCP server configured to use the account.</p>
<h3>DHCP Name Protection</h3>
<p>DHCP name protection is a feature of the DHCP service that, when used with Dynamic DNS registration, prevents a DHCP client with a name already in the DNS domain zone from registering or overwriting an existing name that it does not own (known as name squatting). This functionality prevents client and server spoofing and name corruption for statically configured systems already registered in DNS. You enable name protection at either the IPv4 or IPv6 node level or the scope level. When configured at the scope level, the settings take precedence over the IPv4 or IPv6 node settings.</p>
<p>Name squatting could also occur when a non-Windows-based computer registers in Domain Name System (DNS) with a name previously registered to a Windows-based computer. The use of name protection in Windows Server prevents name squatting by non-Windows-based computers. Name squatting does not present a problem on a homogeneous Windows network where Active Directory Domain Services (AD DS) can be used to reserve a name for a single user or computer.</p>
<p>Name protection is based on the Dynamic Host Configuration Identifier (DHCID) in the Dynamic Host Configuration Protocol (DHCP) server and supports the new DHCID RR (resource record) in DNS. DHCID RR is described by the Internet Engineering Task Force (IETF) in RFCs <a href="https://tools.ietf.org/html/rfc4701" target="_blank" rel="noopener">4701</a> and <a href="https://tools.ietf.org/html/rfc4703" target="_blank" rel="noopener">4703</a>.</p>
<p>DHCID is a resource record (RR) stored in DNS that maps names to prevent duplicate registration. DHCP uses this RR to store an identifier for a computer and other information for the name, such as the computer&#8217;s A/AAAA records. The unique position of DHCP in the name registration process allows it to request this match and then refuse the registration of a computer with a different address attempting to register a name with an existing DHCID record.</p>
<p>DHCID prevents the following name squatting situations:</p>
<ul>
<li>Server name squatting by a client</li>
<li>Server name squatting by another server</li>
<li>Client name squatting by another client</li>
<li>Client name squatting by a server</li>
</ul>
<p>Using Name Protection requires the following:</p>
<ul>
<li>Use DNS Secure Dynamic Updates</li>
<li>Secure the DnsUpdateProxy security group</li>
<li>Add the DHCP server to the DnsUpdateProxy security group</li>
</ul>
<p><strong>Note:</strong> Creating the forest and domain created the forward lookup zone named after the domain. No reverse lookup zone exists.</p>
<h2>Configure DNS</h2>
<p>We perform the following steps using PowerShell.</p>
<ol>
<li>Get the IP address for the DC to use as the scavenging server address</li>
<li>Enable aging and scavenging on all zones using the default values</li>
<li>Set the replication scope to all DNS servers in the forest</li>
<li>Set dynamic updates to secure</li>
<li>Set the zone&#8217;s aging to the default values and set the DC as the scavenging server</li>
<li>Configure DNS Forwarders</li>
<li>Create a reverse lookup zone named after the subnet created in AD Sites and Services</li>
<li>Set the replication scope to all DCs in the forest</li>
<li>Set dynamic updates to secure</li>
<li>Verify that all forward and reverse lookup zones that are not system created have the scavenging server and aging intervals set</li>
</ol>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 18.</p>
<p>Remember to set the values you need.</p>
<pre class="brush: powershell; title: ; notranslate">
#configure DNS
$DomainName = &quot;LabADDomain.com&quot;
$ScavengeServer = @(Get-ADDomainController).IPv4Address

Set-DnsServerScavenging `
-ApplyOnAllZones `
-ScavengingState $True `
-ScavengingInterval 7.00:00:00 `
-RefreshInterval 7.00:00:00 `
-NoRefreshInterval 7.00:00:00 

Set-DnsServerPrimaryZone -Name $DomainName -ReplicationScope &quot;Forest&quot;
Set-DnsServerPrimaryZone -Name $DomainName -DynamicUpdate &quot;Secure&quot;
Set-DnsServerZoneAging -Name $DomainName -Aging $True -ScavengeServers $ScavengeServer -RefreshInterval 7.00:00:00 -NoRefreshInterval 7.00:00:00 

Set-DnsServerForwarder -Confirm:$False -IPAddress 1.1.1.1,8.8.8.8,8.8.4.4 -UseRootHint $True

ForEach($Subnet in $Subnets.Keys)
{
    Add-DnsServerPrimaryZone -NetworkID $Subnets&#x5B;$Subnet] -ReplicationScope &quot;Forest&quot; -DynamicUpdate &quot;Secure&quot; 
}

Get-DnsServerZone | Where-Object {$_.IsAutoCreated -eq $False} | Set-DnsServerZoneAging -Aging $True -ScavengeServers $ScavengeServer -RefreshInterval 7.00:00:00 -NoRefreshInterval 7.00:00:00
</pre>
<figure id="attachment_31290" aria-describedby="caption-attachment-31290" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31290 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-12.png" alt="Figure 18" width="859" height="430" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-12.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-12-530x265.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-12-768x384.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-12-600x300.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31290" class="wp-caption-text">Figure 18</figcaption></figure>
<p>Open the DNS console.</p>
<p>Server Manager, Tools, and click on DNS, as shown in Figure 19.</p>
<figure id="attachment_31291" aria-describedby="caption-attachment-31291" style="width: 363px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31291 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-12.png" alt="Figure 19" width="363" height="326" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-12.png 363w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-12-334x300.png 334w" sizes="auto, (max-width: 363px) 100vw, 363px" /></a><figcaption id="caption-attachment-31291" class="wp-caption-text">Figure 19</figcaption></figure>
<p>Expand the server node.</p>
<p>The first thing we need to check is verifying that the Trusts Points node exists, as shown in Figure 20.</p>
<blockquote><p><strong>Side note:</strong></p>
<p>I have seen in my lab and at many customer sites where the Trust Points node did not exist. If the node does not exist, the DC is not seen as a valid DNS server and is not used for name resolution. There is nothing to worry about as the fix is simple.</p>
<p>Run the following commands on the domain controller that holds the PDCe FSMO role from an elevated command prompt.</p>
<pre class="brush: plain; title: ; notranslate">
dnscmd &amp;lt;dcname&amp;gt; /Config /enablednssec 1
net stop dns &amp;amp;&amp;amp; net start dns
</pre>
<p>Refresh the DNS console, and the missing Trust Points node is there.</p></blockquote>
<figure id="attachment_31292" aria-describedby="caption-attachment-31292" style="width: 372px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31292 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-12.png" alt="Figure 20" width="372" height="242" /></a><figcaption id="caption-attachment-31292" class="wp-caption-text">Figure 20</figcaption></figure>
<p>Right-click the server, click <em>Properties</em>, and click the <em>Forwarders</em> tab, as shown in Figure 21.</p>
<p>The three forwarders are there.</p>
<figure id="attachment_31293" aria-describedby="caption-attachment-31293" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-11.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31293 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-11.png" alt="Figure 21" width="400" height="473" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-11.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-11-254x300.png 254w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31293" class="wp-caption-text">Figure 21</figcaption></figure>
<p>Click the <em>Advanced</em> tab, as shown in Figure 22.</p>
<p>See that scavenging is enabled and set to 7 days.</p>
<figure id="attachment_31294" aria-describedby="caption-attachment-31294" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-11.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31294 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-11.png" alt="Figure 22" width="400" height="473" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-11.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-11-254x300.png 254w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31294" class="wp-caption-text">Figure 22</figcaption></figure>
<p>Click <em>Cancel</em>.</p>
<p>Expand the <em>Forward Lookup Zones</em> node.</p>
<p>Right-click the <em>msdcs.domainname.tld</em> node and click <em>Properties</em>, as shown in Figure 23.</p>
<figure id="attachment_31295" aria-describedby="caption-attachment-31295" style="width: 466px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-10.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31295 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-10.png" alt="Figure 23" width="466" height="430" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-10.png 466w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-10-325x300.png 325w" sizes="auto, (max-width: 466px) 100vw, 466px" /></a><figcaption id="caption-attachment-31295" class="wp-caption-text">Figure 23</figcaption></figure>
<p>Click the <em>General</em> tab, as shown in Figure 24.</p>
<p>See that Replication is set to <em>All DNS servers in this forest,</em> and Dynamic updates are set to <em>Secure only</em>.</p>
<p>Click <em>Aging</em>.</p>
<figure id="attachment_31296" aria-describedby="caption-attachment-31296" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-10.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31296 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-10.png" alt="Figure 24" width="400" height="490" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-10.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-10-245x300.png 245w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31296" class="wp-caption-text">Figure 24</figcaption></figure>
<p>As shown in Figure 25, Scavenging is enabled for the zone, and both refresh intervals are set to 7 days.</p>
<figure id="attachment_31297" aria-describedby="caption-attachment-31297" style="width: 380px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31297 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-9.png" alt="Figure 25" width="380" height="406" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-9.png 380w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-9-281x300.png 281w" sizes="auto, (max-width: 380px) 100vw, 380px" /></a><figcaption id="caption-attachment-31297" class="wp-caption-text">Figure 25</figcaption></figure>
<p>Click <em>Cancel</em> twice.</p>
<p>Verify that the same settings exist for the other forward lookup zone.</p>
<p>Expand Reverse Lookup Zones, right-click on the reverse zone, and click <em>Properties</em>, as shown in Figure 26.</p>
<figure id="attachment_31298" aria-describedby="caption-attachment-31298" style="width: 405px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31298 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-8.png" alt="Figure 26" width="405" height="441" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-8.png 405w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-8-276x300.png 276w" sizes="auto, (max-width: 405px) 100vw, 405px" /></a><figcaption id="caption-attachment-31298" class="wp-caption-text">Figure 26</figcaption></figure>
<p>Verify that the same settings exist for this zone, as shown in Figures 27 and 28.</p>
<figure id="attachment_31299" aria-describedby="caption-attachment-31299" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31299 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-8.png" alt="Figure 27" width="400" height="490" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-8.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-8-245x300.png 245w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31299" class="wp-caption-text">Figure 27</figcaption></figure>
<figure id="attachment_31300" aria-describedby="caption-attachment-31300" style="width: 380px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31300 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-7.png" alt="Figure 28" width="380" height="406" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-7.png 380w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-7-281x300.png 281w" sizes="auto, (max-width: 380px) 100vw, 380px" /></a><figcaption id="caption-attachment-31300" class="wp-caption-text">Figure 28</figcaption></figure>
<p>Click <em>Cancel</em> twice and exit the DNS console.</p>
<p>Open a command prompt and run the following command. You may need to expand the window to see all the results.</p>
<p><strong>dnscmd /zoneinfo &lt;dns domain name&gt;</strong></p>
<p>For me, that is <strong>dnscmd /zoneinfo labaddomain.com</strong>, as shown in Figure 29.</p>
<p>There are two things I look for.</p>
<ol>
<li>The words Scavenge Servers</li>
<li>The IP address</li>
</ol>
<p>If those exist and the IP address belongs to the DC that holds the PDCe FSMO role, I know that scavenging is configured correctly.</p>
<figure id="attachment_31301" aria-describedby="caption-attachment-31301" style="width: 979px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31301 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-7.png" alt="Figure 29" width="979" height="714" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-7.png 979w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-7-411x300.png 411w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-7-900x656.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-7-768x560.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-7-600x438.png 600w" sizes="auto, (max-width: 979px) 100vw, 979px" /></a><figcaption id="caption-attachment-31301" class="wp-caption-text">Figure 29</figcaption></figure>
<p>Exit the command prompt.</p>
<p>We need to create the OU structure for the domain to create groups and users, place users into groups, and install and configure DHCP.</p>
<h2>Create the OU Structure</h2>
<p>The OU structure used in my lab is:</p>
<p>Lab</p>
<p style="padding-left: 40px;">Accounts</p>
<p style="padding-left: 80px;">Admin</p>
<p style="padding-left: 80px;">Service</p>
<p style="padding-left: 80px;">Users</p>
<p style="padding-left: 40px;">Citrix</p>
<p style="padding-left: 80px;">CVAD2103</p>
<p style="padding-left: 40px;">Groups</p>
<p style="padding-left: 80px;">Admin</p>
<p style="padding-left: 80px;">Users</p>
<p style="padding-left: 40px;">Horizon</p>
<p style="padding-left: 80px;">PhysicalPC</p>
<p style="padding-left: 80px;">RDS</p>
<p style="padding-left: 80px;">VDI</p>
<p style="padding-left: 40px;">Infrastructure</p>
<p style="padding-left: 80px;">Citrix</p>
<p style="padding-left: 80px;">Microsoft</p>
<p style="padding-left: 80px;">Parallels</p>
<p style="padding-left: 80px;">VMware</p>
<p style="padding-left: 40px;">Parallels</p>
<p style="padding-left: 80px;">RDS</p>
<p style="padding-left: 80px;">VDI</p>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 30. You may want to resize the PowerShell window vertically to see more of the output.</p>
<p>Remember to set the values you need.</p>
<pre class="brush: powershell; title: ; notranslate">
#create the OU structure
$ADDomain = &quot;LabADDomain&quot;
$TLD = &quot;com&quot;
$Protect = $True

#Create OUs
#Top level OU - Lab
New-ADOrganizationalUnit -Name &quot;Lab&quot; `
-Path &quot;dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

#Second level OUs under Lab
New-ADOrganizationalUnit -Name &quot;Accounts&quot; `
-Path &quot;ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

New-ADOrganizationalUnit -Name &quot;Citrix&quot; `
-Path &quot;ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

New-ADOrganizationalUnit -Name &quot;Groups&quot; `
-Path &quot;ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

New-ADOrganizationalUnit -Name &quot;Horizon&quot; `
-Path &quot;ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

New-ADOrganizationalUnit -Name &quot;Infrastructure&quot; `
-Path &quot;ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

New-ADOrganizationalUnit -Name &quot;Parallels&quot; `
-Path &quot;ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

#Third level OUs under Lab/Accounts
New-ADOrganizationalUnit -Name &quot;Admin&quot; `
-Path &quot;ou=Accounts,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

New-ADOrganizationalUnit -Name &quot;Service&quot; `
-Path &quot;ou=Accounts,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

New-ADOrganizationalUnit -Name &quot;Users&quot; `
-Path &quot;ou=Accounts,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

#Third level OUs under Lab/Citrix
New-ADOrganizationalUnit -Name &quot;CVAD2103&quot; `
-Path &quot;ou=Citrix,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

#Third level OUs under Lab/Groups
New-ADOrganizationalUnit -Name &quot;Admin&quot; `
-Path &quot;ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

New-ADOrganizationalUnit -Name &quot;Users&quot; `
-Path &quot;ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

#Third level OUs under Lab/Horizon
New-ADOrganizationalUnit -Name &quot;PhysicalPC&quot; `
-Path &quot;ou=Horizon,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

New-ADOrganizationalUnit -Name &quot;RDS&quot; `
-Path &quot;ou=Horizon,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

New-ADOrganizationalUnit -Name &quot;VDI&quot; `
-Path &quot;ou=Horizon,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

#Third level OUs under Lab/Infrastructure
New-ADOrganizationalUnit -Name &quot;Citrix&quot; `
-Path &quot;ou=Infrastructure,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

New-ADOrganizationalUnit -Name &quot;Microsoft&quot; `
-Path &quot;ou=Infrastructure,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

New-ADOrganizationalUnit -Name &quot;Parallels&quot; `
-Path &quot;ou=Infrastructure,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

New-ADOrganizationalUnit -Name &quot;VMware&quot; `
-Path &quot;ou=Infrastructure,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

#Third level OUs under Lab/Parallels
New-ADOrganizationalUnit -Name &quot;RDS&quot; `
-Path &quot;ou=Parallels,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

New-ADOrganizationalUnit -Name &quot;RemotePC&quot; `
-Path &quot;ou=Parallels,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose

New-ADOrganizationalUnit -Name &quot;VDI&quot; `
-Path &quot;ou=Parallels,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-ProtectedFromAccidentalDeletion $Protect -verbose
</pre>
<figure id="attachment_31302" aria-describedby="caption-attachment-31302" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31302 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-7.png" alt="Figure 30" width="859" height="1241" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-7.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-7-208x300.png 208w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-7-554x800.png 554w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-7-768x1110.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-7-600x867.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31302" class="wp-caption-text">Figure 30</figcaption></figure>
<p>Open the Active Directory Users and Computers console.</p>
<p>Server Manager, Tools, and click on Active Directory Users and Computers (ADUC), as shown in Figure 31.</p>
<figure id="attachment_31303" aria-describedby="caption-attachment-31303" style="width: 364px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31303 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-7.png" alt="Figure 31" width="364" height="198" /></a><figcaption id="caption-attachment-31303" class="wp-caption-text">Figure 31</figcaption></figure>
<p>Expand the domain and expand the <em>Lab</em> node, as shown in Figure 32.</p>
<p>Verify that all the OUs exist.</p>
<figure id="attachment_31304" aria-describedby="caption-attachment-31304" style="width: 276px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31304 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-7.png" alt="Figure 32" width="276" height="580" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-7.png 276w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-7-143x300.png 143w" sizes="auto, (max-width: 276px) 100vw, 276px" /></a><figcaption id="caption-attachment-31304" class="wp-caption-text">Figure 32</figcaption></figure>
<p>Now, on to AD Security Groups.</p>
<h2>Create AD Security Groups</h2>
<p>I place my security groups here in the OU structure.</p>
<p>Lab</p>
<p style="padding-left: 40px;">Groups</p>
<p style="padding-left: 80px;">Admin</p>
<p style="padding-left: 120px;">CtxAdmins</p>
<p style="padding-left: 120px;">CtxHelpdesk</p>
<p style="padding-left: 120px;">DEMAdmins</p>
<p style="padding-left: 120px;">RASAdmins</p>
<p style="padding-left: 120px;">RASHelpdesk</p>
<p style="padding-left: 120px;">VMwAdmins</p>
<p style="padding-left: 120px;">VMwHelpdesk</p>
<p style="padding-left: 80px;">Users</p>
<p style="padding-left: 120px;">DEMUsers</p>
<p style="padding-left: 120px;">H8Users</p>
<p style="padding-left: 120px;">RASUsers</p>
<p style="padding-left: 120px;">XAUsers</p>
<p style="padding-left: 120px;">XDUsers</p>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 33. You may want to resize the PowerShell window vertically to see more of the output.</p>
<p>Remember to set the values you need.</p>
<pre class="brush: powershell; title: ; notranslate">
#admin security groups
$ADDomain = &quot;LabADDomain&quot;
$TLD = &quot;com&quot;
$Protect = $False

New-ADGroup -DisplayName &quot;CtxAdmins&quot; `
-GroupCategory &quot;Security&quot; `
-GroupScope &quot;Global&quot; `
-Name &quot;CtxAdmins&quot; `
-Path &quot;ou=Admin,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-SamAccountName &quot;CtxAdmins$&quot;

New-ADGroup -DisplayName &quot;CtxHelpdesk&quot; `
-GroupCategory &quot;Security&quot; `
-GroupScope &quot;Global&quot; `
-Name &quot;CtxHelpdesk&quot; `
-Path &quot;ou=Admin,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-SamAccountName &quot;CtxHelpdesk$&quot;

New-ADGroup -DisplayName &quot;DEMAdmins&quot; `
-GroupCategory &quot;Security&quot; `
-GroupScope &quot;Global&quot; `
-Name &quot;DEMAdmins&quot; `
-Path &quot;ou=Admin,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-SamAccountName &quot;DEMAdmins$&quot;

New-ADGroup -DisplayName &quot;RASAdmins&quot; `
-GroupCategory &quot;Security&quot; `
-GroupScope &quot;Global&quot; `
-Name &quot;RASAdmins&quot; `
-Path &quot;ou=Admin,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-SamAccountName &quot;RASAdmins$&quot;

New-ADGroup -DisplayName &quot;RASHelpdesk&quot; `
-GroupCategory &quot;Security&quot; `
-GroupScope &quot;Global&quot; `
-Name &quot;RASHelpdesk&quot; `
-Path &quot;ou=Admin,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-SamAccountName &quot;RASHelpdesk$&quot;

New-ADGroup -DisplayName &quot;VMwAdmins&quot; `
-GroupCategory &quot;Security&quot; `
-GroupScope &quot;Global&quot; `
-Name &quot;VMwAdmins&quot; `
-Path &quot;ou=Admin,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-SamAccountName &quot;VMwAdmins$&quot;

New-ADGroup -DisplayName &quot;VMwHelpdesk&quot; `
-GroupCategory &quot;Security&quot; `
-GroupScope &quot;Global&quot; `
-Name &quot;VMwHelpdesk&quot; `
-Path &quot;ou=Admin,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-SamAccountName &quot;VMwHelpdesk$&quot;

#user security groups
New-ADGroup -DisplayName &quot;DEMUsers&quot; `
-GroupCategory &quot;Security&quot; `
-GroupScope &quot;Global&quot; `
-Name &quot;DEMUsers&quot; `
-Path &quot;ou=Users,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-SamAccountName &quot;DEMUsers$&quot;

New-ADGroup -DisplayName &quot;H8Users&quot; `
-GroupCategory &quot;Security&quot; `
-GroupScope &quot;Global&quot; `
-Name &quot;H8Users&quot; `
-Path &quot;ou=Users,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-SamAccountName &quot;H8Users$&quot;

New-ADGroup -DisplayName &quot;RASUsers&quot; `
-GroupCategory &quot;Security&quot; `
-GroupScope &quot;Global&quot; `
-Name &quot;RASUsers&quot; `
-Path &quot;ou=Users,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-SamAccountName &quot;RASUsers$&quot;

New-ADGroup -DisplayName &quot;XAUsers&quot; `
-GroupCategory &quot;Security&quot; `
-GroupScope &quot;Global&quot; `
-Name &quot;XAUsers&quot; `
-Path &quot;ou=Users,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-SamAccountName &quot;XAUsers$&quot;

New-ADGroup -DisplayName &quot;XDUsers&quot; `
-GroupCategory &quot;Security&quot; `
-GroupScope &quot;Global&quot; `
-Name &quot;XDUsers&quot; `
-Path &quot;ou=Users,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-SamAccountName &quot;XDUsers$&quot;
</pre>
<figure id="attachment_31305" aria-describedby="caption-attachment-31305" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31305 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-7.png" alt="Figure 33" width="859" height="1241" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-7.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-7-208x300.png 208w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-7-554x800.png 554w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-7-768x1110.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-7-600x867.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31305" class="wp-caption-text">Figure 33</figcaption></figure>
<p>Refresh the ADUC console.</p>
<p>Click on Lab/Groups/Admin, and in the right pane, verify the admin security groups exist, as shown in Figure 34.</p>
<figure id="attachment_31306" aria-describedby="caption-attachment-31306" style="width: 519px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-6.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31306 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-6.png" alt="Figure 34" width="519" height="235" /></a><figcaption id="caption-attachment-31306" class="wp-caption-text">Figure 34</figcaption></figure>
<p>Click on Lab/Groups/Users, and in the right pane, verify the user security groups exist, as shown in Figure 35.</p>
<figure id="attachment_31307" aria-describedby="caption-attachment-31307" style="width: 518px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-6.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31307 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-6.png" alt="Figure 35" width="518" height="241" /></a><figcaption id="caption-attachment-31307" class="wp-caption-text">Figure 35</figcaption></figure>
<p>Now, on to AD User Accounts.</p>
<h2>Create AD User Accounts</h2>
<p>I place user accounts here in the OU structure.</p>
<p>Lab</p>
<p style="padding-left: 40px;">Accounts</p>
<p style="padding-left: 80px;">Admin</p>
<p style="padding-left: 120px;">CtxAdmin</p>
<p style="padding-left: 120px;">RASAdmin</p>
<p style="padding-left: 120px;">UMSAdmin</p>
<p style="padding-left: 120px;">VMwAdmin</p>
<p style="padding-left: 80px;">Service</p>
<p style="padding-left: 120px;">DNSDynamicUpdate</p>
<p style="padding-left: 80px;">Users</p>
<p style="padding-left: 120px;">CtxUser1</p>
<p style="padding-left: 120px;">CtxUser2</p>
<p style="padding-left: 120px;">CtxUser3</p>
<p style="padding-left: 120px;">RASUser1</p>
<p style="padding-left: 120px;">RASUser2</p>
<p style="padding-left: 120px;">RASUser3</p>
<p style="padding-left: 120px;">VMwUser1</p>
<p style="padding-left: 120px;">VMwUser2</p>
<p style="padding-left: 120px;">VMwUser3</p>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 36. You may want to resize the PowerShell window vertically to see more of the output.</p>
<p>Remember to set the values you need.</p>
<pre class="brush: powershell; title: ; notranslate">
#Create admin user accounts
$UserPwd = Read-Host -AsSecureString -Prompt &quot;Enter password&quot;

New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-DisplayName &quot;CtxAdmin&quot; `
-Enabled $True `
-Name &quot;CtxAdmin&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Admin,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;CtxAdmin&quot; `
-UserPrincipalName &quot;CtxAdmin@LabADDomain.com&quot;
New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-DisplayName &quot;RASAdmin&quot; `
-Enabled $True `
-Name &quot;RASAdmin&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Admin,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;RASAdmin&quot; `
-UserPrincipalName &quot;RASAdmin@LabADDomain.com&quot;

New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-DisplayName &quot;UMSAdmin&quot; `
-Enabled $True `
-Name &quot;UMSAdmin&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Admin,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;UMSAdmin&quot; `
-UserPrincipalName &quot;UMSAdmin@LabADDomain.com&quot;

New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-DisplayName &quot;VMwAdmin&quot; `
-Enabled $True `
-Name &quot;VMwAdmin&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Admin,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;VMwAdmin&quot; `
-UserPrincipalName VMwAdmin@LabADDomain.com
</pre>
<figure id="attachment_31308" aria-describedby="caption-attachment-31308" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31308 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-5.png" alt="Figure 36" width="859" height="771" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-5.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-5-334x300.png 334w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-5-768x689.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-5-600x539.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31308" class="wp-caption-text">Figure 36</figcaption></figure>
<p>Refresh the ADUC console.</p>
<p>Click on Lab/Accounts/Admin, and in the right pane, verify the admin user accounts exist, as shown in Figure 37.</p>
<figure id="attachment_31309" aria-describedby="caption-attachment-31309" style="width: 417px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31309 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-4.png" alt="Figure 37" width="417" height="224" /></a><figcaption id="caption-attachment-31309" class="wp-caption-text">Figure 37</figcaption></figure>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 38.</p>
<p>Remember to set the values you need.</p>
<pre class="brush: powershell; title: ; notranslate">
#create service accounts
#Create the service account DNSDynamicUpdate DNS Dynamic Update Credentials account for DHCP
New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-Description &quot;DO NOT CHANGE THE PASSWORD OR DELETE/DISABLE ACCOUNT&quot; `
-DisplayName &quot;DNSDynamicUpdate&quot; `
-Enabled $True `
-GivenName &quot;DNSDynamicUpdate&quot; `
-Name &quot;DNSDynamicUpdate&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Service,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;DNSDynamicUpdate&quot; `
-UserPrincipalName &quot;DNSDynamicUpdate@LabADDomain.com&quot;

#Create the service account svc_CtxVMware for CVAD hosting connection
New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-Description &quot;DO NOT CHANGE THE PASSWORD OR DELETE/DISABLE ACCOUNT&quot; `
-DisplayName &quot;svc_CtxVMware&quot; `
-Enabled $True `
-GivenName &quot;svc_CtxVMware&quot; `
-Name &quot;svc_CtxVMware&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Service,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;svc_CtxVMware&quot; `
-UserPrincipalName &quot;svc_CtxVMware@LabADDomain.com&quot;

#Create the service account svc_VMwareHorizon for Horizon vCenter permissions
New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-Description &quot;DO NOT CHANGE THE PASSWORD OR DELETE/DISABLE ACCOUNT&quot; `
-DisplayName &quot;svc_VMwareHorizon&quot; `
-Enabled $True `
-GivenName &quot;svc_VMwareHorizon&quot; `
-Name &quot;svc_VMwareHorizon&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Service,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;svc_VMwareHorizon&quot; `
-UserPrincipalName &quot;svc_VMwareHorizon@LabADDomain.com&quot;

#Create a service account ldap_query for LDAP Queries
New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-Description &quot;DO NOT CHANGE THE PASSWORD OR DELETE/DISABLE ACCOUNT&quot; `
-DisplayName &quot;ldap_query&quot; `
-Enabled $True `
-GivenName &quot;ldap_query&quot; `
-Name &quot;ldap_query&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Service,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;ldap_query&quot; `
-UserPrincipalName &quot;ldap_query@LabADDomain.com&quot;
</pre>
<figure id="attachment_31819" aria-describedby="caption-attachment-31819" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31819 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-7.png" alt="Figure 38" width="859" height="915" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-7.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-7-282x300.png 282w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-7-751x800.png 751w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-7-768x818.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-7-600x639.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31819" class="wp-caption-text">Figure 38</figcaption></figure>
<p>Refresh the ADUC console.</p>
<p>Click on Lab/Accounts/Service, and in the right pane, verify the service user account exists, as shown in Figure 39.</p>
<figure id="attachment_31820" aria-describedby="caption-attachment-31820" style="width: 817px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31820 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-7.png" alt="Figure 39" width="817" height="244" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-7.png 817w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-7-530x158.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-7-768x229.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-7-600x179.png 600w" sizes="auto, (max-width: 817px) 100vw, 817px" /></a><figcaption id="caption-attachment-31820" class="wp-caption-text">Figure 39</figcaption></figure>
<p>In the right pane, double-click an account, click on the <em>Account</em> tab, and verify the properties, as shown in Figure 40.</p>
<figure id="attachment_31312" aria-describedby="caption-attachment-31312" style="width: 411px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31312 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-4.png" alt="Figure 40" width="411" height="538" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-4.png 411w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-4-229x300.png 229w" sizes="auto, (max-width: 411px) 100vw, 411px" /></a><figcaption id="caption-attachment-31312" class="wp-caption-text">Figure 40</figcaption></figure>
<p>Click <em>Cancel</em>.</p>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 41. You may want to resize the PowerShell window vertically to see more of the output.</p>
<p>Remember to set the values you need.</p>
<pre class="brush: powershell; title: ; notranslate">
#Create lab user accounts

New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-DisplayName &quot;CtxUser1&quot; `
-Enabled $True `
-Name &quot;CtxUser1&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;CtxUser1&quot; `
-UserPrincipalName &quot;CtxUser1@LabADDomain.com&quot;

New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-DisplayName &quot;CtxUser2&quot; `
-Enabled $True `
-Name &quot;CtxUser2&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;CtxUser2&quot; `
-UserPrincipalName &quot;CtxUser2@LabADDomain.com&quot;

New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-DisplayName &quot;CtxUser3&quot; `
-Enabled $True `
-Name &quot;CtxUser3&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;CtxUser3&quot; `
-UserPrincipalName &quot;CtxUser3@LabADDomain.com&quot;

New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-DisplayName &quot;RASUser1&quot; `
-Enabled $True `
-Name &quot;RASUser1&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;RASUser1&quot; `
-UserPrincipalName &quot;RASUser1@LabADDomain.com&quot;

New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-DisplayName &quot;RASUser2&quot; `
-Enabled $True `
-Name &quot;RASUser2&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;RASUser2&quot; `
-UserPrincipalName &quot;RASUser2@LabADDomain.com&quot;

New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-DisplayName &quot;RASUser3&quot; `
-Enabled $True `
-Name &quot;RASUser3&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;RASUser3&quot; `
-UserPrincipalName &quot;RASUser3@LabADDomain.com&quot;

New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-DisplayName &quot;VMwUser1&quot; `
-Enabled $True `
-Name &quot;VMwUser1&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;VMwUser1&quot; `
-UserPrincipalName &quot;VMwUser1@LabADDomain.com&quot;

New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-DisplayName &quot;VMwUser2&quot; `
-Enabled $True `
-Name &quot;VMwUser2&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;VMwUser2&quot; `
-UserPrincipalName &quot;VMwUser2@LabADDomain.com&quot;

New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-DisplayName &quot;VMwUser3&quot; `
-Enabled $True `
-Name &quot;VMwUser3&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;VMwUser3&quot; `
-UserPrincipalName &quot;VMwUser@LabADDomain.com&quot;
</pre>
<figure id="attachment_31313" aria-describedby="caption-attachment-31313" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31313 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-4.png" alt="Figure 41" width="859" height="1247" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-4.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-4-207x300.png 207w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-4-551x800.png 551w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-4-768x1115.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-4-600x871.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31313" class="wp-caption-text">Figure 41</figcaption></figure>
<p>Refresh the ADUC console.</p>
<p>Click on Lab/Accounts/Users, and in the right pane, verify the user accounts exist, as shown in Figure 42.</p>
<figure id="attachment_31314" aria-describedby="caption-attachment-31314" style="width: 447px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure042-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31314 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure042-4.png" alt="Figure 42" width="447" height="222" /></a><figcaption id="caption-attachment-31314" class="wp-caption-text">Figure 42</figcaption></figure>
<p>Now on to adding admin users to admin security groups.</p>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 43. You may want to resize the PowerShell window vertically to see more of the output.</p>
<p>Remember to set the values you need.</p>
<pre class="brush: powershell; title: ; notranslate">
#add admin users to admin groups

Add-ADGroupMember -Identity &quot;CN=CtxAdmins,ou=Admin,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-Members &quot;CN=CtxAdmin,OU=Admin,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;

Add-ADGroupMember -Identity &quot;CN=CtxHelpdesk,ou=Admin,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-Members &quot;CN=CtxUser1,OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;

Add-ADGroupMember -Identity &quot;CN=DEMAdmins,ou=Admin,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-Members &quot;CN=VMwUser1,OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;

Add-ADGroupMember -Identity &quot;CN=RASAdmins,ou=Admin,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-Members &quot;CN=RASAdmin,OU=Admin,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;

Add-ADGroupMember -Identity &quot;CN=RASHelpdesk,ou=Admin,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-Members &quot;CN=RASUser1,OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;

Add-ADGroupMember -Identity &quot;CN=VMwAdmins,ou=Admin,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-Members &quot;CN=VMwAdmin,OU=Admin,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;

Add-ADGroupMember -Identity &quot;CN=VMwHelpdesk,ou=Admin,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-Members &quot;CN=VMwUser1,OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;
</pre>
<figure id="attachment_31315" aria-describedby="caption-attachment-31315" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31315 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-4.png" alt="Figure 43" width="859" height="360" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-4.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-4-530x222.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-4-768x322.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-4-600x251.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31315" class="wp-caption-text">Figure 43</figcaption></figure>
<p>Refresh the ADUC console.</p>
<p>Click on Lab/Groups/Admins, and in the right pane, double-click one of the admin security groups and click on the <em>Members</em> tab, as shown in Figures 44 and 45.</p>
<p>Verify that the appropriate admin account exists as a member of the admin security group.</p>
<figure id="attachment_31316" aria-describedby="caption-attachment-31316" style="width: 547px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31316 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-4.png" alt="Figure 44" width="547" height="238" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-4.png 547w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-4-530x231.png 530w" sizes="auto, (max-width: 547px) 100vw, 547px" /></a><figcaption id="caption-attachment-31316" class="wp-caption-text">Figure 44</figcaption></figure>
<figure id="attachment_31317" aria-describedby="caption-attachment-31317" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31317 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-4.png" alt="Figure 45" width="400" height="455" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-4.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-4-264x300.png 264w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31317" class="wp-caption-text">Figure 45</figcaption></figure>
<p>Now on to adding users to user security groups.</p>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 46. You may want to resize the PowerShell window vertically to see more of the output.</p>
<p>Remember to set the values you need.</p>
<pre class="brush: powershell; title: ; notranslate">
#add lab users to lab user groups

Add-ADGroupMember -Identity &quot;CN=DEMUsers,ou=Users,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-Members &quot;CN=VMwUser1,OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;,&quot;CN=VMwUser2,OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;,&quot;CN=VMwUser3,OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;

Add-ADGroupMember -Identity &quot;CN=H8Users,ou=Users,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-Members &quot;CN=VMwUser1,OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;,&quot;CN=VMwUser2,OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;,&quot;CN=VMwUser3,OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;

Add-ADGroupMember -Identity &quot;CN=RASUsers,ou=Users,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-Members &quot;CN=RASUser1,OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;,&quot;CN=RASUser2,OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;,&quot;CN=RASUser3,OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;

Add-ADGroupMember -Identity &quot;CN=XAUsers,ou=Users,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-Members &quot;CN=CtxUser1,OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;

Add-ADGroupMember -Identity &quot;CN=XDUsers,ou=Users,ou=Groups,ou=Lab,dc=$ADDomain,dc=$TLD&quot; `
-Members &quot;CN=CtxUser1,OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;,&quot;CN=CtxUser2,OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;,&quot;CN=CtxUser3,OU=Users,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot;
</pre>
<figure id="attachment_31318" aria-describedby="caption-attachment-31318" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31318 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-4.png" alt="Figure 46" width="859" height="347" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-4.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-4-530x214.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-4-768x310.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-4-600x242.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31318" class="wp-caption-text">Figure 46</figcaption></figure>
<p>Refresh the ADUC console.</p>
<p>Click on Lab/Groups/Users, and in the right pane, double-click one of the user security groups and click on the <em>Members</em> tab, as shown in Figures 47 and 48.</p>
<p>Verify that the appropriate user account exists as a member of the user security group.</p>
<figure id="attachment_31319" aria-describedby="caption-attachment-31319" style="width: 545px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31319 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-4.png" alt="Figure 47" width="545" height="245" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-4.png 545w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-4-530x238.png 530w" sizes="auto, (max-width: 545px) 100vw, 545px" /></a><figcaption id="caption-attachment-31319" class="wp-caption-text">Figure 47</figcaption></figure>
<figure id="attachment_31320" aria-describedby="caption-attachment-31320" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31320 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-4.png" alt="Figure 48" width="400" height="455" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-4.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-4-264x300.png 264w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31320" class="wp-caption-text">Figure 48</figcaption></figure>
<p>Exit the ADUC console.</p>
<p>Now on to installing and configuring DHCP.</p>
<h2>Installing and Configuring DHCP</h2>
<p>We perform the following steps using PowerShell.</p>
<ol>
<li>Install the DHCP Server role and the DHCP Server Tools</li>
<li>Authorize the new DHCP server in AD</li>
<li>Add the new DHCP server to the DnsUpdateProxy security group</li>
<li>Add DHCP security groups</li>
<li>Set DHCP server DNS settings</li>
<li>Set DHCP Server Network Access Protection policy settings</li>
<li>Set the DNS Dynamic Update Credentials</li>
<li>Set Filters</li>
<li>Set DHCP server options</li>
<li>Set DHCP scope</li>
<li>Set scope options</li>
<li>Set scope DNS settings</li>
<li>Set scope reservations</li>
<li>Set reservation DNS settings</li>
</ol>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 49. You may want to resize the PowerShell window vertically to see more of the output.</p>
<p>Remember to set the values you need.</p>
<pre class="brush: powershell; title: ; notranslate">
#install DHCP
Install-WindowsFeature DHCP, RSAT-DHCP

#authorize the new DHCP server in AD
$DHCPServer = &quot;$($env:ComputerName).$($env:USERDNSDOMAIN)&quot;
Add-DhcpServerInDC -DnsName $DHCPServer

#add new DHCP server to the DnsUpdateProxy security group
$computer = &quot;$($env:ComputerName)$&quot;
Add-ADGroupMember &quot;DnsUpdateProxy&quot; -members $computer

#add DHCP security groups
#This command adds the security groups DHCP Users and DHCP Administrators to the DHCP server
Add-DhcpServerSecurityGroup -ComputerName $DHCPServer

#Set DHCP server DNS settings
Set-DhcpServerv4DnsSetting -ComputerName $DHCPServer `
-DynamicUpdates Always `
-NameProtection $True

#Set DHCP Server Network Access Protection policy settings
Set-DhcpServerSetting -ComputerName $DHCPServer `
-NapEnabled $False `
-ConflictDetectionAttempts 0 `
-ActivatePolicies $False `
-NpsUnreachableAction Full

#set the DNS Dynamic Update Credentials
$DHCPCredentials = Get-Credential -UserName &quot;DNSDynamicUpdate&quot; -Message &quot;Enter password for DNSDynamicUpdate&quot;
Set-DhcpServerDnsCredential -Credential $DHCPCredentials -ComputerName $DHCPServer

#set Filters
Set-DhcpServerv4FilterList -ComputerName $DHCPServer -Allow $False -Deny $False

#set DHCP server options
Set-DhcpServerv4OptionValue -ComputerName $DHCPServer `
-DnsServer 192.168.1.201,192.168.1.202 `
-Router 192.168.1.1 `
-Force `
-DnsDomain &quot;LabADDomain.com&quot;

#set DHCP scope
Add-DhcpServerv4Scope -Name &quot;Webster's Lab&quot; `
-StartRange 192.168.1.100 `
-EndRange 192.168.1.199 `
-SubnetMask 255.255.255.0 `
-ComputerName $DHCPServer `
-LeaseDuration 8.00:00:00 `
-State Active `
-Type DHCP `
-Description &quot;&quot;

#set scope options
Set-DhcpServerv4OptionValue -ComputerName $DHCPServer `
-ScopeId 192.168.1.0 `
-DnsServer 192.168.1.201,192.168.1.202 `
-Force `
-DnsDomain &quot;LabADDomain.com&quot; `
-Router 192.168.1.1

#Set scope DNS settings
Set-DhcpServerv4DnsSetting -ComputerName $DHCPServer `
-ScopeId 192.168.1.0 `
-DynamicUpdates Always `
-NameProtection $True

#set scope reservations
Add-DhcpServerv4Reservation -Name &quot;APC SmartUPS 2200&quot; `
-ScopeId 192.168.1.0 `
-IPAddress 192.168.1.249 `
-ClientId &quot;28-29-86-1b-f9-b1&quot; `
-Type Both `
-Description &quot;APC SmartUPS 2200&quot;

#Set reservation DNS settings
Set-DhcpServerv4DnsSetting -ComputerName $DHCPServer `
-IPAddress 192.168.1.249 `
-DynamicUpdates Always 

Add-DhcpServerv4Reservation -Name &quot;Netgear 1G Switch&quot; `
-ScopeId 192.168.1.0 `
-IPAddress 192.168.1.250 `
-ClientId &quot;28-80-88-6d-51-60&quot; `
-Type Both `
-Description &quot;Netgear 1G Switch&quot;

#Set reservation DNS settings
Set-DhcpServerv4DnsSetting -ComputerName $DHCPServer `
-IPAddress 192.168.1.250 `
-DynamicUpdates Always 

Add-DhcpServerv4Reservation -Name &quot;Netgear 10G Switch&quot; `
-ScopeId 192.168.1.0 `
-IPAddress 192.168.1.251 `
-ClientId &quot;3c-37-86-2a-0e-0c&quot; `
-Type Both `
-Description &quot;Netgear 10G Switch&quot;

#Set reservation DNS settings
Set-DhcpServerv4DnsSetting -ComputerName $DHCPServer `
-IPAddress 192.168.1.251 `
-DynamicUpdates Always

#Added 22-Sep-2021 at the request of Jurjen van Leeuwen @Leodesk_IT on Twitter
#https://docs.microsoft.com/en-us/windows-server/networking/technologies/dhcp/dhcp-deploy-wps#notify-server-manager-that-post-install-dhcp-configuration-is-complete-optional
Set-ItemProperty –Path registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ServerManager\Roles\12 –Name ConfigurationState –Value 2
</pre>
<figure id="attachment_31323" aria-describedby="caption-attachment-31323" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31323 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-4.png" alt="Figure 49" width="859" height="1247" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-4.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-4-207x300.png 207w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-4-551x800.png 551w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-4-768x1115.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-4-600x871.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31323" class="wp-caption-text">Figure 49</figcaption></figure>
<p>Open the DHCP console.</p>
<p>Server Manager, Tools, and click on DHCP, as shown in Figure 50.</p>
<figure id="attachment_31324" aria-describedby="caption-attachment-31324" style="width: 363px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure050-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31324 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure050-4.png" alt="Figure 50" width="363" height="282" /></a><figcaption id="caption-attachment-31324" class="wp-caption-text">Figure 50</figcaption></figure>
<p>Expand the width of the console and the left and middle panes.</p>
<p>Expand the DHCP server.</p>
<p>Expand IPv4.</p>
<p>Right-click <em>IPv4</em> and click <em>Properties</em>, as shown in Figure 51.</p>
<figure id="attachment_31325" aria-describedby="caption-attachment-31325" style="width: 319px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31325 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-3.png" alt="Figure 51" width="319" height="502" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-3.png 319w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-3-191x300.png 191w" sizes="auto, (max-width: 319px) 100vw, 319px" /></a><figcaption id="caption-attachment-31325" class="wp-caption-text">Figure 51</figcaption></figure>
<p>Click the <em>DNS</em> tab and verify that Name Protection is enabled, as shown in Figure 52.</p>
<figure id="attachment_31326" aria-describedby="caption-attachment-31326" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure052-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31326 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure052-3.png" alt="Figure 52" width="400" height="455" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure052-3.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure052-3-264x300.png 264w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31326" class="wp-caption-text">Figure 52</figcaption></figure>
<p>Click the <em>Filters</em> tab and verify the both MAC Filters options are not selected, as shown in Figure 53.</p>
<figure id="attachment_31327" aria-describedby="caption-attachment-31327" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31327 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-3.png" alt="Figure 53" width="400" height="455" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-3.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-3-264x300.png 264w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31327" class="wp-caption-text">Figure 53</figcaption></figure>
<p>Click the <em>Advanced</em> tab and <em>Credentials</em>, as shown in Figure 54.</p>
<figure id="attachment_31328" aria-describedby="caption-attachment-31328" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31328 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-3.png" alt="Figure 54" width="400" height="455" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-3.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-3-264x300.png 264w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31328" class="wp-caption-text">Figure 54</figcaption></figure>
<p>Verify that the DNS dynamic update credentials are configured, as shown in Figure 55.</p>
<figure id="attachment_31329" aria-describedby="caption-attachment-31329" style="width: 380px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure055-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31329 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure055-3.png" alt="Figure 55" width="380" height="269" /></a><figcaption id="caption-attachment-31329" class="wp-caption-text">Figure 55</figcaption></figure>
<p>Exit the IPv4 Properties.</p>
<p>Right-click on the scope and click <em>Properties</em>, as shown in Figure 56.</p>
<figure id="attachment_31330" aria-describedby="caption-attachment-31330" style="width: 455px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31330 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-3.png" alt="Figure 56" width="455" height="347" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-3.png 455w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-3-393x300.png 393w" sizes="auto, (max-width: 455px) 100vw, 455px" /></a><figcaption id="caption-attachment-31330" class="wp-caption-text">Figure 56</figcaption></figure>
<p>Click the <em>General</em> tab and verify that the Scope configuration is correct, as shown in Figure 57.</p>
<figure id="attachment_31331" aria-describedby="caption-attachment-31331" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure057-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31331 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure057-2.png" alt="Figure 57" width="400" height="455" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure057-2.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure057-2-264x300.png 264w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31331" class="wp-caption-text">Figure 57</figcaption></figure>
<p>Click the <em>DNS</em> tab and verify that Name Protection is enabled, as shown in Figure 58.</p>
<figure id="attachment_31332" aria-describedby="caption-attachment-31332" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure058-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31332 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure058-2.png" alt="Figure 58" width="400" height="455" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure058-2.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure058-2-264x300.png 264w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31332" class="wp-caption-text">Figure 58</figcaption></figure>
<p>Exit the Scope Properties.</p>
<p>Click the <em>Reservations</em> node to verify the creation of the reservations, as shown in Figure 59.</p>
<figure id="attachment_31333" aria-describedby="caption-attachment-31333" style="width: 386px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure059-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31333 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure059-2.png" alt="Figure 59" width="386" height="185" /></a><figcaption id="caption-attachment-31333" class="wp-caption-text">Figure 59</figcaption></figure>
<p>Click the <em>Address Leases</em> node and look in the middle pane to see if the DHCP server is handing out DHCP leases, as shown in Figure 60.</p>
<figure id="attachment_31334" aria-describedby="caption-attachment-31334" style="width: 600px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure060-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31334 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure060-2.png" alt="Figure 60" width="600" height="244" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure060-2.png 600w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure060-2-530x216.png 530w" sizes="auto, (max-width: 600px) 100vw, 600px" /></a><figcaption id="caption-attachment-31334" class="wp-caption-text">Figure 60</figcaption></figure>
<p>Click the <em>Scope Options</em> node and verify that the scope options are correct, as shown in Figure 61.</p>
<figure id="attachment_31335" aria-describedby="caption-attachment-31335" style="width: 575px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure061-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31335 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure061-2.png" alt="Figure 61" width="575" height="161" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure061-2.png 575w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure061-2-530x148.png 530w" sizes="auto, (max-width: 575px) 100vw, 575px" /></a><figcaption id="caption-attachment-31335" class="wp-caption-text">Figure 61</figcaption></figure>
<p>Click the <em>Server Options</em> node and verify that the server options are correct, as shown in Figure 62.</p>
<figure id="attachment_31336" aria-describedby="caption-attachment-31336" style="width: 573px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31336 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-2.png" alt="Figure 62" width="573" height="200" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-2.png 573w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-2-530x185.png 530w" sizes="auto, (max-width: 573px) 100vw, 573px" /></a><figcaption id="caption-attachment-31336" class="wp-caption-text">Figure 62</figcaption></figure>
<p>Exit the DHCP console.</p>
<p>Even in a lab setup, having only one DC is a recipe for disaster. You should always have at least two DCs.</p>
<h2>Create Second DC</h2>
<p>Go to the second VM built to use as the second DC.</p>
<p>In Server Manager, click on Local Server.</p>
<p>Click on the IP Address link, as shown in Figure 63.</p>
<figure id="attachment_31337" aria-describedby="caption-attachment-31337" style="width: 347px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure063-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31337 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure063-2.png" alt="Figure 63" width="347" height="221" /></a><figcaption id="caption-attachment-31337" class="wp-caption-text">Figure 63</figcaption></figure>
<p>Right-click the network adapter and click <em>Properties</em>.</p>
<p>Click <em>Internet Protocol Version 4 (TCP/IPv4)</em> and click <em>Properties</em>, as shown in Figure 64.</p>
<figure id="attachment_31338" aria-describedby="caption-attachment-31338" style="width: 363px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure064-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31338 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure064-2.png" alt="Figure 64" width="363" height="468" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure064-2.png 363w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure064-2-233x300.png 233w" sizes="auto, (max-width: 363px) 100vw, 363px" /></a><figcaption id="caption-attachment-31338" class="wp-caption-text">Figure 64</figcaption></figure>
<p>Change the <em>Preferred DNS server</em> to the IP address of the first DC, the <em>Alternate DNS server</em> to the IP address of this server, and click <em>Advanced…</em>, as shown in Figure 65.</p>
<figure id="attachment_31339" aria-describedby="caption-attachment-31339" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure065-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31339 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure065-2.png" alt="Figure 65" width="400" height="455" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure065-2.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure065-2-264x300.png 264w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31339" class="wp-caption-text">Figure 65</figcaption></figure>
<p>Click the <em>DNS</em> tab and click <em>Add…</em>, as shown in Figure 66.</p>
<figure id="attachment_31340" aria-describedby="caption-attachment-31340" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure066-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31340 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure066-2.png" alt="Figure 66" width="400" height="488" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure066-2.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure066-2-246x300.png 246w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31340" class="wp-caption-text">Figure 66</figcaption></figure>
<p>Enter <strong>127.0.0.1</strong> and click <em>Add</em>, as shown in Figure 67.</p>
<figure id="attachment_31341" aria-describedby="caption-attachment-31341" style="width: 320px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure067-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31341 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure067-2.png" alt="Figure 67" width="320" height="134" /></a><figcaption id="caption-attachment-31341" class="wp-caption-text">Figure 67</figcaption></figure>
<p>Verify that the IP addresses listed are in the order of the first DC, this server, and 127.0.0.1, and click <em>OK</em>, as shown in Figure 68. If they are not in the correct order, use the Up and Down arrows to reorder the list.</p>
<figure id="attachment_31342" aria-describedby="caption-attachment-31342" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure068-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31342 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure068-1.png" alt="Figure 68" width="400" height="488" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure068-1.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure068-1-246x300.png 246w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31342" class="wp-caption-text">Figure 68</figcaption></figure>
<p>Click <em>OK</em>.</p>
<p>Click <em>Close</em>.</p>
<p>We are ready to add a DC to the existing forest/domain. We start by installing the necessary Roles and Features.</p>
<ul>
<li>Active Directory Administrative Center</li>
<li>Active Directory Domain Services</li>
<li>Active Directory module for Windows PowerShell</li>
<li>Active Directory Snap-Ins and Command-Line Tools</li>
<li>Active Directory Tools</li>
<li>Remote Server Administration Tools</li>
<li>Role Administration Tools</li>
<li>Telnet Client</li>
</ul>
<p>Start an elevated PowerShell session. Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 69.</p>
<pre class="brush: powershell; title: ; notranslate">
#add a domain controller
Install-WindowsFeature AD-Domain-Services, RSAT-AD-PowerShell, RSAT-ADDS, RSAT-AD-AdminCenter, RSAT-ADDS-Tools, Telnet-Client
</pre>
<figure id="attachment_31343" aria-describedby="caption-attachment-31343" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure069-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31343 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure069-1.png" alt="Figure 69" width="859" height="242" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure069-1.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure069-1-530x149.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure069-1-768x216.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure069-1-600x169.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31343" class="wp-caption-text">Figure 69</figcaption></figure>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 70.</p>
<pre class="brush: powershell; title: ; notranslate">
$DomainName = &quot;LabADDomain&quot;
$SafeModePwd = Read-Host -AsSecureString -Prompt &quot;Enter DSRM password&quot;

Install-ADDSDomainController `
-Confirm:$False `
-Credential (Get-Credential &quot;$DomainName\Administrator&quot;) `
-DomainName $DomainName `
-InstallDns `
-SafeModeAdministratorPassword $SafeModePwd

#new dc reboots
</pre>
<figure id="attachment_31344" aria-describedby="caption-attachment-31344" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure070-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31344 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure070-1.png" alt="Figure 70" width="859" height="732" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure070-1.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure070-1-352x300.png 352w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure070-1-768x654.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure070-1-600x511.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31344" class="wp-caption-text">Figure 70</figcaption></figure>
<p>After the VM restarts, log in using the domain&#8217;s Administrator account and password.</p>
<p>We are now configuring this DC&#8217;s DNS server properties. We configured the zones and zone properties earlier, and this new DC picks up all the configured AD and DNS configurations via AD replication.</p>
<p>Start an elevated PowerShell session. Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 71.</p>
<pre class="brush: powershell; title: ; notranslate">
#configure DNS
$computer = &quot;$($env:ComputerName)&quot;

Set-DnsServerScavenging `
-ComputerName $computer `
-ApplyOnAllZones `
-ScavengingState $True `
-ScavengingInterval 7.00:00:00 `
-RefreshInterval 7.00:00:00 `
-NoRefreshInterval 7.00:00:00 

Set-DnsServerForwarder -ComputerName $computer -Confirm:$False -IPAddress 1.1.1.1,8.8.8.8,8.8.4.4 -UseRootHint $True
</pre>
<figure id="attachment_31345" aria-describedby="caption-attachment-31345" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure071-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31345 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure071-1.png" alt="Figure 71" width="859" height="290" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure071-1.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure071-1-530x179.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure071-1-768x259.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure071-1-600x203.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31345" class="wp-caption-text">Figure 71</figcaption></figure>
<p>Open the ADUC console, expand the domain and click on the <em>Domain Controllers</em> OU, as shown in Figure 72. Verify that both DCs exist in the OU.</p>
<figure id="attachment_31346" aria-describedby="caption-attachment-31346" style="width: 651px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure072-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31346 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure072-1.png" alt="Figure 72" width="651" height="186" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure072-1.png 651w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure072-1-530x151.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure072-1-600x171.png 600w" sizes="auto, (max-width: 651px) 100vw, 651px" /></a><figcaption id="caption-attachment-31346" class="wp-caption-text">Figure 72</figcaption></figure>
<p>Close the ADUC console.</p>
<p>Open the Active Directory Sites and Services console, expand <em>Sites</em>, expand the site created earlier, and click on the site, as shown in Figure 73. Verify that the new DC exists in the site.</p>
<figure id="attachment_31347" aria-describedby="caption-attachment-31347" style="width: 474px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure073-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31347 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure073-1.png" alt="Figure 73" width="474" height="240" /></a><figcaption id="caption-attachment-31347" class="wp-caption-text">Figure 73</figcaption></figure>
<p>Close the Active Directory Sites and Services console.</p>
<p>Despite what we might think, the new server is not technically a DC until the NETLOGON and SYSVOL shares are created, populated, and shared.</p>
<p>Open a command prompt on the new DC, type in <strong>net share,</strong> and press <em>Enter</em>, as shown in Figure 74.</p>
<p>If BOTH the NETLOGON and SYSVOL shares show in the list, the new server is officially a DC. In a large environment, especially if hundreds or thousands of Group Policies exist, it can take hours before SYSVOL appears in the share list.</p>
<figure id="attachment_31348" aria-describedby="caption-attachment-31348" style="width: 700px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure074-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31348 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure074-1.png" alt="Figure 74" width="700" height="343" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure074-1.png 700w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure074-1-530x260.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure074-1-600x294.png 600w" sizes="auto, (max-width: 700px) 100vw, 700px" /></a><figcaption id="caption-attachment-31348" class="wp-caption-text">Figure 74</figcaption></figure>
<p>Now that the second DC is officially a DC, we need to add its IP address to the DNS configuration on the first DC.</p>
<p>Go to the first DC.</p>
<p>In Server Manager, click Local Server, and click the IP Address link for the Etherther interface, as shown in Figure 75.</p>
<figure id="attachment_31349" aria-describedby="caption-attachment-31349" style="width: 605px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure075-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31349 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure075-1.png" alt="Figure 75" width="605" height="358" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure075-1.png 605w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure075-1-507x300.png 507w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure075-1-600x355.png 600w" sizes="auto, (max-width: 605px) 100vw, 605px" /></a><figcaption id="caption-attachment-31349" class="wp-caption-text">Figure 75</figcaption></figure>
<p>Right-click the network adapter and click <em>Properties</em>, as shown in Figure 76.</p>
<figure id="attachment_31350" aria-describedby="caption-attachment-31350" style="width: 415px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure076-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31350 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure076-1.png" alt="Figure 76" width="415" height="343" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure076-1.png 415w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure076-1-363x300.png 363w" sizes="auto, (max-width: 415px) 100vw, 415px" /></a><figcaption id="caption-attachment-31350" class="wp-caption-text">Figure 76</figcaption></figure>
<p>Click <em>Internet Protocol Version 4 (TCP/IPv4)</em> and click <em>Properties</em>, as shown in Figure 77.</p>
<figure id="attachment_31351" aria-describedby="caption-attachment-31351" style="width: 363px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure077-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31351 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure077-1.png" alt="Figure 77" width="363" height="468" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure077-1.png 363w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure077-1-233x300.png 233w" sizes="auto, (max-width: 363px) 100vw, 363px" /></a><figcaption id="caption-attachment-31351" class="wp-caption-text">Figure 77</figcaption></figure>
<p>Click <em>Advanced…</em>, as shown in Figure 78.</p>
<figure id="attachment_31352" aria-describedby="caption-attachment-31352" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure078-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31352 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure078-1.png" alt="Figure 78" width="400" height="455" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure078-1.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure078-1-264x300.png 264w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31352" class="wp-caption-text">Figure 78</figcaption></figure>
<p>Click the <em>DNS</em> tab and click <em>Add…</em>, as shown in Figure 79.</p>
<figure id="attachment_31353" aria-describedby="caption-attachment-31353" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure079-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31353 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure079-1.png" alt="Figure 79" width="400" height="488" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure079-1.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure079-1-246x300.png 246w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31353" class="wp-caption-text">Figure 79</figcaption></figure>
<p>Enter the IP address of the second DC and click <em>Add</em>, as shown in Figure 80.</p>
<figure id="attachment_31354" aria-describedby="caption-attachment-31354" style="width: 320px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure080-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31354 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure080-1.png" alt="Figure 80" width="320" height="134" /></a><figcaption id="caption-attachment-31354" class="wp-caption-text">Figure 80</figcaption></figure>
<p>Use the arrow buttons to arrange the DNS servers, so the top is the first DC, the middle is the second DC, and the third is the local loopback address, as shown in Figures 81 and 82.</p>
<figure id="attachment_31355" aria-describedby="caption-attachment-31355" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure081-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31355 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure081-1.png" alt="Figure 81" width="400" height="488" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure081-1.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure081-1-246x300.png 246w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31355" class="wp-caption-text">Figure 81</figcaption></figure>
<figure id="attachment_31356" aria-describedby="caption-attachment-31356" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure082-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31356 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure082-1.png" alt="Figure 82" width="400" height="488" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure082-1.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure082-1-246x300.png 246w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31356" class="wp-caption-text">Figure 82</figcaption></figure>
<p>Click <em>OK</em>, <em>OK</em>, and <em>Close</em> to exit the network adapters properties.</p>
<h2>DC NIC Adapter DNS Settings</h2>
<p>Why do I care so much about the adapter&#8217;s DNS configuration on DCs? Because I rarely see any consistency in the configuration. In most places I go, it looks like every admin built and configured each DC with their own opinion on the configuration. If there are 12 DCs, there are 12 different configurations. There is no one way to set the DNS configuration on DCs. The goal is to set a standard and use it.</p>
<p>As mentioned earlier, DNS is critical to a properly functioning AD. To ensure that DNS contains the proper resource records and registrations in DNS, every domain controller should have a consistent configuration for its DNS servers. You should only include DNS servers that know how to register, process and handle AD-related resource records in the DNS configuration on DCs. You should never use public DNS servers and DNS servers from Internet Service Providers.</p>
<p>There are different recommendations for the following scenarios:</p>
<ul>
<li>One Domain, one Site</li>
<li>One Domain, multiple Sites, single domain controller per Site</li>
<li>One Domain, multiple Sites, multiple domain controllers per Site</li>
<li>Multiple Domains, one Site</li>
<li>Multiple Domains, multiple Sites, single domain controller per Site</li>
<li>Multiple Domains, multiple Sites, multiple domain controllers per Site</li>
</ul>
<p>The number one recommendation is to be consistent in how domain controllers have their DNS servers configured.</p>
<ol>
<li>The PDCe FSMO Role holder becomes the Primary DNS Server for the domain (PriDNS)</li>
<li>If a remote Site has multiple domain controllers, select a domain controller to be the Primary DNS for the Site (SitePri)</li>
</ol>
<p>Domain DNS Configuration:</p>
<ol>
<li>All domain controllers in the domain&#8217;s main Site point to PriDNS for Primary DNS</li>
<li>The PriDNS server points to Loopback for Secondary DNS</li>
<li>The PriDNS server points to a second DNS server in the domain&#8217;s main Site for tertiary DNS</li>
<li>All other domain controllers in the domain&#8217;s main Site point to themselves for Secondary DNS</li>
<li>All other domain controllers in the domain&#8217;s main Site point to Loopback for Tertiary DNS</li>
</ol>
<p>Remote Site DNS Configuration:</p>
<ol>
<li>SitePri points to PriDNS for Primary DNS</li>
<li>SitePri points to itself for Secondary DNS</li>
<li>SitePri points to Loopback for Tertiary DNS</li>
<li>All other domain controllers in the remote Site point to SitePri for Primary DNS</li>
<li>All other domain controllers in the remote Site point to themselves for Secondary DNS</li>
<li>All other domain controllers in the remote Site point to Loopback for Tertiary DNS</li>
</ol>
<p>Figure 83 shows the recommended configuration for a single domain with a single site (like the lab we are building).</p>
<figure id="attachment_31357" aria-describedby="caption-attachment-31357" style="width: 921px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full wp-image-31357" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure083-1.png" alt="Figure 83" width="921" height="563" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure083-1.png 921w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure083-1-491x300.png 491w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure083-1-900x550.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure083-1-768x469.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure083-1-600x367.png 600w" sizes="auto, (max-width: 921px) 100vw, 921px" /><figcaption id="caption-attachment-31357" class="wp-caption-text">Figure 83</figcaption></figure>
<p>How many DNS servers should you configure on the network adapter? Not as many as you think. I recommend on DCs, a total of three where the third is always 127.0.0.1. For all other computers, also no more than three. I have seen places with 15 DCs, and every computer had all 15 DCs in the list of DNS servers. If you understand Windows <a href="https://docs.microsoft.com/en-US/troubleshoot/windows-server/networking/dns-client-resolution-timeouts" target="_blank" rel="noopener">DNS client resolution timeouts</a>, limit the number of DNS entries.</p>
<h2>Create Additional DNS A Records</h2>
<p>After completing this article and creating the other articles, I realized I completely forgot about all the static DNS A records I mentioned in the <a href="https://www.carlwebster.com/01-building-websters-lab-v2-introduction/" target="_blank" rel="noopener">introduction</a> article. I am too lazy to rewrite this article and redo screenshots, so I am adding this information at the end of this article.</p>
<p>We create static A records with PowerShell, with the options shown when manually creating an A record, as shown in Figure 84.</p>
<figure id="attachment_31358" aria-describedby="caption-attachment-31358" style="width: 343px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure084.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31358 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure084.png" alt="Figure 84" width="343" height="354" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure084.png 343w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure084-291x300.png 291w" sizes="auto, (max-width: 343px) 100vw, 343px" /></a><figcaption id="caption-attachment-31358" class="wp-caption-text">Figure 84</figcaption></figure>
<p>Go back to the first DC we created and open an elevated PowerShell session.</p>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>, as shown in Figure 85. You may want to resize the PowerShell window vertically to see more of the output.</p>
<p>Remember to set the values you need.</p>
<pre class="brush: powershell; title: ; notranslate">
#Do this on the first DC
#add the DNS static records I forgot
$ZoneName = &quot;LabADDomain.com&quot;

Add-DnsServerResourceRecordA -AllowUpdateAny `
-CreatePtr `
-IPv4Address &quot;192.168.1.91&quot; `
-Name &quot;AppLayering&quot; `
-TimeToLive 01:00:00 `
-ZoneName $ZoneName

Add-DnsServerResourceRecordA -AllowUpdateAny `
-CreatePtr `
-IPv4Address &quot;192.168.1.253&quot; `
-Name &quot;DiskStation1&quot; `
-TimeToLive 01:00:00 `
-ZoneName $ZoneName

Add-DnsServerResourceRecordA -AllowUpdateAny `
-CreatePtr `
-IPv4Address &quot;192.168.1.254&quot; `
-Name &quot;DiskStation2&quot; `
-TimeToLive 01:00:00 `
-ZoneName $ZoneName

Add-DnsServerResourceRecordA -AllowUpdateAny `
-CreatePtr `
-IPv4Address &quot;192.168.1.53&quot; `
-Name &quot;ESXiHost1&quot; `
-TimeToLive 01:00:00 `
-ZoneName $ZoneName

Add-DnsServerResourceRecordA -AllowUpdateAny `
-CreatePtr `
-IPv4Address &quot;192.168.1.57&quot; `
-Name &quot;EsxiHost2&quot; `
-TimeToLive 01:00:00 `
-ZoneName $ZoneName

Add-DnsServerResourceRecordA -AllowUpdateAny `
-CreatePtr `
-IPv4Address &quot;192.168.1.61&quot; `
-Name &quot;EsxiHost3&quot; `
-TimeToLive 01:00:00 `
-ZoneName $ZoneName

Add-DnsServerResourceRecordA -AllowUpdateAny `
-CreatePtr `
-IPv4Address &quot;192.168.1.65&quot; `
-Name &quot;EsxiHost4&quot; `
-TimeToLive 01:00:00 `
-ZoneName $ZoneName

Add-DnsServerResourceRecordA -AllowUpdateAny `
-CreatePtr `
-IPv4Address &quot;192.168.1.69&quot; `
-Name &quot;EsxiHost5&quot; `
-TimeToLive 01:00:00 `
-ZoneName $ZoneName

Add-DnsServerResourceRecordA -AllowUpdateAny `
-CreatePtr `
-IPv4Address &quot;192.168.1.73&quot; `
-Name &quot;EsxiHost6&quot; `
-TimeToLive 01:00:00 `
-ZoneName $ZoneName

Add-DnsServerResourceRecordA `
-AllowUpdateAny `
-CreatePtr `
-IPv4Address &quot;192.168.1.90&quot; `
-Name &quot;vCenter&quot; `
-TimeToLive 01:00:00 `
-ZoneName $ZoneName
</pre>
<figure id="attachment_31359" aria-describedby="caption-attachment-31359" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure085.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31359 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure085.png" alt="Figure 85" width="859" height="1135" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure085.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure085-227x300.png 227w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure085-605x800.png 605w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure085-768x1015.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure085-600x793.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31359" class="wp-caption-text">Figure 85</figcaption></figure>
<p>Open the DNS console, expand the domain name&#8217;s Forward Lookup Zone, and verify that the static A records exist, as shown in Figure 86.</p>
<figure id="attachment_31360" aria-describedby="caption-attachment-31360" style="width: 796px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure086.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31360 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure086.png" alt="Figure 86" width="796" height="429" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure086.png 796w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure086-530x286.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure086-768x414.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure086-600x323.png 600w" sizes="auto, (max-width: 796px) 100vw, 796px" /></a><figcaption id="caption-attachment-31360" class="wp-caption-text">Figure 86</figcaption></figure>
<p>Expand Reverse Lookup Zones, click on the reverse zone created earlier, and verify that the static PTR records exist, as shown in Figure 87.</p>
<figure id="attachment_31361" aria-describedby="caption-attachment-31361" style="width: 882px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure087.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31361 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure087.png" alt="Figure 87" width="882" height="275" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure087.png 882w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure087-530x165.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure087-768x239.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure087-600x187.png 600w" sizes="auto, (max-width: 882px) 100vw, 882px" /></a><figcaption id="caption-attachment-31361" class="wp-caption-text">Figure 87</figcaption></figure>
<p>Up next: <a href="https://www.carlwebster.com/15-building-websters-lab-v2-create-a-microsoft-certificate-authority/" target="_blank" rel="noopener">Create a Microsoft Certificate Authority</a></p>
<p><a href="https://www.carlwebster.com/building-websters-lab-v2/" target="_blank" rel="noopener">Landing page for the article series</a></p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">31257</post-id>	</item>
		<item>
		<title>01 Building Webster&#8217;s Lab V2 &#8211; Introduction</title>
		<link>https://www.carlwebster.com/01-building-websters-lab-v2-introduction/</link>
					<comments>https://www.carlwebster.com/01-building-websters-lab-v2-introduction/#comments</comments>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Mon, 24 May 2021 09:17:08 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[XenServer]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=30715</guid>

					<description><![CDATA[[Updated 8-Nov-2021] On September 9, 2019, I published the Building Webster&#8217;s Lab V1 article series that used vSphere/vCenter 6.7 U3 and XenServer 8.0. This is a follow-up series on building&#8230;]]></description>
										<content:encoded><![CDATA[<p>[Updated 8-Nov-2021]</p>
<p>On September 9, 2019, I published the <a title="Building Webster's Lab V1" href="https://www.carlwebster.com/building-websters-lab-v1/" target="_blank" rel="noopener"><em>Building Webster&#8217;s Lab V1</em></a> article series that used vSphere/vCenter 6.7 U3 and XenServer 8.0. This is a follow-up series on building the lab with vSphere/vCenter 7.0 and XenServer 8.2. I want to rebuild the lab as I&#8217;m not too fond of upgrades. Building new allows for learning new stuff and a chance to start clean. There are more details about the lab building process in this series. We cover the hypervisor details and create an Active Directory, a Microsoft Certificate Authority, Group Policies, and some basic server builds. Once I complete the lab build, I start the article series <em>Learning the Basics of VMware Horizon 8 2106</em>.</p>
<p>One of the significant issues I had with the original build process with all versions of vSphere 6.x was that I could not get NFS V4.1 to work between my Synology NAS and vSphere/vCenter 6.x. I tried for months to get it working and threw in the towel. Finally, someone on Twitter recommended using NFS V3, and everything worked. I was hopeful that NFS V4.1 would work between my Synology NAS and vSphere/vCenter 7.x. I let out a big YAHOO when it did work. WHEW!</p>
<p>Synology support told me back in 2019 that they thought the issue was on the VMware side. I was skeptical of their conclusion, but it appears they were correct. Nothing changed on the Synology side. The Synology NFS plug-in for VMware VAAI hadn&#8217;t changed since 25-Jun-2019 when it was updated to support ESXi 6.7. The same plug-in installed in ESXi 7 works with no issues.</p>
<p>VMware has an article to show the differences in the capabilities of NFS 3 and NFS 4.1. Please see <a title="NFS Protocols and ESXi" href="https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.storage.doc/GUID-8A929FE4-1207-4CC5-A086-7016D73C328F.html" target="_blank" rel="noopener"><em>NFS Protocols and ESXi</em></a>.</p>
<p>Before continuing this introduction article, let me explain the products and technology that I list below. Not everyone has years of virtualization experience and virtualization knowledge. I spend many hours answering questions that come to me in emails and answering questions on <a href="https://www.experts-exchange.com/members/CarlWebster.html" target="_blank" rel="noopener">Experts Exchange</a>. Many people are new to the world of Citrix, Microsoft, Parallels, VMware, hypervisors, and application, desktop, and server virtualization.</p>
<p>There are two types of hypervisors: Type 1 and Type 2.</p>
<p>Type 1 hypervisors run directly on or take complete control of the system hardware (bare metal hardware). These include, but are not limited to:</p>
<p style="padding-left: 40px;"><a href="https://www.citrix.com/products/citrix-hypervisor/" target="_blank" rel="noopener">Citrix Hypervisor</a> (Formerly Citrix XenServer, which is the name I still use)</p>
<p style="padding-left: 40px;"><a href="https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/hyper-v-technology-overview" target="_blank" rel="noopener">Microsoft Hyper-V</a></p>
<p style="padding-left: 40px;"><a href="https://www.vmware.com/products/esxi-and-esx.html" target="_blank" rel="noopener">VMware ESXi</a></p>
<p style="padding-left: 40px;"><a href="https://www.vmware.com/products/vsphere.html" target="_blank" rel="noopener">VMware vSphere</a></p>
<p style="padding-left: 40px;"><a href="https://www.xenproject.org/" target="_blank" rel="noopener">Xen Project</a></p>
<p>Type 2 hypervisors run under a host operating system. These include, but are not limited to:</p>
<p style="padding-left: 40px;"><a href="https://www.virtualbox.org/" target="_blank" rel="noopener">Oracle VirtualBox</a></p>
<p style="padding-left: 40px;"><a href="https://www.parallels.com/products/desktop/" target="_blank" rel="noopener">Parallels Desktop for Mac</a></p>
<p style="padding-left: 40px;"><a href="https://www.vmware.com/products/fusion.html" target="_blank" rel="noopener">VMware Fusion for Mac</a></p>
<p style="padding-left: 40px;"><a href="https://www.vmware.com/products/workstation-pro.html" target="_blank" rel="noopener">VMware Workstation for Windows</a></p>
<p>Other terminology and abbreviations:</p>
<p><strong>Virtualization Host:</strong> a physical computer that runs the Type 1 hypervisor.</p>
<p><strong>Virtual Machine (VM)</strong>: an operating system environment composed entirely of software that runs its operating system and applications like a physical computer. A VM behaves like a physical computer and contains its virtual processors (CPU), memory (RAM), hard disk, and networking (NIC).</p>
<p><strong>Cluster</strong> or <strong>Pool:</strong> a single managed entity that binds together multiple physical hosts running the same Type 1 hypervisor and the VMs of those hosts.</p>
<p><strong>Datastore</strong> or <strong>Storage Repository (SR): </strong>a storage container that stores one or more virtual hard disks.</p>
<p><a href="https://www.techopedia.com/definition/26811/virtual-hard-disk-vhd"><strong>Virtual Hard Disk</strong></a><strong>: </strong>A virtual hard disk is a disk drive with similar functionalities as a typical hard drive but is accessed, managed, and installed on a virtual machine infrastructure.</p>
<p><a href="https://searchservervirtualization.techtarget.com/definition/server-virtualization"><strong>Server Virtualization</strong></a><strong>: </strong>Server virtualization is the masking of server resources, including the number and identity of individual physical servers, processors, and operating systems, from server users.</p>
<p><a href="https://searchvirtualdesktop.techtarget.com/definition/app-virtualization"><strong>Application Virtualization</strong></a><strong>:</strong> Application virtualization is the separation of an application from the client computer accessing the application.</p>
<p><a href="https://searchvirtualdesktop.techtarget.com/definition/desktop-virtualization"><strong>Desktop Virtualization</strong></a><strong>:</strong> Desktop virtualization is the concept of isolating a logical operating system (OS) instance from the client used to access it.</p>
<p>There are several products mentioned and used in this article series:</p>
<p style="padding-left: 40px;"><a href="https://www.citrix.com/products/citrix-virtual-apps-and-desktops/" target="_blank" rel="noopener">Citrix Virtual Apps and Desktops</a> (CVAD, formerly XenApp and XenDesktop).</p>
<p style="padding-left: 40px;"><a href="https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/welcome-to-rds" target="_blank" rel="noopener">Microsoft Remote Desktop Services</a> (RDS)</p>
<p style="padding-left: 40px;"><a href="https://www.parallels.com/products/ras/remote-application-server/" target="_blank" rel="noopener">Parallels Remote Application Server</a> (RAS)</p>
<p style="padding-left: 40px;"><a href="https://www.vmware.com/products/horizon.html" target="_blank" rel="noopener">VMware Horizon</a> (Horizon)</p>
<p>Citrix uses <a href="https://www.citrix.com/blogs/2013/03/22/xencenter-plugins-reduce-your-costs-and-create-the-management-console-you-need/" target="_blank" rel="noopener">XenCenter</a> to manage XenServer resources, and VMware uses <a href="https://www.vmware.com/products/vcenter-server.html" target="_blank" rel="noopener">vCenter</a> to manage vSphere resources. Both XenCenter and vCenter are centralized graphical consoles for managing, automating, and delivering virtual infrastructures.</p>
<p>In Webster&#8217;s Lab, I always try to use the latest Citrix XenServer, VMware Workstation, and VMware vSphere. This article series records the adventures of a networking amateur building a vSphere 7.0 cluster from start to finish.</p>
<p>Like most Citrix and Active Directory (AD) consultants, I can work with the various vSphere and vCenter clients. I can work with virtual machines (VMs), snapshots, templates, cloning, and customization templates. Most consultants don&#8217;t regularly install and configure new ESXi hosts, vCenter, networking, and storage, which can be confusing, at least the first few times.</p>
<p>I found much misinformation on the Internet as well as many helpful blogs on this journey. I ran into so much grief along the way that I thought that sharing this learning experience with the community was a good idea.</p>
<p>Have I got this all figured out? I seriously doubt it. Have I built the VMware part of the lab in the best way possible? Again, I doubt it. To figure this out, I experienced trials and errors (mainly errors!) in many scenarios. I found many videos and articles that used a single &#8220;server&#8221; with a single NIC. That meant there was essentially no network configuration to do once the installation of ESXi was complete. Many people used VMware Workstation and nested ESXi VMs. I never saw a video or article where the author used a real server with multiple NICs and configured networking and storage.</p>
<p>If you want to offer advice on my lab build, please email me at <a href="mailto:webster@carlwebster.com" target="_blank" rel="noopener">webster@carlwebster.com</a>.</p>
<p>I watched many videos on this journey — some useless and rife with editing errors, some very useful and highly polished. The three most helpful video series came from Pluralsight. Disclaimer: As a Citrix Technology Professional (CTP), I receive a complimentary subscription to Pluralsight as a CTP Perk.</p>
<p>These are the videos I watched for the <a href="https://www.carlwebster.com/building-websters-lab-v1/" target="_blank" rel="noopener">original article series</a>.</p>
<p style="padding-left: 40px;">VMware vSphere 6 Data Center Virtualization (VCP6-DCV) by Greg Shields</p>
<p style="padding-left: 40px;"><a href="https://www.pluralsight.com/paths/vsphere-6-dcv" target="_blank" rel="noopener">https://www.pluralsight.com/paths/vsphere-6-dcv</a></p>
<p style="padding-left: 40px;">What&#8217;s New in vSphere 6.5 by Josh Coen</p>
<p style="padding-left: 40px;"><a href="https://www.pluralsight.com/courses/whats-new-vsphere-6-5" target="_blank" rel="noopener">https://www.pluralsight.com/courses/whats-new-vsphere-6-5</a></p>
<p style="padding-left: 40px;">VMware vSphere 6.5 Foundations by David Davis</p>
<p style="padding-left: 40px;">
<p>I did not watch any Pluralsight videos on vSphere 7, but David Davis has several new courses in his <a href="https://app.pluralsight.com/paths/skill/implementing-and-managing-vmware-vsphere"><em>Implementing and Managing VMware vSphere</em></a> Learning Path.</p>
<p>The physical servers I use as my VMware and XenServer hosts are from TinkerTry and Wired Zone.</p>
<p style="padding-left: 40px;"><a href="https://tinkertry.com/" target="_blank" rel="noopener">https://tinkertry.com/</a></p>
<p style="padding-left: 40px;"><a href="http://www.wiredzone.com/supermicro-servers-compact-embedded-processor-sys-5028d-tn4t-bundle2-10024470b2?urlsource=tinkertry" target="_blank" rel="noopener">Supermicro Mini Tower Intel Xeon D-1541 Bundle 2 &#8211; US Version</a></p>
<p>Paul Braren at TinkerTry takes great pride in the servers he recommends and has a very informative blog.</p>
<p>For the ESXi hosts, I have six of the 8-core servers with the following specifications:</p>
<ul>
<li>Mini tower case</li>
<li><a href="https://ark.intel.com/products/91199/Intel-Xeon-Processor-D-1541-12M-Cache-2_10-GHz" target="_blank" rel="noopener">Intel Xeon D-1541 processor</a></li>
<li>64GB DDR4 RAM</li>
<li>Two 1Gb NIC</li>
<li>Two 10Gb NIC</li>
<li><a href="https://www.amazon.com/gp/product/B073W3Q96S/ref=od_aui_detailpages00?ie=UTF8&amp;psc=1&amp;pldnSite=1" target="_blank" rel="noopener">Crucial BX300 120GB SSD</a> (ESXi install)</li>
<li><a href="https://www.amazon.com/gp/product/B07BN4NJ2J/ref=od_aui_detailpages00?ie=UTF8&amp;psc=1&amp;pldnSite=1" target="_blank" rel="noopener">Samsung 970 EVO 500GB NVMe PCIe M.2 SSD</a> (Local datastore)</li>
<li><a href="https://www.amazon.com/gp/product/B0764WCXCV/ref=od_aui_detailpages00?ie=UTF8&amp;psc=1&amp;pldnSite=1" target="_blank" rel="noopener">Crucial MX500 250GB SSD</a> (Host cache)</li>
</ul>
<p>For the XenServer hosts, I have four of the 12-core servers with the following specifications:</p>
<ul>
<li>Mini tower case</li>
<li><a href="https://ark.intel.com/content/www/us/en/ark/products/93356/intel-xeon-processor-d-1567-18m-cache-2-10-ghz.html" target="_blank" rel="noopener">Intel Xeon D-1567 processor</a></li>
<li>64GB DDR4 RAM</li>
<li>Two 1Gb NIC</li>
<li>Two 10Gb NIC</li>
<li><a href="https://www.amazon.com/gp/product/B07BN4NJ2J/ref=od_aui_detailpages00?ie=UTF8&amp;psc=1&amp;pldnSite=1" target="_blank" rel="noopener">Samsung 970 EVO 500GB NVMe PCIe M.2 SSD</a> (XenServer install and local SR)</li>
<li><a href="https://www.amazon.com/Samsung-Inch-Internal-MZ-76E1T0B-AM/dp/B078DPCY3T/ref=sr_1_1?ie=UTF8&amp;qid=1547646309&amp;sr=8-1&amp;keywords=Samsung+860+EVO+1TB+2.5+Inch+SATA+III+Internal+SSD+%28MZ-76E1T0B%2FAM%29" target="_blank" rel="noopener">Samsung 860 EVO 1TB 2.5 Inch SATA III Internal SSD</a> (Local SR for VMs)</li>
</ul>
<p><strong>NOTE: I would never buy or recommend the 12-core servers as I have had nothing but problems with the 10Gb NICs on the servers.</strong></p>
<p>For VMware product licenses, I used VMUG Advantage and the EVALExperience. If you would like to try EVALExperience, Paul Braren has a <a href="https://tinkertry.com/vmug-advantage-has-esxi-and-vcsa-6-7-with-365-day-keys" target="_blank" rel="noopener">10% discount code on his site</a>.</p>
<p>I am fortunate that Citrix supplies CTPs with licenses that work with most on-premises products.</p>
<p>Now that Citrix and other vendors support vSphere/vCenter 7, it is time to rebuild the lab with the latest version of both.</p>
<p>For XenServer, I went with XenServer 8.2, the latest version.</p>
<p>I decided to go with the Network File System (NFS) instead of the Internet Small Computer Systems Interface (iSCSI) for storage. <a href="https://www.linkedin.com/in/gregory-b-thompson-969360102/" target="_blank" rel="noopener">Gregory Thompson</a> was the first to tell me to use NFS instead of iSCSI for VMware. If you Google &#8220;VMware NFS iSCSI&#8221;, you find many articles that explain why NFS is better than iSCSI for VMware environments. For me, NFS is easier to configure on an ESXi host than iSCSI. I also found out my Synology 1817+ storage unit supported NFS. Synology 1817 and 1817+ support NFS 4.1, and Synology has provided a VAAI plug-in for NFS since 2014.</p>
<p>For XenServer, NFS is also simple to configure and use and requires no additional drivers or software.</p>
<p>The following is a noncomprehensive list of some of the activities this article series covers:</p>
<ul>
<li><a href="https://www.carlwebster.com/02-building-websters-lab-v2-configuring-a-synology-1817-nas-for-nfs-esxi-7-0-and-xenserver-8-2/" target="_blank" rel="noopener">Configuring a Synology 1817+ NAS for NFS, ESXi 7.0, and XenServer 8.2</a></li>
<li><a href="https://www.carlwebster.com/03-building-websters-lab-v2-install-vmware-esxi-7-0/" target="_blank" rel="noopener">Install VMware ESXi 7.0</a></li>
<li><a href="https://www.carlwebster.com/04-building-websters-lab-v2-initial-vmware-esxi-host-configuration/" target="_blank" rel="noopener">Initial VMware ESXi Host Configuration</a></li>
<li><a href="https://www.carlwebster.com/05-building-websters-lab-v2-vmware-esxi-host-configuration/" target="_blank" rel="noopener">VMware ESXi Host Configuration</a></li>
<li><a href="https://www.carlwebster.com/06-building-websters-lab-v2-install-the-vmware-vcenter-server-appliance/" target="_blank" rel="noopener">Install the VMware vCenter Server Appliance</a></li>
<li><a href="https://www.carlwebster.com/07-building-websters-lab-v2-create-vsphere-networking-and-network-storage/">Create vSphere Networking and Network Storage</a></li>
<li><a href="https://www.carlwebster.com/08-building-websters-lab-v2-backup-the-vcenter-server-appliance-using-nfs/" target="_blank" rel="noopener">Backup the vCenter Server Appliance using NFS</a></li>
<li><a href="https://www.carlwebster.com/09-building-websters-lab-v2-updating-the-vcenter-server-appliance/" target="_blank" rel="noopener">Updating the vCenter Server Appliance</a></li>
<li><a href="https://www.carlwebster.com/10-building-websters-lab-v2-install-citrix-xenserver-8-2/" target="_blank" rel="noopener">Install Citrix XenServer 8.2</a></li>
<li><a href="https://www.carlwebster.com/11-building-websters-lab-v2-citrix-xenserver-host-and-pool-configuration/" rel="ugc">Citrix XenServer Host and Pool Configuration</a></li>
<li><a href="https://www.carlwebster.com/12-building-websters-lab-v2-create-a-server-2019-template-image/" target="_blank" rel="noopener">Create a Server 2019 Template Image</a></li>
<li><a href="https://www.carlwebster.com/13-building-websters-lab-v2-create-vms-from-the-server-2019-template/" target="_blank" rel="noopener">Create VMs from the Server 2019 Template</a></li>
<li><a href="https://www.carlwebster.com/14-building-websters-lab-v2-create-active-directory/" target="_blank" rel="noopener">Create Active Directory</a></li>
<li><a href="https://www.carlwebster.com/15-building-websters-lab-v2-create-a-microsoft-certificate-authority/" target="_blank" rel="noopener">Create a Microsoft Certificate Authority</a></li>
<li><a href="https://www.carlwebster.com/16-building-websters-lab-v2-create-initial-group-policy-objects/" target="_blank" rel="noopener">Create Initial Group Policy Objects</a></li>
<li><a href="https://www.carlwebster.com/17-building-websters-lab-v2-additional-vcenter-configuration/" target="_blank" rel="noopener">Additional vCenter Configuration</a></li>
<li><a href="https://www.carlwebster.com/18-building-websters-lab-v2-additional-xencenter-configuration/" target="_blank" rel="noopener">Additional XenCenter Configuration</a></li>
<li><a href="https://www.carlwebster.com/19-building-websters-lab-v2-create-additional-servers/" target="_blank" rel="noopener">Create Additional Servers</a></li>
<li><a href="https://www.carlwebster.com/20-building-websters-lab-v2-create-a-management-computer/" target="_blank" rel="noopener">Create a Management Computer</a></li>
<li><a href="https://www.carlwebster.com/21-building-websters-lab-v2-create-a-10zig-management-server/" target="_blank" rel="noopener">Create a 10ZiG Management Server</a></li>
<li><a href="https://www.carlwebster.com/22-building-websters-lab-v2-create-a-goliath-technologies-management-server/" target="_blank" rel="noopener">Create a Goliath Technologies Management Server</a></li>
<li><a href="https://www.carlwebster.com/23-building-websters-lab-v2-create-an-igel-management-server/" target="_blank" rel="noopener">Create an IGEL Management Server</a></li>
<li><a href="https://www.carlwebster.com/24-building-websters-lab-v2-create-a-controlup-management-server/" target="_blank" rel="noopener">Create a ControlUp Management Server</a></li>
<li><a href="https://www.carlwebster.com/25-building-websters-lab-v2-update-esxi-hosts-using-vmware-lifecycle-manager/" target="_blank" rel="noopener">Update ESXi Hosts using VMware Lifecycle Manager</a></li>
<li><a href="https://www.carlwebster.com/26-building-websters-lab-v2-advice-conclusions-and-lessons-learned/" target="_blank" rel="noopener">Advice, Conclusions, and Lessons Learned</a></li>
</ul>
<p>There are two classes of VMs in my lab: permanent and temporary. The permanent VMs are, for example, the domain controllers, CA, file server, SQL server, utility server, management PC, and others. The permanent VMs reside in Citrix XenServer, and I use the vSphere cluster for the virtual desktops and servers created by the various virtualization products. All the Microsoft-related infrastructure servers reside in XenServer.</p>
<p>Since I have built and rebuilt my hosts several times in this learning experience, below is the lab configuration.</p>
<p>Table 1 Lab Configuration</p>
<table>
<tbody>
<tr>
<td width="253"><strong>Name</strong></td>
<td width="295"><strong>IP Address (Purpose)</strong></td>
</tr>
<tr>
<td width="253">NETGEAR 48-port 10Gb Switch</td>
<td width="295">192.168.1.251</td>
</tr>
<tr>
<td width="253">NETGEAR 48-port 1Gb Switch</td>
<td width="295">192.168.1.250</td>
</tr>
<tr>
<td width="253">Synology1817+</td>
<td width="295">192.168.1.253 (NFS Storage)</td>
</tr>
<tr>
<td width="253">Synology1817</td>
<td width="295">192.168.1.254 (Contains all downloaded ISOs)</td>
</tr>
<tr>
<td width="253">ESXiHost1</td>
<td width="295">192.168.1.53 (Management)<br />
192.168.1.54 (IPMI)<br />
192.168.1.55 (vMotion)<br />
192.168.1.56 (NFS)</td>
</tr>
<tr>
<td width="253">ESXiHost2</td>
<td width="295">192.168.1.57 (Management)<br />
192.168.1.58 (IPMI)<br />
192.168.1.59 (vMotion)<br />
192.168.1.60 (NFS)</td>
</tr>
<tr>
<td width="253">ESXiHost3</td>
<td width="295">192.168.1.61 (Management)<br />
192.168.1.62 (IPMI)<br />
192.168.1.63 (vMotion)<br />
192.168.1.64 (NFS)</td>
</tr>
<tr>
<td width="253">ESXiHost4</td>
<td width="295">192.168.1.65 (Management)<br />
192.168.1.66 (IPMI)<br />
192.168.1.67 (vMotion)<br />
192.168.1.68 (NFS)</td>
</tr>
<tr>
<td width="253">ESXiHost5</td>
<td width="295">192.168.1.69 (Management)<br />
192.168.1.70 (IPMI)<br />
192.168.1.71 (vMotion)<br />
192.168.1.72 (NFS)</td>
</tr>
<tr>
<td width="253">ESXiHost6</td>
<td width="295">192.168.1.73 (Management)<br />
192.168.1.74 (IPMI)<br />
192.168.1.75 (vMotion)<br />
192.168.1.76 (NFS)</td>
</tr>
<tr>
<td width="253">XenServer1</td>
<td width="295">192.168.1.80 (Management)<br />
192.168.1.81 (IPMI)</td>
</tr>
<tr>
<td width="253">XenServer2</td>
<td width="295">192.168.1.82 (Management)<br />
192.168.1.83 (IPMI)</td>
</tr>
<tr>
<td width="253">XenServer3</td>
<td width="295">192.168.1.84 (Management)<br />
192.168.1.85 (IPMI)</td>
</tr>
<tr>
<td width="253">XenServer4</td>
<td width="295">192.168.1.86 (Management)<br />
192.168.1.87 (IPMI)</td>
</tr>
<tr>
<td width="253">NFS Server on the Synology 1817+ NAS</td>
<td width="295">192.168.1.253</td>
</tr>
<tr>
<td width="253">NFS Shares</td>
<td width="295">/volume1/ISOs<br />
/volume1/VMwareVMs<br />
/volume1/XSVMs</td>
</tr>
</tbody>
</table>
<p>Servers and appliances that exist in the lab after I complete this article series.</p>
<table>
<tbody>
<tr>
<td width="104"><strong>Name</strong></td>
<td width="382"><strong>Description</strong></td>
<td width="107"><strong>IP Address</strong></td>
</tr>
<tr>
<td width="104">LabMgmtPC</td>
<td width="382">VM with management consoles, PowerShell stuff, and Office</td>
<td width="107">192.168.1.200</td>
</tr>
<tr>
<td width="104">LabDC1</td>
<td width="382">Domain Controller, DNS, DHCP</td>
<td width="107">192.168.1.201</td>
</tr>
<tr>
<td width="104">LabDC2</td>
<td width="382">Domain Controller, DNS, Citrix, and RDS License Server</td>
<td width="107">192.168.1.202</td>
</tr>
<tr>
<td width="104">LabCA</td>
<td width="382">Certificate Authority</td>
<td width="107">192.168.1.203</td>
</tr>
<tr>
<td width="104">LabFS</td>
<td width="382">File Server</td>
<td width="107">192.168.1.204</td>
</tr>
<tr>
<td width="104">LabSQL</td>
<td width="382">SQL Server</td>
<td width="107">192.168.1.205</td>
</tr>
<tr>
<td width="104">Lab10ZiG</td>
<td width="382">10ZiG Server</td>
<td width="107">192.168.1.206</td>
</tr>
<tr>
<td width="104">LabControlUp</td>
<td width="382">ControlUp Server, ControlUp Monitor</td>
<td width="107">192.168.1.207</td>
</tr>
<tr>
<td width="104">LabGoliath</td>
<td width="382">Goliath Technologies Server</td>
<td width="107">192.168.1.208</td>
</tr>
<tr>
<td width="104">LabIGEL</td>
<td width="382">IGEL UMS Server</td>
<td width="107">192.168.1.209</td>
</tr>
<tr>
<td width="104">vCenter</td>
<td width="382">vCenter Server Appliance</td>
<td width="107">192.168.1.90</td>
</tr>
<tr>
<td width="104"></td>
<td width="382">Citrix App Layering Appliance</td>
<td width="107">192.168.1.91</td>
</tr>
</tbody>
</table>
<p>I temporarily have DHCP running in my temporary AD, so when DHCP assigns an IP address, DHCP appends the AD domain name to the device&#8217;s hostname. For example, when I built the host ESXiHost1, it was given an IP address of 192.168.1.107.  I then give the host a static IP address of 192.168.1.53. When I connect to that host using Google Chrome, the hostname is ESXiHost1.LabADDomain.com, even though the host is not a member of the LabADDomain.com domain.</p>
<p>To work around the initial self-signed certificate issues when connecting to a host using a browser, add the Fully Qualified Domain Name (FQDN) of the various hosts to your AD&#8217;s DNS. If your computer, like mine, is not domain joined, you should also consider adding the IP address and FQDN to your computer&#8217;s hosts file (located in c:\Windows\System32\Drivers\etc).</p>
<p>Figures 1 through 3 show my DNS Forward and Reverse Lookup Zones and my computer&#8217;s hosts file.</p>
<figure id="attachment_30716" aria-describedby="caption-attachment-30716" style="width: 1099px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-30716 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001.png" alt="Figure 1" width="1099" height="469" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001.png 1099w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-530x226.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-900x384.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-768x328.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-600x256.png 600w" sizes="auto, (max-width: 1099px) 100vw, 1099px" /></a><figcaption id="caption-attachment-30716" class="wp-caption-text">Figure 1</figcaption></figure>
<figure id="attachment_30717" aria-describedby="caption-attachment-30717" style="width: 729px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-30717 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002.png" alt="Figure 2" width="729" height="304" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002.png 729w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-530x221.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-600x250.png 600w" sizes="auto, (max-width: 729px) 100vw, 729px" /></a><figcaption id="caption-attachment-30717" class="wp-caption-text">Figure 2</figcaption></figure>
<figure id="attachment_30718" aria-describedby="caption-attachment-30718" style="width: 364px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-30718 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003.png" alt="Figure 3" width="364" height="135" /></a><figcaption id="caption-attachment-30718" class="wp-caption-text">Figure 3</figcaption></figure>
<p>Since I have a 10Gb switch and my Synology 1817+ NAS supports 10Gb I use Jumbo Frames. After much research, asking NETGEAR support, and talking with friends who know networking, I configured the following Maximum Transmission Unit (MTU) sizes:</p>
<ul>
<li>10G Switch: 9000 as shown in Figure 4</li>
<li>Synology 1817+: 9000 as shown in Figure 5</li>
<li>(When created) 10G related Virtual Switch: 9000</li>
<li>(When created) VMkernel NICs that connect to the 10G Virtual Switch: 9000</li>
</ul>
<figure id="attachment_30719" aria-describedby="caption-attachment-30719" style="width: 616px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-30719 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004.png" alt="Figure 4" width="616" height="303" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004.png 616w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-530x261.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-600x295.png 600w" sizes="auto, (max-width: 616px) 100vw, 616px" /></a><figcaption id="caption-attachment-30719" class="wp-caption-text">Figure 4</figcaption></figure>
<figure id="attachment_30720" aria-describedby="caption-attachment-30720" style="width: 725px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-30720 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005.png" alt="Figure 5" width="725" height="303" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005.png 725w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-530x222.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-600x251.png 600w" sizes="auto, (max-width: 725px) 100vw, 725px" /></a><figcaption id="caption-attachment-30720" class="wp-caption-text">Figure 5</figcaption></figure>
<p>Fellow CTP, Leee Jeffries, provided Figure 6 after reviewing several of the articles in this series. Figure 6 is an overview of the networking in the lab.</p>
<figure id="attachment_32249" aria-describedby="caption-attachment-32249" style="width: 2074px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-19.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32249 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-19.png" alt="Figure 6" width="2074" height="748" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-19.png 2074w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-19-530x191.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-19-900x325.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-19-768x277.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-19-1536x554.png 1536w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-19-2048x739.png 2048w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-19-600x216.png 600w" sizes="auto, (max-width: 2074px) 100vw, 2074px" /></a><figcaption id="caption-attachment-32249" class="wp-caption-text">Figure 6</figcaption></figure>
<p>This foray into installing and configuring the VMware Lab has been a painful but rewarding learning experience. I hope that through all my pain and errors, you can also gain from my experiences.</p>
<p>Along the way, several community members helped provide information, answered questions, and even did remote sessions with me when I ran into stumbling blocks.</p>
<ul>
<li><a href="https://twitter.com/do0dzZZ" target="_blank" rel="noopener">Abdullah Abdullah</a></li>
<li><a href="https://twitter.com/concentratdgreg" target="_blank" rel="noopener">Greg Shields</a></li>
<li><a href="http://linkedin.com/in/gregory-b-thompson-969360102" target="_blank" rel="noopener">Gregory Thompson</a></li>
<li><a href="https://www.leeejeffries.com/" target="_blank" rel="noopener">Leee Jeffries</a></li>
<li><a href="https://twitter.com/tkreidl" target="_blank" rel="noopener">Tobias Kreidl</a></li>
</ul>
<p>This article series is better because of the grammar, spelling, punctuation, style, and technical input from Michael B. Smith, Leee Jeffries (darn that British English), Tobias Kreidl, and Greg Thompson.</p>
<p>Up next: <a href="https://www.carlwebster.com/02-building-websters-lab-v2-configuring-a-synology-1817-nas-for-nfs-esxi-7-0-and-xenserver-8-2/" target="_blank" rel="noopener">Configuring a Synology 1817+ NAS for NFS, ESXi 7.0, and XenServer 8.2</a>.</p>
<p><a href="https://www.carlwebster.com/building-websters-lab-v2/" target="_blank" rel="noopener">Landing page for the article series</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.carlwebster.com/01-building-websters-lab-v2-introduction/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">30715</post-id>	</item>
		<item>
		<title>Microsoft DNS Documentation Script V2.01</title>
		<link>https://www.carlwebster.com/microsoft-dns-documentation-script-v2-01/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Sat, 09 Jan 2021 22:52:38 +0000</pubDate>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=27835</guid>

					<description><![CDATA[Version 2.01 9-Jan-2021 Fixed issue with invalid name servers not highlighting in red Reordered parameters in an order recommended by Guy Leech Updated help text Updated ReadMe file You can&#8230;]]></description>
										<content:encoded><![CDATA[<p>Version 2.01 9-Jan-2021</p>
<ul>
<li>Fixed issue with invalid name servers not highlighting in red</li>
<li>Reordered parameters in an order recommended by Guy Leech</li>
<li>Updated help text</li>
<li>Updated ReadMe file</li>
</ul>
<p><strong style="font-size: 1rem;">You can always find the most current script by going to </strong><a style="font-size: 1rem;" title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">27835</post-id>	</item>
		<item>
		<title>New Script: Set DNS Info V1.00</title>
		<link>https://www.carlwebster.com/new-script-set-dns-info-v1-00/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Tue, 11 Aug 2020 19:30:35 +0000</pubDate>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=19438</guid>

					<description><![CDATA[Reconfigures the DNS Server(s) on a network interface on specified computers in Microsoft Active Directory. The computer accounts processed are filtered by IPEnabled and DHCP Disabled. Only computers using a&#8230;]]></description>
										<content:encoded><![CDATA[<p>Reconfigures the DNS Server(s) on a network interface on specified computers in Microsoft Active Directory. The computer accounts processed are filtered by IPEnabled and DHCP Disabled. Only computers using a Static IP Address are processed.</p>
<p>Creates a text file named DNSChangeStatus.txt, by default, in the folder where the script is run.</p>
<p>Optionally, can specify the output folder.</p>
<p>The user running the script must be a member of Domain Admins.</p>
<p>The script has a lot of error-checking in it. It validates the DNS Servers entered whether they are NetBIOS names, Fully Qualified Domain Names (FQDN), or IP address.  Once the name or IP address is verified as valid, another check is done to make sure the server is running Microsoft DNS. If the DNS server is entered as a NetBIOS name or FQDN, the IP address is found since you can&#8217;t add a server&#8217;s NetBIOS name or FQDN as a DNS server entry on a computers network card properties.</p>
<p>Figure 1 shows an example of a bad DNS server name entry.</p>
<figure id="attachment_19439" aria-describedby="caption-attachment-19439" style="width: 685px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoScriptBadServer.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-19439 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoScriptBadServer.png" alt="Figure 1" width="685" height="358" srcset="https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoScriptBadServer.png 685w, https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoScriptBadServer-530x277.png 530w, https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoScriptBadServer-600x314.png 600w" sizes="auto, (max-width: 685px) 100vw, 685px" /></a><figcaption id="caption-attachment-19439" class="wp-caption-text">Figure 1</figcaption></figure>
<p>Figure 2 shows a valid server name, but the server does not run Microsoft DNS.</p>
<figure id="attachment_19440" aria-describedby="caption-attachment-19440" style="width: 691px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoScriptBadServer2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-19440 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoScriptBadServer2.png" alt="Figure 2" width="691" height="358" srcset="https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoScriptBadServer2.png 691w, https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoScriptBadServer2-530x275.png 530w, https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoScriptBadServer2-600x311.png 600w" sizes="auto, (max-width: 691px) 100vw, 691px" /></a><figcaption id="caption-attachment-19440" class="wp-caption-text">Figure 2</figcaption></figure>
<p>Figure 3 shows a bad IP address.</p>
<figure id="attachment_19441" aria-describedby="caption-attachment-19441" style="width: 684px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoScriptBadIP.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-19441 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoScriptBadIP.png" alt="Figure 3" width="684" height="358" srcset="https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoScriptBadIP.png 684w, https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoScriptBadIP-530x277.png 530w, https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoScriptBadIP-600x314.png 600w" sizes="auto, (max-width: 684px) 100vw, 684px" /></a><figcaption id="caption-attachment-19441" class="wp-caption-text">Figure 3</figcaption></figure>
<p>Figure 4 shows using FQDNs.</p>
<figure id="attachment_19447" aria-describedby="caption-attachment-19447" style="width: 687px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/08/Figure004-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-19447 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/08/Figure004-1.png" alt="Figure 4" width="687" height="437" srcset="https://www.carlwebster.com/wp-content/uploads/2020/08/Figure004-1.png 687w, https://www.carlwebster.com/wp-content/uploads/2020/08/Figure004-1-472x300.png 472w, https://www.carlwebster.com/wp-content/uploads/2020/08/Figure004-1-600x382.png 600w" sizes="auto, (max-width: 687px) 100vw, 687px" /></a><figcaption id="caption-attachment-19447" class="wp-caption-text">Figure 4</figcaption></figure>
<p>Figure 5 shows using IP addresses. The IP addresses are used as entered. No sorting is done.</p>
<figure id="attachment_19443" aria-describedby="caption-attachment-19443" style="width: 656px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/08/Figure005-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-19443 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/08/Figure005-1.png" alt="Figure 5" width="656" height="438" srcset="https://www.carlwebster.com/wp-content/uploads/2020/08/Figure005-1.png 656w, https://www.carlwebster.com/wp-content/uploads/2020/08/Figure005-1-449x300.png 449w, https://www.carlwebster.com/wp-content/uploads/2020/08/Figure005-1-600x401.png 600w" sizes="auto, (max-width: 656px) 100vw, 656px" /></a><figcaption id="caption-attachment-19443" class="wp-caption-text">Figure 5</figcaption></figure>
<p>Figure 6 shows the DNSChangeStatus.txt file generated.</p>
<figure id="attachment_19444" aria-describedby="caption-attachment-19444" style="width: 521px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoChangeStatus.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-19444 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoChangeStatus.png" alt="Figure 6" width="521" height="320" srcset="https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoChangeStatus.png 521w, https://www.carlwebster.com/wp-content/uploads/2020/08/SetDNSInfoChangeStatus-488x300.png 488w" sizes="auto, (max-width: 521px) 100vw, 521px" /></a><figcaption id="caption-attachment-19444" class="wp-caption-text">Figure 6</figcaption></figure>
<p><strong>You can always find the most current script by going to </strong><a href="https://www.carlwebster.com/downloads/"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a><strong>.</strong></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">19438</post-id>	</item>
		<item>
		<title>New Script: Get DNS Info V1.00</title>
		<link>https://www.carlwebster.com/new-script-get-dns-info-v1-00/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Tue, 11 Aug 2020 19:30:05 +0000</pubDate>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=19434</guid>

					<description><![CDATA[Gathers information on a network interface on specified computers in Microsoft Active Directory. The computer accounts processed are filtered by IPEnabled and DHCP Disabled. Only computers using a Static IP&#8230;]]></description>
										<content:encoded><![CDATA[<p>Gathers information on a network interface on specified computers in Microsoft Active Directory. The computer accounts processed are filtered by IPEnabled and DHCP Disabled.</p>
<p>Only computers using a Static IP Address are processed.</p>
<p>Creates one text file and one CSV file, by default, in the folder where the script is run. The CSV file is named DNSInfo.csv and the other is named ComputerNames.txt.</p>
<p>Optionally, can specify the output folder.</p>
<p>Process each computer gathering the following information to put in the DNSInfo.csv file:</p>
<ul>
<li>DNSHostName</li>
<li>InterfaceName</li>
<li>MACAddress</li>
<li>IPAddress</li>
<li>IPSubnet</li>
<li>DefaultIPGateway</li>
<li>DNSServerSearchOrder</li>
<li>DNSDomainSuffixSearchOrder</li>
</ul>
<p>The ComputerNames.txt file contains the DNSHostName of the computers that were processed.</p>
<p>The user running the script must be a member of Domain Admins.</p>
<p>Figure 1 shows an example of the script running.</p>
<figure id="attachment_19435" aria-describedby="caption-attachment-19435" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/08/GetDNSInfoScriptRunning.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-19435 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/08/GetDNSInfoScriptRunning.png" alt="Figure 1" width="859" height="903" srcset="https://www.carlwebster.com/wp-content/uploads/2020/08/GetDNSInfoScriptRunning.png 859w, https://www.carlwebster.com/wp-content/uploads/2020/08/GetDNSInfoScriptRunning-285x300.png 285w, https://www.carlwebster.com/wp-content/uploads/2020/08/GetDNSInfoScriptRunning-761x800.png 761w, https://www.carlwebster.com/wp-content/uploads/2020/08/GetDNSInfoScriptRunning-768x807.png 768w, https://www.carlwebster.com/wp-content/uploads/2020/08/GetDNSInfoScriptRunning-600x631.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-19435" class="wp-caption-text">Figure 1</figcaption></figure>
<p>Figure 2 shows an example of the CSV file created.</p>
<figure id="attachment_19436" aria-describedby="caption-attachment-19436" style="width: 1214px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/08/GetDNSInfoScriptCSVFile.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-19436 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/08/GetDNSInfoScriptCSVFile.png" alt="Figure 2" width="1214" height="302" srcset="https://www.carlwebster.com/wp-content/uploads/2020/08/GetDNSInfoScriptCSVFile.png 1214w, https://www.carlwebster.com/wp-content/uploads/2020/08/GetDNSInfoScriptCSVFile-530x132.png 530w, https://www.carlwebster.com/wp-content/uploads/2020/08/GetDNSInfoScriptCSVFile-900x224.png 900w, https://www.carlwebster.com/wp-content/uploads/2020/08/GetDNSInfoScriptCSVFile-768x191.png 768w, https://www.carlwebster.com/wp-content/uploads/2020/08/GetDNSInfoScriptCSVFile-600x149.png 600w" sizes="auto, (max-width: 1214px) 100vw, 1214px" /></a><figcaption id="caption-attachment-19436" class="wp-caption-text">Figure 2</figcaption></figure>
<p><strong>You can always find the most current script by going to </strong><a href="https://www.carlwebster.com/downloads/"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a><strong>.</strong></p>
<p>Thanks</p>
<p>Webster</p>
<p>&nbsp;</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">19434</post-id>	</item>
		<item>
		<title>Update Active Directory DNS Reverse Lookup Zones from Sites and Services Subnets (Update-ReverseZonesFromSubnets.ps1 V1.10)</title>
		<link>https://www.carlwebster.com/update-active-directory-dns-reverse-lookup-zones-from-sites-and-services-subnets-update-reversezonesfromsubnets-ps1-v1-10/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Wed, 29 Apr 2020 15:36:44 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=18313</guid>

					<description><![CDATA[#Version 1.10 29-Apr-2020 Cleaned up some code and typos driving my OCD up the wall Reformatted the terminating Write-Error messages to make them more visible and readable in the console&#8230;]]></description>
										<content:encoded><![CDATA[<p>#Version 1.10 29-Apr-2020</p>
<ul>
<li>Cleaned up some code and typos driving my OCD up the wall</li>
<li>Reformatted the terminating Write-Error messages to make them more visible and readable in the console</li>
</ul>
<p>I put this script on Github.</p>
<p><a title="https://github.com/CarlWebster/UpdateReverseZonesFromSubnets" href="https://github.com/CarlWebster/UpdateReverseZonesFromSubnets" target="_blank" rel="noopener noreferrer">https://github.com/CarlWebster/UpdateReverseZonesFromSubnets</a></p>
<p><strong>You can always find the most current script by going to </strong><a title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">18313</post-id>	</item>
		<item>
		<title>New Script: Update Active Directory DNS Reverse Lookup Zones from Sites and Services Subnets (Update-ReverseZonesFromSubnets.ps1)</title>
		<link>https://www.carlwebster.com/new-script-update-active-directory-dns-reverse-lookup-zones-from-sites-and-services-subnets-update-reversezonesfromsubnets-ps1/</link>
					<comments>https://www.carlwebster.com/new-script-update-active-directory-dns-reverse-lookup-zones-from-sites-and-services-subnets-update-reversezonesfromsubnets-ps1/#comments</comments>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Mon, 20 Apr 2020 09:17:40 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=18207</guid>

					<description><![CDATA[While Active Directory (AD) does not need DNS Reverse Lookup Zones, most Citrix and VMware products do. If you are visiting my website, you probably use Citrix and VMware products. &#8230;]]></description>
										<content:encoded><![CDATA[<p>While Active Directory (AD) does not need DNS Reverse Lookup Zones, most Citrix and VMware products do. If you are visiting my website, you probably use Citrix and VMware products.  If you have heard or read any of my <a title="AD conference or CUGC presentations" href="https://www.carlwebster.com/category/conference-presentations/" target="_blank" rel="noopener noreferrer">AD conference or CUGC presentations</a>, you know how important AD Sites and Services Subnets and DNS Reverse Lookup Zones are to Citrix and VMware.</p>
<p><span id="more-18207"></span></p>
<p>This script was written specifically for a customer to help them with keeping their DNS Reverse Lookup Zones in sync with their Subnets. The customer&#8217;s CIO stated the script was useful to them, so it would be useful to the community. The CIO wanted this script made available to the community.</p>
<p>If you would like to thank this CIO for the generous gift, send an email to Webster at carlwebster dot com, I will gather up the responses and send them to the CIO.</p>
<p>I also want to thank all the testers. My always detailed and thorough tester David M., fellow CTP Trond Eirik Haavarstein (aka Mr. <a title="XenAppBlog" href="https://xenappblog.com/" target="_blank" rel="noopener noreferrer">XenAppBlog</a>), the testers from the <a title="IGEL Slack Community" href="https://www.igelcommunity.com/" target="_blank" rel="noopener noreferrer">IGEL Slack Community</a>, and the <a title="World of EUC Slack Community" href="https://join.slack.com/t/worldofeuc/shared_invite/zt-dexotib9-vL0IzKmh9QhPrGxE8LotAA" target="_blank" rel="noopener noreferrer">World of EUC Slack Community</a>.</p>
<p>What does this script do?</p>
<ol>
<li>Get all the Subnets defined in Sites and Services</li>
<li>Sort the Subnets</li>
<li>Change the Subnet to a format that resembles a DNS Reverse Lookup Zone</li>
<li>See if a matching Reverse Lookup Zone exists</li>
<li>If the reverse zone does exist, there is nothing to do</li>
<li>If the reverse zone doesn&#8217;t exist, depending on whether -WhatIf or -Confirm is used, create the Reverse Lookup Zone</li>
<li>Log everything done</li>
<li>Create a text file of all actions</li>
<li>Optionally, email the text file</li>
</ol>
<p>The first problem encountered, was the difference in how Subnets and Reverse Lookup Zones are stored.</p>
<p>Let&#8217;s look at Subnets for 10.0.0.0/8, 172.16.0.0/16, 192.168.168.0/24, and 192.168.168.168/32, as shown in Figure 1.</p>
<figure id="attachment_32427" aria-describedby="caption-attachment-32427" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure001-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32427 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure001-2.png" alt="Figure 1" width="859" height="244" srcset="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure001-2.png 859w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure001-2-530x151.png 530w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure001-2-768x218.png 768w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure001-2-600x170.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-32427" class="wp-caption-text">Figure 1</figcaption></figure>
<p>Subnets as stored as a.b.c.d/nn and a reverse zone is stored as c.b.a.in-addr.arpa.</p>
<p>It is a simple task of splitting the Subnet into an array and then creating a temp zone with:</p>
<pre class="brush: powershell; title: ; notranslate">
$SubnetArray = $Subnet.split(&amp;quot;./&amp;quot;)
$SubnetMask = &#x5B;int]$SubnetArray&#x5B;($SubnetArray.count-1)]

If($SubnetMask -le 8)
{
$RevZone = &amp;quot;$($SubnetArray&#x5B;0]).in-addr.arpa&amp;quot;
}
ElseIf($SubnetMask -le 16)
{
$RevZone = &amp;quot;$($SubnetArray&#x5B;1]).$($SubnetArray&#x5B;0]).in-addr.arpa&amp;quot;
}
ElseIf($SubnetMask -le 24)
{
$RevZone = &amp;quot;$($SubnetArray&#x5B;2]).$($SubnetArray&#x5B;1]).$($SubnetArray&#x5B;0]).in-addr.arpa&amp;quot;
}
Else
{
$RevZone = &amp;quot;$($SubnetArray2&#x5B;0]).$($SubnetArray&#x5B;2]).$($SubnetArray&#x5B;1]).$($SubnetArray&#x5B;0]).in-addr.arpa&amp;quot;
}
</pre>
<p>Creating a reverse lookup zone is different. You create a reverse lookup zone by using the Subnet! For example, you create a reverse zone by using &#8220;192.168.1.0/24&#8221;, but you retrieve the reverse zone by using &#8220;1.168.192.in-addr.arpa&#8221;.</p>
<p>To show you what the script does, I deleted the Reverse Lookup Zones I created to get the screenshot for Figure 1.</p>
<p>Figure 2 shows my DNS before the script runs.</p>
<figure id="attachment_18212" aria-describedby="caption-attachment-18212" style="width: 242px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure002-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-18212 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure002-1.png" alt="Figure 2" width="242" height="281" /></a><figcaption id="caption-attachment-18212" class="wp-caption-text">Figure 2</figcaption></figure>
<p>Figure 3 shows the script in action.</p>
<figure id="attachment_18226" aria-describedby="caption-attachment-18226" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure003-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-18226 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure003-1.png" alt="Figure 3" width="859" height="849" srcset="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure003-1.png 859w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure003-1-304x300.png 304w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure003-1-809x800.png 809w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure003-1-768x759.png 768w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure003-1-100x100.png 100w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure003-1-600x593.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-18226" class="wp-caption-text">Figure 3</figcaption></figure>
<p>Figure 4 shows DNS after the script ran.</p>
<figure id="attachment_18227" aria-describedby="caption-attachment-18227" style="width: 830px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure004-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-18227 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure004-1.png" alt="Figure 4" width="830" height="263" srcset="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure004-1.png 830w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure004-1-530x168.png 530w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure004-1-768x243.png 768w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure004-1-600x190.png 600w" sizes="auto, (max-width: 830px) 100vw, 830px" /></a><figcaption id="caption-attachment-18227" class="wp-caption-text">Figure 4</figcaption></figure>
<p><strong>Note:</strong> You cannot create a /32 Reverse Lookup Zone in the DNS console, but I did with PowerShell.</p>
<p>Figure 5 shows the contents of the text file generated by the script.</p>
<figure id="attachment_18228" aria-describedby="caption-attachment-18228" style="width: 1089px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure005-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-18228 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure005-1.png" alt="Figure 5" width="1089" height="460" srcset="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure005-1.png 1089w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure005-1-530x224.png 530w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure005-1-900x380.png 900w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure005-1-768x324.png 768w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure005-1-600x253.png 600w" sizes="auto, (max-width: 1089px) 100vw, 1089px" /></a><figcaption id="caption-attachment-18228" class="wp-caption-text">Figure 5</figcaption></figure>
<p>What happens if the script is rerun now that all the Subnets have DNS Reverse Lookup Zones? Figures 6 and 7 show what happens.</p>
<figure id="attachment_18229" aria-describedby="caption-attachment-18229" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure006-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-18229 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure006-1.png" alt="Figure 6" width="859" height="849" srcset="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure006-1.png 859w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure006-1-304x300.png 304w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure006-1-809x800.png 809w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure006-1-768x759.png 768w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure006-1-100x100.png 100w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure006-1-600x593.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-18229" class="wp-caption-text">Figure 6</figcaption></figure>
<figure id="attachment_18230" aria-describedby="caption-attachment-18230" style="width: 631px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure007-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-18230 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure007-1.png" alt="Figure 7" width="631" height="395" srcset="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure007-1.png 631w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure007-1-479x300.png 479w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure007-1-600x376.png 600w" sizes="auto, (max-width: 631px) 100vw, 631px" /></a><figcaption id="caption-attachment-18230" class="wp-caption-text">Figure 7</figcaption></figure>
<p>The script supports -WhatIf and -Confirm as shown in Figures 8 through 13.</p>
<figure id="attachment_18233" aria-describedby="caption-attachment-18233" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure008-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-18233 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure008-1.png" alt="Figure 8" width="859" height="849" srcset="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure008-1.png 859w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure008-1-304x300.png 304w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure008-1-809x800.png 809w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure008-1-768x759.png 768w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure008-1-100x100.png 100w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure008-1-600x593.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-18233" class="wp-caption-text">Figure 8</figcaption></figure>
<figure id="attachment_18234" aria-describedby="caption-attachment-18234" style="width: 1087px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure009.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-18234 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure009.png" alt="Figure 9" width="1087" height="492" srcset="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure009.png 1087w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure009-530x240.png 530w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure009-900x407.png 900w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure009-768x348.png 768w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure009-600x272.png 600w" sizes="auto, (max-width: 1087px) 100vw, 1087px" /></a><figcaption id="caption-attachment-18234" class="wp-caption-text">Figure 9</figcaption></figure>
<figure id="attachment_18235" aria-describedby="caption-attachment-18235" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure010.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-18235 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure010.png" alt="Figure 10" width="859" height="1069" srcset="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure010.png 859w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure010-241x300.png 241w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure010-643x800.png 643w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure010-768x956.png 768w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure010-600x747.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-18235" class="wp-caption-text">Figure 10</figcaption></figure>
<figure id="attachment_18236" aria-describedby="caption-attachment-18236" style="width: 1199px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure011.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-18236 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure011.png" alt="Figure 11" width="1199" height="453" srcset="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure011.png 1199w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure011-530x200.png 530w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure011-900x340.png 900w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure011-768x290.png 768w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure011-600x227.png 600w" sizes="auto, (max-width: 1199px) 100vw, 1199px" /></a><figcaption id="caption-attachment-18236" class="wp-caption-text">Figure 11</figcaption></figure>
<figure id="attachment_18238" aria-describedby="caption-attachment-18238" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure012.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-18238 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure012.png" alt="Figure 12" width="859" height="1144" srcset="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure012.png 859w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure012-225x300.png 225w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure012-601x800.png 601w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure012-768x1023.png 768w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure012-600x799.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-18238" class="wp-caption-text">Figure 12</figcaption></figure>
<figure id="attachment_18239" aria-describedby="caption-attachment-18239" style="width: 1199px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure013.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-18239 size-full" src="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure013.png" alt="Figure 13" width="1199" height="453" srcset="https://www.carlwebster.com/wp-content/uploads/2020/04/Figure013.png 1199w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure013-530x200.png 530w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure013-900x340.png 900w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure013-768x290.png 768w, https://www.carlwebster.com/wp-content/uploads/2020/04/Figure013-600x227.png 600w" sizes="auto, (max-width: 1199px) 100vw, 1199px" /></a><figcaption id="caption-attachment-18239" class="wp-caption-text">Figure 13</figcaption></figure>
<p>The main customer request for this script was to run it as a scheduled task and email the text file without saving the email credentials.</p>
<p>This requires using an unauthenticated email sent through an email relay server. This turned out to be simple to implement. I found the solution on <a title="Sending unauthenticated mail through MS Exchange with PowerShell" href="https://serverfault.com/questions/543052/sending-unauthenticated-mail-through-ms-exchange-with-powershell-windows-server" target="_blank" rel="noopener noreferrer">ServerFault</a>.</p>
<p>The solution was only three lines of PowerShell.</p>
<pre class="brush: plain; title: ; notranslate">

$anonUsername = &amp;quot;anonymous&amp;quot;
$anonPassword = ConvertTo-SecureString -String &amp;quot;anonymous&amp;quot; -AsPlainText -Force
$anonCredentials = New-Object System.Management.Automation.PSCredential($anonUsername,$anonPassword)

</pre>
<p>For on-premises Exchange, what the script requires to use an unauthenticated email is the From email account is &#8220;anonymous&#8221;. i.e. anonymous@emaildomain.tld.</p>
<p>The help text shows an example.</p>
<pre class="brush: plain; title: ; notranslate">

.EXAMPLE
PS C:\PSScript &amp;gt; .\Get-SubnetsFromReverseZones.ps1
-SmtpServer mailrelay.domain.tld
-From Anonymous@domain.tld
-To ITGroup@domain.tld

***SENDING UNAUTHENTICATED EMAIL***

The script will use the email server mailrelay.domain.tld, sending from
anonymous@domain.tld, sending to ITGroup@domain.tld.

To send unauthenticated email using an email relay server requires the From email account
to use the name Anonymous.

The script will use the default SMTP port 25 and will not use SSL.

***GMAIL/G SUITE SMTP RELAY***
https://support.google.com/a/answer/2956491?hl=en
https://support.google.com/a/answer/176600?hl=en

To send email using a Gmail or g-suite account, you may have to turn ON
the &amp;quot;Less secure app access&amp;quot; option on your account.
***GMAIL/G SUITE SMTP RELAY***

The script will generate an anonymous secure password for the anonymous@domain.tld
account.

.EXAMPLE
	PS C:\PSScript &amp;gt; .\Get-SubnetsFromReverseZones.ps1 
	-SmtpServer labaddomain-com.mail.protection.outlook.com
	-UseSSL
	-From SomeEmailAddress@labaddomain.com 
	-To ITGroupDL@labaddomain.com	

	***OFFICE 365 Example***

	https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-set-up-a-multifunction-device-or-application-to-send-email-using-office-3
	
	This uses Option 2 from the above link.
	
	***OFFICE 365 Example***

	The script will use the email server labaddomain-com.mail.protection.outlook.com, sending from 
	SomeEmailAddress@labaddomain.com, sending to ITGroupDL@labaddomain.com.

	The script will use the default SMTP port 25 and will use SSL.

</pre>
<p>I tested this on the customer&#8217;s network and it worked the first time.</p>
<p>I have not tested the GMAIL/G Suite or Office 365 relay examples.</p>
<p>Adding the on-premises anonymous email capability required a change to a core script function (Function SendEmail), which means I will update every script using this function as soon as I can.</p>
<p>I want to again thank the customer for allowing me to give this script to the community and to all the testers.</p>
<p>If you find any issues with the script or any enhancement requests, send me an email.</p>
<p>I am creating the mirror image of this script to process reverse lookup zones and report (not create) on any missing subnets in Sites and Services.</p>
<p><strong style="font-size: 1rem;">You can always find the most current script by going to </strong><a style="font-size: 1rem;" title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.carlwebster.com/new-script-update-active-directory-dns-reverse-lookup-zones-from-sites-and-services-subnets-update-reversezonesfromsubnets-ps1/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">18207</post-id>	</item>
		<item>
		<title>New Script: Set-DNSScavengeServer</title>
		<link>https://www.carlwebster.com/new-script-set-dnsscavengeserver/</link>
					<comments>https://www.carlwebster.com/new-script-set-dnsscavengeserver/#comments</comments>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Fri, 01 Nov 2019 16:55:11 +0000</pubDate>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=15297</guid>

					<description><![CDATA[I do a lot of Active Directory Health Check and Remediation projects. Going all the way back to my first conference presentation, 95% of Active Directory (AD) issues trace their&#8230;]]></description>
										<content:encoded><![CDATA[<p>I do a lot of Active Directory Health Check and Remediation projects. Going all the way back to <a href="https://www.carlwebster.com/synergy-2012-san-fancisco-geek-speak-live-presentation/" target="_blank" rel="noopener noreferrer">my first conference presentation</a>, 95% of Active Directory (AD) issues trace their roots to DNS. One of the DNS culprits is not having DNS Aging and Scavenging configured correctly. This new script will configure the DNS scavenging server for every Active Directory-integrated Forward and Reverse Lookup Zone.</p>
<p><span id="more-15297"></span></p>
<p>I have been meaning to write this script for a number of years, but never got around to it. Well, I finally got my &#8220;Round ToIt&#8221;.</p>
<figure id="attachment_15299" aria-describedby="caption-attachment-15299" style="width: 311px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2019/11/RoundToIt2.jpg" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-15299 size-full" src="https://www.carlwebster.com/wp-content/uploads/2019/11/RoundToIt2.jpg" alt="RoundToIt" width="311" height="259" /></a><figcaption id="caption-attachment-15299" class="wp-caption-text">RoundToIt</figcaption></figure>
<p>I was working on an AD remediation project where the customer had over 100 AD-integrated Forward and Reverse Lookup Zones to configure. I did not want to issue over 100 &#8220;dnscmd&#8221; commands, copying and pasting the name of every zone.</p>
<p>DNS Aging and Scavenging is configured in five places.</p>
<ol>
<li>DNS Server</li>
<li>DNS Server Properties</li>
<li>Forward Lookup Zones</li>
<li>Reverse Lookup Zones</li>
<li>Then via dnscmd.exe, set a scavenging server for every Forward and Reverse Lookup Zone</li>
</ol>
<p>This new script handles item number five.</p>
<p>As with all my scripts, there is full help text available.</p>
<p>Since Microsoft only started supplying DNS PowerShell cmdlets with Windows Server 2012, PowerShell V4 or later is required. At least one Windows Server 2012 or later is required. Windows 8, or later, with Remote Server Administration Tools is required is you want to run the script from a non-server.</p>
<p>Because this script makes changes to DNS, there is support for -WhatIf and -Confirm.</p>
<p>The script creates a text file that contains the Before and After settings.</p>
<figure id="attachment_15304" aria-describedby="caption-attachment-15304" style="width: 477px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2019/11/Figure001.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-15304 size-full" src="https://www.carlwebster.com/wp-content/uploads/2019/11/Figure001.png" alt="Figure 1" width="477" height="195" /></a><figcaption id="caption-attachment-15304" class="wp-caption-text">Figure 1</figcaption></figure>
<figure id="attachment_15309" aria-describedby="caption-attachment-15309" style="width: 855px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2019/11/Figure002.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-15309 size-full" src="https://www.carlwebster.com/wp-content/uploads/2019/11/Figure002.png" alt="Figure 2" width="855" height="692" srcset="https://www.carlwebster.com/wp-content/uploads/2019/11/Figure002.png 855w, https://www.carlwebster.com/wp-content/uploads/2019/11/Figure002-371x300.png 371w, https://www.carlwebster.com/wp-content/uploads/2019/11/Figure002-768x622.png 768w, https://www.carlwebster.com/wp-content/uploads/2019/11/Figure002-600x486.png 600w" sizes="auto, (max-width: 855px) 100vw, 855px" /></a><figcaption id="caption-attachment-15309" class="wp-caption-text">Figure 2</figcaption></figure>
<figure id="attachment_15310" aria-describedby="caption-attachment-15310" style="width: 856px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2019/11/Figure003.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-15310 size-full" src="https://www.carlwebster.com/wp-content/uploads/2019/11/Figure003.png" alt="Figure 3" width="856" height="883" srcset="https://www.carlwebster.com/wp-content/uploads/2019/11/Figure003.png 856w, https://www.carlwebster.com/wp-content/uploads/2019/11/Figure003-291x300.png 291w, https://www.carlwebster.com/wp-content/uploads/2019/11/Figure003-768x792.png 768w, https://www.carlwebster.com/wp-content/uploads/2019/11/Figure003-776x800.png 776w, https://www.carlwebster.com/wp-content/uploads/2019/11/Figure003-600x619.png 600w" sizes="auto, (max-width: 856px) 100vw, 856px" /></a><figcaption id="caption-attachment-15310" class="wp-caption-text">Figure 3</figcaption></figure>
<figure id="attachment_15311" aria-describedby="caption-attachment-15311" style="width: 854px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2019/11/Figure004.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-15311 size-full" src="https://www.carlwebster.com/wp-content/uploads/2019/11/Figure004.png" alt="Figure 4" width="854" height="660" srcset="https://www.carlwebster.com/wp-content/uploads/2019/11/Figure004.png 854w, https://www.carlwebster.com/wp-content/uploads/2019/11/Figure004-388x300.png 388w, https://www.carlwebster.com/wp-content/uploads/2019/11/Figure004-768x594.png 768w, https://www.carlwebster.com/wp-content/uploads/2019/11/Figure004-600x464.png 600w" sizes="auto, (max-width: 854px) 100vw, 854px" /></a><figcaption id="caption-attachment-15311" class="wp-caption-text">Figure 4</figcaption></figure>
<figure id="attachment_15312" aria-describedby="caption-attachment-15312" style="width: 856px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2019/11/Figure005.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-15312 size-full" src="https://www.carlwebster.com/wp-content/uploads/2019/11/Figure005.png" alt="Figure 5" width="856" height="550" srcset="https://www.carlwebster.com/wp-content/uploads/2019/11/Figure005.png 856w, https://www.carlwebster.com/wp-content/uploads/2019/11/Figure005-467x300.png 467w, https://www.carlwebster.com/wp-content/uploads/2019/11/Figure005-768x493.png 768w, https://www.carlwebster.com/wp-content/uploads/2019/11/Figure005-600x386.png 600w" sizes="auto, (max-width: 856px) 100vw, 856px" /></a><figcaption id="caption-attachment-15312" class="wp-caption-text">Figure 5</figcaption></figure>
<figure id="attachment_15313" aria-describedby="caption-attachment-15313" style="width: 855px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2019/11/Figure006.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-15313 size-full" src="https://www.carlwebster.com/wp-content/uploads/2019/11/Figure006.png" alt="Figure 6" width="855" height="630" srcset="https://www.carlwebster.com/wp-content/uploads/2019/11/Figure006.png 855w, https://www.carlwebster.com/wp-content/uploads/2019/11/Figure006-407x300.png 407w, https://www.carlwebster.com/wp-content/uploads/2019/11/Figure006-768x566.png 768w, https://www.carlwebster.com/wp-content/uploads/2019/11/Figure006-600x442.png 600w" sizes="auto, (max-width: 855px) 100vw, 855px" /></a><figcaption id="caption-attachment-15313" class="wp-caption-text">Figure 6</figcaption></figure>
<p>For the customer with over 100 zones to configure, running the script took less than five seconds.</p>
<p><span style="color: #333333; font-size: 1rem;">If there is anything you would like added to the script, send me an email to webster@carlwebster.com.</span></p>
<p><span style="color: #333333; font-size: 1rem;">As always, thanks to </span><a style="font-size: 1rem;" href="https://www.essential.exchange/blog/" target="_blank" rel="noopener noreferrer">Michael B. Smith</a><span style="color: #333333; font-size: 1rem;"> for the code review, corrections, and suggestions.</span></p>
<p>You can always find the most current script by going to <a title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer">https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.carlwebster.com/new-script-set-dnsscavengeserver/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">15297</post-id>	</item>
		<item>
		<title>Microsoft DNS Documentation Script Update Version 1.11</title>
		<link>https://www.carlwebster.com/microsoft-dns-documentation-script-update-version-1-11/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Fri, 25 Oct 2019 14:31:11 +0000</pubDate>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=15287</guid>

					<description><![CDATA[#Version 1.11 25-Oct-2019 Fixed the sorting of Root Hint servers thanks to MBS Fixed the sorting on Name Servers You can always find the most current script by going to https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/&#8230;]]></description>
										<content:encoded><![CDATA[<p>#Version 1.11 25-Oct-2019</p>
<ul>
<li>Fixed the sorting of Root Hint servers thanks to MBS</li>
<li>Fixed the sorting on Name Servers</li>
</ul>
<p><strong>You can always find the most current script by going to </strong><a title="Current Scripts" href="https://www.carlwebster.com/downloads/" target="_blank" rel="noopener noreferrer"><strong>https://www.carlwebster.com/where-to-get-copies-of-the-documentation-scripts/</strong></a></p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">15287</post-id>	</item>
		<item>
		<title>Connecting to the Cloud: Name Resolving Matters!</title>
		<link>https://www.carlwebster.com/connecting-to-the-cloud-name-resolving-matters/</link>
		
		<dc:creator><![CDATA[Bart Jacobs]]></dc:creator>
		<pubDate>Tue, 11 Sep 2018 14:51:34 +0000</pubDate>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[DNS]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=13769</guid>

					<description><![CDATA[Every modern-day Citrix admin will probably agree with me. Using Office 365 on Citrix Servers and Desktops can be a challenge, let&#8217;s leave it at that. That&#8217;s not the topic&#8230;]]></description>
										<content:encoded><![CDATA[<p>Every modern-day Citrix admin will probably agree with me. Using Office 365 on Citrix Servers and Desktops can be a challenge, let&#8217;s leave it at that.</p>
<p>That&#8217;s not the topic of this blog post, however. It&#8217;s not even a Citrix problem. But again, every Citrix admin will agree on this too; if the problem or issue is present on Citrix, then it&#8217;s a Citrix problem, period. So I won&#8217;t be writing on how to install and configure Office 365 applications on Citrix, it&#8217;s how those apps will connect to the magical entity, otherwise known as &#8220;The Cloud&#8221;.</p>
<p>Let&#8217;s take a look at Outlook. Outlook will always try to connect to outlook.office365.com. Now before Outlook can establish that connection, it needs to resolve that name into an IP address. Enter DNS. DNS is a vital part of today&#8217;s connected world. Microsoft will even tell you that Outlook uses a geolocation mechanism based on DNS to point you to the &#8220;best&#8221; entry point into their network. The latter is a crucial statement; you need the fastest connection to their network. Once there, they&#8217;ll take care of things for you.<br />
Another important fact for you: &#8220;The Cloud&#8221; changes at an extraordinary pace. What&#8217;s relevant today, may be completely obsolete by tomorrow. In that light, it may or may not be true for you to see something like this when you do nslookup of outlook.office365.com.</p>
<p><a href="https://www.carlwebster.com/wp-content/uploads/2018/09/2018-09-11-16_22_58-Command-Prompt.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="alignnone wp-image-13771 size-medium" src="https://www.carlwebster.com/wp-content/uploads/2018/09/2018-09-11-16_22_58-Command-Prompt-401x300.png" alt="" width="401" height="300" srcset="https://www.carlwebster.com/wp-content/uploads/2018/09/2018-09-11-16_22_58-Command-Prompt-401x300.png 401w, https://www.carlwebster.com/wp-content/uploads/2018/09/2018-09-11-16_22_58-Command-Prompt.png 547w" sizes="auto, (max-width: 401px) 100vw, 401px" /></a></p>
<p>First of all, if outlook.office365.com still resolves for you to something like outlook-emeawest3.office365.com, you&#8217;re in a bad place. More details on that below.</p>
<p>What can we actually learn from this? Microsoft DNS returns multiple IP addresses for that single DNS record. Why? Load distribution and high availability, what else? But if you look closer, there might be something off. When pinging those IP addresses individually, you might see a big difference in performance. Some will be a lot &#8220;faster&#8221; than others. And if ping can &#8220;see&#8221; that, you can be sure your users will &#8220;see&#8221; the difference too.</p>
<p>Why is this happening? Because those IP addresses are served from different Microsoft data centers around the world. And some are closer to you than others.</p>
<p>Remember I wrote something about being at a bad place some lines above?</p>
<p>Microsoft has been revamping the DNS resolution for some time now. How to find out? Outlook.office365.com should be resolving to a more generic outlook.ms-acdc.office.com by now. Microsoft keeps expanding its ACDC solution. And no, that&#8217;s not about music, but about AnyCast DNS Cafe. The reasoning is quite simple: Microsoft wants your users to connect to the Microsoft network as fast as possible. Once you&#8217;re on their network, you&#8217;re all set.</p>
<p>In general, ms-acdc returns a more consistent set of IP addresses and those would be &#8220;closer&#8221;, or in other words: faster for your users.</p>
<p>There is a moral to this story: you do have some influence of this DNS stuff. Choose your resolver/forwarder wisely. Some will work better than others. In my case, CloudFlare 1.1.1.1 servers returned IP addresses 10ms &#8220;faster&#8221; compared to the ones of our hosting/colo facility (even that&#8217;s a leading, global one).</p>
<p style="text-align: left;">Bottom line: DNS is essential to a successful Office 365 (or any cloud service really) implementation, on Citrix or otherwise. Your mileage will vary, so you&#8217;ll need to try and test for yourself and your users.</p>
<p>Thanks</p>
<p>Bart Jacobs</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">13769</post-id>	</item>
		<item>
		<title>Error 9611 DNS_ERROR_INVALID_ZONE_TYPE When Attempting to Configure a Microsoft DNS Scavenging Server</title>
		<link>https://www.carlwebster.com/error-9611-dns_error_invalid_zone_type-when-attempting-to-configure-a-microsoft-dns-scavenging-server/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Fri, 20 Jul 2018 19:19:22 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[DNS]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=13637</guid>

					<description><![CDATA[I have been working with Microsoft Active Directory (AD) since July 2001 and doing AD Health Checks since September 2003. One item I have done hundreds of times, failed on&#8230;]]></description>
										<content:encoded><![CDATA[<p>I have been working with Microsoft Active Directory (AD) since July 2001 and doing AD Health Checks since September 2003. One item I have done hundreds of times, failed on me yesterday during an AD remediation project. I duplicated the problem in my lab and want to document the solution for future reference.</p>
<p><span id="more-13637"></span></p>
<p>I have been speaking at conferences around the world on AD topics since Synergy 2012 in San Francisco. One of my &#8220;Top 10&#8221; things I look for when doing an AD Health Check is whether DNS Aging and Scavenging is configured correctly. I would estimate that 99% of the time, it is not configured correctly.</p>
<p>The DNS Server service supports Aging and Scavenging features as a mechanism for performing cleanup and removal of stale resource records which can accumulate in zone data over time.</p>
<p>With dynamic update, resource records are automatically added to zones when computers start on the network. However, in some cases, they are not automatically removed when computers leave the network. For example, if a computer registers its host (A) resource record at startup and is later improperly disconnected from the network, its host (A) resource record might not be deleted. If your network has mobile users and computers, this situation can occur frequently.</p>
<p>If left unmanaged, the presence of stale resource records in zone data may cause some problems:</p>
<ul>
<li>If many stale resource records remain in zones, they can eventually take up server disk space and cause unnecessarily long zone transfers.</li>
<li>DNS servers that load zones that contain stale resource records might use outdated information to answer client queries, potentially causing the clients to experience name resolution problems on the network.</li>
<li>The accumulation of stale resource records at the DNS Server can degrade its performance and responsiveness.</li>
<li>In some cases, the presence of a stale resource record in a zone can prevent a DNS domain name from being used by another computer or host device.</li>
</ul>
<p>The DNS Server service has the following features to solve the above problems:</p>
<ul>
<li>Time stamping, based on the current date and time set at the server computer, for any resource records that are added dynamically to primary-type zones. Also, timestamps are recorded in standard primary zones where aging and scavenging is enabled.</li>
</ul>
<p>For resource records that you add manually, a time-stamp value of zero is used, indicating that these records are not affected by the aging process and that they can remain without limitation in zone data unless you otherwise change their time-stamp or delete them.</p>
<ul>
<li>Aging of resource records in local data, based on specified refresh intervals, for any eligible zones.</li>
</ul>
<p>Only primary-type zones that are loaded by the DNS Server service are eligible to participate in this process.</p>
<ul>
<li>Scavenging for any resource records that persist beyond the specified refresh periods.</li>
</ul>
<p>When a DNS Server performs a scavenging operation, it can determine that resource records have aged to the point of becoming stale and remove them from zone data. You can configure servers to perform recurring scavenging operations automatically, or you can initiate an immediate scavenging operation at the server.</p>
<p>Microsoft recommends setting an advanced zone parameter that enables you to specify a restricted list of IP addresses for DNS servers that are enabled to perform scavenging of the zone.</p>
<p>By default, if this parameter is not specified, all DNS servers that load a Directory-integrated zone (also enabled for scavenging) attempt to perform scavenging of the zone. In some cases, this parameter can be useful if it is preferable that scavenging is performed only at some servers loading the directory-integrated zone.</p>
<p>To set this parameter, you must specify the list of IP addresses for the servers that are enabled to scavenge the zone in the <strong>ZoneResetScavengeServers </strong>parameter for the zone. Configuring the scavenging server can be done using the <a href="https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/dnscmd" target="_blank" rel="noopener noreferrer"><strong>dnscmd </strong></a>command, a command line-based tool for administering Windows DNS servers.</p>
<p>Microsoft recommends configuring at least one and no more than two DNS servers for scavenging a zone.</p>
<p>Before beginning, first, verify no scavenging server is configured by running <strong>dnscmd /ZoneInfo domain.tld</strong> as shown in Figure 1.</p>
<figure id="attachment_13640" aria-describedby="caption-attachment-13640" style="width: 668px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2018/07/Figure001-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-13640 size-full" src="https://www.carlwebster.com/wp-content/uploads/2018/07/Figure001-1.png" alt="Figure 1" width="668" height="475" srcset="https://www.carlwebster.com/wp-content/uploads/2018/07/Figure001-1.png 668w, https://www.carlwebster.com/wp-content/uploads/2018/07/Figure001-1-422x300.png 422w, https://www.carlwebster.com/wp-content/uploads/2018/07/Figure001-1-600x427.png 600w" sizes="auto, (max-width: 668px) 100vw, 668px" /></a><figcaption id="caption-attachment-13640" class="wp-caption-text">Figure 1</figcaption></figure>
<p>When trying to set a scavenging server, you receive &#8220;Command failed: DNS_ERROR_INVALID_ZONE_TYPE 9611 0x258B&#8221; as shown in Figure 2.</p>
<figure id="attachment_13641" aria-describedby="caption-attachment-13641" style="width: 668px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2018/07/Figure002-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-13641 size-full" src="https://www.carlwebster.com/wp-content/uploads/2018/07/Figure002-1.png" alt="Figure 2" width="668" height="331" srcset="https://www.carlwebster.com/wp-content/uploads/2018/07/Figure002-1.png 668w, https://www.carlwebster.com/wp-content/uploads/2018/07/Figure002-1-530x263.png 530w, https://www.carlwebster.com/wp-content/uploads/2018/07/Figure002-1-600x297.png 600w" sizes="auto, (max-width: 668px) 100vw, 668px" /></a><figcaption id="caption-attachment-13641" class="wp-caption-text">Figure 2</figcaption></figure>
<p>To resolve this, enable aging for the zone by issuing the following command, as shown in Figure 3.</p>
<p><strong>dnscmd /Config domain.tld /Aging 1</strong></p>
<figure id="attachment_13644" aria-describedby="caption-attachment-13644" style="width: 668px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2018/07/Figure003-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-13644 size-full" src="https://www.carlwebster.com/wp-content/uploads/2018/07/Figure003-1.png" alt="Figure 3" width="668" height="331" srcset="https://www.carlwebster.com/wp-content/uploads/2018/07/Figure003-1.png 668w, https://www.carlwebster.com/wp-content/uploads/2018/07/Figure003-1-530x263.png 530w, https://www.carlwebster.com/wp-content/uploads/2018/07/Figure003-1-600x297.png 600w" sizes="auto, (max-width: 668px) 100vw, 668px" /></a><figcaption id="caption-attachment-13644" class="wp-caption-text">Figure 3</figcaption></figure>
<p>Reissue the command to set the scavenging server (which now works), as shown in Figure 4.</p>
<p><strong>dnscmd ServerName /ZoneResetScavengeServers domain.tld IPAddressOfServerName</strong></p>
<figure id="attachment_13647" aria-describedby="caption-attachment-13647" style="width: 668px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2018/07/Figure004-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-13647 size-full" src="https://www.carlwebster.com/wp-content/uploads/2018/07/Figure004-1.png" alt="Figure 4" width="668" height="331" srcset="https://www.carlwebster.com/wp-content/uploads/2018/07/Figure004-1.png 668w, https://www.carlwebster.com/wp-content/uploads/2018/07/Figure004-1-530x263.png 530w, https://www.carlwebster.com/wp-content/uploads/2018/07/Figure004-1-600x297.png 600w" sizes="auto, (max-width: 668px) 100vw, 668px" /></a><figcaption id="caption-attachment-13647" class="wp-caption-text">Figure 4</figcaption></figure>
<p>You can now check the zone information again, which now shows the scavenging server set, as shown in Figure 5.</p>
<figure id="attachment_13648" aria-describedby="caption-attachment-13648" style="width: 668px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2018/07/Figure005-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-13648 size-full" src="https://www.carlwebster.com/wp-content/uploads/2018/07/Figure005-1.png" alt="Figure 5" width="668" height="559" srcset="https://www.carlwebster.com/wp-content/uploads/2018/07/Figure005-1.png 668w, https://www.carlwebster.com/wp-content/uploads/2018/07/Figure005-1-358x300.png 358w, https://www.carlwebster.com/wp-content/uploads/2018/07/Figure005-1-600x502.png 600w" sizes="auto, (max-width: 668px) 100vw, 668px" /></a><figcaption id="caption-attachment-13648" class="wp-caption-text">Figure 5</figcaption></figure>
<p>I hope this helps.</p>
<p>Webster</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">13637</post-id>	</item>
	</channel>
</rss>
