<?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>Active Directory &#8211; Carl Webster</title>
	<atom:link href="https://www.carlwebster.com/category/active-directory/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>Microsoft Active Directory Documentation Script V3.11</title>
		<link>https://www.carlwebster.com/microsoft-active-directory-documentation-script-v3-11/</link>
					<comments>https://www.carlwebster.com/microsoft-active-directory-documentation-script-v3-11/#comments</comments>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Fri, 27 May 2022 11:40:40 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=62215</guid>

					<description><![CDATA[#Version 3.11 27-May-2022 Fixed bug in Function getDSUsers with MaxPasswordAge reported by Danny de Kooker Moved the following section headings so that the error/warning/notice messages had a section heading Domain&#8230;]]></description>
										<content:encoded><![CDATA[<p>#Version 3.11 27-May-2022</p>
<ul>
<li>Fixed bug in Function getDSUsers with MaxPasswordAge reported by Danny de Kooker</li>
<li>Moved the following section headings so that the error/warning/notice messages had a section heading
<ul>
<li>Domain Controllers</li>
<li>Fine-grained password policies</li>
</ul>
</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>
					
					<wfw:commentRss>https://www.carlwebster.com/microsoft-active-directory-documentation-script-v3-11/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">62215</post-id>	</item>
		<item>
		<title>Microsoft Active Directory Documentation Script V3.10</title>
		<link>https://www.carlwebster.com/microsoft-active-directory-documentation-script-v3-10/</link>
					<comments>https://www.carlwebster.com/microsoft-active-directory-documentation-script-v3-10/#comments</comments>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Sat, 23 Apr 2022 14:35:57 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=62145</guid>

					<description><![CDATA[#Version 3.10 23-Apr-2022 Added Windows Server 2022 to AD Schema version 88 Fixed some text output alignment In Function OutputNicItem, fixed several issues with DHCP data Replaced all Get-WmiObject with&#8230;]]></description>
										<content:encoded><![CDATA[<p>#Version 3.10 23-Apr-2022</p>
<ul>
<li>Added Windows Server 2022 to AD Schema version 88</li>
<li>Fixed some text output alignment</li>
<li>In Function OutputNicItem, fixed several issues with DHCP data</li>
<li>Replaced all Get-WmiObject with Get-CimInstance</li>
<li>Some general code cleanup</li>
<li>Updated schema numbers for Exchange CUs
<ul>
<li>&#8220;15334&#8221; = &#8220;Exchange 2016 CU21-CU23&#8221;</li>
<li>&#8220;17003&#8221; = &#8220;Exchange 2019 CU10-CU12&#8221;</li>
</ul>
</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>
					
					<wfw:commentRss>https://www.carlwebster.com/microsoft-active-directory-documentation-script-v3-10/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">62145</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 Active Directory Documentation Script V3.08</title>
		<link>https://www.carlwebster.com/microsoft-active-directory-documentation-script-v3-08/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Wed, 24 Nov 2021 11:13:30 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=61825</guid>

					<description><![CDATA[#Version 3.08 24-Nov-2021 In Function AbortScript, add test for the winword process and terminate it if it is running In Function ProcessDomainControllers, added &#8220;Computer Object DN&#8221; to the output If&#8230;]]></description>
										<content:encoded><![CDATA[<p>#Version 3.08 24-Nov-2021</p>
<ul>
<li>In Function AbortScript, add test for the winword process and terminate it if it is running</li>
<li>In Function ProcessDomainControllers, added &#8220;Computer Object DN&#8221; to the output
<ul>
<li>If the DN doesn&#8217;t contain &#8220;OU=Domain Controllers&#8221;, highlight the Word/HTML output in red and add &#8220;***&#8221; to the text output</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>Updated Functions ShowScriptOptions and ProcessScriptEnd to add $ReportFooter</li>
<li>Updated schema numbers for Exchange CUs
<ul>
<li>&#8220;15334&#8221; = &#8220;Exchange 2016 CU21-CU22&#8221;</li>
<li>&#8220;17003&#8221; = &#8220;Exchange 2019 CU10-CU11&#8221;</li>
</ul>
</li>
<li>Updated the help text</li>
<li>Updated the ReadMe file</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">61825</post-id>	</item>
		<item>
		<title>Removing an Old Stale Azure and Office 365 Domain for Use in a New Azure Active Directory Connection</title>
		<link>https://www.carlwebster.com/removing-an-old-stale-azure-and-office-365-domain-for-use-in-a-new-azure-active-directory-connection/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Fri, 17 Sep 2021 14:24:02 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[AVD]]></category>
		<category><![CDATA[Azure]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=49746</guid>

					<description><![CDATA[Recently, I started a new job where I needed to learn Microsoft&#8217;s Azure and Azure Virtual Desktop (AVD). My friend Claudio Rodrigues recently released his excellent book DAAS The Complete&#8230;]]></description>
										<content:encoded><![CDATA[<p>Recently, I started a new job where I needed to learn Microsoft&#8217;s Azure and Azure Virtual Desktop (AVD). My friend Claudio Rodrigues recently released his excellent book <a href="https://www.amazon.com/DaaS-Step-Step-Desktop-as-Service/dp/B09DN1FJ19/ref=sr_1_2?crid=CCMBF2K0E3EY&amp;dchild=1&amp;keywords=daas+the+complete+guide&amp;qid=1631537984&amp;sr=8-2" target="_blank" rel="noopener"><em>DAAS The Complete Guide</em></a><em>,</em> and I am using his book to guide my learning.</p>
<p>In Chapter 2, <em>Azure Virtual Desktop</em>, Claudio walks through configuring <em>Synchronizing AD with Azure Active Directory</em>. Step 4 in that process is verifying your custom domain. My verification failed with the message shown in Figure 1.</p>
<figure id="attachment_49748" aria-describedby="caption-attachment-49748" style="width: 696px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/09/Figure001-1.png"><img decoding="async" class="size-full wp-image-49748" src="https://www.carlwebster.com/wp-content/uploads/2021/09/Figure001-1.png" alt="Figure 1" width="696" height="51" srcset="https://www.carlwebster.com/wp-content/uploads/2021/09/Figure001-1.png 696w, https://www.carlwebster.com/wp-content/uploads/2021/09/Figure001-1-530x39.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/09/Figure001-1-600x44.png 600w" sizes="(max-width: 696px) 100vw, 696px" /></a><figcaption id="caption-attachment-49748" class="wp-caption-text">Figure 1</figcaption></figure>
<p>To make an hours-long story short, it took me a while to figure out when I had set up LabADDomain.com for use in Azure or Office 365 (along with the username and password). I eventually found that I created a free Azure account and an Office 365 account several years ago. Removing the domain LabADDomain.com for those accounts took a few hours because even Microsoft support didn&#8217;t know how to remove an old domain.</p>
<p>This article outlines the steps that took Microsoft and me over four hours to resolve. I hope you can follow these steps saving you hours of frustration for those with labs and possibly multiple domain names.</p>
<p>Several years ago, I created an Office 365 trial for LabADDomain.com with an admin account named ctxadmin@labaddomain.com. I used that account to create a free Azure trial using Azure AD Connect connecting to my on-premises AD LabADDomain.com domain. That version of the LabADDomain.com AD is long gone. Webster&#8217;s Lab gets rebuilt almost annually. The original domain and domain controllers no longer exist, so nothing to uninstall and remove the sync to Azure AD. To resolve the issue, it took many emails, phone calls, and remote support sessions with Microsoft Support.</p>
<p>When you create an Office 365 subscription, there are two domains created: YourDomain.com and YourDomain.OnMicrosoft.com.</p>
<p>Here are the steps we took to remove the stale domain.</p>
<p><strong>1.</strong> Create a global admin for labaddomain.onmicrosoft.com named ctxadmin.</p>
<p><strong>2.</strong> Log off from the old ctxadmin@labaddomain.com admin account.</p>
<p><strong>3.</strong> Login with the new ctxadmin@labaddomain.onmicrosoft.com admin account.</p>
<p><strong>4.</strong> Go to the O365 admin center, Figure 2.</p>
<figure id="attachment_49754" aria-describedby="caption-attachment-49754" style="width: 153px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/09/Figure002-2.png"><img decoding="async" class="size-full wp-image-49754" src="https://www.carlwebster.com/wp-content/uploads/2021/09/Figure002-2.png" alt="Figure 2" width="153" height="228" /></a><figcaption id="caption-attachment-49754" class="wp-caption-text">Figure 2</figcaption></figure>
<p><strong>5.</strong> Show all, Figure 3.</p>
<figure id="attachment_49755" aria-describedby="caption-attachment-49755" style="width: 286px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/09/Figure003-2.png"><img fetchpriority="high" decoding="async" class="size-full wp-image-49755" src="https://www.carlwebster.com/wp-content/uploads/2021/09/Figure003-2.png" alt="Figure 3" width="286" height="269" /></a><figcaption id="caption-attachment-49755" class="wp-caption-text">Figure 3</figcaption></figure>
<p><strong>6.</strong> Setup, Figure 4.</p>
<figure id="attachment_49756" aria-describedby="caption-attachment-49756" style="width: 281px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/09/Figure004-2.png"><img loading="lazy" decoding="async" class="size-full wp-image-49756" src="https://www.carlwebster.com/wp-content/uploads/2021/09/Figure004-2.png" alt="Figure 4" width="281" height="450" srcset="https://www.carlwebster.com/wp-content/uploads/2021/09/Figure004-2.png 281w, https://www.carlwebster.com/wp-content/uploads/2021/09/Figure004-2-187x300.png 187w" sizes="auto, (max-width: 281px) 100vw, 281px" /></a><figcaption id="caption-attachment-49756" class="wp-caption-text">Figure 4</figcaption></figure>
<p><strong>7.</strong> Domains, Figure 5.</p>
<figure id="attachment_49752" aria-describedby="caption-attachment-49752" style="width: 280px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/09/Figure005-1.png"><img loading="lazy" decoding="async" class="size-full wp-image-49752" src="https://www.carlwebster.com/wp-content/uploads/2021/09/Figure005-1.png" alt="Figure 5" width="280" height="516" srcset="https://www.carlwebster.com/wp-content/uploads/2021/09/Figure005-1.png 280w, https://www.carlwebster.com/wp-content/uploads/2021/09/Figure005-1-163x300.png 163w" sizes="auto, (max-width: 280px) 100vw, 280px" /></a><figcaption id="caption-attachment-49752" class="wp-caption-text">Figure 5</figcaption></figure>
<p><strong>8.</strong> Select the old domain to remove.</p>
<p><strong>9.</strong> Click the vertical three dots next to Filter.</p>
<p><strong>10.</strong> Click either Delete Domain or Remove Domain (I can&#8217;t remember the verbiage).</p>
<p><strong>11.</strong> Wait about an hour.</p>
<p><strong>12.</strong> Click <em>Refresh</em> every few minutes. For me, it took about an hour before the console no longer showed the old domain. You must wait until the domain deletes before continuing.</p>
<p><strong>13.</strong> You can now use the old domain as a new domain for AAD, Figure 6.</p>
<figure id="attachment_49753" aria-describedby="caption-attachment-49753" style="width: 668px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/09/Figure006-1.png"><img loading="lazy" decoding="async" class="size-full wp-image-49753" src="https://www.carlwebster.com/wp-content/uploads/2021/09/Figure006-1.png" alt="Figure 6" width="668" height="426" srcset="https://www.carlwebster.com/wp-content/uploads/2021/09/Figure006-1.png 668w, https://www.carlwebster.com/wp-content/uploads/2021/09/Figure006-1-470x300.png 470w, https://www.carlwebster.com/wp-content/uploads/2021/09/Figure006-1-600x383.png 600w" sizes="auto, (max-width: 668px) 100vw, 668px" /></a><figcaption id="caption-attachment-49753" class="wp-caption-text">Figure 6</figcaption></figure>
<p>I hope this brief article helps someone else from spending hours with Microsoft support to remove a long-forgotten domain from a long-forgotten Azure or Office 365 trial.</p>
<p>Thanks</p>
<p>Webster</p>
<p>&nbsp;</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">49746</post-id>	</item>
		<item>
		<title>Microsoft Active Directory Documentation Script V3.07</title>
		<link>https://www.carlwebster.com/microsoft-active-directory-documentation-script-v3-07/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Tue, 31 Aug 2021 10:13:49 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=47977</guid>

					<description><![CDATA[Version 3.07 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 3.07 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>
</ul>
</li>
<li>Updated Function OutputADFileLocations to better report on the SYSVOL state. Code supplied by Michael B. Smith.</li>
<li>Updated Function ProcessgGPOsByOUOld to allow Word table output to handle GPOs that somehow PowerShell thinks are arrays</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>
<p>Thanks to fellow CTP Thomas Krampe for the push to add the report footer.</p>
<p>If you run the script in a multiple domain forest or have Read-only Domain Controller appliances and 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">47977</post-id>	</item>
		<item>
		<title>Microsoft Active Directory Documentation Script V3.06</title>
		<link>https://www.carlwebster.com/microsoft-active-directory-documentation-script-v3-06/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Tue, 27 Jul 2021 11:06:07 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=44926</guid>

					<description><![CDATA[Version 3.06 27-Jul-2021 Add new Function ProcessOUsForBlockedInheritance to add a report section for OUs with GPO Block Inheritance set Add new Function ProcessSYSVOLStateInfo to show the SYSVOL state for each&#8230;]]></description>
										<content:encoded><![CDATA[<p>Version 3.06 27-Jul-2021</p>
<ul>
<li>Add new Function ProcessOUsForBlockedInheritance to add a report section for OUs with GPO Block Inheritance set</li>
<li>Add new Function ProcessSYSVOLStateInfo to show the SYSVOL state for each DC as an Appendix</li>
<li>Added by MBS, HTML codes for AlignLeft and AlignRight
<ul>
<li>Update Function AddHTMLTable</li>
<li>Update Function FormatHTMLTable</li>
<li>Update Function Get-ComputerCountByOS</li>
<li>Update Function getDSUsers</li>
<li>Update Function OutputEventLogInfo</li>
<li>Update Function ProcessEventLogInfo</li>
<li>Update Function ProcessGroupInformation</li>
<li>Update Function ProcessOrganizationalUnits</li>
<li>Update Function ProcessSYSVOLStateInfo</li>
<li>Update Function WriteHTMLLine</li>
</ul>
</li>
<li>In Function ProcessAllDCsInTheForest, change the way all domain controllers in the forest are retrieved
<ul>
<li>The previous method did not always find RODC appliances</li>
<li>Use new method given by MBS</li>
</ul>
</li>
<li>The following fixes were requested by Jorge de Almeida Pinto
<ul>
<li>In Function Get-RegistryValue, removed the Write-Verbose message on error as it confused people</li>
<li>In Function OutputADFileLocations, check only for null to catch appliances (Riverbed) with no registry</li>
<li>In Function OutputEventLogInfo, add Try/Catch to Get-EventLog to catch appliances (Riverbed) with no event logs</li>
<li>In Function OutputTimeServerRegistryKeys, check only for null to catch appliances (Riverbed) with no registry</li>
<li>When processing DCs, add testing to see if the DC is online before processing registry keys
<ul>
<li>Add an error message to the console and output file</li>
</ul>
</li>
<li>When testing a DC to see if it was online, I used the wrong variable name</li>
</ul>
</li>
<li>In Function ProcessScriptEnd, always output Company Name</li>
<li>In Function ShowScriptOptions, always output Company Name</li>
</ul>
<p>If you run the script in a multiple domain forest or have Read-only Domain Controller appliances and 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">44926</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>Microsoft Active Directory Documentation Script V3.05</title>
		<link>https://www.carlwebster.com/microsoft-active-directory-documentation-script-v3-05/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Wed, 07 Jul 2021 11:34:33 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=43789</guid>

					<description><![CDATA[Version 3.05 6-Jul-2021 Add fixes provided by Jorge de Almeida Pinto Fixed the way the $Script:AllDomainControllers array is built Fixed getting Fine-grained Password policies to work in a multiple domain/child domain&#8230;]]></description>
										<content:encoded><![CDATA[<p>Version 3.05 6-Jul-2021</p>
<ul>
<li>Add fixes provided by Jorge de Almeida Pinto
<ul>
<li>Fixed the way the $Script:AllDomainControllers array is built</li>
<li>Fixed getting Fine-grained Password policies to work in a multiple domain/child domain forest</li>
</ul>
</li>
<li>Change the CompanyName parameter so that HTML and Text output can use it. (requested by Michael B. Smith)
<ul>
<li>.PARAMETER CompanyName
<ul>
<li>Company Name to use for the Word Cover Page or the Forest Information section for HTML and Text.</li>
<li>Default value for Word output is contained in</li>
<li>HKCU:\Software\Microsoft\Office\Common\UserInfo\CompanyName or</li>
<li>HKCU:\Software\Microsoft\Office\Common\UserInfo\Company, whichever is populated on the computer running the script.</li>
<li>This parameter has an alias of CN.</li>
<li>For Word output, if either registry key does not exist and this parameter is not specified, the report will not contain a Company Name on the cover page.</li>
<li>For HTML and Text output, the Forest Information section will not contain the Company Name if this parameter is not specified.</li>
</ul>
</li>
</ul>
</li>
<li>For both HTML and Text output, at the end of the report add a &#8220;Report Complete&#8221; line (requested by Michael B. Smith)</li>
<li>For Privileged Groups, add a column for SamAccountName (requested by Michael B. Smith)</li>
<li>For the forest section, if a company name is entered, added the company name to the section title (requested by Michael B. Smith)</li>
<li>For the section Computer Operating Systems, fix the HTML tables to have slightly wider columns (requested by Michael B. Smith)</li>
<li>For Users with AdminCount=1, add columns for SamAccountName and Domain (requested by Michael B. Smith)</li>
<li>Renamed items in the list of AD Schema Items (requested by Michael B. Smith)
<ul>
<li>RAS Server -&gt; NPS/RAS Server</li>
<li>LAPS -&gt; On-premises LAPS</li>
<li>SCCM -&gt; MECM/SCCM</li>
<li>Lync/Skype for Business -&gt; On-premises Lync/Skype for Business</li>
<li>Exchange -&gt; On-premises Exchange</li>
</ul>
</li>
<li>Update schema numbers for Exchange CUs
<ul>
<li>&#8220;15333&#8221; = &#8220;Exchange 2016 CU19/CU20&#8221;</li>
<li>&#8220;15334&#8221; = &#8220;Exchange 2016 CU21&#8221;</li>
<li>&#8220;17002&#8221; = &#8220;Exchange 2019 CU8/CU9&#8221;</li>
<li>&#8220;17003&#8221; = &#8220;Exchange 2019 CU10&#8221;</li>
</ul>
</li>
<li>Updated the help text</li>
<li>Updated the ReadMe file</li>
</ul>
<p>If you run the script in a multiple domain forest and 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">43789</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 loading="lazy" 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="auto, (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 loading="lazy" 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="auto, (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 loading="lazy" 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="auto, (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>19 Building Webster&#8217;s Lab V2 – Create Additional Servers</title>
		<link>https://www.carlwebster.com/19-building-websters-lab-v2-create-additional-servers/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Thu, 17 Jun 2021 08:40:24 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[XenServer]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=31880</guid>

					<description><![CDATA[[Updated 8-Nov-2021] With the base of the Vmware infrastructure, Active Directory (AD), Certification Authority (CA), and Group Policy (GPO) built, the next step is to create additional server VMs from&#8230;]]></description>
										<content:encoded><![CDATA[<p>[Updated 8-Nov-2021]</p>
<p>With the base of the Vmware infrastructure, Active Directory (AD), Certification Authority (CA), and Group Policy (GPO) built, the next step is to create additional server VMs from the Server 2019 template. We use the VMs built in this article for additional Microsoft infrastructure servers. My lab&#8217;s infrastructure VMs reside in my XenServer pool, as explained in the <a href="https://www.carlwebster.com/01-building-websters-lab-v2-introduction/" target="_blank" rel="noopener">Introduction</a> article. Building a server VM from the Server 2019 template was <a href="https://www.carlwebster.com/13-building-websters-lab-v2-create-vms-from-the-server-2019-template/" target="_blank" rel="noopener">covered earlier</a>.</p>
<p>From the <a href="https://www.carlwebster.com/01-building-websters-lab-v2-introduction/" target="_blank" rel="noopener">introduction</a> article, these are the VMs 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">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>
</tbody>
</table>
<p>Follow the earlier process to build the two servers above, but do not power on the servers. Before we power on the new servers, we need an additional hard drive on each server. For LabFS, that drive is for shared files and folders and LabSQL, SQL databases.</p>
<p>Follow these steps to add the second drive.</p>
<h2>VMware</h2>
<p>In vCenter, right-click a VM and click <em>Edit Settings…</em>, as shown in Figure 1.</p>
<figure id="attachment_31898" aria-describedby="caption-attachment-31898" style="width: 343px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31898 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-17.png" alt="Figure 1" width="343" height="550" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-17.png 343w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-17-187x300.png 187w" sizes="auto, (max-width: 343px) 100vw, 343px" /></a><figcaption id="caption-attachment-31898" class="wp-caption-text">Figure 1</figcaption></figure>
<p>Click <em>ADD NEW DEVICE</em> and click <em>Hard Disk</em>, as shown in Figure 2.</p>
<figure id="attachment_31899" aria-describedby="caption-attachment-31899" style="width: 860px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31899 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-17.png" alt="Figure 2" width="860" height="924" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-17.png 860w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-17-279x300.png 279w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-17-745x800.png 745w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-17-768x825.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-17-600x645.png 600w" sizes="auto, (max-width: 860px) 100vw, 860px" /></a><figcaption id="caption-attachment-31899" class="wp-caption-text">Figure 2</figcaption></figure>
<p>For <em>New Hard disk*</em>, enter <strong>100 </strong>for the size in GB and click <em>OK</em>, as shown in Figure 3.</p>
<figure id="attachment_31900" aria-describedby="caption-attachment-31900" style="width: 862px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31900 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-17.png" alt="Figure 3" width="862" height="922" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-17.png 862w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-17-280x300.png 280w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-17-748x800.png 748w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-17-768x821.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-17-600x642.png 600w" sizes="auto, (max-width: 862px) 100vw, 862px" /></a><figcaption id="caption-attachment-31900" class="wp-caption-text">Figure 3</figcaption></figure>
<p>Expand <em>VM Hardware</em> and see both hard disks, as shown in Figure 4.</p>
<figure id="attachment_31901" aria-describedby="caption-attachment-31901" style="width: 441px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31901 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-17.png" alt="Figure 4" width="441" height="298" /></a><figcaption id="caption-attachment-31901" class="wp-caption-text">Figure 4</figcaption></figure>
<p>Repeat for the other server.</p>
<p>Power on both VMs.</p>
<h2>XenServer</h2>
<p>In XenCenter, select a VM in the left pane and click the <em>Storage</em> tab in the right pane, as shown in Figure 5.</p>
<figure id="attachment_31902" aria-describedby="caption-attachment-31902" style="width: 509px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31902 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-17.png" alt="Figure 5" width="509" height="328" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-17.png 509w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-17-466x300.png 466w" sizes="auto, (max-width: 509px) 100vw, 509px" /></a><figcaption id="caption-attachment-31902" class="wp-caption-text">Figure 5</figcaption></figure>
<p>Click <em>Add</em>, as shown in Figure 6.</p>
<figure id="attachment_31903" aria-describedby="caption-attachment-31903" style="width: 226px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31903 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-16.png" alt="Figure 6" width="226" height="550" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-16.png 226w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-16-123x300.png 123w" sizes="auto, (max-width: 226px) 100vw, 226px" /></a><figcaption id="caption-attachment-31903" class="wp-caption-text">Figure 6</figcaption></figure>
<p>Enter a <em>Name</em>, <em>Description</em>, type <strong>100</strong> for the <em>Size</em>, and click <em>Add</em>, as shown in Figure 7.</p>
<figure id="attachment_31904" aria-describedby="caption-attachment-31904" style="width: 649px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31904 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-16.png" alt="Figure 7" width="649" height="434" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-16.png 649w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-16-449x300.png 449w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-16-600x401.png 600w" sizes="auto, (max-width: 649px) 100vw, 649px" /></a><figcaption id="caption-attachment-31904" class="wp-caption-text">Figure 7</figcaption></figure>
<p>XenCenter shows both hard disks, as shown in Figure 8.</p>
<figure id="attachment_31905" aria-describedby="caption-attachment-31905" style="width: 789px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31905 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-16.png" alt="Figure 8" width="789" height="237" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-16.png 789w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-16-530x159.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-16-768x231.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-16-600x180.png 600w" sizes="auto, (max-width: 789px) 100vw, 789px" /></a><figcaption id="caption-attachment-31905" class="wp-caption-text">Figure 8</figcaption></figure>
<p>Repeat for the other server.</p>
<p>Power on both VMs.</p>
<h2>File Server (LabFS)</h2>
<p>The first thing we need to do is join our File Server to the domain.</p>
<p>If you remember, when we created Active Directory in <a href="https://www.carlwebster.com/14-building-websters-lab-v2-create-active-directory/" target="_blank" rel="noopener">Part 14</a>, I placed all my Microsoft infrastructure servers in a specific OU.</p>
<p>Lab</p>
<p style="padding-left: 20px;">Infrastructure</p>
<p style="padding-left: 40px;">Microsoft</p>
<p>Open a PowerShell session and type in the following from one of the domain controllers, as shown in Figure 9.</p>
<pre class="brush: powershell; title: ; notranslate">
Get-ADOrganizationalUnit -filter {Name -eq &quot;Microsoft&quot;}
</pre>
<figure id="attachment_31906" aria-describedby="caption-attachment-31906" style="width: 641px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31906 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-16.png" alt="Figure 9" width="641" height="347" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-16.png 641w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-16-530x287.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-16-600x325.png 600w" sizes="auto, (max-width: 641px) 100vw, 641px" /></a><figcaption id="caption-attachment-31906" class="wp-caption-text">Figure 9</figcaption></figure>
<p>Copy the <em>DistinguishedName</em> property to the clipboard.</p>
<p>We use PowerShell to install and configure the File Server.</p>
<p>Use mstsc to remote into the VM that is our File Server.</p>
<p>Exit Server Manager and start an elevated PowerShell session, as shown in Figure 10.</p>
<figure id="attachment_31907" aria-describedby="caption-attachment-31907" style="width: 1004px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31907 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-16.png" alt="Figure 10" width="1004" height="684" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-16.png 1004w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-16-440x300.png 440w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-16-900x613.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-16-768x523.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-16-600x409.png 600w" sizes="auto, (max-width: 1004px) 100vw, 1004px" /></a><figcaption id="caption-attachment-31907" class="wp-caption-text">Figure 10</figcaption></figure>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>. The process took less than the blink of an eye to happen, which is why there is no screenshot.</p>
<p>Remember to set the values you need.</p>
<p><strong>Note:</strong> Lines may wrap</p>
<pre class="brush: powershell; title: ; notranslate">
#Join the computer to the domain&amp;lt;/strong&amp;gt;

add-computer -Credential LabADDomain\Administrator `
-DomainName &quot;LabADDomain.com&quot; `
-OUPath &quot;OU=Microsoft,OU=Infrastructure,OU=Lab,DC=LabADDomain,DC=com&quot; `
-Force `
-Restart

#server reboots
</pre>
<p>After the VM restarts, log in using the domain&#8217;s Administrator account and password.</p>
<p>Right-click the <em>Start</em> menu and click <em>Disk Management</em>, as shown in Figure 11.</p>
<figure id="attachment_31908" aria-describedby="caption-attachment-31908" style="width: 303px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31908 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-16.png" alt="Figure 11" width="303" height="600" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-16.png 303w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-16-152x300.png 152w" sizes="auto, (max-width: 303px) 100vw, 303px" /></a><figcaption id="caption-attachment-31908" class="wp-caption-text">Figure 11</figcaption></figure>
<p>Select <em>MBR (Master Boot Record)</em> and click <em>OK</em>, as shown in Figure 12.</p>
<figure id="attachment_31909" aria-describedby="caption-attachment-31909" style="width: 401px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31909 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-16.png" alt="Figure 12" width="401" height="308" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-16.png 401w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-16-391x300.png 391w" sizes="auto, (max-width: 401px) 100vw, 401px" /></a><figcaption id="caption-attachment-31909" class="wp-caption-text">Figure 12</figcaption></figure>
<p>Right-click the <em>100GB Unallocated</em> drive and click <em>New Simple Volume…</em>, as shown in Figure 13.</p>
<figure id="attachment_31910" aria-describedby="caption-attachment-31910" style="width: 411px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31910 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-16.png" alt="Figure 13" width="411" height="264" /></a><figcaption id="caption-attachment-31910" class="wp-caption-text">Figure 13</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 14.</p>
<figure id="attachment_31911" aria-describedby="caption-attachment-31911" style="width: 499px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31911 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-16.png" alt="Figure 14" width="499" height="393" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-16.png 499w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-16-381x300.png 381w" sizes="auto, (max-width: 499px) 100vw, 499px" /></a><figcaption id="caption-attachment-31911" class="wp-caption-text">Figure 14</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 15.</p>
<figure id="attachment_31912" aria-describedby="caption-attachment-31912" style="width: 499px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-17.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31912 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-17.png" alt="Figure 15" width="499" height="393" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-17.png 499w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-17-381x300.png 381w" sizes="auto, (max-width: 499px) 100vw, 499px" /></a><figcaption id="caption-attachment-31912" class="wp-caption-text">Figure 15</figcaption></figure>
<p>Select the <em>drive letter</em> to use and click <em>Next</em>, as shown in Figure 16.</p>
<figure id="attachment_31913" aria-describedby="caption-attachment-31913" style="width: 499px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31913 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-16.png" alt="Figure 16" width="499" height="393" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-16.png 499w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-16-381x300.png 381w" sizes="auto, (max-width: 499px) 100vw, 499px" /></a><figcaption id="caption-attachment-31913" class="wp-caption-text">Figure 16</figcaption></figure>
<p>Type in a meaningful <em>Volume label</em> and click <em>Next</em>, as shown in Figure 17.</p>
<figure id="attachment_31914" aria-describedby="caption-attachment-31914" style="width: 499px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31914 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-16.png" alt="Figure 17" width="499" height="393" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-16.png 499w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-16-381x300.png 381w" sizes="auto, (max-width: 499px) 100vw, 499px" /></a><figcaption id="caption-attachment-31914" class="wp-caption-text">Figure 17</figcaption></figure>
<p>Click <em>Finish</em>, as shown in Figure 18.</p>
<figure id="attachment_31915" aria-describedby="caption-attachment-31915" style="width: 499px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31915 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-16.png" alt="Figure 18" width="499" height="393" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-16.png 499w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-16-381x300.png 381w" sizes="auto, (max-width: 499px) 100vw, 499px" /></a><figcaption id="caption-attachment-31915" class="wp-caption-text">Figure 18</figcaption></figure>
<p>In a few seconds, Disk Management shows the new drive, as shown in Figure 19.</p>
<figure id="attachment_31916" aria-describedby="caption-attachment-31916" style="width: 754px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31916 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-16.png" alt="Figure 19" width="754" height="597" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-16.png 754w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-16-379x300.png 379w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-16-600x475.png 600w" sizes="auto, (max-width: 754px) 100vw, 754px" /></a><figcaption id="caption-attachment-31916" class="wp-caption-text">Figure 19</figcaption></figure>
<p>Now to install the server certificate from the CA.</p>
<p>Save the following to a file name c:\CertFiles\computer-request.inf.</p>
<p>I want to thank Michael B. Smith for creating this INF file for me.</p>
<p>Use the data needed for your environment.</p>
<pre class="brush: plain; title: ; notranslate">
LabFS                     = the name of your File Server 
LabADDomain.com           = your domain name 
&quot;LabCA\LabDomain CA Root&quot; = the name of your CA server and the name of your CA.
</pre>
<pre class="brush: plain; title: ; notranslate">
;----------------- computer-request.inf -----------------
; LabFS.LabADDomain.com
;
; certreq -new computer-request.inf computer-request.req
; certreq -submit -config &quot;LabCA\LabDomain CA Root&quot; computer-request.req computer-request.cer
; certreq -accept -config &quot;LabCA\LabDomain CA Root&quot; computer-request.cer
;

&#x5B;Version]
Signature = &quot;$Windows NT$&quot;

&#x5B;NewRequest]
Subject = &quot;CN=LabFS.LabADDomain.com&quot; ; replace with the FQDN of the File Server
FriendlyName = &quot;Computer (Machine) for LabFS.LabADDomain.com&quot;
KeyLength = 2048
; Can be 1024, 2048, 4096, 8192, or 16384.
; Larger key sizes are more secure but have a greater impact on performance.
KeySpec = 1                     ; AT_KEYEXCHANGE
Exportable = TRUE               ; private-key is exportable
MachineKeySet = TRUE            ; goes in machine store instead of user's personal store
SMIME = False                   ; cannot be used for signing S/MIME messages
PrivateKeyArchive = FALSE
HashAlgorithm = sha256          ; &quot;certutil -oid 1 | findstr pwszName&quot; -- gives a list (including sha1)
UserProtected = FALSE
UseExistingKeySet = FALSE       ; we are not renewing a key that already exists
ProviderName = &quot;Microsoft RSA SChannel Cryptographic Provider&quot;
ProviderType = 12               ; for ProviderName and ProviderType, see &quot;certutil -csplist&quot;
RequestType = PKCS10            ; if empty or set to &quot;CERT&quot; then a self-signed cert is created
KeyUsage = 0xa0                 ; 0xa0 - CERT_DIGITAL_SIGNATURE_KEY_USAGE + CERT_KEY_ENCIPHERMENT_KEY_USAGE

&#x5B;EnhancedKeyUsageExtension]
OID=1.3.6.1.5.5.7.3.1 ; this is for Server Authentication - PKIX_KP_SERVER_AUTH

&#x5B;Extensions]
; Note: 2.5.29.17 is the OID for a SAN extension.

2.5.29.17 = &quot;{text}&quot;
_continue_ = &quot;dns=LabFS.LabADDomain.com&quot;

&#x5B;RequestAttributes]
CertificateTemplate = &quot;Server Template&quot;

;-----------------------------------------------
</pre>
<p>Open an elevated command prompt.</p>
<p>Type in <strong>cd c:\CertFiles</strong> and press <em>Enter</em>.</p>
<p>The three commands we need to run are at the top of the computer-request.inf file.</p>
<p>Type in <strong>notepad computer-request.inf</strong> and press <em>Enter</em>.</p>
<p>Copy the line <strong>certreq -new computer-request.inf computer-request.req</strong>, paste it in the elevated command prompt, and press <em>Enter</em>.</p>
<p>Copy the line <strong>certreq -submit -config &#8220;LabCA\LabDomain CA Root&#8221; computer-request.req computer-request.cer</strong>, paste it in the elevated command prompt, and press <em>Enter</em>.</p>
<p><strong>Note:</strong> If you get a warning similar to the following, you can ignore the warning. The warning tells you that the certificate request validity period is past the lifetime of the CA&#8217;s root certificate lifespan.</p>
<blockquote><p>Certificate retrieved(Issued)Issued The certificate validity period will be shorter than the Server Template Certificate Template specifies because the template validity period is longer than the maximum certificate validity period allowed by the CA.  Consider renewing the CA certificate, reducing the template validity period, or increasing the registry validity period.</p></blockquote>
<p>Copy the line <strong>certreq -accept -config &#8220;LabCA\LabDomain CA Root&#8221; computer-request.cer</strong>, paste it in the elevated command prompt, and press <em>Enter</em>.</p>
<p>Figure 20 shows the results of running the certificate request commands.</p>
<figure id="attachment_34734" aria-describedby="caption-attachment-34734" style="width: 878px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure020-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34734 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure020-1.png" alt="Figure 20" width="878" height="483" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure020-1.png 878w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure020-1-530x292.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure020-1-768x422.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure020-1-600x330.png 600w" sizes="auto, (max-width: 878px) 100vw, 878px" /></a><figcaption id="caption-attachment-34734" class="wp-caption-text">Figure 20</figcaption></figure>
<p>There is nothing else to do with the File Server VM at this point in this article series.</p>
<h2>SQL Server (LabSQL)</h2>
<p>Follow the same steps as the File Server to join the domain and provision the 100GB hard disk.</p>
<p>There are several pieces of information needed before installing Microsoft SQL Server.</p>
<ol>
<li>Applications used in the lab</li>
<li>What versions of Microsoft SQL Server do the applications support?</li>
<li>Do the applications require any unique configuration in SQL Server?</li>
</ol>
<p>In my lab, the products that use Microsoft SQL Server are Citrix Virtual Apps and Desktops (CVAD), Citrix Provisioning Services (PVS), and VMware Horizon. Both vendors provide documentation on the supported version of SQL Server.</p>
<p><strong>Note:</strong> Parallels uses SQL Server for <a href="https://download.parallels.com/ras/v18/docs/en_US/Parallels-RAS-18-Administrators-Guide.pdf#page=391" target="_blank" rel="noopener">Parallels RAS Reporting</a>, which I don&#8217;t use in the lab.</p>
<p><a href="https://support.citrix.com/article/CTX114501" target="_blank" rel="noopener">Supported Databases for Citrix Virtual Apps and Desktops and Provisioning Services</a></p>
<p><a href="https://interopmatrix.vmware.com/#/Database" target="_blank" rel="noopener">VMware Product Interoperability Matrix</a></p>
<p>In my lab, I run the latest version of each product.</p>
<ul>
<li>CVAD 2103</li>
<li>PVS 2012</li>
<li>VMware Horizon 8 2106</li>
</ul>
<p>Using the links above, we can see that the current version of SQL Server supported is 2019.</p>
<p><strong>Note:</strong> Starting with CVAD 2003, <a href="https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/whats-new/removed-features.html" target="_blank" rel="noopener">Citrix removed support</a> for versions of SQL Server before SQL Server 2016. That leaves three versions of SQL Server supported: 2016, 2017, and 2019.</p>
<p>Figure 21 shows CVAD and PVS.</p>
<figure id="attachment_47872" aria-describedby="caption-attachment-47872" style="width: 1081px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure021-8.png"><img loading="lazy" decoding="async" class="size-full wp-image-47872" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure021-8.png" alt="Figure 21" width="1081" height="169" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure021-8.png 1081w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure021-8-530x83.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure021-8-900x141.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure021-8-768x120.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure021-8-600x94.png 600w" sizes="auto, (max-width: 1081px) 100vw, 1081px" /></a><figcaption id="caption-attachment-47872" class="wp-caption-text">Figure 21</figcaption></figure>
<p>Figure 22 shows VMware Horizon 8 2106. <span style="text-decoration: line-through;">Unfortunately, the VMware Product Interoperability Matrix does not allow you to select &#8220;Microsoft SQL Server&#8221;, nor does it allow you to sort the results. Yes, I left feedback on these shortcomings.</span> Since I initially published this article, VMware added the capability to select a specific database version. I selected SQL Server 2019 Standard.</p>
<figure id="attachment_47871" aria-describedby="caption-attachment-47871" style="width: 1064px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure022-7.png"><img loading="lazy" decoding="async" class="size-full wp-image-47871" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure022-7.png" alt="Figure 22" width="1064" height="852" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure022-7.png 1064w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure022-7-375x300.png 375w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure022-7-900x721.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure022-7-768x615.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure022-7-600x480.png 600w" sizes="auto, (max-width: 1064px) 100vw, 1064px" /></a><figcaption id="caption-attachment-47871" class="wp-caption-text">Figure 22</figcaption></figure>
<p>From both images, all the products support SQL Server 2019. Now, are there any particular configuration options required?</p>
<p>CVAD from <a href="https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/technical-overview/databases.html" target="_blank" rel="noopener">https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/technical-overview/databases.html</a>:</p>
<blockquote><p>Windows authentication is required for connections between the Controller and the SQL Server site database.</p>
<p>Each database must have the following characteristics:</p>
<ul>
<li>Use a collation that ends with _CI_AS_KS. Citrix recommends using a collation that ends with _100_CI_AS_KS.</li>
<li>For optimum performance, enable the SQL Server Read-Committed Snapshot. For details, see <a href="https://support.citrix.com/article/ctx137161" target="_blank" rel="noopener"><strong>CTX 137161</strong></a>.</li>
</ul>
</blockquote>
<p>PVS from <a href="https://docs.citrix.com/en-us/provisioning/current-release/system-requirements.html">https://docs.citrix.com/en-us/provisioning/current-release/system-requirements.html</a>:</p>
<blockquote><p>When configuring databases for provisioning, consider that no preference exists for any specific SQL collation. Collation supports the standard method recommended by Citrix Virtual Apps and Desktops when using the configuration wizard. The administrator creates the database with a collation that ends with _CI_AS_KS. Citrix recommends using a collation that ends with _100_CI_AS_KS.</p></blockquote>
<p>VMware Horizon from <a href="https://docs.vmware.com/en/VMware-Horizon/2103/horizon-installation.pdf" target="_blank" rel="noopener">https://docs.vmware.com/en/VMware-Horizon/2103/horizon-installation.pdf</a>:</p>
<blockquote><p><strong>Prepare an SQL Server Database for Event Reporting in Horizon Console</strong></p>
<p>Before you can use Horizon Console to configure an event database on Microsoft SQL Server, you must configure the correct TCP/IP properties and verify that the server uses SQL Server Authentication.</p>
<p><strong>Prerequisites</strong></p>
<ul>
<li>Create an SQL Server database for event reporting. See Add a Database and Database User for VMware Horizon Events in Horizon Console.</li>
<li>Verify that you have the required database privileges to configure the database.</li>
<li>Verify that the database server uses the SQL Server Authentication method of authentication. Do not use Windows Authentication.</li>
</ul>
</blockquote>
<p><span style="color: #333333; font-size: 1rem;">From these requirements, we know the following.</span></p>
<ol>
<li>SQL Server must use both SQL Server and Windows Authentication</li>
<li>Enable SQL Server Read-Committed Snapshots</li>
<li>When creating a database for CVAD or PVS, make sure the database uses a collation that ends with _100_CI_AS_KS</li>
</ol>
<h3>Install Microsoft SQL Server 2019</h3>
<p><strong>Evaluation SQL Server 2019</strong></p>
<p>You can download a 180-day evaluation copy of <a href="https://www.microsoft.com/en-us/evalcenter/evaluate-sql-server-2019" target="_blank" rel="noopener">Microsoft SQL Server 2019</a> from the Microsoft Evaluation Center.</p>
<p>Copy the SQL2019-SSEI-Eval.exe file to the LabSQL server in C:\SQL2019.</p>
<p>Right-click <em>SQL2019-SSEI-Eval.exe</em> and click <em>Run as administrator</em>, as shown in Figure 23.</p>
<figure id="attachment_31920" aria-describedby="caption-attachment-31920" style="width: 420px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31920 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-14.png" alt="Figure 23" width="420" height="233" /></a><figcaption id="caption-attachment-31920" class="wp-caption-text">Figure 23</figcaption></figure>
<p>Click <em>Download Media</em>, as shown in Figure 24.</p>
<figure id="attachment_31921" aria-describedby="caption-attachment-31921" style="width: 845px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31921 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-14.png" alt="Figure 24" width="845" height="670" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-14.png 845w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-14-378x300.png 378w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-14-768x609.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-14-600x476.png 600w" sizes="auto, (max-width: 845px) 100vw, 845px" /></a><figcaption id="caption-attachment-31921" class="wp-caption-text">Figure 24</figcaption></figure>
<p>Select <em>ISO</em>, type in <strong>C:\SQL2019</strong> for <em>SELECT DOWNLOAD LOCATION</em>, and click <em>Download</em>, as shown in Figure 25.</p>
<figure id="attachment_31922" aria-describedby="caption-attachment-31922" style="width: 845px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31922 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-13.png" alt="Figure 25" width="845" height="670" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-13.png 845w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-13-378x300.png 378w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-13-768x609.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-13-600x476.png 600w" sizes="auto, (max-width: 845px) 100vw, 845px" /></a><figcaption id="caption-attachment-31922" class="wp-caption-text">Figure 25</figcaption></figure>
<p>After the download completes, click <em>Open folder</em>, as shown in Figure 26.</p>
<figure id="attachment_31923" aria-describedby="caption-attachment-31923" style="width: 845px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31923 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-12.png" alt="Figure 26" width="845" height="670" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-12.png 845w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-12-378x300.png 378w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-12-768x609.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-12-600x476.png 600w" sizes="auto, (max-width: 845px) 100vw, 845px" /></a><figcaption id="caption-attachment-31923" class="wp-caption-text">Figure 26</figcaption></figure>
<p>Right-click the ISO file and click <em>Mount</em>, as shown in Figure 27.</p>
<figure id="attachment_31924" aria-describedby="caption-attachment-31924" style="width: 438px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31924 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-12.png" alt="Figure 27" width="438" height="211" /></a><figcaption id="caption-attachment-31924" class="wp-caption-text">Figure 27</figcaption></figure>
<p>Right-click <em>setup.exe</em> and click <em>Run as administrator</em>, as shown in Figure 28.</p>
<figure id="attachment_31925" aria-describedby="caption-attachment-31925" style="width: 366px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-11.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31925 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-11.png" alt="Figure 28" width="366" height="316" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-11.png 366w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-11-347x300.png 347w" sizes="auto, (max-width: 366px) 100vw, 366px" /></a><figcaption id="caption-attachment-31925" class="wp-caption-text">Figure 28</figcaption></figure>
<p>In the left pane, click <em>Installation</em> and in the right pane, click <em>New SQL Server stand-alone installation or add features to an existing installation</em>, as shown in Figure 29.</p>
<figure id="attachment_31926" aria-describedby="caption-attachment-31926" style="width: 786px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-11.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31926 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-11.png" alt="Figure 29" width="786" height="593" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-11.png 786w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-11-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-11-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-11-600x453.png 600w" sizes="auto, (max-width: 786px) 100vw, 786px" /></a><figcaption id="caption-attachment-31926" class="wp-caption-text">Figure 29</figcaption></figure>
<p>Click <em>Next,</em> as shown in Figure 30.</p>
<figure id="attachment_31927" aria-describedby="caption-attachment-31927" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-11.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31927 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-11.png" alt="Figure 30" width="806" height="608" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-11.png 806w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-11-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-11-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-11-600x453.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-31927" class="wp-caption-text">Figure 30</figcaption></figure>
<p>Select <em>I accept the license terms and</em> and click <em>Next</em>, as shown in Figure 31.</p>
<figure id="attachment_31928" aria-describedby="caption-attachment-31928" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-11.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31928 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-11.png" alt="Figure 31" width="806" height="608" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-11.png 806w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-11-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-11-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-11-600x453.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-31928" class="wp-caption-text">Figure 31</figcaption></figure>
<p>Select <em>Use Microsoft Update to check for updates (recommended)</em> and click <em>Next</em>, as shown in Figure 32.</p>
<figure id="attachment_31929" aria-describedby="caption-attachment-31929" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-11.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31929 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-11.png" alt="Figure 32" width="806" height="608" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-11.png 806w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-11-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-11-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-11-600x453.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-31929" class="wp-caption-text">Figure 32</figcaption></figure>
<p>Ignore the Windows Firewall warning and click <em>Next</em>, as shown in Figure 33.</p>
<figure id="attachment_31930" aria-describedby="caption-attachment-31930" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-10.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31930 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-10.png" alt="Figure 33" width="806" height="608" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-10.png 806w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-10-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-10-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-10-600x453.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-31930" class="wp-caption-text">Figure 33</figcaption></figure>
<p>Select <em>Database Engine Services</em>, as shown in Figure 34.</p>
<figure id="attachment_31931" aria-describedby="caption-attachment-31931" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31931 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-9.png" alt="Figure 34" width="806" height="608" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-9.png 806w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-9-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-9-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-9-600x453.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-31931" class="wp-caption-text">Figure 34</figcaption></figure>
<p>Scroll down and select <em>Client Tools Connectivity</em> and click <em>Next</em>, as shown in Figure 35.</p>
<figure id="attachment_31932" aria-describedby="caption-attachment-31932" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-10.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31932 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-10.png" alt="Figure 35" width="806" height="608" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-10.png 806w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-10-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-10-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-10-600x453.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-31932" class="wp-caption-text">Figure 35</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 36.</p>
<figure id="attachment_31933" aria-describedby="caption-attachment-31933" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31933 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-8.png" alt="Figure 36" width="806" height="608" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-8.png 806w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-8-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-8-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-8-600x453.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-31933" class="wp-caption-text">Figure 36</figcaption></figure>
<p>Click the <em>Collation</em> tab and click <em>Customize…</em>, as shown in Figure 37.</p>
<figure id="attachment_31934" aria-describedby="caption-attachment-31934" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31934 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-7.png" alt="Figure 37" width="806" height="608" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-7.png 806w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-7-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-7-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-7-600x453.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-31934" class="wp-caption-text">Figure 37</figcaption></figure>
<p>Citrix requires a particular collation. Select <em>Windows collation designator and sort order,</em> and scroll down to select <em>Latin1_General_100</em>, as shown in Figure 38.</p>
<figure id="attachment_31935" aria-describedby="caption-attachment-31935" style="width: 746px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31935 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-8.png" alt="Figure 38" width="746" height="495" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-8.png 746w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-8-452x300.png 452w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-8-600x398.png 600w" sizes="auto, (max-width: 746px) 100vw, 746px" /></a><figcaption id="caption-attachment-31935" class="wp-caption-text">Figure 38</figcaption></figure>
<p>Select <em>Accent-sensitive</em> and <em>Kana-sensitive</em>, and click <em>OK</em>, as shown in Figure 39.</p>
<figure id="attachment_31936" aria-describedby="caption-attachment-31936" style="width: 746px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31936 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-8.png" alt="Figure 39" width="746" height="496" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-8.png 746w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-8-451x300.png 451w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-8-600x399.png 600w" sizes="auto, (max-width: 746px) 100vw, 746px" /></a><figcaption id="caption-attachment-31936" class="wp-caption-text">Figure 39</figcaption></figure>
<p>Notice the Collation is Latin1_General_100_CI_AS_KS, as recommended by Citrix.</p>
<p>&#8220;Citrix recommends using a collation that ends with _100_CI_AS_KS&#8221;</p>
<p>Click <em>Next</em>, as shown in Figure 40.</p>
<figure id="attachment_31937" aria-describedby="caption-attachment-31937" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31937 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-7.png" alt="Figure 40" width="806" height="608" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-7.png 806w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-7-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-7-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-7-600x453.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-31937" class="wp-caption-text">Figure 40</figcaption></figure>
<p>Because VMware requires SQL authentication and Citrix requires Windows authentication, select <em>Mixed Mode (SQL Server authentication and Windows authentication)</em>, enter a password for the SQL Server&#8217;s sa account, and click <em>Add Current User</em>, as shown in Figure 41.</p>
<p>Clicking the <em>Add Current User</em> adds the domain&#8217;s administrator account as a SQL Server administrator.</p>
<figure id="attachment_31938" aria-describedby="caption-attachment-31938" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31938 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-7.png" alt="Figure 41" width="806" height="608" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-7.png 806w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-7-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-7-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-7-600x453.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-31938" class="wp-caption-text">Figure 41</figcaption></figure>
<p>Click <em>Add</em>, as shown in Figure 42.</p>
<figure id="attachment_31939" aria-describedby="caption-attachment-31939" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure042-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31939 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure042-7.png" alt="Figure 42" width="806" height="608" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure042-7.png 806w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure042-7-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure042-7-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure042-7-600x453.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-31939" class="wp-caption-text">Figure 42</figcaption></figure>
<p>We created<a href="https://www.carlwebster.com/14-building-websters-lab-v2-create-active-directory/" target="_blank" rel="noopener"> two service accounts earlier</a>—one for Citrix and one for VMware. Add the two service accounts and other required accounts or groups and click <em>OK</em>, as shown in Figure 43.</p>
<figure id="attachment_31940" aria-describedby="caption-attachment-31940" style="width: 457px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31940 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-7.png" alt="Figure 43" width="457" height="251" /></a><figcaption id="caption-attachment-31940" class="wp-caption-text">Figure 43</figcaption></figure>
<p>Click the <em>Data Directories</em> tab, change the <em>Data root directory</em> to the drive letter assigned to the second hard disk on the SQL server, and click <em>Next</em>, as shown in Figure 44.</p>
<figure id="attachment_31941" aria-describedby="caption-attachment-31941" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31941 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-7.png" alt="Figure 44" width="806" height="608" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-7.png 806w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-7-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-7-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-7-600x453.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-31941" class="wp-caption-text">Figure 44</figcaption></figure>
<p>Verify all the information is correct and click <em>Install</em>, as shown in Figure 45. If any information is not correct, click <em>Back</em>, correct the information, and then continue.</p>
<figure id="attachment_31942" aria-describedby="caption-attachment-31942" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31942 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-7.png" alt="Figure 45" width="806" height="608" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-7.png 806w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-7-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-7-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-7-600x453.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-31942" class="wp-caption-text">Figure 45</figcaption></figure>
<p>As shown in Figure 46, the SQL Server installation begins.</p>
<figure id="attachment_31943" aria-describedby="caption-attachment-31943" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31943 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-7.png" alt="Figure 46" width="806" height="608" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-7.png 806w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-7-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-7-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-7-600x453.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-31943" class="wp-caption-text">Figure 46</figcaption></figure>
<p>Once the installation completes, click <em>Close</em>, as shown in Figure 47.</p>
<figure id="attachment_31944" aria-describedby="caption-attachment-31944" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31944 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-7.png" alt="Figure 47" width="806" height="608" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-7.png 806w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-7-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-7-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-7-600x453.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-31944" class="wp-caption-text">Figure 47</figcaption></figure>
<p>Close all windows.</p>
<p><strong>Full SQL Server 2019</strong></p>
<p>Mount the SQL Server 2019 ISO to the VM.</p>
<p>Change to the D drive (or the CD/DVD drive where the ISO is mounted), right-click <em>setup.exe,</em> and click <em>Run as administrator</em>, as shown in Figure 48.</p>
<figure id="attachment_31945" aria-describedby="caption-attachment-31945" style="width: 371px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31945 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-7.png" alt="Figure 48" width="371" height="313" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-7.png 371w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-7-356x300.png 356w" sizes="auto, (max-width: 371px) 100vw, 371px" /></a><figcaption id="caption-attachment-31945" class="wp-caption-text">Figure 48</figcaption></figure>
<p>In the left pane, click <em>Installation</em> and in the right pane, click <em>New SQL Server stand-alone installation or add features to an existing installation</em>, as shown in Figure 49.</p>
<figure id="attachment_31946" aria-describedby="caption-attachment-31946" style="width: 786px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31946 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-7.png" alt="Figure 49" width="786" height="593" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-7.png 786w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-7-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-7-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-7-600x453.png 600w" sizes="auto, (max-width: 786px) 100vw, 786px" /></a><figcaption id="caption-attachment-31946" class="wp-caption-text">Figure 49</figcaption></figure>
<p>Click <em>Next,</em> as shown in Figure 50.</p>
<figure id="attachment_31947" aria-describedby="caption-attachment-31947" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure050-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31947 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure050-7.png" alt="Figure 50" width="806" height="608" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure050-7.png 806w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure050-7-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure050-7-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure050-7-600x453.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-31947" class="wp-caption-text">Figure 50</figcaption></figure>
<p>Select <em>I accept the license terms and</em> and click <em>Next</em>, as shown in Figure 51.</p>
<figure id="attachment_31948" aria-describedby="caption-attachment-31948" style="width: 806px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-6.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31948 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-6.png" alt="Figure 51" width="806" height="608" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-6.png 806w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-6-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-6-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-6-600x453.png 600w" sizes="auto, (max-width: 806px) 100vw, 806px" /></a><figcaption id="caption-attachment-31948" class="wp-caption-text">Figure 51</figcaption></figure>
<p>Follow the process as shown in Figures 32 through 47.</p>
<p>Now to install the server certificate from the CA.</p>
<p>Save the following to a file name c:\CertFiles\computer-request.inf.</p>
<p>I want to thank Michael B. Smith for creating this INF file for me.</p>
<p>Use the data needed for your environment.</p>
<pre class="brush: plain; title: ; notranslate">
LabSQL                    = the name of your SQL Server
LabADDomain.com           = your domain name
&quot;LabCA\LabDomain CA Root&quot; = the name of your CA server and the name of your CA.
</pre>
<pre class="brush: plain; title: ; notranslate">
;----------------- computer-request.inf -----------------
; LabSQL.LabADDomain.com
;
; certreq -new computer-request.inf computer-request.req
; certreq -submit -config &quot;LabCA\LabDomain CA Root&quot; computer-request.req computer-request.cer
; certreq -accept -config &quot;LabCA\LabDomain CA Root&quot; computer-request.cer
;

&#x5B;Version]
Signature=&quot;$Windows NT$&quot;

&#x5B;NewRequest]
Subject = &quot;CN=LabSQL.LabADDomain.com&quot; ; replace with the FQDN of the SQL Server
FriendlyName = &quot;Computer (Machine) for LabSQL.LabADDomain.com&quot;
KeyLength = 2048
; Can be 1024, 2048, 4096, 8192, or 16384.
; Larger key sizes are more secure but have a greater impact on performance.
KeySpec = 1                     ; AT_KEYEXCHANGE
Exportable = TRUE               ; private-key is exportable
MachineKeySet = TRUE            ; goes in machine store instead of user's personal store
SMIME = False                   ; cannot be used for signing S/MIME messages
PrivateKeyArchive = FALSE
HashAlgorithm = sha256          ; &quot;certutil -oid 1 | findstr pwszName&quot; -- gives a list (including sha1)
UserProtected = FALSE
UseExistingKeySet = FALSE       ; we are not renewing a key that already exists
ProviderName = &quot;Microsoft RSA SChannel Cryptographic Provider&quot;
ProviderType = 12               ; for ProviderName and ProviderType, see &quot;certutil -csplist&quot;
RequestType = PKCS10            ; if empty or set to &quot;CERT&quot; then a self-signed cert is created
KeyUsage = 0xa0                 ; 0xa0 - CERT_DIGITAL_SIGNATURE_KEY_USAGE + CERT_KEY_ENCIPHERMENT_KEY_USAGE

&#x5B;EnhancedKeyUsageExtension]
OID=1.3.6.1.5.5.7.3.1 ; this is for Server Authentication - PKIX_KP_SERVER_AUTH

&#x5B;Extensions]
; Note: 2.5.29.17 is the OID for a SAN extension.

2.5.29.17 = &quot;{text}&quot;
_continue_ = &quot;dns=LabSQL.LabADDomain.com&quot;

&#x5B;RequestAttributes]
CertificateTemplate = &quot;Server Template&quot;

;-----------------------------------------------
</pre>
<p>Open an elevated command prompt.</p>
<p>Type in <strong>cd c:\CertFiles</strong> and press <em>Enter</em>.</p>
<p>The three commands we need to run are at the top of the computer-request.inf file.</p>
<p>Type in <strong>notepad computer-request.inf</strong> and press <em>Enter</em>.</p>
<p>Copy the line <strong>certreq -new computer-request.inf computer-request.req</strong>, paste it in the elevated command prompt, and press <em>Enter</em>.</p>
<p>Copy the line <strong>certreq -submit -config &#8220;LabCA\LabDomain CA Root&#8221; computer-request.req computer-request.cer</strong>, paste it in the elevated command prompt, and press <em>Enter</em>.</p>
<p><strong>Note:</strong> If you get a warning similar to the following, you can ignore the warning. The warning tells you that the certificate request validity period is past the lifetime of the CA&#8217;s root certificate lifespan.</p>
<blockquote><p>Certificate retrieved(Issued)Issued The certificate validity period will be shorter than the Server Template Certificate Template specifies because the template validity period is longer than the maximum certificate validity period allowed by the CA.  Consider renewing the CA certificate, reducing the template validity period, or increasing the registry validity period.</p></blockquote>
<p>Copy the line <strong>certreq -accept -config &#8220;LabCA\LabDomain CA Root&#8221; computer-request.cer</strong>, paste it in the elevated command prompt, and press <em>Enter</em>.</p>
<p>Figure 52 shows the results of running the certificate request commands.</p>
<figure id="attachment_34735" aria-describedby="caption-attachment-34735" style="width: 887px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure052.png"><img loading="lazy" decoding="async" class="size-full wp-image-34735" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure052.png" alt="Figure 52" width="887" height="474" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure052.png 887w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure052-530x283.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure052-768x410.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure052-600x321.png 600w" sizes="auto, (max-width: 887px) 100vw, 887px" /></a><figcaption id="caption-attachment-34735" class="wp-caption-text">Figure 52</figcaption></figure>
<p>We need to configure a firewall rule to allow TCP port 1433 Inbound. If we don&#8217;t, when we create the management computer and install the SQL Server Management Studio, we can&#8217;t connect from the management computer to the SQL Server.</p>
<p>Please see <a href="https://docs.microsoft.com/en-us/sql/sql-server/install/configure-the-windows-firewall-to-allow-sql-server-access?view=sql-server-ver15" target="_blank" rel="noopener"><em>Configure the Windows Firewall to Allow SQL Server Access</em></a>.</p>
<p>Copy the following into the elevated command prompt and press <em>Enter</em>, as shown in Figure 53.</p>
<pre class="brush: plain; title: ; notranslate">
netsh advfirewall firewall add rule name = &quot;SQL Server TCP Port 1433 Inbound&quot; dir = in protocol = tcp action = allow localport = 1433 remoteip = localsubnet profile = Any
</pre>
<figure id="attachment_32018" aria-describedby="caption-attachment-32018" style="width: 942px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32018 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-7.png" alt="Figure 53" width="942" height="171" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-7.png 942w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-7-530x96.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-7-900x163.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-7-768x139.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-7-600x109.png 600w" sizes="auto, (max-width: 942px) 100vw, 942px" /></a><figcaption id="caption-attachment-32018" class="wp-caption-text">Figure 53</figcaption></figure>
<p>In the elevated command prompt, type in <strong>wf.msc</strong>, and press <em>Enter </em>to start Windows Defender Firewall with Advanced Security, as shown in Figure 54.</p>
<figure id="attachment_32019" aria-describedby="caption-attachment-32019" style="width: 1386px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-6.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32019 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-6.png" alt="Figure 54" width="1386" height="784" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-6.png 1386w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-6-530x300.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-6-900x509.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-6-768x434.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-6-600x339.png 600w" sizes="auto, (max-width: 1386px) 100vw, 1386px" /></a><figcaption id="caption-attachment-32019" class="wp-caption-text">Figure 54</figcaption></figure>
<p>In the left pane, click <em>Inbound Rules,</em> and you see the new SQL Server firewall rule in the middle pane, as shown in Figure 55.</p>
<figure id="attachment_32020" aria-describedby="caption-attachment-32020" style="width: 951px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure055-6.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32020 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure055-6.png" alt="Figure 55" width="951" height="193" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure055-6.png 951w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure055-6-530x108.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure055-6-900x183.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure055-6-768x156.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure055-6-600x122.png 600w" sizes="auto, (max-width: 951px) 100vw, 951px" /></a><figcaption id="caption-attachment-32020" class="wp-caption-text">Figure 55</figcaption></figure>
<h2>License Server</h2>
<p>I use the second domain controller (DC), LabDC2, as my lab&#8217;s Citrix and Remote Desktop license server. Both components are lightweight and place no processing or security burden on the DC.</p>
<h4>Remote Desktop Licensing</h4>
<p>If you do not have a Microsoft Action Pack Subscription (MAPS) for Remote Desktop licenses, never fear as there is a 120-day grace period for clients that connect to a Remote Desktop Session Host server (RDSH).</p>
<p><a href="https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/rds-client-access-license" target="_blank" rel="noopener"><em>License your RDS deployment with client access licenses (CALs)</em></a></p>
<blockquote><p>There is a licensing grace period of 120 days, during which no license server is required. Once the grace period ends, clients must have a valid RDS CAL issued by a license server before they can log on to an RD Session Host server.</p></blockquote>
<p>Until Citrix develops a community license program as Microsoft and VMware have, you have a 30-day grace period (provided you can find a CVAD product ISO to download).</p>
<p>To install Remote Desktop Licensing on LabDC2, start an elevated PowerShell session and enter the following command, as shown in Figure 56.</p>
<pre class="brush: powershell; title: ; notranslate">
Install-WindowsFeature RDS-Licensing –IncludeAllSubFeature -IncludeManagementTools
</pre>
<figure id="attachment_32022" aria-describedby="caption-attachment-32022" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-6.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32022 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-6.png" alt="Figure 56" width="859" height="224" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-6.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-6-530x138.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-6-768x200.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-6-600x156.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-32022" class="wp-caption-text">Figure 56</figcaption></figure>
<p>Leave the PowerShell session open.</p>
<p>Click the <em>Start Menu</em>, expand <em>Windows Administrative Tools</em>, and click <em>Remote Desktop Licensing Manager</em>, as shown in Figure 57.</p>
<figure id="attachment_32023" aria-describedby="caption-attachment-32023" style="width: 313px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure057-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32023 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure057-5.png" alt="Figure 57" width="313" height="682" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure057-5.png 313w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure057-5-138x300.png 138w" sizes="auto, (max-width: 313px) 100vw, 313px" /></a><figcaption id="caption-attachment-32023" class="wp-caption-text">Figure 57</figcaption></figure>
<p>Expand <em>All servers</em>, right-click <em>LabDC2</em>, and click <em>Activate Server</em>, as shown in Figure 58.</p>
<figure id="attachment_32024" aria-describedby="caption-attachment-32024" style="width: 316px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure058-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32024 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure058-5.png" alt="Figure 58" width="316" height="350" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure058-5.png 316w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure058-5-271x300.png 271w" sizes="auto, (max-width: 316px) 100vw, 316px" /></a><figcaption id="caption-attachment-32024" class="wp-caption-text">Figure 58</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 59.</p>
<figure id="attachment_32025" aria-describedby="caption-attachment-32025" style="width: 550px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure059-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32025 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure059-5.png" alt="Figure 59" width="550" height="618" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure059-5.png 550w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure059-5-267x300.png 267w" sizes="auto, (max-width: 550px) 100vw, 550px" /></a><figcaption id="caption-attachment-32025" class="wp-caption-text">Figure 59</figcaption></figure>
<p>Verify that the <em>Connection method</em> is <em>Automatic connection</em> and click <em>Next</em>, as shown in Figure 60.</p>
<figure id="attachment_32026" aria-describedby="caption-attachment-32026" style="width: 550px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure060-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32026 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure060-5.png" alt="Figure 60" width="550" height="618" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure060-5.png 550w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure060-5-267x300.png 267w" sizes="auto, (max-width: 550px) 100vw, 550px" /></a><figcaption id="caption-attachment-32026" class="wp-caption-text">Figure 60</figcaption></figure>
<p>Enter the required information and click <em>Next</em>, as shown in Figure 61.</p>
<figure id="attachment_32027" aria-describedby="caption-attachment-32027" style="width: 550px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure061-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32027 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure061-5.png" alt="Figure 61" width="550" height="618" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure061-5.png 550w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure061-5-267x300.png 267w" sizes="auto, (max-width: 550px) 100vw, 550px" /></a><figcaption id="caption-attachment-32027" class="wp-caption-text">Figure 61</figcaption></figure>
<p>If you wish, enter the optional information and click <em>Next</em>, as shown in Figure 62.</p>
<figure id="attachment_32028" aria-describedby="caption-attachment-32028" style="width: 550px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32028 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-5.png" alt="Figure 62" width="550" height="618" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-5.png 550w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-5-267x300.png 267w" sizes="auto, (max-width: 550px) 100vw, 550px" /></a><figcaption id="caption-attachment-32028" class="wp-caption-text">Figure 62</figcaption></figure>
<p>Leave <em>Start Install License Wizard now</em> selected and click <em>Next</em>, as shown in Figure 63.</p>
<figure id="attachment_32029" aria-describedby="caption-attachment-32029" style="width: 550px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure063-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32029 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure063-4.png" alt="Figure 63" width="550" height="618" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure063-4.png 550w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure063-4-267x300.png 267w" sizes="auto, (max-width: 550px) 100vw, 550px" /></a><figcaption id="caption-attachment-32029" class="wp-caption-text">Figure 63</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 64.</p>
<figure id="attachment_32030" aria-describedby="caption-attachment-32030" style="width: 550px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure064-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32030 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure064-4.png" alt="Figure 64" width="550" height="618" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure064-4.png 550w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure064-4-267x300.png 267w" sizes="auto, (max-width: 550px) 100vw, 550px" /></a><figcaption id="caption-attachment-32030" class="wp-caption-text">Figure 64</figcaption></figure>
<p>For MAPS RDS CALs, verify the <em>License program</em> is <em>License Pack (Retail Purchase)</em> and click <em>Next</em>, as shown in Figure 65.</p>
<figure id="attachment_32031" aria-describedby="caption-attachment-32031" style="width: 550px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure065-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32031 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure065-4.png" alt="Figure 65" width="550" height="618" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure065-4.png 550w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure065-4-267x300.png 267w" sizes="auto, (max-width: 550px) 100vw, 550px" /></a><figcaption id="caption-attachment-32031" class="wp-caption-text">Figure 65</figcaption></figure>
<p>Enter your MAPS RDS CALs, click <em>Add</em>, and click <em>Next</em>, as shown in Figure 66.</p>
<figure id="attachment_32032" aria-describedby="caption-attachment-32032" style="width: 550px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure066-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32032 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure066-4.png" alt="Figure 66" width="550" height="618" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure066-4.png 550w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure066-4-267x300.png 267w" sizes="auto, (max-width: 550px) 100vw, 550px" /></a><figcaption id="caption-attachment-32032" class="wp-caption-text">Figure 66</figcaption></figure>
<p>After the license is installed, click <em>Finish</em>, as shown in Figure 67.</p>
<p>If your license did not install, either retry the installation or call the Microsoft Clearinghouse. The most frequent error I see is when someone moves RDS CALs to another server without deactivating the original server first.</p>
<figure id="attachment_32033" aria-describedby="caption-attachment-32033" style="width: 550px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure067-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32033 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure067-4.png" alt="Figure 67" width="550" height="618" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure067-4.png 550w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure067-4-267x300.png 267w" sizes="auto, (max-width: 550px) 100vw, 550px" /></a><figcaption id="caption-attachment-32033" class="wp-caption-text">Figure 67</figcaption></figure>
<p>Still in the RD Licensing Manager console, right-click LabDC2 and click <em>Review Configuration</em>, as shown in Figure 68.</p>
<figure id="attachment_32034" aria-describedby="caption-attachment-32034" style="width: 315px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure068-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32034 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure068-3.png" alt="Figure 68" width="315" height="348" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure068-3.png 315w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure068-3-272x300.png 272w" sizes="auto, (max-width: 315px) 100vw, 315px" /></a><figcaption id="caption-attachment-32034" class="wp-caption-text">Figure 68</figcaption></figure>
<p>Click <em>Add to Group</em>, as shown in Figure 69.</p>
<figure id="attachment_32035" aria-describedby="caption-attachment-32035" style="width: 599px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure069-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32035 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure069-3.png" alt="Figure 69" width="599" height="585" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure069-3.png 599w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure069-3-307x300.png 307w" sizes="auto, (max-width: 599px) 100vw, 599px" /></a><figcaption id="caption-attachment-32035" class="wp-caption-text">Figure 69</figcaption></figure>
<p>Click <em>Continue</em>, as shown in Figure 70.</p>
<figure id="attachment_32036" aria-describedby="caption-attachment-32036" style="width: 358px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure070-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32036 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure070-3.png" alt="Figure 70" width="358" height="186" /></a><figcaption id="caption-attachment-32036" class="wp-caption-text">Figure 70</figcaption></figure>
<p>Click <em>OK</em>, as shown in Figure 71.</p>
<figure id="attachment_32037" aria-describedby="caption-attachment-32037" style="width: 388px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure071-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32037 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure071-3.png" alt="Figure 71" width="388" height="172" /></a><figcaption id="caption-attachment-32037" class="wp-caption-text">Figure 71</figcaption></figure>
<p>We get a notice that the Remote Desktop Licensing service requires a restart, as shown in Figure 72.</p>
<figure id="attachment_32038" aria-describedby="caption-attachment-32038" style="width: 599px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure072-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32038 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure072-3.png" alt="Figure 72" width="599" height="585" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure072-3.png 599w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure072-3-307x300.png 307w" sizes="auto, (max-width: 599px) 100vw, 599px" /></a><figcaption id="caption-attachment-32038" class="wp-caption-text">Figure 72</figcaption></figure>
<p>In the elevated PowerShell session, type in the following commands, as shown in Figure 73.</p>
<pre class="brush: powershell; title: ; notranslate">
Stop-Service TermServLicensing
Start-Service TermServLicensing
</pre>
<figure id="attachment_32040" aria-describedby="caption-attachment-32040" style="width: 548px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure073-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32040 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure073-3.png" alt="Figure 73" width="548" height="136" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure073-3.png 548w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure073-3-530x132.png 530w" sizes="auto, (max-width: 548px) 100vw, 548px" /></a><figcaption id="caption-attachment-32040" class="wp-caption-text">Figure 73</figcaption></figure>
<p>Exit the PowerShell session.</p>
<p>Click <em>OK</em>, as shown in Figure 74.</p>
<figure id="attachment_32041" aria-describedby="caption-attachment-32041" style="width: 599px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure074-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32041 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure074-3.png" alt="Figure 74" width="599" height="585" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure074-3.png 599w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure074-3-307x300.png 307w" sizes="auto, (max-width: 599px) 100vw, 599px" /></a><figcaption id="caption-attachment-32041" class="wp-caption-text">Figure 74</figcaption></figure>
<p>If you compare Figure 68 to Figure 75, you see a green checkmark next to the server name.</p>
<figure id="attachment_32042" aria-describedby="caption-attachment-32042" style="width: 346px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure075-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32042 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure075-3.png" alt="Figure 75" width="346" height="180" /></a><figcaption id="caption-attachment-32042" class="wp-caption-text">Figure 75</figcaption></figure>
<p>If you follow the steps for Figures 68 and 69, you see both items have green checkmarks now, as shown in Figure 76.</p>
<figure id="attachment_32043" aria-describedby="caption-attachment-32043" style="width: 599px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure076-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32043 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure076-3.png" alt="Figure 76" width="599" height="585" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure076-3.png 599w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure076-3-307x300.png 307w" sizes="auto, (max-width: 599px) 100vw, 599px" /></a><figcaption id="caption-attachment-32043" class="wp-caption-text">Figure 76</figcaption></figure>
<p>Exit the RD Licensing Manager console.</p>
<h4>Citrix Licensing</h4>
<p><a href="https://docs.citrix.com/en-us/licensing/current-release.html">Citrix Licensing documentation</a></p>
<p><strong>Note: <u>NEVER </u></strong>browse the internet or download files from a domain controller. That is a bad habit that can have dire consequences.</p>
<p>There are multiple ways to get Citrix Licensing.</p>
<p><strong>1)</strong> From the internet browser on LabFS, browse to <a href="https://www.citrix.com/downloads/licensing/">https://www.citrix.com/downloads/licensing/</a> and download the latest License Server for Windows to E:\CitrixLicense, as shown in Figures 77 and 78.</p>
<figure id="attachment_32044" aria-describedby="caption-attachment-32044" style="width: 580px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure077-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32044 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure077-3.png" alt="Figure 77" width="580" height="307" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure077-3.png 580w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure077-3-530x281.png 530w" sizes="auto, (max-width: 580px) 100vw, 580px" /></a><figcaption id="caption-attachment-32044" class="wp-caption-text">Figure 77</figcaption></figure>
<figure id="attachment_32045" aria-describedby="caption-attachment-32045" style="width: 519px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure078-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32045 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure078-3.png" alt="Figure 78" width="519" height="117" /></a><figcaption id="caption-attachment-32045" class="wp-caption-text">Figure 78</figcaption></figure>
<p><strong>2)</strong> Mount the latest CVAD ISO to the LabDC2 VM, browse to x:\x64\Licensing (where x is the drive letter for the CD/DVD drive), as shown in Figure 79.</p>
<figure id="attachment_32046" aria-describedby="caption-attachment-32046" style="width: 661px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure079-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32046 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure079-3.png" alt="Figure 79" width="661" height="176" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure079-3.png 661w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure079-3-530x141.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure079-3-600x160.png 600w" sizes="auto, (max-width: 661px) 100vw, 661px" /></a><figcaption id="caption-attachment-32046" class="wp-caption-text">Figure 79</figcaption></figure>
<p>Right-click <em>CitrixLicensing.exe</em> and click <em>Run as administrator</em>, as shown in Figure 80.</p>
<figure id="attachment_32047" aria-describedby="caption-attachment-32047" style="width: 398px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure080-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32047 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure080-3.png" alt="Figure 80" width="398" height="210" /></a><figcaption id="caption-attachment-32047" class="wp-caption-text">Figure 80</figcaption></figure>
<p>Select <em>I have read, understand, and accept the terms of the license agreement</em> and click <em>Next</em>, as shown in Figure 81.</p>
<figure id="attachment_32048" aria-describedby="caption-attachment-32048" style="width: 799px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure081-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32048 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure081-3.png" alt="Figure 81" width="799" height="598" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure081-3.png 799w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure081-3-401x300.png 401w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure081-3-768x575.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure081-3-600x449.png 600w" sizes="auto, (max-width: 799px) 100vw, 799px" /></a><figcaption id="caption-attachment-32048" class="wp-caption-text">Figure 81</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 82.</p>
<figure id="attachment_32049" aria-describedby="caption-attachment-32049" style="width: 799px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure082-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32049 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure082-3.png" alt="Figure 82" width="799" height="600" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure082-3.png 799w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure082-3-400x300.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure082-3-768x577.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure082-3-600x451.png 600w" sizes="auto, (max-width: 799px) 100vw, 799px" /></a><figcaption id="caption-attachment-32049" class="wp-caption-text">Figure 82</figcaption></figure>
<p>Leave all options at their default settings and click <em>Next</em>, as shown in Figure 83.</p>
<figure id="attachment_32050" aria-describedby="caption-attachment-32050" style="width: 799px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure083-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32050 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure083-3.png" alt="Figure 83" width="799" height="600" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure083-3.png 799w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure083-3-400x300.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure083-3-768x577.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure083-3-600x451.png 600w" sizes="auto, (max-width: 799px) 100vw, 799px" /></a><figcaption id="caption-attachment-32050" class="wp-caption-text">Figure 83</figcaption></figure>
<p>At this time, Citrix does not have a community license program available, so I am using the license provided to me courtesy of the CTP program. I must manually renew the license file every year.</p>
<p>Select <em>Manually check for Customer Success Services renewal licenses</em> and click <em>Install</em>, as shown in Figure 84.</p>
<figure id="attachment_32051" aria-describedby="caption-attachment-32051" style="width: 802px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure084-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32051 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure084-2.png" alt="Figure 84" width="802" height="601" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure084-2.png 802w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure084-2-400x300.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure084-2-768x576.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure084-2-600x450.png 600w" sizes="auto, (max-width: 802px) 100vw, 802px" /></a><figcaption id="caption-attachment-32051" class="wp-caption-text">Figure 84</figcaption></figure>
<p>When the installation completes, click <em>Finish</em>, as shown in Figure 85.</p>
<figure id="attachment_32052" aria-describedby="caption-attachment-32052" style="width: 799px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure085-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32052 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure085-2.png" alt="Figure 85" width="799" height="599" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure085-2.png 799w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure085-2-400x300.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure085-2-768x576.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure085-2-600x450.png 600w" sizes="auto, (max-width: 799px) 100vw, 799px" /></a><figcaption id="caption-attachment-32052" class="wp-caption-text">Figure 85</figcaption></figure>
<p>Citrix license files are associated with the CaSe senSiTivE name of the server. Start a command prompt and type in hostname to verify the correct <strong>hostname</strong>, as shown in Figure 86.</p>
<p>When allocating Citrix licenses, you get to enjoy the painful license return and reallocate process if you get the hostname wrong. Get it right the first time.</p>
<figure id="attachment_32053" aria-describedby="caption-attachment-32053" style="width: 482px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure086-2.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32053 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure086-2.png" alt="Figure 86" width="482" height="175" /></a><figcaption id="caption-attachment-32053" class="wp-caption-text">Figure 86</figcaption></figure>
<p>Keep the command prompt open.</p>
<p>My preferred way of getting Citrix license files onto a Citrix license server is to copy the .lic files to C:\Program Files (x86)\Citrix\Licensing\MyFiles and restart the <em>Citrix Licensing</em> service.</p>
<p>Once you copy your license files to C:\Program Files (x86)\Citrix\Licensing\MyFiles, enter the following commands from the command prompt, as shown in Figure 87.</p>
<pre class="brush: plain; title: ; notranslate">
net stop &quot;Citrix Licensing&quot; &amp;&amp; net start &quot;Citrix Licensing&quot;
</pre>
<figure id="attachment_32054" aria-describedby="caption-attachment-32054" style="width: 804px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure087-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32054 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure087-1.png" alt="Figure 87" width="804" height="241" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure087-1.png 804w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure087-1-530x159.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure087-1-768x230.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure087-1-600x180.png 600w" sizes="auto, (max-width: 804px) 100vw, 804px" /></a><figcaption id="caption-attachment-32054" class="wp-caption-text">Figure 87</figcaption></figure>
<p>You can verify that the Citrix license file is valid by looking in the Application event log for Event ID 20736 from source Citrix_Licensing, as shown in Figure 88.</p>
<figure id="attachment_32055" aria-describedby="caption-attachment-32055" style="width: 534px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure088.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32055 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure088.png" alt="Figure 88" width="534" height="372" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure088.png 534w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure088-431x300.png 431w" sizes="auto, (max-width: 534px) 100vw, 534px" /></a><figcaption id="caption-attachment-32055" class="wp-caption-text">Figure 88</figcaption></figure>
<p>Following the steps used in <em>Citrix XenServer Host and Pool Configuration</em>I applied the new license file to my two XenServer pools, as shown in Figure 89.</p>
<figure id="attachment_32056" aria-describedby="caption-attachment-32056" style="width: 942px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure089.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-32056 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure089.png" alt="Figure 89" width="942" height="482" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure089.png 942w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure089-530x271.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure089-900x461.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure089-768x393.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure089-600x307.png 600w" sizes="auto, (max-width: 942px) 100vw, 942px" /></a><figcaption id="caption-attachment-32056" class="wp-caption-text">Figure 89</figcaption></figure>
<p>Up next: <a href="https://www.carlwebster.com/20-building-websters-lab-v2-create-a-management-computer/" target="_blank" rel="noopener">Create a Management Computer</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">31880</post-id>	</item>
		<item>
		<title>18 Building Webster&#8217;s Lab V2 – Additional XenCenter Configuration</title>
		<link>https://www.carlwebster.com/18-building-websters-lab-v2-additional-xencenter-configuration/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Wed, 16 Jun 2021 09:08:21 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[XenServer]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=34265</guid>

					<description><![CDATA[Before getting to work adding Citrix Virtual Apps and Desktops (CVAD) and VMware Horizon to the lab, a few additional items are on the XenCenter to-do list. Update DNS server&#8230;]]></description>
										<content:encoded><![CDATA[<p>Before getting to work adding Citrix Virtual Apps and Desktops (CVAD) and VMware Horizon to the lab, a few additional items are on the XenCenter to-do list.</p>
<ol>
<li>Update DNS server entries for each XenServer host</li>
<li>Join the XenServer Pool to the lab&#8217;s Active Directory (AD) domain</li>
<li>Create a Read-only account for use with monitoring software, like ControlUp and Goliath Technologies</li>
</ol>
<p>The only way to create additional non-root accounts for use in XenCenter is by joining the resource pool to AD. Once the Pool is in AD, the Users tab allows us to select accounts for <a href="https://docs.citrix.com/en-us/citrix-hypervisor/users/rbac-overview.html" target="_blank" rel="noopener">Role-Based Access Control</a>.</p>
<p>Start and, if required, connect or log in to XenCenter.</p>
<h2>DNS</h2>
<p style="padding-left: 40px;"><strong>Note:</strong> I rewrote this section on 25-Jul-2021 to work around a XenServer bug where the DNS server (nameserver) entries in /etc/resolv.conf created using the original method (and several others I tried) never survived a host reboot. This new method has survived several restarts of every host and a shutdown of the entire pool.</p>
<p>Before the Pool can join AD, you must reconfigure the XenServer hosts to use the AD DNS servers. There is no central way to change the DNS server information on every XenServer host at one time. You must change each host independently.</p>
<p>In the left pane, expand the resource pool, and in the right pane, click the <em>Networking</em> tab, as shown in Figure 1.</p>
<figure id="attachment_42079" aria-describedby="caption-attachment-42079" style="width: 1008px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure001-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42079 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure001-5.png" alt="Figure 1" width="1008" height="181" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure001-5.png 1008w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure001-5-530x95.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure001-5-900x162.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure001-5-768x138.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure001-5-600x108.png 600w" sizes="auto, (max-width: 1008px) 100vw, 1008px" /></a><figcaption id="caption-attachment-42079" class="wp-caption-text">Figure 1</figcaption></figure>
<p>Click <em>Configure…</em>, as shown in Figure 2.</p>
<figure id="attachment_42081" aria-describedby="caption-attachment-42081" style="width: 760px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure002-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42081 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure002-5.png" alt="Figure 2" width="760" height="620" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure002-5.png 760w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure002-5-368x300.png 368w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure002-5-600x489.png 600w" sizes="auto, (max-width: 760px) 100vw, 760px" /></a><figcaption id="caption-attachment-42081" class="wp-caption-text">Figure 2</figcaption></figure>
<p>Verify the <em>Network</em> is the Management bond of <em>Bond 0 + 1</em>, enter the desired DNS servers for <em>Preferred DNS server</em> and <em>Alternate DNS server 1</em>, and click <em>OK</em>, as shown in Figure 3.</p>
<figure id="attachment_42082" aria-describedby="caption-attachment-42082" style="width: 794px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure003-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42082 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure003-5.png" alt="Figure 3" width="794" height="598" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure003-5.png 794w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure003-5-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure003-5-768x578.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure003-5-600x452.png 600w" sizes="auto, (max-width: 794px) 100vw, 794px" /></a><figcaption id="caption-attachment-42082" class="wp-caption-text">Figure 3</figcaption></figure>
<p>Right-click the host and click <em>Reboot</em>, as shown in Figure 4.</p>
<figure id="attachment_42083" aria-describedby="caption-attachment-42083" style="width: 356px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure004-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42083 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure004-5.png" alt="Figure 4" width="356" height="293" /></a><figcaption id="caption-attachment-42083" class="wp-caption-text">Figure 4</figcaption></figure>
<p>Click <em>Yes, Reboot</em>, as shown in Figure 5.</p>
<figure id="attachment_42084" aria-describedby="caption-attachment-42084" style="width: 315px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure005-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42084 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure005-5.png" alt="Figure 5" width="315" height="126" /></a><figcaption id="caption-attachment-42084" class="wp-caption-text">Figure 5</figcaption></figure>
<p>After the host reboots, click the <em>Console</em> tab and enter the password for the root account, as shown in Figure 6.</p>
<figure id="attachment_42086" aria-describedby="caption-attachment-42086" style="width: 761px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure006-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42086 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure006-5.png" alt="Figure 6" width="761" height="441" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure006-5.png 761w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure006-5-518x300.png 518w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure006-5-600x348.png 600w" sizes="auto, (max-width: 761px) 100vw, 761px" /></a><figcaption id="caption-attachment-42086" class="wp-caption-text">Figure 6</figcaption></figure>
<p>Type in <strong>cat /etc/resolv.conf</strong> and press <em>Enter</em>, as shown in Figure 7.</p>
<figure id="attachment_42087" aria-describedby="caption-attachment-42087" style="width: 644px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure007-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42087 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure007-5.png" alt="Figure 7" width="644" height="386" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure007-5.png 644w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure007-5-501x300.png 501w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure007-5-600x360.png 600w" sizes="auto, (max-width: 644px) 100vw, 644px" /></a><figcaption id="caption-attachment-42087" class="wp-caption-text">Figure 7</figcaption></figure>
<p>The two DNS servers <em>should</em> be there, as shown in Figure 8.</p>
<figure id="attachment_42089" aria-describedby="caption-attachment-42089" style="width: 642px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure008-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42089 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure008-5.png" alt="Figure 8" width="642" height="388" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure008-5.png 642w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure008-5-496x300.png 496w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure008-5-600x363.png 600w" sizes="auto, (max-width: 642px) 100vw, 642px" /></a><figcaption id="caption-attachment-42089" class="wp-caption-text">Figure 8</figcaption></figure>
<p>Repeat the process shown in Figures 1 through 8 for the remaining XenServer hosts.</p>
<h2>Active Directory</h2>
<p>In the left pane, click the resource pool and in the right pane, click the <em>Users</em> tab, and click <em>Join Domain…</em>, as shown in Figure 9.</p>
<figure id="attachment_42090" aria-describedby="caption-attachment-42090" style="width: 1009px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure009-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42090 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure009-5.png" alt="Figure 9" width="1009" height="291" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure009-5.png 1009w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure009-5-530x153.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure009-5-900x260.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure009-5-768x221.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure009-5-600x173.png 600w" sizes="auto, (max-width: 1009px) 100vw, 1009px" /></a><figcaption id="caption-attachment-42090" class="wp-caption-text">Figure 9</figcaption></figure>
<p>Enter the name for the <em>Domain</em> and the domain&#8217;s administrator account and password, and press <em>Enter</em>, as shown in Figure 10.</p>
<figure id="attachment_42092" aria-describedby="caption-attachment-42092" style="width: 376px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure010-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42092 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure010-5.png" alt="Figure 10" width="376" height="215" /></a><figcaption id="caption-attachment-42092" class="wp-caption-text">Figure 10</figcaption></figure>
<p>Figure 11 shows XenCenter enabling AD authentication.</p>
<figure id="attachment_42093" aria-describedby="caption-attachment-42093" style="width: 1010px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure011-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42093 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure011-5.png" alt="Figure 11" width="1010" height="762" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure011-5.png 1010w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure011-5-398x300.png 398w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure011-5-900x679.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure011-5-768x579.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure011-5-600x453.png 600w" sizes="auto, (max-width: 1010px) 100vw, 1010px" /></a><figcaption id="caption-attachment-42093" class="wp-caption-text">Figure 11</figcaption></figure>
<p>After a few seconds, XenCenter shows the Pool is a member of the AD domain, as shown in Figure 12.</p>
<figure id="attachment_42094" aria-describedby="caption-attachment-42094" style="width: 515px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure012-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42094 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure012-5.png" alt="Figure 12" width="515" height="161" /></a><figcaption id="caption-attachment-42094" class="wp-caption-text">Figure 12</figcaption></figure>
<p>On the first domain controller, open Active Directory Users and Computers.</p>
<p>As shown in Figure 13, the XenServer hosts are in the Computers container.</p>
<figure id="attachment_42095" aria-describedby="caption-attachment-42095" style="width: 441px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure013-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42095 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure013-5.png" alt="Figure 13" width="441" height="130" /></a><figcaption id="caption-attachment-42095" class="wp-caption-text">Figure 13</figcaption></figure>
<p>We could use PowerShell to move the four computer accounts from CN=Computers,DC=LabADDOmain,DC=COM to OU=Citrix,OU=Infrastructure,OU=Lab,DC=LabADDomain,DC=COM, but that would require four lines of PowerShell. In my opinion, the quickest way is to expand the Lab OU, and expand the Infrastructure OU. Now select all four XenServer hosts and Drag and Drop them into the Citrix OU, as shown in Figure 14.</p>
<figure id="attachment_42096" aria-describedby="caption-attachment-42096" style="width: 449px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure014-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42096 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure014-5.png" alt="Figure 14" width="449" height="296" /></a><figcaption id="caption-attachment-42096" class="wp-caption-text">Figure 14</figcaption></figure>
<p>Click <em>Yes</em>, as shown in Figure 15.</p>
<figure id="attachment_42097" aria-describedby="caption-attachment-42097" style="width: 466px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure015-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42097 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure015-5.png" alt="Figure 15" width="466" height="167" /></a><figcaption id="caption-attachment-42097" class="wp-caption-text">Figure 15</figcaption></figure>
<p>The XenServer hosts are now in the Citrix OU, as shown in Figure 16.</p>
<figure id="attachment_42098" aria-describedby="caption-attachment-42098" style="width: 446px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure016-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42098 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure016-5.png" alt="Figure 16" width="446" height="290" /></a><figcaption id="caption-attachment-42098" class="wp-caption-text">Figure 16</figcaption></figure>
<h2>Create a Read-only Account</h2>
<p>In my lab, I use monitoring software from vendors like <a href="https://www.controlup.com/" target="_blank" rel="noopener">ControlUp</a> and <a href="https://goliathtechnologies.com/" target="_blank" rel="noopener">Goliath Technologies</a>. To provide for Least Privilege Access, use a Read-only account.</p>
<p>First, we need to create an AD service account to assign the XenCenter Read-only Role.</p>
<p>On the first DC, 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 17.</p>
<p>Remember to set the values you need.</p>
<p><strong>Note:</strong> Lines may wrap</p>
<pre class="brush: powershell; title: ; notranslate">
#Create the service account svc_CitrixReadOnly for Read-only XenCenter permissions

$ADDomain = &quot;LabADDomain&quot;
$TLD = &quot;com&quot;
$Protect = $False

$UserPwd = Read-Host -AsSecureString -Prompt &quot;Enter password&quot;

New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-Description &quot;DO NOT CHANGE THE PASSWORD OR DELETE/DISABLE ACCOUNT&quot; `
-DisplayName &quot;svc_CitrixReadOnly&quot; `
-Enabled $True `
-GivenName &quot;svc_CitrixReadOnly&quot; `
-Name &quot;svc_CitrixReadOnly&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Service,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;svc_CitrixReadOnly&quot; `
-UserPrincipalName &quot;svc_CitrixReadOnly@LabADDomain.com&quot;
</pre>
<figure id="attachment_42100" aria-describedby="caption-attachment-42100" style="width: 795px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure017-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42100 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure017-5.png" alt="Figure 17" width="795" height="424" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure017-5.png 795w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure017-5-530x283.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure017-5-768x410.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure017-5-600x320.png 600w" sizes="auto, (max-width: 795px) 100vw, 795px" /></a><figcaption id="caption-attachment-42100" class="wp-caption-text">Figure 17</figcaption></figure>
<p>Back in XenCenter, click <em>Add…</em>, as shown in Figure 18.</p>
<figure id="attachment_42101" aria-describedby="caption-attachment-42101" style="width: 459px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure018-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42101 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure018-7.png" alt="Figure 18" width="459" height="591" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure018-7.png 459w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure018-7-233x300.png 233w" sizes="auto, (max-width: 459px) 100vw, 459px" /></a><figcaption id="caption-attachment-42101" class="wp-caption-text">Figure 18</figcaption></figure>
<p>Enter the name of the new Citrix Read-only account and click <em>Grant Access</em>, as shown in Figure 19.</p>
<figure id="attachment_42103" aria-describedby="caption-attachment-42103" style="width: 659px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure019-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42103 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure019-7.png" alt="Figure 19" width="659" height="190" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure019-7.png 659w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure019-7-530x153.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure019-7-600x173.png 600w" sizes="auto, (max-width: 659px) 100vw, 659px" /></a><figcaption id="caption-attachment-42103" class="wp-caption-text">Figure 19</figcaption></figure>
<p>Click <em>Close</em>, as shown in Figure 20.</p>
<figure id="attachment_42104" aria-describedby="caption-attachment-42104" style="width: 659px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure020-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42104 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure020-7.png" alt="Figure 20" width="659" height="477" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure020-7.png 659w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure020-7-414x300.png 414w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure020-7-600x434.png 600w" sizes="auto, (max-width: 659px) 100vw, 659px" /></a><figcaption id="caption-attachment-42104" class="wp-caption-text">Figure 20</figcaption></figure>
<p>Select the Citrix Read-only account and click <em>Change Role…</em>, as shown in Figure 21.</p>
<figure id="attachment_42105" aria-describedby="caption-attachment-42105" style="width: 658px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure021-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42105 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure021-7.png" alt="Figure 21" width="658" height="596" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure021-7.png 658w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure021-7-331x300.png 331w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure021-7-600x543.png 600w" sizes="auto, (max-width: 658px) 100vw, 658px" /></a><figcaption id="caption-attachment-42105" class="wp-caption-text">Figure 21</figcaption></figure>
<p>Select <em>Read Only</em> and click <em>Save</em>, as shown in Figure 22.</p>
<figure id="attachment_42106" aria-describedby="caption-attachment-42106" style="width: 618px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure022-6.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42106 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure022-6.png" alt="Figure 22" width="618" height="348" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure022-6.png 618w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure022-6-530x298.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure022-6-600x338.png 600w" sizes="auto, (max-width: 618px) 100vw, 618px" /></a><figcaption id="caption-attachment-42106" class="wp-caption-text">Figure 22</figcaption></figure>
<p>The account is ready for use, as shown in Figure 23.</p>
<figure id="attachment_42107" aria-describedby="caption-attachment-42107" style="width: 658px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure023-6.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-42107 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure023-6.png" alt="Figure 23" width="658" height="268" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure023-6.png 658w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure023-6-530x216.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure023-6-600x244.png 600w" sizes="auto, (max-width: 658px) 100vw, 658px" /></a><figcaption id="caption-attachment-42107" class="wp-caption-text">Figure 23</figcaption></figure>
<p>Next up: <a href="https://www.carlwebster.com/19-building-websters-lab-v2-create-additional-servers/">Create Additional Servers</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">34265</post-id>	</item>
		<item>
		<title>17 Building Webster&#8217;s Lab V2 – Additional vCenter Configuration</title>
		<link>https://www.carlwebster.com/17-building-websters-lab-v2-additional-vcenter-configuration/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Tue, 15 Jun 2021 09:43:18 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Citrix Cloud]]></category>
		<category><![CDATA[Citrix Virtual Apps and Desktops]]></category>
		<category><![CDATA[VMware]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=31824</guid>

					<description><![CDATA[[Updated 29-Aug-2021] Before getting to work adding Citrix Virtual Apps and Desktops (CVAD), and VMware Horizon to the lab, there are a few additional items on the vCenter to-do list.&#8230;]]></description>
										<content:encoded><![CDATA[<p>[Updated 29-Aug-2021]</p>
<p>Before getting to work adding Citrix Virtual Apps and Desktops (CVAD), and VMware Horizon to the lab, there are a few additional items on the vCenter to-do list.</p>
<ol>
<li>Join vCenter to the lab&#8217;s Active Directory (AD) domain</li>
<li>Add the lab&#8217;s AD to the SSO</li>
<li>Create a Citrix related service account with minimum vCenter permissions for the hosting connection in Citrix Studio and with Citrix App Layering</li>
<li>Create a VMware related service account with minimum vCenter permissions for VMware Horizon</li>
<li>Create a Read-only account for use with monitoring software, like ControlUp and Goliath Technologies</li>
</ol>
<p>Log in to vCenter.</p>
<h2>Active Directory</h2>
<p>From the <em>Menu</em> dropdown, select <em>Administration</em>, as shown in Figure 1.</p>
<figure id="attachment_31827" aria-describedby="caption-attachment-31827" style="width: 533px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31827 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-16.png" alt="Figure 1" width="533" height="683" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-16.png 533w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-16-234x300.png 234w" sizes="auto, (max-width: 533px) 100vw, 533px" /></a><figcaption id="caption-attachment-31827" class="wp-caption-text">Figure 1</figcaption></figure>
<p>Click <em>Configuration</em>, <em>Active Directory Domain</em>, and click <em>Join AD</em>, as shown in Figure 2.</p>
<figure id="attachment_31828" aria-describedby="caption-attachment-31828" style="width: 707px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31828 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-16.png" alt="Figure 2" width="707" height="653" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-16.png 707w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-16-325x300.png 325w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-16-600x554.png 600w" sizes="auto, (max-width: 707px) 100vw, 707px" /></a><figcaption id="caption-attachment-31828" class="wp-caption-text">Figure 2</figcaption></figure>
<p>Enter the <em>Domain</em>, a <em>Username</em>, a <em>Password</em>, and click <em>JOIN</em>, as shown in Figure 3.</p>
<p>If you want the vCenter computer account in a specific Organizational Unit (OU), as I do, enter the <em>Organization Unit</em>.</p>
<figure id="attachment_31829" aria-describedby="caption-attachment-31829" style="width: 573px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31829 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-16.png" alt="Figure 3" width="573" height="375" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-16.png 573w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-16-458x300.png 458w" sizes="auto, (max-width: 573px) 100vw, 573px" /></a><figcaption id="caption-attachment-31829" class="wp-caption-text">Figure 3</figcaption></figure>
<p>The vCenter appliance is now a domain member but needs a restart.</p>
<p>From the <em>Menu</em> dropdown, select <em>VMs and Templates</em>, as shown in Figure 4.</p>
<figure id="attachment_31830" aria-describedby="caption-attachment-31830" style="width: 327px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31830 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-16.png" alt="Figure 4" width="327" height="338" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-16.png 327w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-16-290x300.png 290w" sizes="auto, (max-width: 327px) 100vw, 327px" /></a><figcaption id="caption-attachment-31830" class="wp-caption-text">Figure 4</figcaption></figure>
<p>Expand the cluster, right-click the vCenter VM, click <em>Power</em>, and click <em>Restart Guest OS</em>, as shown in Figure 5.</p>
<figure id="attachment_31831" aria-describedby="caption-attachment-31831" style="width: 603px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31831 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-16.png" alt="Figure 5" width="603" height="498" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-16.png 603w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-16-363x300.png 363w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-16-600x496.png 600w" sizes="auto, (max-width: 603px) 100vw, 603px" /></a><figcaption id="caption-attachment-31831" class="wp-caption-text">Figure 5</figcaption></figure>
<p>Click <em>Yes</em> to confirm the restart, as shown in Figure 6.</p>
<figure id="attachment_31832" aria-describedby="caption-attachment-31832" style="width: 575px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31832 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-15.png" alt="Figure 6" width="575" height="206" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-15.png 575w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-15-530x190.png 530w" sizes="auto, (max-width: 575px) 100vw, 575px" /></a><figcaption id="caption-attachment-31832" class="wp-caption-text">Figure 6</figcaption></figure>
<p>Wait about 10 minutes before trying to log in to vCenter.</p>
<p>If you specified an OU to place the vCenter computer account while waiting for the vCenter appliance to restart, go to one of the domain controllers and open the Active Directory Users and Computers console. Browse to the OU specified and verify the vCenter computer account exists, as shown in Figure 7.</p>
<figure id="attachment_31833" aria-describedby="caption-attachment-31833" style="width: 699px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31833 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-15.png" alt="Figure 7" width="699" height="348" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-15.png 699w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-15-530x264.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-15-600x299.png 600w" sizes="auto, (max-width: 699px) 100vw, 699px" /></a><figcaption id="caption-attachment-31833" class="wp-caption-text">Figure 7</figcaption></figure>
<p>At this point, you must use the administrator vCenter account to log in. Even though we joined vCenter to the AD domain, the AD domain isn&#8217;t a Single Sign-On domain yet.</p>
<p>Once logged on to vCenter, go back to Administration/Single Sign On/Configuration, as shown in Figure 8.</p>
<figure id="attachment_31834" aria-describedby="caption-attachment-31834" style="width: 282px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31834 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-15.png" alt="Figure 8" width="282" height="659" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-15.png 282w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-15-128x300.png 128w" sizes="auto, (max-width: 282px) 100vw, 282px" /></a><figcaption id="caption-attachment-31834" class="wp-caption-text">Figure 8</figcaption></figure>
<p>Click <em>Identity Sources</em> and click <em>ADD IDENTITY SOURCE</em>, as shown in Figure 9.</p>
<figure id="attachment_31835" aria-describedby="caption-attachment-31835" style="width: 343px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31835 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-15.png" alt="Figure 9" width="343" height="290" /></a><figcaption id="caption-attachment-31835" class="wp-caption-text">Figure 9</figcaption></figure>
<p>Select <em>Active Directory (Windows Integrated Authentication)</em> from the Identity source type dropdown. If it is not already populated, enter the <em>Domain name</em>, select <em>Use machine account</em>, and click <em>ADD</em>, as shown in Figure 10.</p>
<figure id="attachment_31836" aria-describedby="caption-attachment-31836" style="width: 862px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31836 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-15.png" alt="Figure 10" width="862" height="440" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-15.png 862w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-15-530x271.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-15-768x392.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-15-600x306.png 600w" sizes="auto, (max-width: 862px) 100vw, 862px" /></a><figcaption id="caption-attachment-31836" class="wp-caption-text">Figure 10</figcaption></figure>
<p>The AD domain now shows as an Identity Source, as shown in Figure 11.</p>
<figure id="attachment_31837" aria-describedby="caption-attachment-31837" style="width: 1033px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31837 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-15.png" alt="Figure 11" width="1033" height="404" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-15.png 1033w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-15-530x207.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-15-900x352.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-15-768x300.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-15-600x235.png 600w" sizes="auto, (max-width: 1033px) 100vw, 1033px" /></a><figcaption id="caption-attachment-31837" class="wp-caption-text">Figure 11</figcaption></figure>
<p>We are not yet ready to log in to vCenter with AD credentials. First, we must add users and groups from the AD domain to a vCenter security role.</p>
<p>Click <em>Global Permissions</em>, as shown in Figure 12.</p>
<figure id="attachment_31838" aria-describedby="caption-attachment-31838" style="width: 341px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31838 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-15.png" alt="Figure 12" width="341" height="664" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-15.png 341w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-15-154x300.png 154w" sizes="auto, (max-width: 341px) 100vw, 341px" /></a><figcaption id="caption-attachment-31838" class="wp-caption-text">Figure 12</figcaption></figure>
<p>Click <em>+</em> (Plus sign) as shown in Figure 13.</p>
<figure id="attachment_31839" aria-describedby="caption-attachment-31839" style="width: 405px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31839 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-15.png" alt="Figure 13" width="405" height="264" /></a><figcaption id="caption-attachment-31839" class="wp-caption-text">Figure 13</figcaption></figure>
<p>Select the AD domain name from the <em>Domain</em> dropdown, type <strong>Domain Admins</strong> in the <em>User/Group</em> field, for <em>Role, </em>select <em>Administrator, </em>select <em>Propagate to children</em>, and click <em>OK</em>, as shown in Figure 14.</p>
<figure id="attachment_31840" aria-describedby="caption-attachment-31840" style="width: 574px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31840 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-15.png" alt="Figure 14" width="574" height="427" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-15.png 574w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-15-403x300.png 403w" sizes="auto, (max-width: 574px) 100vw, 574px" /></a><figcaption id="caption-attachment-31840" class="wp-caption-text">Figure 14</figcaption></figure>
<p>Now we can log in to vCenter with an AD domain account.</p>
<p>Log off vCenter and log in with an AD domain account granted permission, as shown in Figures 15 and 16.</p>
<figure id="attachment_31841" aria-describedby="caption-attachment-31841" style="width: 283px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-16.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31841 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-16.png" alt="Figure 15" width="283" height="236" /></a><figcaption id="caption-attachment-31841" class="wp-caption-text">Figure 15</figcaption></figure>
<figure id="attachment_31842" aria-describedby="caption-attachment-31842" style="width: 421px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31842 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-15.png" alt="Figure 16" width="421" height="362" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-15.png 421w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-15-349x300.png 349w" sizes="auto, (max-width: 421px) 100vw, 421px" /></a><figcaption id="caption-attachment-31842" class="wp-caption-text">Figure 16</figcaption></figure>
<p>Figure 17 shows a successful login with AD domain credentials.</p>
<figure id="attachment_31843" aria-describedby="caption-attachment-31843" style="width: 1602px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31843 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-15.png" alt="Figure 17" width="1602" height="318" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-15.png 1602w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-15-530x105.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-15-900x179.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-15-768x152.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-15-1536x305.png 1536w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-15-600x119.png 600w" sizes="auto, (max-width: 1602px) 100vw, 1602px" /></a><figcaption id="caption-attachment-31843" class="wp-caption-text">Figure 17</figcaption></figure>
<p>Next, we need permissions for service accounts for Citrix Virtual Apps and Desktops (CVAD) and VMware Horizon. First up, CVAD.</p>
<h2>Citrix Virtual Apps and Desktops and App Layering vCenter Permissions</h2>
<p>I need a vCenter account for my lab to use with both the CVAD Hosting Connection in Citrix Studio and Citrix App Layering.</p>
<p>Citrix details the required permissions at  <a href="https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/install-configure/install-prepare/vmware.html" target="_blank" rel="noopener">CVAD VMware virtualization environments</a> and <a href="https://docs.citrix.com/en-us/citrix-app-layering/4/install-appliance/vmware-vsphere.html" target="_blank" rel="noopener">Citrix App Layering VMware vSphere</a>.</p>
<p>To save time, here are the combined permissions with all the duplicates removed. I put an &#8220;(AL)&#8221; by the permissions that apply only to Citrix App Layering. If you do not use App Layering, you can safely ignore those permissions. I took these permissions from the CVAD 2103 and App Layering 2104 documentation. I also fixed the names of the permissions that Citrix has wrong in their documentation.</p>
<p>Table 1 vCenter Permissions for CVAD and App Layering</p>
<table>
<tbody>
<tr>
<td width="480">Datastore &gt; Allocate space</td>
</tr>
<tr>
<td width="480">Datastore &gt; Browse datastore</td>
</tr>
<tr>
<td width="480">Datastore &gt; Low level file operations</td>
</tr>
<tr>
<td width="480">Folder &gt; Create folder (AL)</td>
</tr>
<tr>
<td width="480">Global &gt; Cancel task (AL)</td>
</tr>
<tr>
<td width="480">Global &gt; Manage custom attributes</td>
</tr>
<tr>
<td width="480">Global &gt; Set custom attribute</td>
</tr>
<tr>
<td width="480">Network &gt; Assign network</td>
</tr>
<tr>
<td width="480">Resource &gt; Assign virtual machine to resource pool</td>
</tr>
<tr>
<td width="480">vApp &gt; Export (AL)</td>
</tr>
<tr>
<td width="480">vApp &gt; Import (AL)</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Configuration &gt; Add existing disk</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Configuration &gt; Add new disk</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Configuration &gt; Add or remove device</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Configuration &gt; Advanced Configuration</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Configuration &gt; Change CPU Count</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Configuration &gt; Change Memory</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Configuration &gt; Change resource (AL)</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Configuration &gt; Change Settings</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Configuration &gt; Modify Device Settings (AL)</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Configuration &gt; Remove disk</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Configuration &gt; Rename (AL)</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Configuration &gt; Set annotation (AL)</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Configuration &gt; Upgrade virtual machine compatibility (AL)</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Edit Inventory &gt; Create from existing</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Edit Inventory &gt; Create new</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Edit Inventory &gt; Remove</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Interaction &gt; Configure CD media (AL)</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Interaction &gt; Connect devices (AL)</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Interaction &gt; Console interaction (AL)</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Interaction &gt; Install VMware Tools (AL)</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Interaction &gt; Power Off</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Interaction &gt; Power On</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Interaction &gt; Reset</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Interaction &gt; Suspend</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Provisioning &gt; Clone template</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Provisioning &gt; Clone virtual machine</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Provisioning &gt; Deploy template</td>
</tr>
<tr>
<td width="480">Virtual machine &gt; Snapshot management &gt; Create snapshot</td>
</tr>
</tbody>
</table>
<p>We <a href="https://www.carlwebster.com/14-building-websters-lab-v2-create-active-directory/" target="_blank" rel="noopener">created the svc_CtxVMware account previously</a>.</p>
<p>In the vCenter console, go to <em>Menu</em> -&gt; <em>Administration</em>, as shown in Figure 18.</p>
<figure id="attachment_31844" aria-describedby="caption-attachment-31844" style="width: 326px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31844 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-15.png" alt="Figure 18" width="326" height="680" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-15.png 326w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-15-144x300.png 144w" sizes="auto, (max-width: 326px) 100vw, 326px" /></a><figcaption id="caption-attachment-31844" class="wp-caption-text">Figure 18</figcaption></figure>
<p>Expand <em>Access Control</em>, click <em>Roles</em>, and click the <em>+</em> (Plus sign), as shown in Figure 19.</p>
<figure id="attachment_31845" aria-describedby="caption-attachment-31845" style="width: 470px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31845 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-15.png" alt="Figure 19" width="470" height="305" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-15.png 470w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-15-462x300.png 462w" sizes="auto, (max-width: 470px) 100vw, 470px" /></a><figcaption id="caption-attachment-31845" class="wp-caption-text">Figure 19</figcaption></figure>
<p>The hard part is going through all the settings in Table 1 and selecting the required permissions, as shown in Figure 20.</p>
<p><strong>Hey VMware, it would be nice if this dialog box were resizable.</strong></p>
<figure id="attachment_31846" aria-describedby="caption-attachment-31846" style="width: 939px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31846 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-15.png" alt="Figure 20" width="939" height="558" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-15.png 939w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-15-505x300.png 505w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-15-900x535.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-15-768x456.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-15-600x357.png 600w" sizes="auto, (max-width: 939px) 100vw, 939px" /></a><figcaption id="caption-attachment-31846" class="wp-caption-text">Figure 20</figcaption></figure>
<p>Continue selecting the required permissions. When all permissions are selected, click <em>Next</em>, as shown in Figure 21.</p>
<figure id="attachment_31847" aria-describedby="caption-attachment-31847" style="width: 938px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31847 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-14.png" alt="Figure 21" width="938" height="556" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-14.png 938w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-14-506x300.png 506w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-14-900x533.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-14-768x455.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-14-600x356.png 600w" sizes="auto, (max-width: 938px) 100vw, 938px" /></a><figcaption id="caption-attachment-31847" class="wp-caption-text">Figure 21</figcaption></figure>
<p>Enter a <strong>Role name </strong>and an optional <strong>Description</strong>, click <em>Finish</em>, as shown in Figure 22.</p>
<figure id="attachment_31848" aria-describedby="caption-attachment-31848" style="width: 939px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31848 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-14.png" alt="Figure 22" width="939" height="553" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-14.png 939w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-14-509x300.png 509w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-14-900x530.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-14-768x452.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-14-600x353.png 600w" sizes="auto, (max-width: 939px) 100vw, 939px" /></a><figcaption id="caption-attachment-31848" class="wp-caption-text">Figure 22</figcaption></figure>
<p>Click <em>Global Permissions</em> and click the <em>+</em> (Plus sign), as shown in Figure 23.</p>
<figure id="attachment_31849" aria-describedby="caption-attachment-31849" style="width: 580px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31849 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-13.png" alt="Figure 23" width="580" height="306" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-13.png 580w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-13-530x280.png 530w" sizes="auto, (max-width: 580px) 100vw, 580px" /></a><figcaption id="caption-attachment-31849" class="wp-caption-text">Figure 23</figcaption></figure>
<p>Select your AD domain in the <em>Domain </em>dropdown, then enter the service account name, select the just created <em>Role</em>, you must select <em>Propagate to children</em>, and click <em>OK</em>, as shown in Figure 24.</p>
<figure id="attachment_31850" aria-describedby="caption-attachment-31850" style="width: 573px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31850 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-13.png" alt="Figure 24" width="573" height="424" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-13.png 573w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-13-405x300.png 405w" sizes="auto, (max-width: 573px) 100vw, 573px" /></a><figcaption id="caption-attachment-31850" class="wp-caption-text">Figure 24</figcaption></figure>
<p>If you are following this article series, there is no CVAD infrastructure to test the account.</p>
<h2>VMware Horizon vCenter Permissions</h2>
<p>VMware lists their required permissions for Horizon 8 2106 at <a href="https://docs.vmware.com/en/VMware-Horizon/2106/horizon-installation/GUID-467F552F-3034-4917-A985-B5E5FEC5C68F.html" target="_blank" rel="noopener">Privileges Required for the vCenter Server User</a>.</p>
<p>Figures 25 and 26 show the required permissions for the VMware Horizon 8 2106 service account.</p>
<p><strong>Hey VMware, it would be better to list the <em>Privilege Group on vCenter Server</em> and <em>Privileges to Enable</em> in the same order they appear in the vCenter New Role wizard.</strong></p>
<figure id="attachment_31851" aria-describedby="caption-attachment-31851" style="width: 698px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31851 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-12.png" alt="Figure 25" width="698" height="1039" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-12.png 698w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-12-202x300.png 202w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-12-537x800.png 537w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-12-600x893.png 600w" sizes="auto, (max-width: 698px) 100vw, 698px" /></a><figcaption id="caption-attachment-31851" class="wp-caption-text">Figure 25</figcaption></figure>
<figure id="attachment_31852" aria-describedby="caption-attachment-31852" style="width: 693px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-11.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31852 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-11.png" alt="Figure 26" width="693" height="988" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-11.png 693w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-11-210x300.png 210w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-11-561x800.png 561w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-11-600x855.png 600w" sizes="auto, (max-width: 693px) 100vw, 693px" /></a><figcaption id="caption-attachment-31852" class="wp-caption-text">Figure 26</figcaption></figure>
<p>Table 2 vCenter Permissions for Horizon – Ordered List</p>
<table width="485">
<tbody>
<tr>
<td width="485">Datastore/Allocate space</td>
</tr>
<tr>
<td width="485">Datastore/Browse datastore</td>
</tr>
<tr>
<td width="485">Folder/Create folder</td>
</tr>
<tr>
<td width="485">Folder/Delete folder</td>
</tr>
<tr>
<td width="485">Global/Act as vCenter Server</td>
</tr>
<tr>
<td width="485">Global/Disable methods</td>
</tr>
<tr>
<td width="485">Global/Enable methods</td>
</tr>
<tr>
<td width="485">Global/Manage custom attributes</td>
</tr>
<tr>
<td width="485">Global/Set custom attribute</td>
</tr>
<tr>
<td width="485">Host/Configuration/Advanced settings</td>
</tr>
<tr>
<td width="485">Host/Inventory/Modify cluster</td>
</tr>
<tr>
<td width="485">Network/Assign network</td>
</tr>
<tr>
<td width="485">Resource/Assign virtual machine to resource pool</td>
</tr>
<tr>
<td width="485">Resource/Migrate powered off virtual machine</td>
</tr>
<tr>
<td width="485">Resource/Migrate powered on virtual machine</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Add or remove device</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Advanced configuration</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Change CPU count</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Change Memory</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Change resource</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Change Settings</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Configure Host USB device</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Configure managedBy</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Configure Raw device</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Display connection settings</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Extend virtual disk</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Modify device settings</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Query Fault Tolerance compatibility</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Query unowned files</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Reload from path</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Remove disk</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Rename</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Reset guest information</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Set annotation</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Toggle disk change tracking</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Toggle fork parent</td>
</tr>
<tr>
<td width="485">Virtual machine/Change Configuration/Upgrade virtual machine compatibility</td>
</tr>
<tr>
<td width="485">Virtual machine/Edit Inventory/Move</td>
</tr>
<tr>
<td width="485">Virtual machine/Edit Inventory/Register</td>
</tr>
<tr>
<td width="485">Virtual machine/Edit Inventory/Unregister</td>
</tr>
<tr>
<td width="485">Virtual machine/Interaction/Connect devices</td>
</tr>
<tr>
<td width="485">Virtual machine/Interaction/Perform wipe or shrink operations</td>
</tr>
<tr>
<td width="485">Virtual machine/Interaction/Power off</td>
</tr>
<tr>
<td width="485">Virtual machine/Interaction/Power on</td>
</tr>
<tr>
<td width="485">Virtual machine/Interaction/Reset</td>
</tr>
<tr>
<td width="485">Virtual machine/Interaction/Suspend</td>
</tr>
<tr>
<td width="485">Virtual machine/Provisioning/Allow disk access</td>
</tr>
<tr>
<td width="485">Virtual machine/Provisioning/Clone template</td>
</tr>
<tr>
<td width="485">Virtual machine/Provisioning/Clone virtual machine</td>
</tr>
<tr>
<td width="485">Virtual machine/Provisioning/Customize guest</td>
</tr>
<tr>
<td width="485">Virtual machine/Provisioning/Deploy template</td>
</tr>
<tr>
<td width="485">Virtual machine/Provisioning/Read customization specifications</td>
</tr>
<tr>
<td width="485">Virtual machine/Snapshot management/Create snapshot</td>
</tr>
<tr>
<td width="485">Virtual machine/Snapshot management/Remove snapshot</td>
</tr>
<tr>
<td width="485">Virtual machine/Snapshot management/Rename snapshot</td>
</tr>
<tr>
<td width="485">Virtual machine/Snapshot management/Revert to snapshot</td>
</tr>
</tbody>
</table>
<p>We <a href="https://www.carlwebster.com/14-building-websters-lab-v2-create-active-directory/" target="_blank" rel="noopener">created the svc_VMwareHorizon AD account previously</a>.</p>
<p>Expand <em>Access Control</em>, click <em>Roles</em>, and click the <em>+</em> (Plus sign), as shown in Figure 27.</p>
<figure id="attachment_31853" aria-describedby="caption-attachment-31853" style="width: 470px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-11.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31853 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-11.png" alt="Figure 27" width="470" height="305" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-11.png 470w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-11-462x300.png 462w" sizes="auto, (max-width: 470px) 100vw, 470px" /></a><figcaption id="caption-attachment-31853" class="wp-caption-text">Figure 27</figcaption></figure>
<p>The hard part is going through all the settings and selecting the required permissions, as shown in Figure 28.</p>
<figure id="attachment_31854" aria-describedby="caption-attachment-31854" style="width: 940px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-10.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31854 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-10.png" alt="Figure 28" width="940" height="558" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-10.png 940w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-10-505x300.png 505w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-10-900x534.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-10-768x456.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-10-600x356.png 600w" sizes="auto, (max-width: 940px) 100vw, 940px" /></a><figcaption id="caption-attachment-31854" class="wp-caption-text">Figure 28</figcaption></figure>
<p>Continue selecting the required permissions. When all permissions are selected, click <em>Next</em>, as shown in Figure 29.</p>
<figure id="attachment_31855" aria-describedby="caption-attachment-31855" style="width: 937px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-10.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31855 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-10.png" alt="Figure 29" width="937" height="559" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-10.png 937w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-10-503x300.png 503w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-10-900x537.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-10-768x458.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-10-600x358.png 600w" sizes="auto, (max-width: 937px) 100vw, 937px" /></a><figcaption id="caption-attachment-31855" class="wp-caption-text">Figure 29</figcaption></figure>
<p>Enter a <strong>Role name </strong>and an optional <strong>Description</strong>, click <em>Finish</em>, as shown in Figure 30.</p>
<figure id="attachment_31856" aria-describedby="caption-attachment-31856" style="width: 940px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-10.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31856 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-10.png" alt="Figure 30" width="940" height="555" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-10.png 940w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-10-508x300.png 508w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-10-900x531.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-10-768x453.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-10-600x354.png 600w" sizes="auto, (max-width: 940px) 100vw, 940px" /></a><figcaption id="caption-attachment-31856" class="wp-caption-text">Figure 30</figcaption></figure>
<p>Click <em>Global Permissions</em> and click the <em>+</em> (Plus sign), as shown in Figure 31.</p>
<figure id="attachment_31857" aria-describedby="caption-attachment-31857" style="width: 580px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-10.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31857 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-10.png" alt="Figure 31" width="580" height="306" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-10.png 580w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-10-530x280.png 530w" sizes="auto, (max-width: 580px) 100vw, 580px" /></a><figcaption id="caption-attachment-31857" class="wp-caption-text">Figure 31</figcaption></figure>
<p>Select your AD domain in the <em>Domain </em>dropdown, enter the service account name, select the just created <em>Role</em>, select <em>Propagate to children</em>, and click <em>OK</em>, as shown in Figure 32.</p>
<figure id="attachment_31858" aria-describedby="caption-attachment-31858" style="width: 573px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-10.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31858 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-10.png" alt="Figure 32" width="573" height="426" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-10.png 573w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-10-404x300.png 404w" sizes="auto, (max-width: 573px) 100vw, 573px" /></a><figcaption id="caption-attachment-31858" class="wp-caption-text">Figure 32</figcaption></figure>
<p>If you are following this article series, there is no Horizon infrastructure to test the account.</p>
<p>Leave the vCenter console open to Global Permissions.</p>
<h2>Create a Read-only Account</h2>
<p>In my lab, I use monitoring software from vendors like <a href="https://www.controlup.com/">ControlUp</a> and <a href="https://goliathtechnologies.com/">Goliath Technologies</a>. To provide for Least Privilege Access, use a Read-only account.</p>
<p>First, we need to create an AD service account to assign the vCenter Read-only Role.</p>
<p>On the first DC, 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 33.</p>
<p>Remember to set the values you need.</p>
<p><strong>Note:</strong> Lines may wrap</p>
<pre class="brush: powershell; title: ; notranslate">
#Create the service account svc_VMwareReadOnly for Read-only vCenter permissions

$ADDomain = &quot;LabADDomain&quot;
$TLD = &quot;com&quot;
$Protect = $False

$UserPwd = Read-Host -AsSecureString -Prompt &quot;Enter password&quot;

New-ADUser -AccountPassword $UserPwd `
-CannotChangePassword $True `
-ChangePasswordAtLogon $False `
-Description &quot;DO NOT CHANGE THE PASSWORD OR DELETE/DISABLE ACCOUNT&quot; `
-DisplayName &quot;svc_VMwareReadOnly&quot; `
-Enabled $True `
-GivenName &quot;svc_VMwareReadOnly&quot; `
-Name &quot;svc_VMwareReadOnly&quot; `
-PasswordNeverExpires $True `
-PasswordNotRequired $False `
-Path &quot;OU=Service,OU=Accounts,OU=Lab,DC=$ADDomain,DC=$TLD&quot; `
-SamAccountName &quot;svc_VMwareReadOnly&quot; `
-UserPrincipalName &quot;svc_VMwareReadOnly@LabADDomain.com&quot;
</pre>
<figure id="attachment_34239" aria-describedby="caption-attachment-34239" style="width: 775px" class="wp-caption alignnone"><a style="font-weight: bold; font-size: 0.8125rem; font-style: italic;" href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure033.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34239 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure033.png" alt="Figure 33" width="775" height="426" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure033.png 775w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure033-530x291.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure033-768x422.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure033-600x330.png 600w" sizes="auto, (max-width: 775px) 100vw, 775px" /></a><figcaption id="caption-attachment-34239" class="wp-caption-text">Figure 33</figcaption></figure>
<p>In Global Permissions, click the &#8220;<em>+</em>&#8220;, as shown in Figure 34.</p>
<figure id="attachment_34241" aria-describedby="caption-attachment-34241" style="width: 228px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure034.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34241 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure034.png" alt="Figure 34" width="228" height="197" /></a><figcaption id="caption-attachment-34241" class="wp-caption-text">Figure 34</figcaption></figure>
<p>Change the <em>Domain</em> to the AD domain, select the new Read-only account for <em>User/Group</em>, select the Read-only <em>Role,</em> select <em>Propagate to children</em>, and click <em>OK</em>, as shown in Figure 35.</p>
<figure id="attachment_34242" aria-describedby="caption-attachment-34242" style="width: 573px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure035.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34242 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure035.png" alt="Figure 35" width="573" height="425" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure035.png 573w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure035-404x300.png 404w" sizes="auto, (max-width: 573px) 100vw, 573px" /></a><figcaption id="caption-attachment-34242" class="wp-caption-text">Figure 35</figcaption></figure>
<p>The new Read-only account is added to the list, as shown in Figure 36.</p>
<figure id="attachment_34244" aria-describedby="caption-attachment-34244" style="width: 915px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure036.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34244 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure036.png" alt="Figure 36" width="915" height="302" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure036.png 915w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure036-530x175.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure036-900x297.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure036-768x253.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure036-600x198.png 600w" sizes="auto, (max-width: 915px) 100vw, 915px" /></a><figcaption id="caption-attachment-34244" class="wp-caption-text">Figure 36</figcaption></figure>
<p>Next up: <a href="https://www.carlwebster.com/18-building-websters-lab-v2-additional-xencenter-configuration/" target="_blank" rel="noopener">Additional XenCenter Configuration</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">31824</post-id>	</item>
		<item>
		<title>16 Building Webster&#8217;s Lab V2 – Create Initial Group Policy Objects</title>
		<link>https://www.carlwebster.com/16-building-websters-lab-v2-create-initial-group-policy-objects/</link>
					<comments>https://www.carlwebster.com/16-building-websters-lab-v2-create-initial-group-policy-objects/#comments</comments>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Mon, 14 Jun 2021 09:14:59 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=31759</guid>

					<description><![CDATA[[Updated 8-Nov-2021] With the domain controllers built, Active Directory (AD) configured, and the Certificate Authority Server configured, the next step is to create the initial settings within Group Policy Objects&#8230;]]></description>
										<content:encoded><![CDATA[<p>[Updated 8-Nov-2021]</p>
<p>With the domain controllers built, Active Directory (AD) configured, and the Certificate Authority Server configured, the next step is to create the initial settings within Group Policy Objects (GPOs). The primary purpose of the Group Policy engine is to apply policy settings to computers and users in an AD domain, enabling administrators to automate one-to-many management of settings to users and computers.  Using Group Policy as a settings delivery engine simplifies administrative tasks and reduces IT costs.  Administrators can efficiently implement security settings and enforce IT policies consistently across a given site, domain, or range of organizational units.</p>
<p>Group Policy consists of many pieces and parts, and there are tens of thousands of possible settings and options available. Here are a few helpful links to help you better understand Group Policy.</p>
<ul>
<li><a href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/hh831791(v=ws.11)" target="_blank" rel="noopener">Group Policy Overview</a></li>
<li><a href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc754948(v=ws.10)" target="_blank" rel="noopener">Group Policy Planning and Deployment Guide</a></li>
<li><a href="https://blog.netwrix.com/2017/02/17/group-policy/" target="_blank" rel="noopener">What are Group Policy and Group Policy Objects?</a></li>
<li><a href="https://sdmsoftware.com/wp-content/uploads/2020/02/Group-Policy-Storage.pdf" target="_blank" rel="noopener">Group Policy Settings Storage</a> (PDF)</li>
</ul>
<p>One of my Group Policy mentors, <a href="https://sdmsoftware.com" target="_blank" rel="noopener">Darren Mar-Elia</a>, has several Group Policy training videos on Pluralsight.</p>
<ul>
<li><a href="https://app.pluralsight.com/library/courses/group-policy-fundamentals/table-of-contents" target="_blank" rel="noopener">Group Policy Fundamentals</a></li>
<li><a href="https://app.pluralsight.com/library/courses/windows-server-2019-group-policy-fundamentals/table-of-contents" target="_blank" rel="noopener">Windows Server 2019: Group Policy Fundamentals</a></li>
<li><a href="https://app.pluralsight.com/library/courses/play-by-play-group-policy-darren-mar-elia/table-of-contents" target="_blank" rel="noopener">Play by Play: Group Policy Best Practices with Darren Mar-Elia</a></li>
<li><a href="https://app.pluralsight.com/library/courses/group-policy-deploy-manage-best-practices/table-of-contents" target="_blank" rel="noopener">Best Practices for Group Policy Deployment and Management</a></li>
<li><a href="https://app.pluralsight.com/library/courses/designing-managing-group-policy-deployment/table-of-contents" target="_blank" rel="noopener">Designing and Managing a Group Policy Deployment</a></li>
</ul>
<p>My other Group Policy mentor, <a href="https://www.mdmandgpanswers.com/" target="_blank" rel="noopener">Jeremy Moskowitz</a>, has a <a href="https://www.mdmandgpanswers.com/books" target="_blank" rel="noopener">Group Policy book</a> you should read (I have all six editions). He also has a <a href="https://www.mdmandgpanswers.com/live-class">Group Policy training course</a> which has hands-on labs. The course is in-person or online (labs are the same).</p>
<p>If you want a deep dive into all the technical details of Group Policy, please see <a href="https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-gpod/6e634939-2ccf-4412-b75f-0035dc05ea67" target="_blank" rel="noopener">Group Policy Protocols Overview</a> and click the link to download a PDF or Word document. That is a great document to read if you have insomnia.</p>
<h2>Default GPOs</h2>
<p>When we created the AD domain in <a href="https://www.carlwebster.com/14-building-websters-lab-v2-create-active-directory/" target="_blank" rel="noopener">Part 14</a>, the process created two default group policies: the Default Domain Policy and the Default Domain Controllers Policy.</p>
<p>Paraphrased from <em>Group Policy Protocols Overview</em>.</p>
<blockquote><p><strong>Default Domain Policy</strong>: A default GPO created and linked to the domain whenever a server becomes the first domain controller in a domain. It has the highest precedence of all GPOs linked to the domain, and it applies to all users and computers in the domain. The Default Domain Policy GPO is generally used to manage default account settings, although there are exceptions to this practice. For other areas of policy management, you can create new GPOs; however, some policy settings are best configured at the domain level, and there are no restrictions against doing so.</p>
<p><strong>Default Domain Controllers Policy</strong>: A default GPO created and linked to the &#8220;Domain Controllers&#8221; OU whenever a server becomes the first domain controller in a domain. This GPO represents the default policy applied to all domain controllers in the Domain Controllers container.</p></blockquote>
<p>In an article for the <a href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/hh875588(v=ws.11)?redirectedfrom=MSDN" target="_blank" rel="noopener">Dcgpofix</a> utility, Microsoft makes statements about what those two GPOs should contain.</p>
<blockquote><p><strong>Default Domain Policy</strong>: As a best practice, you should configure the Default Domain Policy GPO only to manage the default Account Policies settings, Password Policy, Account Lockout Policy, and Kerberos Policy.</p>
<p><strong>Default Domain Controllers Policy</strong>: As a best practice, you should only configure the Default Domain Controllers Policy GPO to set user rights and audit policies.</p></blockquote>
<p>I recommend you limit the changes made to the two default GPOs to specifically the areas instructed. If you wish to create new and existing &#8220;other policy items&#8221;, then instead, create new GPOs as needed to control your required domain and domain controller policy settings. If you ever find yourself needing to run the dcgpofix utility, you lose any changes made to those original built-in GPOs. This includes password settings and account lockout settings in the Default Domain Policy.</p>
<p>Figure 1 shows the settings in my Default Domain Policy. User Configuration settings <a href="https://datatracker.ietf.org/doc/html/rfc2119" target="_blank" rel="noopener"><em>should</em></a> not exist in this GPO.</p>
<figure id="attachment_31762" aria-describedby="caption-attachment-31762" style="width: 668px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31762 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-15.png" alt="Figure 1" width="668" height="949" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-15.png 668w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-15-211x300.png 211w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-15-563x800.png 563w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-15-600x852.png 600w" sizes="auto, (max-width: 668px) 100vw, 668px" /></a><figcaption id="caption-attachment-31762" class="wp-caption-text">Figure 1</figcaption></figure>
<p>Figure 2 shows the settings in my Default Domain Controllers Policy. User Configuration settings <a href="https://datatracker.ietf.org/doc/html/rfc2119" target="_blank" rel="noopener"><em>should</em></a> not exist in this GPO.</p>
<figure id="attachment_31763" aria-describedby="caption-attachment-31763" style="width: 1147px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31763 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-15.png" alt="Figure 3" width="1147" height="1071" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-15.png 1147w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-15-321x300.png 321w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-15-857x800.png 857w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-15-768x717.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-15-600x560.png 600w" sizes="auto, (max-width: 1147px) 100vw, 1147px" /></a><figcaption id="caption-attachment-31763" class="wp-caption-text">Figure 3</figcaption></figure>
<h2>Authoritative Time Server GPO</h2>
<p class="Body">Time is one of the most critical components that always makes AD work and work correctly. AD cannot work correctly if time synchronization is off between domain controllers and member computers. For example, in Kerberos V5 (which AD uses), computers that are more than five minutes out of sync <a href="https://datatracker.ietf.org/doc/html/rfc2119" target="_blank" rel="noopener"><i>may</i></a> not authenticate by default. Another example is replication; AD uses timestamps to resolve replication conflicts.</p>
<p>I use the script from <a href="http://www.jhouseconsulting.com/" target="_blank" rel="noopener">Jeremy Saunders</a> to automate the creation and maintenance of time server settings.</p>
<p>Script to Create Group Policy Objects and WMI Filters to Manage the Time Server Hierarchy &#8211; <a href="http://www.jhouseconsulting.com/2014/01/10/script-to-create-group-policy-objects-and-wmi-filters-to-manage-the-time-server-hierarchy-1153" target="_blank" rel="noopener">http://www.jhouseconsulting.com/2014/01/10/script-to-create-group-policy-objects-and-wmi-filters-to-manage-the-time-server-hierarchy-1153</a></p>
<p>There is one change needed in the script. The script uses servers from pool.ntp.org for Australia, where Jeremy is based.</p>
<p>Change this line:</p>
<pre class="brush: powershell; title: ; notranslate">
$TimeServers = &quot;0.au.pool.ntp.org,0x8 1.au.pool.ntp.org,0x8 2.au.pool.ntp.org,0x8 3.au.pool.ntp.org,0x8&quot;
</pre>
<p>To:</p>
<pre class="brush: powershell; title: ; notranslate">
$TimeServers = &quot;north-america.pool.ntp.org,0x8&quot;
</pre>
<p><strong>Note:</strong> Use the servers for your geolocation. You can also use dedicated hardware or a network appliance as your time source. Use the IP address. For example, &#8220;10.20.30.40, 0x8&#8221;</p>
<p>After you download and modify Jeremy&#8217;s script, save it on the first domain controller in c:\Scripts, as shown in Figure 3.</p>
<figure id="attachment_31764" aria-describedby="caption-attachment-31764" style="width: 554px" class="wp-caption alignnone"><img loading="lazy" decoding="async" class="size-full wp-image-31764" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-15.png" alt="Figure 3" width="554" height="93" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-15.png 554w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-15-530x89.png 530w" sizes="auto, (max-width: 554px) 100vw, 554px" /><figcaption id="caption-attachment-31764" class="wp-caption-text">Figure 3</figcaption></figure>
<p>Open an elevated PowerShell session and enter the following commands, as shown in Figure 4.</p>
<pre class="brush: powershell; title: ; notranslate">
cd c:\Scripts
.\CreateTimeServerGPOs.ps1
</pre>
<figure id="attachment_31765" aria-describedby="caption-attachment-31765" style="width: 418px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31765 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-15.png" alt="Figure 4" width="418" height="121" /></a><figcaption id="caption-attachment-31765" class="wp-caption-text">Figure 4</figcaption></figure>
<p>Press <em>Enter</em> and the script runs, as shown in Figure 5.</p>
<figure id="attachment_31766" aria-describedby="caption-attachment-31766" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31766 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-15.png" alt="Figure 5" width="859" height="1210" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-15.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-15-213x300.png 213w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-15-568x800.png 568w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-15-768x1082.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-15-600x845.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31766" class="wp-caption-text">Figure 5</figcaption></figure>
<p>What did the script do?</p>
<p>Open the Group Policy Management Console (GPMC) by typing in <strong>gpmc.msc</strong> in the elevated PowerShell window and pressing <em>Enter</em>.</p>
<p>Expand the GPMC to view more content.</p>
<p>Expand the Forest.</p>
<p>Expand Domains.</p>
<p>Expand the Domain.</p>
<p>Expand Domain Controllers.</p>
<p>Expand Group Policy Objects.</p>
<p>Expand WMI Filters.</p>
<p>Figure 6 shows the three GPOs and the two WMI filters that Jeremy&#8217;s script created.</p>
<figure id="attachment_31767" aria-describedby="caption-attachment-31767" style="width: 509px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31767 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-14.png" alt="Figure 6" width="509" height="442" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-14.png 509w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-14-345x300.png 345w" sizes="auto, (max-width: 509px) 100vw, 509px" /></a><figcaption id="caption-attachment-31767" class="wp-caption-text">Figure 6</figcaption></figure>
<p>What these GPOs and WMI filters do is make your life easy. You never have to worry about ensuring the DC that holds the PDCe FSMO role is configured correctly as the authoritative time server. You never have to worry about transferring or seizing the PDCe FSMO role to another DC or about configuring that DC as the authoritative time server. You never have to worry if all the other servers and computers in your domain are configured correctly for the AD time hierarchy. All these concerns are handled by the GPOs that Jeremy&#8217;s script created.</p>
<p>To verify the GPOs are working correctly, open the Event Viewer on all three servers we have in the lab at this point.</p>
<p>On the PDCe DC, look for Event IDs 37 and 35, as shown in Figures 7 and 8.</p>
<figure id="attachment_31768" aria-describedby="caption-attachment-31768" style="width: 532px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31768 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-14.png" alt="Figure 7" width="532" height="304" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-14.png 532w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-14-525x300.png 525w" sizes="auto, (max-width: 532px) 100vw, 532px" /></a><figcaption id="caption-attachment-31768" class="wp-caption-text">Figure 7</figcaption></figure>
<figure id="attachment_31769" aria-describedby="caption-attachment-31769" style="width: 557px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31769 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-14.png" alt="Figure 8" width="557" height="310" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-14.png 557w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-14-530x295.png 530w" sizes="auto, (max-width: 557px) 100vw, 557px" /></a><figcaption id="caption-attachment-31769" class="wp-caption-text">Figure 8</figcaption></figure>
<p>Wait several minutes, then on the other DC, look for Event IDs 37 and 35, as shown in Figures 9 and 10.</p>
<p><strong>Note:</strong> If you don&#8217;t want to wait, restart the Windows Time service.</p>
<p>PowerShell:</p>
<pre class="brush: powershell; title: ; notranslate">
Stop-Service W32Time
Start-Service W32Time
</pre>
<p>Command Prompt:</p>
<pre class="brush: plain; title: ; notranslate">
net stop w32time &amp;&amp; net start w32time
</pre>
<figure id="attachment_31770" aria-describedby="caption-attachment-31770" style="width: 561px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31770 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-14.png" alt="Figure 9" width="561" height="291" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-14.png 561w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-14-530x275.png 530w" sizes="auto, (max-width: 561px) 100vw, 561px" /></a><figcaption id="caption-attachment-31770" class="wp-caption-text">Figure 9</figcaption></figure>
<figure id="attachment_31771" aria-describedby="caption-attachment-31771" style="width: 561px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31771 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-14.png" alt="Figure 10" width="561" height="293" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-14.png 561w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-14-530x277.png 530w" sizes="auto, (max-width: 561px) 100vw, 561px" /></a><figcaption id="caption-attachment-31771" class="wp-caption-text">Figure 10</figcaption></figure>
<p>On the CA, after waiting several minutes, look for Event IDs 37 and 35, as shown in Figures 11 and 12.</p>
<figure id="attachment_31772" aria-describedby="caption-attachment-31772" style="width: 556px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31772 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-14.png" alt="Figure 11" width="556" height="332" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-14.png 556w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-14-502x300.png 502w" sizes="auto, (max-width: 556px) 100vw, 556px" /></a><figcaption id="caption-attachment-31772" class="wp-caption-text">Figure 11</figcaption></figure>
<figure id="attachment_31773" aria-describedby="caption-attachment-31773" style="width: 564px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31773 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-14.png" alt="Figure 12" width="564" height="333" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-14.png 564w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-14-508x300.png 508w" sizes="auto, (max-width: 564px) 100vw, 564px" /></a><figcaption id="caption-attachment-31773" class="wp-caption-text">Figure 12</figcaption></figure>
<h2>Install Root and Intermediate Certificates</h2>
<p>So far, we reviewed the two default policies and let PowerShell do all the work for the authoritative time server policy. We manually create the following policy.</p>
<p>I recommend creating all GPOs in the Group Policy Objects node in the GPMC. Why? If you create and link a GPO at any level, that GPO is immediately LIVE; and any changes you make could apply to whatever computers or users reside in the level you are working at any time. That is dangerous if you work on a policy and it&#8217;s incomplete. Or if you create or edit a security or lockdown policy and you make an inadvertent change. I prefer to create GPOs first, then after completing the work, link the GPO to the appropriate level(s), which puts its proposed actions into practice.</p>
<p>In the GPMC, right-click <em>Group Policy Objects</em> and click <em>New</em>, as shown in Figure 13.</p>
<figure id="attachment_31776" aria-describedby="caption-attachment-31776" style="width: 458px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31776 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-14.png" alt="Figure 13" width="458" height="410" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-14.png 458w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-14-335x300.png 335w" sizes="auto, (max-width: 458px) 100vw, 458px" /></a><figcaption id="caption-attachment-31776" class="wp-caption-text">Figure 13</figcaption></figure>
<p>Give the new policy a meaningful <em>Name</em> and click <em>OK</em>, as shown in Figure 14.</p>
<p>I have recommendations I make to customers for how to name GPOs.</p>
<ul>
<li>Convention: Policy Add-in Type (C or U or CU)-Policy Name
<ul>
<li>C = computer</li>
<li>U = User</li>
<li>CU = Computer and User</li>
</ul>
</li>
<li>Policy Name – Whatever makes sense but should be meaningful to the use of the GPO</li>
<li>The policy name must not contain any of the following reserved characters:
<ul>
<li>&lt; &#8211; less than</li>
<li>&gt; &#8211; greater than</li>
<li>: &#8211; colon</li>
<li>&#8221; – double-quote</li>
<li>\ &#8211; backslash</li>
<li>/ &#8211; forward slash</li>
<li>| &#8211; The pipe symbol</li>
<li>? – question mark</li>
<li>* &#8211; asterisk</li>
</ul>
</li>
<li>Examples:
<ul>
<li>(C) &#8211; Loopback Replace</li>
<li>(U) &#8211; IE Site to Zone Mapping</li>
<li>(CU) &#8211; Google Chrome Settings</li>
<li>(C) &#8211; Domain Password Policy – Enforced</li>
</ul>
</li>
</ul>
<p>Why the restriction on characters allowed in the GPO name? You can create a GPO with those characters in the GPO name. The problem comes when using PowerShell to create GPO backups and reports. PowerShell cannot create folders and files for a GPO with any reserved characters in the GPO&#8217;s name. Please see this article from Microsoft. <a href="https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file" target="_blank" rel="noopener"><em>Naming Files, Paths, and Namespaces</em></a></p>
<figure id="attachment_31777" aria-describedby="caption-attachment-31777" style="width: 386px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31777 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-14.png" alt="Figure 14" width="386" height="180" /></a><figcaption id="caption-attachment-31777" class="wp-caption-text">Figure 14</figcaption></figure>
<p>Right-click the new GPO and click <em>Edit…</em>, as shown in Figure 15.</p>
<figure id="attachment_31778" aria-describedby="caption-attachment-31778" style="width: 520px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-15.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31778 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-15.png" alt="Figure 15" width="520" height="178" /></a><figcaption id="caption-attachment-31778" class="wp-caption-text">Figure 15</figcaption></figure>
<p>In the left pane, expand <em>Computer Configuration</em>, <em>Policies</em>, <em>Windows Settings</em>, <em>Security Settings</em>, <em>Public Key Policies,</em> and in the right pane, click <em>Certificate Services Client – Auto-Enrollment</em>, as shown in Figure 16.</p>
<figure id="attachment_31779" aria-describedby="caption-attachment-31779" style="width: 938px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31779 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-14.png" alt="Figure 16" width="938" height="577" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-14.png 938w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-14-488x300.png 488w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-14-900x554.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-14-768x472.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-14-600x369.png 600w" sizes="auto, (max-width: 938px) 100vw, 938px" /></a><figcaption id="caption-attachment-31779" class="wp-caption-text">Figure 16</figcaption></figure>
<p>Double-click <em>Certificate Services Client – Auto-Enrollment</em> and change <em>Configuration Model</em> to <em>Enabled</em>, as shown in Figure 17.</p>
<figure id="attachment_31780" aria-describedby="caption-attachment-31780" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31780 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-14.png" alt="Figure 17" width="400" height="504" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-14.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-14-238x300.png 238w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31780" class="wp-caption-text">Figure 17</figcaption></figure>
<p>Select <em>Renew expired certificates, update pending certificates, and remove revoked certificates</em>, and <em>Update certificates that use certificate templates</em>, and click <em>OK</em>, as shown in Figure 18.</p>
<figure id="attachment_31781" aria-describedby="caption-attachment-31781" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31781 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-14.png" alt="Figure 18" width="400" height="504" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-14.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-14-238x300.png 238w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31781" class="wp-caption-text">Figure 18</figcaption></figure>
<p>Right-click <em>Trusted Root Certification Authorities</em> and click <em>Import…</em>, as shown in Figure 19.</p>
<figure id="attachment_31782" aria-describedby="caption-attachment-31782" style="width: 415px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31782 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-14.png" alt="Figure 19" width="415" height="289" /></a><figcaption id="caption-attachment-31782" class="wp-caption-text">Figure 19</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 20.</p>
<figure id="attachment_31783" aria-describedby="caption-attachment-31783" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31783 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-14.png" alt="Figure 20" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-14.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-14-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-31783" class="wp-caption-text">Figure 20</figcaption></figure>
<p>Click <em>Browse…</em>, as shown in Figure 21.</p>
<figure id="attachment_31784" aria-describedby="caption-attachment-31784" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31784 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-13.png" alt="Figure 21" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-13.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-13-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-31784" class="wp-caption-text">Figure 21</figcaption></figure>
<p>Browse to the folder created on the CA server, click the exported Root Certificate file, and click <em>Open</em>, as shown in Figure 22.</p>
<figure id="attachment_31785" aria-describedby="caption-attachment-31785" style="width: 1143px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31785 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-13.png" alt="Figure 22" width="1143" height="636" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-13.png 1143w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-13-530x295.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-13-900x501.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-13-768x427.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-13-600x334.png 600w" sizes="auto, (max-width: 1143px) 100vw, 1143px" /></a><figcaption id="caption-attachment-31785" class="wp-caption-text">Figure 22</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 23.</p>
<figure id="attachment_31786" aria-describedby="caption-attachment-31786" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31786 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-12.png" alt="Figure 23" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-12.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-12-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-31786" class="wp-caption-text">Figure 23</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 24.</p>
<figure id="attachment_31787" aria-describedby="caption-attachment-31787" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31787 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-12.png" alt="Figure 24" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-12.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-12-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-31787" class="wp-caption-text">Figure 24</figcaption></figure>
<p>Click <em>Finish</em>, as shown in Figure 25.</p>
<figure id="attachment_31788" aria-describedby="caption-attachment-31788" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-11.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31788 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-11.png" alt="Figure 25" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-11.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-11-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-31788" class="wp-caption-text">Figure 25</figcaption></figure>
<p>Click <em>OK</em>, as shown in Figure 26.</p>
<figure id="attachment_31789" aria-describedby="caption-attachment-31789" style="width: 230px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-10.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31789 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-10.png" alt="Figure 26" width="230" height="152" /></a><figcaption id="caption-attachment-31789" class="wp-caption-text">Figure 26</figcaption></figure>
<p>In the right pane, you see the Root Certificate added, as shown in Figure 27.</p>
<figure id="attachment_31790" aria-describedby="caption-attachment-31790" style="width: 752px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-10.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31790 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-10.png" alt="Figure 27" width="752" height="54" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-10.png 752w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-10-530x38.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-10-600x43.png 600w" sizes="auto, (max-width: 752px) 100vw, 752px" /></a><figcaption id="caption-attachment-31790" class="wp-caption-text">Figure 27</figcaption></figure>
<p>Right-click <em>Intermediate Certification Authorities</em> and click <em>Import…</em>, as shown in Figure 28.</p>
<figure id="attachment_31791" aria-describedby="caption-attachment-31791" style="width: 419px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31791 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-9.png" alt="Figure 28" width="419" height="323" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-9.png 419w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-9-389x300.png 389w" sizes="auto, (max-width: 419px) 100vw, 419px" /></a><figcaption id="caption-attachment-31791" class="wp-caption-text">Figure 28</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 29.</p>
<figure id="attachment_31792" aria-describedby="caption-attachment-31792" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31792 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-9.png" alt="Figure 29" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-9.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-9-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-31792" class="wp-caption-text">Figure 29</figcaption></figure>
<p>Click <em>Browse…</em>, as shown in Figure 30.</p>
<figure id="attachment_31793" aria-describedby="caption-attachment-31793" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31793 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-9.png" alt="Figure 30" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-9.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-9-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-31793" class="wp-caption-text">Figure 30</figcaption></figure>
<p>Browse to the folder created on the CA server, click the exported Intermediate Certificate file, and click <em>Open</em>, as shown in Figure 31.</p>
<figure id="attachment_31794" aria-describedby="caption-attachment-31794" style="width: 1143px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31794 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-9.png" alt="Figure 31" width="1143" height="636" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-9.png 1143w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-9-530x295.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-9-900x501.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-9-768x427.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-9-600x334.png 600w" sizes="auto, (max-width: 1143px) 100vw, 1143px" /></a><figcaption id="caption-attachment-31794" class="wp-caption-text">Figure 31</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 32.</p>
<figure id="attachment_31795" aria-describedby="caption-attachment-31795" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31795 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-9.png" alt="Figure 32" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-9.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-9-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-31795" class="wp-caption-text">Figure 32</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 33.</p>
<figure id="attachment_31796" aria-describedby="caption-attachment-31796" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31796 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-9.png" alt="Figure 33" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-9.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-9-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-31796" class="wp-caption-text">Figure 33</figcaption></figure>
<p>Click <em>Finish</em>, as shown in Figure 34.</p>
<figure id="attachment_31797" aria-describedby="caption-attachment-31797" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31797 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-8.png" alt="Figure 34" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-8.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-8-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-31797" class="wp-caption-text">Figure 34</figcaption></figure>
<p>Click <em>OK</em>, as shown in Figure 35.</p>
<figure id="attachment_31798" aria-describedby="caption-attachment-31798" style="width: 230px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31798 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-8.png" alt="Figure 35" width="230" height="152" /></a><figcaption id="caption-attachment-31798" class="wp-caption-text">Figure 35</figcaption></figure>
<p>In the right pane, you see the Intermediate Certificate added, as shown in Figure 36.</p>
<figure id="attachment_31799" aria-describedby="caption-attachment-31799" style="width: 752px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31799 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-7.png" alt="Figure 36" width="752" height="54" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-7.png 752w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-7-530x38.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-7-600x43.png 600w" sizes="auto, (max-width: 752px) 100vw, 752px" /></a><figcaption id="caption-attachment-31799" class="wp-caption-text">Figure 36</figcaption></figure>
<p>Exit the Group Policy Management Editor (not the GPMC).</p>
<p>I want this certificate group policy to apply to all computer accounts in the Lab OU since all computer accounts, other than domain controllers, must exist in that OU tree.</p>
<p>Right-click the <em>Lab</em> OU and click <em>Link an Existing GPO…</em>, as shown in Figure 37.</p>
<figure id="attachment_31800" aria-describedby="caption-attachment-31800" style="width: 455px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-6.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31800 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-6.png" alt="Figure 37" width="455" height="340" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-6.png 455w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-6-401x300.png 401w" sizes="auto, (max-width: 455px) 100vw, 455px" /></a><figcaption id="caption-attachment-31800" class="wp-caption-text">Figure 37</figcaption></figure>
<p>Select the new GPO and click <em>OK</em>, as shown in Figure 38.</p>
<figure id="attachment_31801" aria-describedby="caption-attachment-31801" style="width: 449px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-6.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31801 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-6.png" alt="Figure 38" width="449" height="411" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-6.png 449w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-6-328x300.png 328w" sizes="auto, (max-width: 449px) 100vw, 449px" /></a><figcaption id="caption-attachment-31801" class="wp-caption-text">Figure 38</figcaption></figure>
<p>Expand the Lab OU, and see the certificate group policy is at the top level of the Lab OU tree, as shown in Figure 39. This means that as computers join the domain and are placed in the Lab OU tree, they automatically receive this group policy on the first reboot.</p>
<figure id="attachment_31802" aria-describedby="caption-attachment-31802" style="width: 506px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-6.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31802 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-6.png" alt="Figure 39" width="506" height="333" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-6.png 506w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-6-456x300.png 456w" sizes="auto, (max-width: 506px) 100vw, 506px" /></a><figcaption id="caption-attachment-31802" class="wp-caption-text">Figure 39</figcaption></figure>
<h2>Lab Defaults</h2>
<p>Now you know how to create, edit, and link a GPO. For this GPO, I give you the recommended settings I use in my lab. You can decide which settings make sense for you, plus any additional settings you may want to add. Remember, there are thousands of settings from which to choose.</p>
<p>This GPO contains computer settings I apply to every computer in the domain.  You can find all of the settings here in Computer Configuration / Policies.</p>
<p>Windows Settings | Security Settings | System Services | <strong>DNS Client. </strong>Check<strong> &#8220;</strong>Define this Setting&#8221; and then specify &#8220;Automatic.&#8221; Leave other settings as-is. [Webster: I have seen customers have issues where the DNS Client Service somehow gets set to disabled. If this service is disabled, there could be name resolution issues.]</p>
<p>Administrative Templates | Control Panel | Regional and Language Options | Handwriting personalization | <strong>Turn off automatic learning.</strong> Set to Enabled.</p>
<p>Administrative Templates | Network | Link-Layer Topology Discovery | <strong>Turn on Mapper I/O (LLTDIO) driver</strong>. Set to Enabled and select Allow operation while in domain. [Webster: Without this configured, no computer in the domain can browse and find the File Server.]</p>
<p>Administrative Templates | Network | Link-Layer Topology Discovery | <strong>Turn on Responder (RSPNDR) driver</strong>. Set to Enabled and select Allow operation while in domain. [Webster: Without this configured, no computer in the domain can browse and find the File Server.]</p>
<p>Administrative Templates | System | Server Manager | <strong>Do not display Initial Configuration Tasks window automatically at logon</strong>. Set to Enabled. [Webster: Reduces the clutter on a computer&#8217;s screen at startup.]</p>
<p>Administrative Templates | System | Server Manager | <strong>Do not display Server Manager automatically at logon</strong>. Set to Enabled. [Webster: Reduces the clutter on a computer&#8217;s screen at startup.]</p>
<p>Administrative Templates | Windows Components | Add features to Windows 10 | <strong>Prevent the wizard from running</strong>. Set to Enabled.</p>
<p>Administrative Templates | Windows Components | Camera | <strong>Allow Use of Camera</strong>. Set to Disabled. [Webster: None of my hosts or VMs have cameras.]</p>
<p>Administrative Templates | Windows Components | Cloud Content | <strong>Do not show Windows tips</strong>. Set to Enabled.</p>
<p>Administrative Templates | Windows Components | Cloud Content | <strong>Turn off Microsoft consumer experiences</strong>. Set to Enabled.</p>
<p>Administrative Templates | Windows Components | Connect | <strong>Don&#8217;t allow this PC to be projected to</strong>. Set to Enabled.</p>
<p>Administrative Templates | Windows Components | Data Collection and Preview Builds | <strong>Allow commercial data pipeline</strong>. Set to Disabled.</p>
<p>Administrative Templates | Windows Components | Data Collection and Preview Builds | <strong>Allow Telemetry</strong>. Set to Enabled and set the Options to 3 – Full.</p>
<p>Administrative Templates | Windows Components | Data Collection and Preview Builds | <strong>Do not show feedback notifications</strong>. Set to Enabled.</p>
<p>Administrative Templates | Windows Components | Desktop Gadgets | <strong>Turn off desktop gadgets</strong>. Set to Enabled.</p>
<p>Administrative Templates | Windows Components | HomeGroup | <strong>Prevent the computer from joining a homegroup</strong>. Set to Enabled.</p>
<p>Administrative Templates | Windows Components | News and interests | <strong>Enable news and interests on the taskbar</strong>. Set to Disabled. [Webster: If you do not see this setting, wait until you finish the Central Store section and then see <a href="https://techcommunity.microsoft.com/t5/windows-it-pro-blog/group-configuration-news-and-interests-on-the-windows-taskbar/ba-p/2281005" target="_blank" rel="noopener">Group configuration: news and interests on the Windows taskbar</a>.]</p>
<p>Administrative Templates | Windows Components | OneDrive | <strong>Prevent the usage of OneDrive for file storage</strong>. Set to Enabled. [Webster: I don&#8217;t use Onedrive. If you use OneDrive, do not configure this setting.]</p>
<p>Administrative Templates | Windows Components | Search |  <strong>Allow Cortana</strong>. Set to Disabled. [Webster: I don&#8217;t care for Cortana. If you use Cortana, do not configure this setting.]</p>
<p>Administrative Templates | Windows Components | Security Center | <strong>Turn on Security Center (Domain PCs only)</strong>. Set to Disabled. [Webster: If you like the Security Center, do not configure this setting.]</p>
<p>Administrative Templates | Windows Components | Store | <strong>Turn off the Store application</strong>. Set to Enabled. [Webster: I don&#8217;t use the Store in lab VMs.]</p>
<p>Administrative Templates | Windows Components | Windows Defender SmartScreen | Explorer | <strong>Configure Windows Defender SmartScreen</strong>. Set to Disabled. [Webster: I find SmartScreen slows down Windows File Explorer. If you use SmartScreen, do not configure this setting.]</p>
<p>Administrative Templates | Windows Components | Windows Defender SmartScreen | Microsoft Edge | <strong>Configure Windows Defender SmartScreen</strong>. Set to Disabled. [Webster: I find SmartScreen slows down internet browsing. If you use SmartScreen, do not configure this setting.]</p>
<p>Administrative Templates | Windows Components | Windows Ink Workspace | <strong>Allow Windows Ink Workspace</strong>. Set to Disabled.</p>
<p>Administrative Templates | Windows Components | Windows PowerShell | <strong>Turn on Script Execution</strong>. Set to Enabled and set the Execution Policy to Allow all scripts. [Webster: I do a lot of PowerShell scripting and run PowerShell scripts from other friends. If you do not trust every PowerShell script, you should consider setting the Execution Policy to Allow local and remote signed scripts. That means every PowerShell script that doesn&#8217;t come from your computer requires a digital signature.]</p>
<p>Administrative Templates | Windows Components | Windows Remote Shell | <strong>Allow Remote Shell Access</strong>. Set to Enabled.</p>
<p>Administrative Templates | Windows Components | Windows Update | <strong>Configure Automatic Updates</strong>. Set to Disabled.</p>
<p>Administrative Templates | Windows Components | Windows Update | Windows Update for Business | <strong>Manage preview builds</strong>. Set to Enabled and Set the behavior for receiving preview builds to Disable preview builds.</p>
<p>Administrative Templates | Windows Components | Windows Update | Windows Update for Business | <strong>Select the target Feature Update version</strong>. Set to Disabled.</p>
<p>To go along with these two settings, we need to configure three Firewall settings.</p>
<ul>
<li>Administrative Templates | Network | Link-Layer Topology Discovery | <strong>Turn on Mapper I/O (LLTDIO) driver</strong></li>
<li>Administrative Templates | Network | Link-Layer Topology Discovery | <strong>Turn on Responder (RSPNDR) driver</strong></li>
</ul>
<p>In the Group Policy Management Edit (GPME), go to Windows Settings | Security Settings | Windows Defender Firewall with Advanced Security and expand Windows Defender Firewall with Advanced Security, as shown in Figure 40.</p>
<figure id="attachment_34841" aria-describedby="caption-attachment-34841" style="width: 417px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure040.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34841 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure040.png" alt="Figure 40" width="417" height="417" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure040.png 417w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure040-300x300.png 300w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure040-150x150.png 150w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure040-100x100.png 100w" sizes="auto, (max-width: 417px) 100vw, 417px" /></a><figcaption id="caption-attachment-34841" class="wp-caption-text">Figure 40</figcaption></figure>
<p>Right-click <em>Inbound Rules</em> and click <em>New Rule…</em>, as shown in Figure 41.</p>
<figure id="attachment_34840" aria-describedby="caption-attachment-34840" style="width: 340px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure041.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34840 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure041.png" alt="Figure 41" width="340" height="111" /></a><figcaption id="caption-attachment-34840" class="wp-caption-text">Figure 41</figcaption></figure>
<p>Select <em>Predefined</em> from the dropdown list, select <em>File and Print Sharing</em>, and click <em>Next</em>, as shown in Figure 42.</p>
<figure id="attachment_34839" aria-describedby="caption-attachment-34839" style="width: 714px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure042.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34839 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure042.png" alt="Figure 42" width="714" height="581" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure042.png 714w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure042-369x300.png 369w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure042-600x488.png 600w" sizes="auto, (max-width: 714px) 100vw, 714px" /></a><figcaption id="caption-attachment-34839" class="wp-caption-text">Figure 42</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 43.</p>
<figure id="attachment_34838" aria-describedby="caption-attachment-34838" style="width: 714px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure043.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34838 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure043.png" alt="Figure 43" width="714" height="581" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure043.png 714w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure043-369x300.png 369w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure043-600x488.png 600w" sizes="auto, (max-width: 714px) 100vw, 714px" /></a><figcaption id="caption-attachment-34838" class="wp-caption-text">Figure 43</figcaption></figure>
<p>Select <em>Allow the connection</em> and click <em>Finish</em>, as shown in Figure 44.</p>
<figure id="attachment_34837" aria-describedby="caption-attachment-34837" style="width: 714px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure044.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34837 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure044.png" alt="Figure 44" width="714" height="581" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure044.png 714w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure044-369x300.png 369w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure044-600x488.png 600w" sizes="auto, (max-width: 714px) 100vw, 714px" /></a><figcaption id="caption-attachment-34837" class="wp-caption-text">Figure 44</figcaption></figure>
<p>Create another <em>Inbound Rule</em>.</p>
<p>Select <em>Predefined</em> from the dropdown list, select <em>Network Discovery</em>, and click <em>Next</em>, as shown in Figure 45.</p>
<figure id="attachment_34836" aria-describedby="caption-attachment-34836" style="width: 714px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure045.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34836 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure045.png" alt="Figure 45" width="714" height="581" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure045.png 714w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure045-369x300.png 369w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure045-600x488.png 600w" sizes="auto, (max-width: 714px) 100vw, 714px" /></a><figcaption id="caption-attachment-34836" class="wp-caption-text">Figure 45</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 46.</p>
<figure id="attachment_34835" aria-describedby="caption-attachment-34835" style="width: 714px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure046.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34835 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure046.png" alt="Figure 46" width="714" height="581" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure046.png 714w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure046-369x300.png 369w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure046-600x488.png 600w" sizes="auto, (max-width: 714px) 100vw, 714px" /></a><figcaption id="caption-attachment-34835" class="wp-caption-text">Figure 46</figcaption></figure>
<p>Select <em>Allow the connection</em> and click <em>Finish</em>, as shown in Figure 47.</p>
<figure id="attachment_34834" aria-describedby="caption-attachment-34834" style="width: 714px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure047.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34834 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure047.png" alt="Figure 47" width="714" height="581" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure047.png 714w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure047-369x300.png 369w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure047-600x488.png 600w" sizes="auto, (max-width: 714px) 100vw, 714px" /></a><figcaption id="caption-attachment-34834" class="wp-caption-text">Figure 47</figcaption></figure>
<p>Create an <em>Outbound Rule</em>.</p>
<p>Select <em>Predefined</em> from the dropdown list, select <em>File and Print Sharing</em>, and click <em>Next</em>, as shown in Figure 48.</p>
<figure id="attachment_34833" aria-describedby="caption-attachment-34833" style="width: 714px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure048.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34833 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure048.png" alt="Figure 48" width="714" height="581" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure048.png 714w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure048-369x300.png 369w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure048-600x488.png 600w" sizes="auto, (max-width: 714px) 100vw, 714px" /></a><figcaption id="caption-attachment-34833" class="wp-caption-text">Figure 48</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 49.</p>
<figure id="attachment_34832" aria-describedby="caption-attachment-34832" style="width: 714px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure049.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34832 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure049.png" alt="Figure 49" width="714" height="581" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure049.png 714w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure049-369x300.png 369w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure049-600x488.png 600w" sizes="auto, (max-width: 714px) 100vw, 714px" /></a><figcaption id="caption-attachment-34832" class="wp-caption-text">Figure 49</figcaption></figure>
<p>Select <em>Allow the connection</em> and click <em>Finish</em>, as shown in Figure 50.</p>
<figure id="attachment_34831" aria-describedby="caption-attachment-34831" style="width: 714px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure050.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34831 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure050.png" alt="Figure 50" width="714" height="581" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure050.png 714w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure050-369x300.png 369w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure050-600x488.png 600w" sizes="auto, (max-width: 714px) 100vw, 714px" /></a><figcaption id="caption-attachment-34831" class="wp-caption-text">Figure 50</figcaption></figure>
<p>Exit the GPME (not the GPMC).</p>
<h2>Testing the Lab Defaults GPO</h2>
<p>Before we go headlong and test out the Lab Defaults GPO we just created together, let&#8217;s do a quick sanity check.</p>
<p>First: Did you remember to create the policy in the Group Policy Objects node?</p>
<p>Second: Did you give the GPO a name recognizable by someone else later? In my example, I named my policy <em>(C) Lab Defaults</em>.</p>
<p>Lastly: Now that I finished configuring the GPO, I was sure to link my GPO at the domain level, as shown in Figure 51.</p>
<figure id="attachment_34830" aria-describedby="caption-attachment-34830" style="width: 1059px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure051.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34830 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure051.png" alt="Figure 51" width="1059" height="204" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure051.png 1059w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure051-530x102.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure051-900x173.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure051-768x148.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure051-600x116.png 600w" sizes="auto, (max-width: 1059px) 100vw, 1059px" /></a><figcaption id="caption-attachment-34830" class="wp-caption-text">Figure 51</figcaption></figure>
<p>Be sure you have all three things set and ready to go before proceeding.</p>
<p>Now you&#8217;re ready to do a simple test of the settings within this GPO.</p>
<p>To do this, log off the CA or second DC and then log back in. One of the settings we specified was to disable the Server Manager from showing expressly. When you log in, the Server Manager should now be absent.</p>
<p>Tip: If Server Manager still appears, either restart the VM or do a <strong>Right-click Start, Run, gpupdate</strong>. Then log off and back on to see if it took effect. Gpupdate is a command-line utility from Microsoft that comes with all versions of the Windows operating system to refresh the Group Policy engine on the client. There are many ways of running gpupdate. As an administrator, you can even <a href="https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/jj134201(v=ws.11)">force a group policy refresh remotely</a> using PowerShell or the GPMC.</p>
<p>We have all the GPOs we need at this time.</p>
<p>Exit the GPMC.</p>
<h2>Central Store</h2>
<p>Most Group Policy configuration settings that administrators use are in the Administrative Templates section of the Group Policy Management Editor. Microsoft divides Administrative Templates files into .admx files and language-specific .adml files for use by Group Policy administrators. To take advantage of the benefits of .admx files, you must create a Central Store in the sysvol folder on a Windows domain controller.</p>
<p><a href="https://docs.microsoft.com/en-us/troubleshoot/windows-client/group-policy/create-and-manage-central-store">What is the Central Store</a>? That link has links to Microsoft-supplied admx files for most versions of Windows. There are also vendor-supplied admx files for <a href="https://support.google.com/chrome/a/answer/187202?hl=en#zippy=%2Cwindows">Google Chrome</a>, <a href="https://support.mozilla.org/en-US/kb/customizing-firefox-using-group-policy-windows">Firefox</a>, and <a href="https://admx.help/">many other products</a>. With all the admx files available, especially for <a href="https://www.microsoft.com/en-us/download/details.aspx?id=49030">Microsoft Office</a>, tens of thousands of settings are available for use with group policy.</p>
<p>With all the admx files available, it makes sense to have a central place to store the admx and related adml files. That is the purpose behind the Central Store.</p>
<p>Tip: For a video overview on creating a central store, <a href="https://www.youtube.com/watch?v=Q4DBdQo4XZs">see this video</a> by Jeremy Moskowitz.</p>
<p>On the first domain controller (the one with the PDCe FSMO role), <em>right-click Start</em>, <em>Run</em>, as shown in Figure 52.</p>
<figure id="attachment_34829" aria-describedby="caption-attachment-34829" style="width: 314px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure052-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34829 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure052-1.png" alt="Figure 52" width="314" height="280" /></a><figcaption id="caption-attachment-34829" class="wp-caption-text">Figure 52</figcaption></figure>
<p>Type in <strong>&#92;DomainName\SYSVOL\DomainName\Policies</strong> and click <em>OK</em>, as shown in Figures 53 and 54.</p>
<figure id="attachment_34828" aria-describedby="caption-attachment-34828" style="width: 413px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure053.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34828 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure053.png" alt="Figure 53" width="413" height="229" /></a><figcaption id="caption-attachment-34828" class="wp-caption-text">Figure 53</figcaption></figure>
<figure id="attachment_34827" aria-describedby="caption-attachment-34827" style="width: 772px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure054.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34827 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure054.png" alt="Figure 54" width="772" height="455" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure054.png 772w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure054-509x300.png 509w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure054-768x453.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure054-600x354.png 600w" sizes="auto, (max-width: 772px) 100vw, 772px" /></a><figcaption id="caption-attachment-34827" class="wp-caption-text">Figure 54</figcaption></figure>
<p>Open another File Explorer, go to C:\Windows, and scroll down to PolicyDefinitions, as shown in Figure 55.</p>
<figure id="attachment_34826" aria-describedby="caption-attachment-34826" style="width: 498px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure055.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34826 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure055.png" alt="Figure 55" width="498" height="418" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure055.png 498w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure055-357x300.png 357w" sizes="auto, (max-width: 498px) 100vw, 498px" /></a><figcaption id="caption-attachment-34826" class="wp-caption-text">Figure 55</figcaption></figure>
<p>Right-click the PolicyDefinitions folder and click <em>Copy</em>, as shown in Figure 56.</p>
<figure id="attachment_34825" aria-describedby="caption-attachment-34825" style="width: 402px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure056.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34825 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure056.png" alt="Figure 56" width="402" height="381" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure056.png 402w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure056-317x300.png 317w" sizes="auto, (max-width: 402px) 100vw, 402px" /></a><figcaption id="caption-attachment-34825" class="wp-caption-text">Figure 56</figcaption></figure>
<p>In the other File Explorer window showing &#92;DomainName\SYSVOL\DomainName\Policies, right-click in an empty space and click <em>{Paste</em>, as shown in Figure 57.</p>
<figure id="attachment_34824" aria-describedby="caption-attachment-34824" style="width: 303px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure057.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34824 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure057.png" alt="Figure 57" width="303" height="395" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure057.png 303w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure057-230x300.png 230w" sizes="auto, (max-width: 303px) 100vw, 303px" /></a><figcaption id="caption-attachment-34824" class="wp-caption-text">Figure 57</figcaption></figure>
<p>The C:\Windows\PolicyDefinitions folder and its contents are copied, as shown in Figures 58 through 60.</p>
<figure id="attachment_34823" aria-describedby="caption-attachment-34823" style="width: 503px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure058-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34823 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure058-1.png" alt="Figure 58" width="503" height="242" /></a><figcaption id="caption-attachment-34823" class="wp-caption-text">Figure 58</figcaption></figure>
<figure id="attachment_34822" aria-describedby="caption-attachment-34822" style="width: 597px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure059-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34822 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure059-1.png" alt="Figure 59" width="597" height="416" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure059-1.png 597w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure059-1-431x300.png 431w" sizes="auto, (max-width: 597px) 100vw, 597px" /></a><figcaption id="caption-attachment-34822" class="wp-caption-text">Figure 59</figcaption></figure>
<figure id="attachment_34821" aria-describedby="caption-attachment-34821" style="width: 596px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure060.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34821 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure060.png" alt="Figure 60" width="596" height="413" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure060.png 596w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure060-433x300.png 433w" sizes="auto, (max-width: 596px) 100vw, 596px" /></a><figcaption id="caption-attachment-34821" class="wp-caption-text">Figure 60</figcaption></figure>
<p>When you download additional admx and adml files, copy the admx file(s) to the PolicyDefinitions folder and the adml file(s) to the language-specific folder(s) under the PolicyDefinitions folder.</p>
<p>The SYSVOL folder tree replicates to all DCs. On both DCs, open File Explorer and browse to C:\Windows\SYSVOL\sysvol\&lt;DomainName&gt;\Policies. You see that each DC in the domain has a copy of the PolicyDefinitions folder.</p>
<p>As you add admx and adml files to one DC&#8217;s C:\Windows\SYSVOL\sysvol\&lt;DomainName&gt;\Policies\PolicyDefinitions folder, SYSVOL replication copies the new file(s) to all other DCs in the domain.</p>
<h2>Backup Group Policy</h2>
<p>Creating GPO backups is easy because I created a <a href="https://www.carlwebster.com/downloads/download-info/get-gpobackupandreports/">free script</a> that backs up and creates HTML and XML reports for all GPOs.</p>
<pre class="brush: powershell; title: ; notranslate">
Get-Help .\Get-GPOBackupAndReports.ps1 -full
</pre>
<p>Running the script is easy. First, make a folder to place the zip files, backups, and reports and run the script, as shown in Figure 61.</p>
<figure id="attachment_34820" aria-describedby="caption-attachment-34820" style="width: 893px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure061.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34820 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure061.png" alt="Figure 61" width="893" height="765" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure061.png 893w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure061-350x300.png 350w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure061-768x658.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure061-600x514.png 600w" sizes="auto, (max-width: 893px) 100vw, 893px" /></a><figcaption id="caption-attachment-34820" class="wp-caption-text">Figure 61</figcaption></figure>
<p>The folder I created, C:\GPOBackups, contains all the files created by the script, as shown in Figures 62 through 64.</p>
<figure id="attachment_34818" aria-describedby="caption-attachment-34818" style="width: 613px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure062.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34818 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure062.png" alt="Figure 62" width="613" height="159" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure062.png 613w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure062-530x137.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure062-600x156.png 600w" sizes="auto, (max-width: 613px) 100vw, 613px" /></a><figcaption id="caption-attachment-34818" class="wp-caption-text">Figure 62</figcaption></figure>
<figure id="attachment_34817" aria-describedby="caption-attachment-34817" style="width: 486px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure063.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34817 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure063.png" alt="Figure 63" width="486" height="212" /></a><figcaption id="caption-attachment-34817" class="wp-caption-text">Figure 63</figcaption></figure>
<figure id="attachment_34816" aria-describedby="caption-attachment-34816" style="width: 784px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure064.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34816 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure064.png" alt="Figure 64" width="784" height="372" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure064.png 784w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure064-530x251.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure064-768x364.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure064-600x285.png 600w" sizes="auto, (max-width: 784px) 100vw, 784px" /></a><figcaption id="caption-attachment-34816" class="wp-caption-text">Figure 64</figcaption></figure>
<p>Up next: <a href="https://www.carlwebster.com/17-building-websters-lab-v2-additional-vcenter-configuration/" target="_blank" rel="noopener">Additional vCenter Configuration</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/16-building-websters-lab-v2-create-initial-group-policy-objects/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">31759</post-id>	</item>
		<item>
		<title>15 Building Webster&#8217;s Lab V2 – Create a Microsoft Certificate Authority</title>
		<link>https://www.carlwebster.com/15-building-websters-lab-v2-create-a-microsoft-certificate-authority/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Fri, 11 Jun 2021 09:15:49 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=31681</guid>

					<description><![CDATA[[Updated 8-Nov-2021] With the Server 2019 VM built for the certificate authority, the next step is to create the Certificate Authority (CA).  To make sure you understand what I cover&#8230;]]></description>
										<content:encoded><![CDATA[<p>[Updated 8-Nov-2021]</p>
<p>With the Server 2019 VM built for the certificate authority, the next step is to create the Certificate Authority (CA).  To make sure you understand what I cover in this article, you should understand a few terms. Microsoft provides a <a href="https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-wcce/719b890d-62e6-4322-b9b1-1f34d11535b4" target="_blank" rel="noopener">document that explains all the terms used in a Microsoft CA</a>. You should take a few minutes to review that document.</p>
<p>Before we begin, I want to thank my friend and mentor, <a href="https://www.essential.exchange/" target="_blank" rel="noopener">Michael B. Smith</a>, who helped with this article and answered my numerous emails and questions. Michael helped make sure the information in this article was correct.</p>
<p>We perform the following steps in this article.</p>
<ol>
<li>Join the CA server to the domain</li>
<li>Install and configure the CA</li>
<li>Create Files for Group Policy</li>
<li>Create a Server Certificate Template</li>
<li>Back up the CA to get a .p12 file</li>
</ol>
<p><strong>Item 5 was added 11-Jun-2021 after working on the IGEL Management Server article</strong></p>
<h2>Joining the Domain</h2>
<p>The first thing we need to do is join our CA server to the domain.</p>
<p>From Part 14, I place all my Microsoft infrastructure servers in a specific OU.</p>
<p>Lab</p>
<p style="padding-left: 40px;">Infrastructure</p>
<p style="padding-left: 80px;">Microsoft</p>
<p>Open a PowerShell session and type in the following from one of the domain controllers, as shown in Figure 1.</p>
<pre class="brush: powershell; title: ; notranslate">
Get-ADOrganizationalUnit -filter {Name -eq &quot;Microsoft&quot;}
</pre>
<figure id="attachment_31695" aria-describedby="caption-attachment-31695" style="width: 641px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31695 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-14.png" alt="Figure 1" width="641" height="347" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-14.png 641w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-14-530x287.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure001-14-600x325.png 600w" sizes="auto, (max-width: 641px) 100vw, 641px" /></a><figcaption id="caption-attachment-31695" class="wp-caption-text">Figure 1</figcaption></figure>
<p>Copy the <em>DistinguishedName</em> property to the clipboard.</p>
<p>We use PowerShell to install and configure the CA.</p>
<p>Use mstsc to remote into the VM that is our CA.</p>
<p>Exit Server Manager and start an elevated PowerShell session, as shown in Figure 2.</p>
<figure id="attachment_31696" aria-describedby="caption-attachment-31696" style="width: 1004px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31696 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-14.png" alt="Figure 2" width="1004" height="684" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-14.png 1004w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-14-440x300.png 440w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-14-900x613.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-14-768x523.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure002-14-600x409.png 600w" sizes="auto, (max-width: 1004px) 100vw, 1004px" /></a><figcaption id="caption-attachment-31696" class="wp-caption-text">Figure 2</figcaption></figure>
<p>Copy and paste the following into the elevated PowerShell session and press <em>Enter</em>. The process took less than the blink of an eye to happen, which is why there is no screenshot.</p>
<p>Remember to set the values you need.</p>
<p><strong>Note:</strong> Lines may wrap</p>
<pre class="brush: powershell; title: ; notranslate">
#Join the computer to the domain

add-computer -Credential LabADDomain\Administrator `
-DomainName &quot;LabADDomain.com&quot; `
-OUPath &quot;OU=Microsoft,OU=Infrastructure,OU=Lab,DC=LabADDomain,DC=com&quot; `
-Force `
-Restart

#server reboots
</pre>
<p>After the VM restarts, log in using the domain&#8217;s Administrator account and password.</p>
<p>Start an elevated PowerShell session.</p>
<p>We start by installing the necessary Roles and Features.</p>
<ul>
<li>Active Directory Certificate Services
<ul>
<li>Certification Authority</li>
<li>Certification Authority Web Enrollment</li>
</ul>
</li>
<li>Web Server (IIS)
<ul>
<li>Web Server
<ul>
<li>Common HTTP Features
<ul>
<li>Default Document</li>
<li>Directory Browsing</li>
<li>HTTP Errors</li>
<li>Static Content</li>
<li>HTTP Redirection</li>
</ul>
</li>
<li>Health and Diagnostics
<ul>
<li>HTTP Logging</li>
<li>Logging Tools</li>
<li>Request Monitor</li>
<li>Tracing</li>
</ul>
</li>
<li>Performance
<ul>
<li>Static Content Compression</li>
</ul>
</li>
<li>Security
<ul>
<li>Request Filtering</li>
<li>Windows Authentication</li>
</ul>
</li>
<li>Application Development
<ul>
<li>ASP</li>
<li>ISAPI Extensions</li>
</ul>
</li>
<li>Management Tools
<ul>
<li>IIS Management Console</li>
<li>IIS 6 Management Compatibility
<ul>
<li>IIS 6 Metabase Compatibility</li>
</ul>
</li>
<li>Remote Server Administration Tools
<ul>
<li>Role Administration Tools</li>
<li>Active Directory Certificate Services Tools
<ul>
<li>Certification Authority Management Tools</li>
</ul>
</li>
<li>Telnet Client</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<h2>Install and Configure the CA</h2>
<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">
#setup new CA

Install-WindowsFeature ADCS-Cert-Authority, Telnet-Client, ADCS-Web-Enrollment -IncludeManagementTools
</pre>
<figure id="attachment_31697" aria-describedby="caption-attachment-31697" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31697 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-14.png" alt="Figure 3" width="859" height="240" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-14.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-14-530x148.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-14-768x215.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure003-14-600x168.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31697" class="wp-caption-text">Figure 3</figcaption></figure>
<p>The configuration for the CA is:</p>
<ul>
<li>The validity period is 10 years (you can make this 20 years or longer. I joke to the IT admin to make it past their retirement year, so it is someone else&#8217;s problem later.)</li>
<li>The CA&#8217;s name is <em>LabDomain CA Root</em></li>
<li>The certificate key length is 2048 characters</li>
<li>Use SHA256</li>
<li>Use Web Enrollment</li>
</ul>
<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-AdcsCertificationAuthority `
-ValidityPeriod Years `
-ValidityPeriodUnits 10 `
-CACommonName &quot;LabDomain CA Root&quot; `
-CAType EnterpriseRootCA `
-KeyLength 2048 `
-HashAlgorithmName SHA256 `
-Force

Install-AdcsWebEnrollment -Force
</pre>
<figure id="attachment_31698" aria-describedby="caption-attachment-31698" style="width: 609px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31698 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-14.png" alt="Figure 4" width="609" height="431" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-14.png 609w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-14-424x300.png 424w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure004-14-600x425.png 600w" sizes="auto, (max-width: 609px) 100vw, 609px" /></a><figcaption id="caption-attachment-31698" class="wp-caption-text">Figure 4</figcaption></figure>
<p>By default, the lifetime of a certificate that an  Enterprise CA issues is two years. We need to update our CA to handle the ten-year validity period. I am using the information from the Microsoft article <a href="https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/change-certificates-expiration-date" target="_blank" rel="noopener"><em>Change the expiration date of certificates that </em></a><i>Certificate Authority issues</i>.</p>
<p>From the elevated PowerShell session, enter the following, as shown in Figure 5.</p>
<pre class="brush: powershell; title: ; notranslate">
New-ItemProperty -Path &quot;HKLM:\SYSTEM\CurrentControlSet\Services\CertSvc\Configuration\LabDomain CA Root&quot; `
-Name 'ValidityPeriodUnits' `
-Value 10 `
-PropertyType DWORD `
-Force

Stop-Service -Name &quot;certsvc&quot;
Start-Service -Name &quot;certsvc&quot;
</pre>
<figure id="attachment_31699" aria-describedby="caption-attachment-31699" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31699 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-14.png" alt="Figure 5" width="859" height="386" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-14.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-14-530x238.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-14-768x345.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure005-14-600x270.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-31699" class="wp-caption-text">Figure 5</figcaption></figure>
<p>You can verify the update using the registry editor. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\CertSvc\Configuration\&lt;CAname&gt;, and look at the ValidityPeriodUnits key, as shown in Figure 6.</p>
<figure id="attachment_31700" aria-describedby="caption-attachment-31700" style="width: 666px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31700 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-13.png" alt="Figure 6" width="666" height="87" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-13.png 666w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-13-530x69.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure006-13-600x78.png 600w" sizes="auto, (max-width: 666px) 100vw, 666px" /></a><figcaption id="caption-attachment-31700" class="wp-caption-text">Figure 6</figcaption></figure>
<h2>Create Files for Group Policy</h2>
<p>We need to gather the CA&#8217;s Root and Intermediate certificate files for use in the group policy we create in the following article.</p>
<p>From the elevated PowerShell session, enter the following, as shown in Figure 7.</p>
<p><strong>md c:\CACertFiles</strong></p>
<figure id="attachment_31701" aria-describedby="caption-attachment-31701" style="width: 512px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31701 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure007-13.png" alt="Figure 7" width="512" height="258" /></a><figcaption id="caption-attachment-31701" class="wp-caption-text">Figure 7</figcaption></figure>
<p>In the elevated PowerShell session, type in <strong>mmc</strong> and press <em>Enter</em>.</p>
<p>Either Click <em>File</em>, click <em>Add/Remove Snap-in…</em>, or press <em>Ctrl+M</em> (my preference), as shown in Figure 8.</p>
<figure id="attachment_31702" aria-describedby="caption-attachment-31702" style="width: 271px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31702 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure008-13.png" alt="Figure 8" width="271" height="255" /></a><figcaption id="caption-attachment-31702" class="wp-caption-text">Figure 8</figcaption></figure>
<p>Double-click <em>Certificates</em> as shown in Figure 9.</p>
<figure id="attachment_31703" aria-describedby="caption-attachment-31703" style="width: 674px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31703 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-13.png" alt="Figure 9" width="674" height="477" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-13.png 674w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-13-424x300.png 424w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure009-13-600x425.png 600w" sizes="auto, (max-width: 674px) 100vw, 674px" /></a><figcaption id="caption-attachment-31703" class="wp-caption-text">Figure 9</figcaption></figure>
<p>Select <em>Computer account</em> and click <em>Next</em>, as shown in Figure 10.</p>
<figure id="attachment_31704" aria-describedby="caption-attachment-31704" style="width: 520px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31704 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-13.png" alt="Figure 10" width="520" height="388" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-13.png 520w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure010-13-402x300.png 402w" sizes="auto, (max-width: 520px) 100vw, 520px" /></a><figcaption id="caption-attachment-31704" class="wp-caption-text">Figure 10</figcaption></figure>
<p>Select <em>Local computer</em> and click <em>Finish</em>, as shown in Figure 11.</p>
<figure id="attachment_31705" aria-describedby="caption-attachment-31705" style="width: 520px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31705 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-13.png" alt="Figure 11" width="520" height="388" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-13.png 520w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure011-13-402x300.png 402w" sizes="auto, (max-width: 520px) 100vw, 520px" /></a><figcaption id="caption-attachment-31705" class="wp-caption-text">Figure 11</figcaption></figure>
<p>Click <em>OK</em>, as shown in Figure 12.</p>
<figure id="attachment_31706" aria-describedby="caption-attachment-31706" style="width: 674px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31706 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-13.png" alt="Figure 12" width="674" height="477" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-13.png 674w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-13-424x300.png 424w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure012-13-600x425.png 600w" sizes="auto, (max-width: 674px) 100vw, 674px" /></a><figcaption id="caption-attachment-31706" class="wp-caption-text">Figure 12</figcaption></figure>
<p>The next step is to export the files we need for the group policy.</p>
<p>Expand <em>Certificates</em> and <em>Trusted Root Certification Authorities</em> and <em>Intermediate Certification Authorities</em>, as shown in Figure 13.</p>
<figure id="attachment_31707" aria-describedby="caption-attachment-31707" style="width: 308px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31707 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-13.png" alt="Figure 13" width="308" height="415" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-13.png 308w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure013-13-223x300.png 223w" sizes="auto, (max-width: 308px) 100vw, 308px" /></a><figcaption id="caption-attachment-31707" class="wp-caption-text">Figure 13</figcaption></figure>
<p>Under <em>Intermediate Certification Authorities</em>, click on <em>Certificates</em>, and in the right pane, click on &lt;CAname&gt; (for me, that is LabDomain CA Root), as shown in Figure 14.</p>
<figure id="attachment_31708" aria-describedby="caption-attachment-31708" style="width: 698px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31708 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-13.png" alt="Figure 14" width="698" height="174" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-13.png 698w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-13-530x132.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure014-13-600x150.png 600w" sizes="auto, (max-width: 698px) 100vw, 698px" /></a><figcaption id="caption-attachment-31708" class="wp-caption-text">Figure 14</figcaption></figure>
<p>Right-click &lt;CAname&gt;, click <em>All Tasks</em> and click <em>Export…</em>, as shown in Figure 15.</p>
<figure id="attachment_31709" aria-describedby="caption-attachment-31709" style="width: 405px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-14.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31709 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure015-14.png" alt="Figure 15" width="405" height="225" /></a><figcaption id="caption-attachment-31709" class="wp-caption-text">Figure 15</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 16.</p>
<figure id="attachment_31710" aria-describedby="caption-attachment-31710" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31710 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-13.png" alt="Figure 16" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-13.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure016-13-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-31710" class="wp-caption-text">Figure 16</figcaption></figure>
<p>Click <em>DER encoded binary X.509 (.CER)</em> and click <em>Next</em>, as shown in Figure 17.</p>
<figure id="attachment_31711" aria-describedby="caption-attachment-31711" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31711 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-13.png" alt="Figure 17" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-13.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure017-13-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-31711" class="wp-caption-text">Figure 17</figcaption></figure>
<p>Click <em>Browse</em>, as shown in Figure 18.</p>
<figure id="attachment_31712" aria-describedby="caption-attachment-31712" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31712 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-13.png" alt="Figure 18" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-13.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure018-13-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-31712" class="wp-caption-text">Figure 18</figcaption></figure>
<p>Browse to the folder created earlier in Figure 7, as shown in Figure 19, and give the file a meaningful name. Click <em>Save</em> when complete.</p>
<figure id="attachment_31713" aria-describedby="caption-attachment-31713" style="width: 611px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31713 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-13.png" alt="Figure 19" width="611" height="522" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-13.png 611w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-13-351x300.png 351w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure019-13-600x513.png 600w" sizes="auto, (max-width: 611px) 100vw, 611px" /></a><figcaption id="caption-attachment-31713" class="wp-caption-text">Figure 19</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 20.</p>
<figure id="attachment_31714" aria-describedby="caption-attachment-31714" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-13.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31714 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-13.png" alt="Figure 20" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-13.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure020-13-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-31714" class="wp-caption-text">Figure 20</figcaption></figure>
<p>Click <em>Finish</em>, as shown in Figure 21.</p>
<figure id="attachment_31715" aria-describedby="caption-attachment-31715" style="width: 535px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31715 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-12.png" alt="Figure 21" width="535" height="523" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-12.png 535w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure021-12-307x300.png 307w" sizes="auto, (max-width: 535px) 100vw, 535px" /></a><figcaption id="caption-attachment-31715" class="wp-caption-text">Figure 21</figcaption></figure>
<p>Click <em>OK</em>, as shown in Figure 22.</p>
<figure id="attachment_31716" aria-describedby="caption-attachment-31716" style="width: 179px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-12.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31716 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure022-12.png" alt="Figure 22" width="179" height="133" /></a><figcaption id="caption-attachment-31716" class="wp-caption-text">Figure 22</figcaption></figure>
<p>Under <em>Trusted Root Certification Authorities</em>, click on <em>Certificates</em>, and in the right pane, click on &lt;CAname&gt; (for me, that is LabDomain CA Root), as shown in Figure 23.</p>
<p><strong>Note:</strong> You see two domain root certificates with the same name. They are identical, and it doesn&#8217;t matter which one you use for the export.</p>
<figure id="attachment_31717" aria-describedby="caption-attachment-31717" style="width: 703px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-11.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31717 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-11.png" alt="Figure 23" width="703" height="416" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-11.png 703w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-11-507x300.png 507w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure023-11-600x355.png 600w" sizes="auto, (max-width: 703px) 100vw, 703px" /></a><figcaption id="caption-attachment-31717" class="wp-caption-text">Figure 23</figcaption></figure>
<p>Repeat the export process for the domain&#8217;s root certificate. When completed, you have two .cer files, as shown in Figure 24. We use these two files in the following article.</p>
<p>Exit the MMC console. You may save the console if you want. I save it to my server&#8217;s desktop.</p>
<figure id="attachment_31718" aria-describedby="caption-attachment-31718" style="width: 483px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-11.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31718 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure024-11.png" alt="Figure 24" width="483" height="114" /></a><figcaption id="caption-attachment-31718" class="wp-caption-text">Figure 24</figcaption></figure>
<p>On the domain controllers, repeat the steps shown in Figures 8 through 12 to open the Certificates MMC snap-in. Expand <em>Certificates</em> and <em>Trusted Root Certification Authorities</em> and <em>Intermediate Certification Authorities</em>, as shown in Figure 13.</p>
<p>Notice that the DCs already have the CA&#8217;s Root and Intermediate certificates installed with no Group Policy or extra work, as shown in Figures 25 and 26 from LabDC1.</p>
<figure id="attachment_31719" aria-describedby="caption-attachment-31719" style="width: 1112px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-10.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31719 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-10.png" alt="Figure 25" width="1112" height="181" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-10.png 1112w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-10-530x86.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-10-900x146.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-10-768x125.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure025-10-600x98.png 600w" sizes="auto, (max-width: 1112px) 100vw, 1112px" /></a><figcaption id="caption-attachment-31719" class="wp-caption-text">Figure 25</figcaption></figure>
<figure id="attachment_31720" aria-describedby="caption-attachment-31720" style="width: 1110px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31720 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-9.png" alt="Figure 26" width="1110" height="181" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-9.png 1110w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-9-530x86.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-9-900x147.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-9-768x125.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure026-9-600x98.png 600w" sizes="auto, (max-width: 1110px) 100vw, 1110px" /></a><figcaption id="caption-attachment-31720" class="wp-caption-text">Figure 26</figcaption></figure>
<p>Leave the MMC console opened on both DCs. The console is used later in this article.</p>
<h2>Create a Server Certificate Template</h2>
<p>A certificate template defines the CA&#8217;s policies and rules when a request for a certificate is received. You use a custom certificate template to customize the template&#8217;s options to a specific need.</p>
<p>Open the Certification Authority console.</p>
<p>Click the <em>Start</em> button, expand <em>Windows Administrative Tools</em>, and click <em>Certification Authority</em>, as shown in Figure 27.</p>
<figure id="attachment_31721" aria-describedby="caption-attachment-31721" style="width: 317px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31721 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-9.png" alt="Figure 27" width="317" height="680" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-9.png 317w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure027-9-140x300.png 140w" sizes="auto, (max-width: 317px) 100vw, 317px" /></a><figcaption id="caption-attachment-31721" class="wp-caption-text">Figure 27</figcaption></figure>
<p>Expand <em>&lt;CAname&gt;</em>, right-click <em>Certificate Templates</em>, and click <em>Manage</em>, as shown in Figure 28.</p>
<figure id="attachment_31722" aria-describedby="caption-attachment-31722" style="width: 309px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31722 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-8.png" alt="Figure 28" width="309" height="316" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-8.png 309w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure028-8-293x300.png 293w" sizes="auto, (max-width: 309px) 100vw, 309px" /></a><figcaption id="caption-attachment-31722" class="wp-caption-text">Figure 28</figcaption></figure>
<p>Microsoft supplies 33 Certificate Templates,  as shown in Figure 29 in the middle pane.</p>
<figure id="attachment_31723" aria-describedby="caption-attachment-31723" style="width: 914px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31723 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-8.png" alt="Figure 29" width="914" height="658" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-8.png 914w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-8-417x300.png 417w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-8-900x648.png 900w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-8-768x553.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure029-8-600x432.png 600w" sizes="auto, (max-width: 914px) 100vw, 914px" /></a><figcaption id="caption-attachment-31723" class="wp-caption-text">Figure 29</figcaption></figure>
<p>For this article series and this lab, we are only concerned with the <em>Computer</em> template.</p>
<p>If you would like to use Microsoft CA to generate certificates for use with vCenter and ESXi hosts, there are several excellent articles to guide you in that process.</p>
<ul>
<li><a href="https://featurewalkthrough.vmware.com/t/vsphere-6-5/ssl-certificate-replacement-hybrid-mode/19" target="_blank" rel="noopener">SSL Certificate Replacement &#8211; Hybrid Mode</a> (my personal favorite)</li>
<li><a href="https://kb.vmware.com/s/article/2112014" target="_blank" rel="noopener">Obtaining vSphere certificates from a Microsoft Certificate Authority</a></li>
<li><a href="http://vcloud-lab.com/entries/vcenter-server/How-to-replace-default-vCenter-VMCA-certificate-with-Microsoft-CA-signed-certificate" target="_blank" rel="noopener">How to replace default vCenter VMCA certificate with Microsoft CA signed certificate</a></li>
<li><a href="https://kb.vmware.com/s/article/2112009" target="_blank" rel="noopener">Creating a Microsoft Certificate Authority Template for SSL certificate creation in vSphere 6.x/7.x</a></li>
</ul>
<p>We can&#8217;t edit a Microsoft-supplied template; we first make a copy of the template.</p>
<h3>Create the template</h3>
<p>Right-click the <em>Computer</em> template and click <em>Duplicate Template</em>, as shown in Figure 30.</p>
<figure id="attachment_31724" aria-describedby="caption-attachment-31724" style="width: 280px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31724 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure030-8.png" alt="Figure 30" width="280" height="264" /></a><figcaption id="caption-attachment-31724" class="wp-caption-text">Figure 30</figcaption></figure>
<p>We go through every tab.</p>
<h3>Compatibility Tab</h3>
<p>Because the CA uses SHA256, in <em>Compatibility Settings</em>, change the <em>Certification Authority</em> to <em>Windows Server 2012 R2</em> and click <em>OK</em> on the popup, as shown in Figures 31 and 32.</p>
<p><strong>Note:</strong> There is a known issue if you select anything higher than Windows Server 2012 R2. Please see <a href="https://docs.microsoft.com/en-us/troubleshoot/windows-server/identity/cannot-select-windows-server-2016-ca-compatible-certificate-templates" target="_blank" rel="noopener"><em>Cannot select Windows Server 2016 CA-compatible certificate templates from Windows Server 2016 or later-based CAs or CEP servers</em></a>.</p>
<blockquote><p>Workaround</p>
<p>To work around this issue, follow these steps:</p>
<ul>
<li>Configure the compatibility settings of the certificate template as follows:
<ul>
<li>Certificate Authority: Windows Server 2012 R2</li>
<li>Certificate recipient: Windows 8.1 / Windows Server 2012 R2</li>
</ul>
</li>
</ul>
</blockquote>
<figure id="attachment_31725" aria-describedby="caption-attachment-31725" style="width: 401px" class="wp-caption alignnone"><a style="font-weight: bold; font-size: 0.8125rem;" href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31725 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-8.png" alt="Figure 31" width="401" height="559" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-8.png 401w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure031-8-215x300.png 215w" sizes="auto, (max-width: 401px) 100vw, 401px" /></a><figcaption id="caption-attachment-31725" class="wp-caption-text">Figure 31</figcaption></figure>
<figure id="attachment_31726" aria-describedby="caption-attachment-31726" style="width: 569px" class="wp-caption alignnone"><a style="font-weight: bold; font-size: 0.8125rem; font-style: italic;" href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31726 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-8.png" alt="Figure 32" width="569" height="357" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-8.png 569w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure032-8-478x300.png 478w" sizes="auto, (max-width: 569px) 100vw, 569px" /></a><figcaption id="caption-attachment-31726" class="wp-caption-text">Figure 32</figcaption></figure>
<p>For the <em>Certificate recipient</em>, select the option that matches the lowest client operating system in your environment. My lab servers are all Windows Server 2019, and all clients are Windows 10, but as stated in the Known Issue mentioned above, select <em>Windows 8.1 / Windows Server 2012 R2</em> from the dropdown list and click <em>OK</em> on the popup shown in Figures 33 and 34.</p>
<figure id="attachment_31727" aria-describedby="caption-attachment-31727" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-8.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31727 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-8.png" alt="Figure 33" width="400" height="561" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-8.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure033-8-214x300.png 214w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31727" class="wp-caption-text">Figure 33</figcaption></figure>
<figure id="attachment_31728" aria-describedby="caption-attachment-31728" style="width: 569px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-7.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31728 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-7.png" alt="Figure 34" width="569" height="357" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-7.png 569w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure034-7-478x300.png 478w" sizes="auto, (max-width: 569px) 100vw, 569px" /></a><figcaption id="caption-attachment-31728" class="wp-caption-text">Figure 34</figcaption></figure>
<h3>General Tab</h3>
<p>As shown in Figure 35, enter the following information:</p>
<ul>
<li>A meaningful <em>Template display name</em>,</li>
<li>Make the <em>Template name</em> the same as the <em>Template display name</em>,</li>
<li>Select a <em>Validity period</em> (must be less than the lifespan of the CA&#8217;s Root certificate),</li>
<li>Leave the <em>Renewal period</em> alone, and</li>
<li>Select <em>Publish certificate in Active Directory</em></li>
</ul>
<p><strong>Note 1: </strong>From Michael B. Smith.</p>
<blockquote><p>Usually, Microsoft&#8217;s <em>Template Name</em> is the <em>Template Display Name</em> without spaces (there are some notable exceptions).</p>
<p>Since most reports show the <em>Template Display Name</em>, but certificate requests use the <em>Template Name</em>, it makes good sense for the two names to be similar.</p></blockquote>
<p><strong>Note 2:</strong> You can&#8217;t select a <em>Validity period</em> longer than the CA&#8217;s Root certificate lifespan or a period past the CA&#8217;s Root certificate lifespan.</p>
<p><strong>Note 3:</strong> Michael B. Smith says that you should always select <em>Publish certificate in Active Directory</em> for computer certificates.</p>
<figure id="attachment_31868" aria-describedby="caption-attachment-31868" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-9.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31868 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-9.png" alt="Figure 35" width="400" height="560" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-9.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure035-9-214x300.png 214w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31868" class="wp-caption-text">Figure 35</figcaption></figure>
<h3>Request Handling Tab</h3>
<p>Select <em>Allow private key to be exported</em> and leave all other options at their default values, shown in Figure 36.</p>
<figure id="attachment_31730" aria-describedby="caption-attachment-31730" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-6.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31730 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-6.png" alt="Figure 36" width="400" height="560" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-6.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure036-6-214x300.png 214w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31730" class="wp-caption-text">Figure 36</figcaption></figure>
<h3>Cryptography Tab</h3>
<p>Leave all options at their default values, as shown in Figure 37.</p>
<figure id="attachment_31731" aria-describedby="caption-attachment-31731" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31731 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-5.png" alt="Figure 37" width="400" height="560" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-5.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure037-5-214x300.png 214w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31731" class="wp-caption-text">Figure 37</figcaption></figure>
<h3>Key Attestation Tab</h3>
<p>There is nothing configurable, as shown in Figure 38.</p>
<figure id="attachment_31732" aria-describedby="caption-attachment-31732" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31732 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-5.png" alt="Figure 38" width="400" height="560" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-5.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure038-5-214x300.png 214w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31732" class="wp-caption-text">Figure 38</figcaption></figure>
<h3>Superseded Templates Tab</h3>
<p>There is nothing to configure, as shown in Figure 39.</p>
<figure id="attachment_31733" aria-describedby="caption-attachment-31733" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31733 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-5.png" alt="Figure 39" width="400" height="560" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-5.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure039-5-214x300.png 214w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31733" class="wp-caption-text">Figure 39</figcaption></figure>
<h3>Extensions Tab</h3>
<p>Click <em>Application Policies</em> and click <em>Edit…</em>, as shown in Figure 40.</p>
<figure id="attachment_31734" aria-describedby="caption-attachment-31734" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31734 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-5.png" alt="Figure 40" width="400" height="560" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-5.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure040-5-214x300.png 214w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31734" class="wp-caption-text">Figure 40</figcaption></figure>
<p>Click <em>Client Authentication</em> and click <em>Remove</em>, as shown in Figure 41.</p>
<figure id="attachment_31735" aria-describedby="caption-attachment-31735" style="width: 295px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31735 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-5.png" alt="Figure 41" width="295" height="417" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-5.png 295w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure041-5-212x300.png 212w" sizes="auto, (max-width: 295px) 100vw, 295px" /></a><figcaption id="caption-attachment-31735" class="wp-caption-text">Figure 41</figcaption></figure>
<p>Click <em>OK</em>, as shown in Figure 42.</p>
<figure id="attachment_31736" aria-describedby="caption-attachment-31736" style="width: 295px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure042-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31736 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure042-5.png" alt="Figure 42" width="295" height="417" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure042-5.png 295w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure042-5-212x300.png 212w" sizes="auto, (max-width: 295px) 100vw, 295px" /></a><figcaption id="caption-attachment-31736" class="wp-caption-text">Figure 42</figcaption></figure>
<h3>Security Tab</h3>
<p>There is nothing to configure, as shown in Figure 43.</p>
<figure id="attachment_31737" aria-describedby="caption-attachment-31737" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31737 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-5.png" alt="Figure 43" width="400" height="560" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-5.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure043-5-214x300.png 214w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31737" class="wp-caption-text">Figure 43</figcaption></figure>
<h3>Subject Name Tab</h3>
<p>Select <em>Supply in the request</em>, as shown in Figure 44.</p>
<figure id="attachment_31738" aria-describedby="caption-attachment-31738" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31738 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-5.png" alt="Figure 44" width="400" height="560" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-5.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure044-5-214x300.png 214w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31738" class="wp-caption-text">Figure 44</figcaption></figure>
<p>Click <em>OK</em>, as shown in Figure 45.</p>
<figure id="attachment_31739" aria-describedby="caption-attachment-31739" style="width: 412px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31739 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure045-5.png" alt="Figure 45" width="412" height="185" /></a><figcaption id="caption-attachment-31739" class="wp-caption-text">Figure 45</figcaption></figure>
<h3>Server Tab</h3>
<p>Verify that neither option is selected, as shown in Figure 46.</p>
<figure id="attachment_31740" aria-describedby="caption-attachment-31740" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31740 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-5.png" alt="Figure 46" width="400" height="560" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-5.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure046-5-214x300.png 214w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31740" class="wp-caption-text">Figure 46</figcaption></figure>
<h3>Issuance Requirements Tab</h3>
<p>Verify that neither option is selected, as shown in Figure 47.</p>
<figure id="attachment_31741" aria-describedby="caption-attachment-31741" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31741 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-5.png" alt="Figure 47" width="400" height="560" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-5.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure047-5-214x300.png 214w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-31741" class="wp-caption-text">Figure 47</figcaption></figure>
<p>Finally, click <em>OK,</em> and the new Server Template template is created, as shown in Figure 48.</p>
<figure id="attachment_31742" aria-describedby="caption-attachment-31742" style="width: 588px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31742 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-5.png" alt="Figure 48" width="588" height="645" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-5.png 588w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure048-5-273x300.png 273w" sizes="auto, (max-width: 588px) 100vw, 588px" /></a><figcaption id="caption-attachment-31742" class="wp-caption-text">Figure 48</figcaption></figure>
<p>Exit the Certificate Templates Console.</p>
<h3>Configure the CA to Issue the New Template</h3>
<p>In the Certification Authority console, right-click <em>Certificate Templates</em>, click <em>New</em>, and click <em>Certificate Template to Issue</em>, as shown in Figure 49.</p>
<figure id="attachment_31743" aria-describedby="caption-attachment-31743" style="width: 563px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31743 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-5.png" alt="Figure 49" width="563" height="289" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-5.png 563w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure049-5-530x272.png 530w" sizes="auto, (max-width: 563px) 100vw, 563px" /></a><figcaption id="caption-attachment-31743" class="wp-caption-text">Figure 49</figcaption></figure>
<p>Click on the new template and click <em>OK</em>, as shown in Figure 50.</p>
<figure id="attachment_31744" aria-describedby="caption-attachment-31744" style="width: 583px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure050-5.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31744 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure050-5.png" alt="Figure 50" width="583" height="373" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure050-5.png 583w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure050-5-469x300.png 469w" sizes="auto, (max-width: 583px) 100vw, 583px" /></a><figcaption id="caption-attachment-31744" class="wp-caption-text">Figure 50</figcaption></figure>
<p>The new template now shows in the list of published templates, as shown in Figure 51.</p>
<figure id="attachment_31745" aria-describedby="caption-attachment-31745" style="width: 681px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31745 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-4.png" alt="Figure 51" width="681" height="263" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-4.png 681w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-4-530x205.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure051-4-600x232.png 600w" sizes="auto, (max-width: 681px) 100vw, 681px" /></a><figcaption id="caption-attachment-31745" class="wp-caption-text">Figure 51</figcaption></figure>
<h2>Using the New Certificate Template to Create a Server Certificate</h2>
<p>Requesting a computer certificate from the new template is done via the command line.</p>
<p>On both DCs, create a folder on the C drive named CertFiles, as shown in Figure 52.</p>
<figure id="attachment_31746" aria-describedby="caption-attachment-31746" style="width: 170px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure052-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31746 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure052-4.png" alt="Figure 52" width="170" height="203" /></a><figcaption id="caption-attachment-31746" class="wp-caption-text">Figure 52</figcaption></figure>
<p>On the first DC, save the following to a file name c:\CertFiles\computer-request.inf, as shown in Figure 53.</p>
<p>I want to thank Michael B. Smith for creating this INF file for me.</p>
<p>Use the data needed for your environment.</p>
<pre class="brush: plain; title: ; notranslate">
LabDC1 = the name of your domain controller
LabADDomain.com = your domain name
&quot;LabCA\LabDomain CA Root&quot; = the name of your CA server and the name of your CA.
</pre>
<pre class="brush: plain; title: ; notranslate">
;----------------- computer-request.inf -----------------
; LabDC1.LabADDomain.com
;
; certreq -new computer-request.inf computer-request.req
; certreq -submit -config &quot;LabCA\LabDomain CA Root&quot; computer-request.req computer-request.cer
; certreq -accept -config &quot;LabCA\LabDomain CA Root&quot; computer-request.cer
;

&#x5B;Version]
Signature=&quot;$Windows NT$&quot;

&#x5B;NewRequest]
Subject = &quot;CN=LabDC1.LabADDomain.com&quot; ; replace with the FQDN of the DC
FriendlyName = &quot;Computer (Machine) for LabDC1.LabADDomain.com&quot;
KeyLength = 2048
; Can be 1024, 2048, 4096, 8192, or 16384.
; Larger key sizes are more secure but have a greater impact on performance.
KeySpec = 1                     ; AT_KEYEXCHANGE
Exportable = TRUE               ; private-key is exportable
MachineKeySet = TRUE            ; goes in machine store instead of user's personal store
SMIME = False                   ; cannot be used for signing S/MIME messages
PrivateKeyArchive = FALSE
HashAlgorithm = sha256          ; &quot;certutil -oid 1 | findstr pwszName&quot; -- gives a list (including sha1)
UserProtected = FALSE
UseExistingKeySet = FALSE       ; we are not renewing a key that already exists
ProviderName = &quot;Microsoft RSA SChannel Cryptographic Provider&quot;
ProviderType = 12               ; for ProviderName and ProviderType, see &quot;certutil -csplist&quot;
RequestType = PKCS10            ; if empty or set to &quot;CERT&quot; then a self-signed cert is created
KeyUsage = 0xa0                 ; 0xa0 - CERT_DIGITAL_SIGNATURE_KEY_USAGE + CERT_KEY_ENCIPHERMENT_KEY_USAGE

&#x5B;EnhancedKeyUsageExtension]
OID=1.3.6.1.5.5.7.3.1 ; this is for Server Authentication - PKIX_KP_SERVER_AUTH

&#x5B;Extensions]
; Note: 2.5.29.17 is the OID for a SAN extension.

2.5.29.17 = &quot;{text}&quot;
_continue_ = &quot;dns=LabDC1.LabADDomain.com&quot;

&#x5B;RequestAttributes]
CertificateTemplate = &quot;Server Template&quot;
;-----------------------------------------------
</pre>
<figure id="attachment_31747" aria-describedby="caption-attachment-31747" style="width: 509px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31747 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure053-4.png" alt="Figure 53" width="509" height="101" /></a><figcaption id="caption-attachment-31747" class="wp-caption-text">Figure 53</figcaption></figure>
<p>On the first DC, open an elevated command prompt. I expanded the command prompt window size vertically to ensure I had visual space to capture all the output for screenshots.</p>
<p>Click the <em>Start</em> button, expand <em>Windows System</em>, right-click <em>Command Prompt</em>, click <em>More</em>, and click <em>Run as administrator</em>, as shown in Figure 54.</p>
<figure id="attachment_31748" aria-describedby="caption-attachment-31748" style="width: 778px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31748 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-4.png" alt="Figure 54" width="778" height="317" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-4.png 778w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-4-530x216.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-4-768x313.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure054-4-600x244.png 600w" sizes="auto, (max-width: 778px) 100vw, 778px" /></a><figcaption id="caption-attachment-31748" class="wp-caption-text">Figure 54</figcaption></figure>
<p>Type in <strong>cd c:\CertFiles</strong> and press <em>Enter</em>, as shown in Figure 55.</p>
<figure id="attachment_31749" aria-describedby="caption-attachment-31749" style="width: 456px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure055-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31749 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure055-4.png" alt="Figure 55" width="456" height="157" /></a><figcaption id="caption-attachment-31749" class="wp-caption-text">Figure 55</figcaption></figure>
<p>The three commands we need to run are at the top of the computer-request.inf file.</p>
<p>Type in <strong>notepad computer-request.inf</strong> and press <em>Enter</em>, as shown in Figure 56.</p>
<figure id="attachment_31750" aria-describedby="caption-attachment-31750" style="width: 446px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-4.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31750 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure056-4.png" alt="Figure 56" width="446" height="181" /></a><figcaption id="caption-attachment-31750" class="wp-caption-text">Figure 56</figcaption></figure>
<p>Copy the line <strong>certreq -new computer-request.inf computer-request.req</strong>, paste it in the elevated command prompt, and press <em>Enter</em>, as shown in Figure 57, along with the command results.</p>
<figure id="attachment_31751" aria-describedby="caption-attachment-31751" style="width: 564px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure057-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31751 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure057-3.png" alt="Figure 57" width="564" height="281" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure057-3.png 564w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure057-3-530x264.png 530w" sizes="auto, (max-width: 564px) 100vw, 564px" /></a><figcaption id="caption-attachment-31751" class="wp-caption-text">Figure 57</figcaption></figure>
<p>Copy the line <strong>certreq -submit -config &#8220;LabCA\LabDomain CA Root&#8221; computer-request.req computer-request.cer</strong>, paste it in the elevated command prompt, and press <em>Enter</em>, as shown in Figure 58, along with the command results.</p>
<p><strong>Note:</strong> If you get a warning like the following, you can ignore the warning. The warning tells you that the certificate request validity period is past the lifetime of the CA&#8217;s root certificate lifespan.</p>
<blockquote><p>Certificate retrieved(Issued)Issued The certificate validity period will be shorter than the Server Template Certificate Template specifies because the template validity period is longer than the maximum certificate validity period allowed by the CA.  Consider renewing the CA certificate, reducing the template validity period, or increasing the registry validity period.</p></blockquote>
<figure id="attachment_34731" aria-describedby="caption-attachment-34731" style="width: 845px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure058.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34731 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure058.png" alt="Figure 58" width="845" height="362" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure058.png 845w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure058-530x227.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure058-768x329.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure058-600x257.png 600w" sizes="auto, (max-width: 845px) 100vw, 845px" /></a><figcaption id="caption-attachment-34731" class="wp-caption-text">Figure 58</figcaption></figure>
<p>Copy the line <strong>certreq -accept -config &#8220;LabCA\LabDomain CA Root&#8221; computer-request.cer</strong>, paste it in the elevated command prompt, and press <em>Enter</em>, as shown in Figure 59, along with the command results.</p>
<figure id="attachment_34732" aria-describedby="caption-attachment-34732" style="width: 890px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure059.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-34732 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure059.png" alt="Figure 59" width="890" height="522" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure059.png 890w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure059-511x300.png 511w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure059-768x450.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure059-600x352.png 600w" sizes="auto, (max-width: 890px) 100vw, 890px" /></a><figcaption id="caption-attachment-34732" class="wp-caption-text">Figure 59</figcaption></figure>
<h2>Testing the New Certificate</h2>
<p>Let&#8217;s verify that the new certificate works.</p>
<p>In the command prompt window, type in <strong>ldp.exe</strong> and press <em>Enter</em>.</p>
<p>Click <em>Connection</em> and click <em>Connect</em>, as shown in Figure 60.</p>
<figure id="attachment_31754" aria-describedby="caption-attachment-31754" style="width: 183px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure060-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31754 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure060-3.png" alt="Figure 60" width="183" height="227" /></a><figcaption id="caption-attachment-31754" class="wp-caption-text">Figure 60</figcaption></figure>
<p>For <em>Server</em>, type the FQDN of the DC, type <strong>636</strong> for <em>Port</em>, and click <em>OK</em>, as shown in Figure 61.</p>
<figure id="attachment_31755" aria-describedby="caption-attachment-31755" style="width: 269px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure061-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31755 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure061-3.png" alt="Figure 61" width="269" height="143" /></a><figcaption id="caption-attachment-31755" class="wp-caption-text">Figure 61</figcaption></figure>
<p>You should see <em>ldaps://</em> followed by information for the DC, a ldap_open using the secure port of 636, and <strong>DN: (RootDSE)</strong>, as shown in Figure 62.</p>
<figure id="attachment_31756" aria-describedby="caption-attachment-31756" style="width: 565px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-3.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-31756 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-3.png" alt="Figure 62" width="565" height="1210" srcset="https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-3.png 565w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-3-140x300.png 140w, https://www.carlwebster.com/wp-content/uploads/2021/05/Figure062-3-374x800.png 374w" sizes="auto, (max-width: 565px) 100vw, 565px" /></a><figcaption id="caption-attachment-31756" class="wp-caption-text">Figure 62</figcaption></figure>
<p>Repeat the process shown in Figures 52 through 62 for the other DC. Remember to change the DC name in the computer-request.inf file.</p>
<h2>Back-Up the Certificate Authority</h2>
<p>After this article was published, I started work on the <a href="https://www.carlwebster.com/23-building-websters-lab-v2-create-an-igel-management-server/" target="_blank" rel="noopener"><em>Create an IGEL Management Server </em></a>article. I needed the CA&#8217;s root certificate and key pair for the IGEL UMS Console and IGEL&#8217;s Web App console. To get the required .p12 file, we backup the CA server.</p>
<p>First, create a folder, C:\CABackup, as the backup process requires an empty folder.</p>
<p>From the Certification Authority console, right-click the CA Root, click <em>All Tasks</em>, and click <em>Back up CA…</em> as shown in Figure 63.</p>
<figure id="attachment_37529" aria-describedby="caption-attachment-37529" style="width: 591px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure063-1.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-37529 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure063-1.png" alt="Figure 63" width="591" height="282" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure063-1.png 591w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure063-1-530x253.png 530w" sizes="auto, (max-width: 591px) 100vw, 591px" /></a><figcaption id="caption-attachment-37529" class="wp-caption-text">Figure 63</figcaption></figure>
<p>Click <em>Next</em>, as shown in Figure 64.</p>
<figure id="attachment_37532" aria-describedby="caption-attachment-37532" style="width: 499px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure064-1.png"><img loading="lazy" decoding="async" class="size-full wp-image-37532" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure064-1.png" alt="Figure 64" width="499" height="400" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure064-1.png 499w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure064-1-374x300.png 374w" sizes="auto, (max-width: 499px) 100vw, 499px" /></a><figcaption id="caption-attachment-37532" class="wp-caption-text">Figure 64</figcaption></figure>
<p>Select <em>Private key and CA certificate</em>, type in <strong>C:\CABackup</strong> for the backup location, and click <em>Next</em>, as shown in Figure 65.</p>
<figure id="attachment_37533" aria-describedby="caption-attachment-37533" style="width: 499px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure065.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-37533 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure065.png" alt="Figure 65" width="499" height="400" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure065.png 499w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure065-374x300.png 374w" sizes="auto, (max-width: 499px) 100vw, 499px" /></a><figcaption id="caption-attachment-37533" class="wp-caption-text">Figure 65</figcaption></figure>
<p>Enter and confirm a <em>Password</em> to protect the backup file and click <em>Next</em>, as shown in Figure 66.</p>
<figure id="attachment_37535" aria-describedby="caption-attachment-37535" style="width: 499px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure066.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-37535 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure066.png" alt="Figure 66" width="499" height="400" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure066.png 499w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure066-374x300.png 374w" sizes="auto, (max-width: 499px) 100vw, 499px" /></a><figcaption id="caption-attachment-37535" class="wp-caption-text">Figure 66</figcaption></figure>
<p>Click <em>Finish</em>, as shown in Figure 67.</p>
<figure id="attachment_37537" aria-describedby="caption-attachment-37537" style="width: 499px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure067.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-37537 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure067.png" alt="Figure 67" width="499" height="400" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure067.png 499w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure067-374x300.png 374w" sizes="auto, (max-width: 499px) 100vw, 499px" /></a><figcaption id="caption-attachment-37537" class="wp-caption-text">Figure 67</figcaption></figure>
<p>As shown in Figure 68, we now have a .p12 file.  That file contains the CA&#8217;s root certificate and key files. When an application wants the pair of files, .crt and .key, we can use this .p12 file.</p>
<figure id="attachment_37538" aria-describedby="caption-attachment-37538" style="width: 590px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure068.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-37538 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure068.png" alt="Figure 68" width="590" height="96" srcset="https://www.carlwebster.com/wp-content/uploads/2021/06/Figure068.png 590w, https://www.carlwebster.com/wp-content/uploads/2021/06/Figure068-530x86.png 530w" sizes="auto, (max-width: 590px) 100vw, 590px" /></a><figcaption id="caption-attachment-37538" class="wp-caption-text">Figure 68</figcaption></figure>
<p>If you wish, you can copy this file to the C:\CACertFiles folder to keep all files are in one place.</p>
<p>This file allows you to import the required key pair into the Universal Management Suite console if you use IGEL.</p>
<p>Exit all open consoles and windows.</p>
<p>Up next: <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>.</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">31681</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 Active Directory Documentation Script V3.04</title>
		<link>https://www.carlwebster.com/microsoft-active-directory-documentation-script-v3-04/</link>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Wed, 24 Mar 2021 12:53:34 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=30578</guid>

					<description><![CDATA[Recently, a friend asked me to help look at some issues in his customer&#8217;s Active Directory (AD). The customer&#8217;s AD consisted of a root domain and three Tree domains. I&#8230;]]></description>
										<content:encoded><![CDATA[<p>Recently, a friend asked me to help look at some issues in his customer&#8217;s Active Directory (AD). The customer&#8217;s AD consisted of a root domain and three Tree domains. I ran my AD documentation script and found there were many issues when running that script in a multiple domain forest.</p>
<p><span id="more-30578"></span></p>
<p>To fix these issues, I created a similar forest in my lab. I have never seen Tree domains before.</p>
<p>Here are a few screenshots from my new forest with three Tree domains.</p>
<figure id="attachment_30583" aria-describedby="caption-attachment-30583" style="width: 658px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/03/Figure001.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-30583 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/03/Figure001.png" alt="Figure 1" width="658" height="190" srcset="https://www.carlwebster.com/wp-content/uploads/2021/03/Figure001.png 658w, https://www.carlwebster.com/wp-content/uploads/2021/03/Figure001-530x153.png 530w, https://www.carlwebster.com/wp-content/uploads/2021/03/Figure001-600x173.png 600w" sizes="auto, (max-width: 658px) 100vw, 658px" /></a><figcaption id="caption-attachment-30583" class="wp-caption-text">Figure 1</figcaption></figure>
<figure id="attachment_30584" aria-describedby="caption-attachment-30584" style="width: 400px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/03/Figure002.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-30584 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/03/Figure002.png" alt="Figure 2" width="400" height="455" srcset="https://www.carlwebster.com/wp-content/uploads/2021/03/Figure002.png 400w, https://www.carlwebster.com/wp-content/uploads/2021/03/Figure002-264x300.png 264w" sizes="auto, (max-width: 400px) 100vw, 400px" /></a><figcaption id="caption-attachment-30584" class="wp-caption-text">Figure 2</figcaption></figure>
<p>Running the 3.04 AD doc script in the root domain using -ADForest.</p>
<figure id="attachment_30585" aria-describedby="caption-attachment-30585" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/03/Figure003.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-30585 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/03/Figure003.png" alt="Figure 3" width="859" height="1247" srcset="https://www.carlwebster.com/wp-content/uploads/2021/03/Figure003.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/03/Figure003-207x300.png 207w, https://www.carlwebster.com/wp-content/uploads/2021/03/Figure003-551x800.png 551w, https://www.carlwebster.com/wp-content/uploads/2021/03/Figure003-768x1115.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/03/Figure003-600x871.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-30585" class="wp-caption-text">Figure 3</figcaption></figure>
<p>Running the 3.04 AD doc script in a tree domain using -ADForest.</p>
<figure id="attachment_30586" aria-describedby="caption-attachment-30586" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/03/Figure004.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-30586 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/03/Figure004.png" alt="Figure 4" width="859" height="503" srcset="https://www.carlwebster.com/wp-content/uploads/2021/03/Figure004.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/03/Figure004-512x300.png 512w, https://www.carlwebster.com/wp-content/uploads/2021/03/Figure004-768x450.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/03/Figure004-600x351.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-30586" class="wp-caption-text">Figure 4</figcaption></figure>
<p>Running the 3.04 AD doc script in a tree domain using -ADDomain.</p>
<figure id="attachment_30587" aria-describedby="caption-attachment-30587" style="width: 859px" class="wp-caption alignnone"><a href="https://www.carlwebster.com/wp-content/uploads/2021/03/Figure005.png" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-30587 size-full" src="https://www.carlwebster.com/wp-content/uploads/2021/03/Figure005.png" alt="Figure 5" width="859" height="1247" srcset="https://www.carlwebster.com/wp-content/uploads/2021/03/Figure005.png 859w, https://www.carlwebster.com/wp-content/uploads/2021/03/Figure005-207x300.png 207w, https://www.carlwebster.com/wp-content/uploads/2021/03/Figure005-551x800.png 551w, https://www.carlwebster.com/wp-content/uploads/2021/03/Figure005-768x1115.png 768w, https://www.carlwebster.com/wp-content/uploads/2021/03/Figure005-600x871.png 600w" sizes="auto, (max-width: 859px) 100vw, 859px" /></a><figcaption id="caption-attachment-30587" class="wp-caption-text">Figure 5</figcaption></figure>
<p>Version 3.04 24-Mar-2021</p>
<ul>
<li>Change the wording for schema extensions from &#8220;Just because a schema extension is Present does not mean it is in use.&#8221; to &#8220;Just because a schema extension is Present does not mean that the product is in use.&#8221;</li>
<li>Only process and output Foreign Security Principal data for the Root Domain</li>
<li>Only process the Appendix Domain Controller DNS Info if -DCDNSInfo is true. No need for an empty table and Appendix otherwise</li>
<li>Removed a few warnings from the console output that were not warnings</li>
<li>The following fixes are for running the script in a Forest with multiple domains</li>
<li>When creating the array that contains all domain controllers, don&#8217;t sort after each domain as sorting changed the Type of the arraylist after the first domain was processed
<ul>
<li>This caused the three Appendixes to only contain the data for the DCs in the first domain</li>
</ul>
</li>
<li>When outputting domain controllers, sort the DCs by domain name and DC name
<ul>
<li>Put the DCs in domain name order, don&#8217;t put every DC in the Root domain</li>
<li>Change the header to reflect the actual domain name</li>
</ul>
</li>
<li>When retrieving Inherited GPOs, add the Domain name to the cmdlet</li>
<li>When running in a child or tree domain, only the domain entered was used when calculating the number of domains in the forest
<ul>
<li>That is now fixed</li>
</ul>
</li>
<li>When running in a child or tree domain and using -ADForest, compare the root domain&#8217;s name to the name entered for -ADForest
<ul>
<li>If they are not the same, abort the script and state to rerun the script with -ADDomain and not -ADForest</li>
</ul>
</li>
<li>Updated the help text</li>
<li>Updated the ReadMe file</li>
</ul>
<p>I want to thank Michael B. Smith for the code review and for David McSpadden for testing in his single domain forest to make sure I didn&#8217;t break anything. I had a couple of people offer to test the script in their multiple domain forests, but I never heard from them after sending them the script for testing.</p>
<p>If you run the script in a multiple domain forest and 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">30578</post-id>	</item>
		<item>
		<title>Broken DFS Replication for SYSVOL but Everything Appears to Work</title>
		<link>https://www.carlwebster.com/broken-dfs-replication-for-sysvol-but-everything-appears-to-work/</link>
					<comments>https://www.carlwebster.com/broken-dfs-replication-for-sysvol-but-everything-appears-to-work/#comments</comments>
		
		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Fri, 12 Feb 2021 14:05:18 +0000</pubDate>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=28221</guid>

					<description><![CDATA[In the last two weeks, I have seen several customers where Active Directory (AD) replication is reporting normal, but Group Policy is acting &#8220;odd&#8221;. Here is what I found. If&#8230;]]></description>
										<content:encoded><![CDATA[<p>In the last two weeks, I have seen several customers where Active Directory (AD) replication is reporting normal, but Group Policy is acting &#8220;odd&#8221;. Here is what I found.</p>
<p><span id="more-28221"></span></p>
<p>If you are still using FRS (Flaky Replication System) instead of DFSR (Darn Fine Replication System), you should <a href="https://techcommunity.microsoft.com/t5/storage-at-microsoft/streamlined-migration-of-frs-to-dfsr-sysvol/ba-p/425405" target="_blank" rel="noopener">migrate from FRS to DFSR</a>.</p>
<p>To determine if FRS or DFSR is used, run the following command on one of your DCs:</p>
<p><strong>dfsrmig /getmigrationstate</strong></p>
<p>Possible results:</p>
<ol>
<li>The current domain functional level is not Windows Server 2008 or above.<br />
DFSRMig is only supported on Windows Server 2008 or above level domains.</li>
<li>DFSR migration has not yet initialized. To start migration please<br />
set global state to desired value. [<a href="https://www.dailywritingtips.com/what-does-sic-mean/#:~:text=Sic%20in%20square%20brackets%20is,unconventional%20spelling%20of%20a%20name." target="_blank" rel="noopener">sic</a>]</li>
<li>All domain controllers have migrated successfully to the Global state (&#8216;Start&#8217;).<br />
Migration has reached a consistent state on all domain controllers.<br />
Succeeded.</li>
<li>All domain controllers have migrated successfully to the Global state (‘Prepared&#8217;).<br />
Migration has reached a consistent state on all domain controllers.<br />
Succeeded.</li>
<li>All domain controllers have migrated successfully to the Global state (‘Redirected&#8217;).<br />
Migration has reached a consistent state on all domain controllers.<br />
Succeeded.</li>
<li>All domain controllers have migrated successfully to the Global state (&#8216;Eliminated&#8217;).<br />
Migration has reached a consistent state on all domain controllers.<br />
Succeeded.</li>
</ol>
<p>If you see either number 1 or 2, you are using FRS. It would be best if you migrated to DFSR as soon as possible. If you see numbers 3 through 5, you should finish your migration from FRS to DFSR. You want to see the text from number 6.</p>
<p>Here is a quick PowerShell script to gather the state of SYSVOL of all Domain Controllers (DCs).</p>
<p>You do not need the Active Directory or Group Policy PowerShell modules.</p>
<p>You do not have to run this elevated.</p>
<p>You will need to run as an account with access to the DCs.</p>
<pre class="brush: powershell; title: ; notranslate">
$DCs = dsquery server -o rdn
$DCs = $DCs | Sort-Object
$SysvolStatus = New-Object System.Collections.ArrayList
ForEach($DC in $DCs)
{
    $Results = Get-WMIObject -ComputerName $DC -Namespace &quot;root/microsoftdfs&quot; -Class &quot;dfsrreplicatedfolderinfo&quot; -Filter &quot;ReplicatedFolderName = 'SYSVOL Share'&quot; | Select-Object State

    If($? -and $Null -ne $Results)
    {
        $obj1 = &#x5B;PSCustomObject] @{
            DCName       = $DC
            SysvolState  = $Results.State
        }
        $null = $SysvolStatus.Add($obj1)
    }
    Else
    {
        $obj1 = &#x5B;PSCustomObject] @{
            DCName       = $DC
            SysvolState  = &quot;Unknown: $($Results.State)&quot;
        }
        $null = $SysvolStatus.Add($obj1)
    }
}

If($SysvolStatus.Count -gt 0)
{
    ForEach($Item in $SysvolStatus)
    {
        &quot;DC: $($Item.DCName)`tSYSVOL State: $($Item.SysvolState)&quot;
    }
}
</pre>
<p>You should see output similar to:</p>
<pre class="brush: plain; title: ; notranslate">
DC: LABDC1 SYSVOL State: 4
DC: LABDC2 SYSVOL State: 4
</pre>
<p>You do not want to see something similar to the following.</p>
<pre class="brush: plain; title: ; notranslate">
DC: LABDC1 SYSVOL State: 2
DC: LABDC2 SYSVOL State: 5
</pre>
<p>The possible State values are:</p>
<pre class="brush: plain; title: ; notranslate">
0 = Uninitialized
1 = Initialized
2 = Initial Sync
3 = Auto Recovery
4 = Normal
5 = In Error
</pre>
<p>A state value other than 4 should be investigated.</p>
<p>I added this information to the AD documentation script update 3.03, which is currently in testing. If you want to test this script update, send me an email. If the SYSVOL State is not 4, I highlight the value in Red in the Word/PDF/HTML output. In the Text output, I use &#8220;***&#8221;.</p>
<p>I use this Microsoft article to troubleshoot and fix the incorrect state values.</p>
<p><a href="https://docs.microsoft.com/en-us/troubleshoot/windows-server/networking/troubleshoot-missing-sysvol-and-netlogon-shares" target="_blank" rel="noopener">How to troubleshoot missing SYSVOL and Netlogon shares</a></p>
<p>I hope your SYSVOL is normal and healthy.</p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.carlwebster.com/broken-dfs-replication-for-sysvol-but-everything-appears-to-work/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">28221</post-id>	</item>
	</channel>
</rss>
