{"id":1019,"date":"2023-12-25T00:28:27","date_gmt":"2023-12-25T00:28:27","guid":{"rendered":"https:\/\/zulfikar.co.uk\/blog\/?p=1019"},"modified":"2023-12-27T20:22:43","modified_gmt":"2023-12-27T20:22:43","slug":"creating-the-first-server-2019-domain-controller","status":"publish","type":"post","link":"https:\/\/zulfikar.co.uk\/blog\/creating-the-first-server-2019-domain-controller\/","title":{"rendered":"Creating the first Server 2019 Domain Controller"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote\">\n<p>This blog post is Part 2 in the <em><strong>Active Directory on Windows Server 2019 Series<\/strong><\/em> of knowledge articles<\/p>\n<cite>Zulfikar Ali, 2023<\/cite><\/blockquote>\n\n\n\n<p>Time to create your first Domain Controller (DC)<\/p>\n\n\n\n<p>You should already have setup the VM for this as per the blog post: <a href=\"https:\/\/zulfikar.co.uk\/blog\/creating-your-first-vm\/\">https:\/\/zulfikar.co.uk\/blog\/creating-your-first-vm\/<\/a><\/p>\n\n\n\n<p>First thing to do before you promote a Server 2019 computer into a DC is to set a static IP for it. Do you know the reason why? If not, go find out&#8230;<\/p>\n\n\n\n<p><strong>Start <\/strong>your Server 2019 VM and <strong>logon<\/strong>. Within your VM only click <strong>Start &gt; Run<\/strong> and type in <strong>ncpa.cpl<\/strong>. Once the <strong>Network Connections<\/strong> dialog appears right click &#8216;<strong>Ethernet0<\/strong>&#8216; and select <strong>Properties<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-medium\"><a href=\"http:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/1-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"208\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/1-2-300x208.png\" alt=\"\" class=\"wp-image-1020\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/1-2-300x208.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/1-2-768x531.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/1-2.png 1012w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/figure>\n\n\n\n<p><strong>Select <\/strong>Internet Protocol Version 4 (TCP\/IP), <strong>double click<\/strong> to open up the properties<\/p>\n\n\n\n<figure class=\"wp-block-image size-medium\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/2-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"240\" height=\"300\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/2-2-240x300.png\" alt=\"\" class=\"wp-image-1021\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/2-2-240x300.png 240w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/2-2.png 714w\" sizes=\"(max-width: 240px) 100vw, 240px\" \/><\/a><\/figure>\n\n\n\n<p>Select &#8216;<strong>Use the following IP address:<\/strong>&#8216; and enter in your preferred Static IP for you lab environment, this will be based on what your router or switch allocates to the VM. Ideally use what is already allocated to the VM (check with ipconfig) to prevent creating a conflict with another device on your network.<\/p>\n\n\n\n<p>Your Default Gateway is usually your internet modems IP Address, as this is where other networks outside of your internal subnets 192.168.0.0\/24 or 10.0.0.0\/24 can be found. Your router is the gateway to other IP subnets<\/p>\n\n\n\n<p>Your DNS server is an important configuration, as this is the first DNS server in your Active Directory domain you should point to itself for all DNS resolution. So enter in &#8216;<strong>Preferred DNS server<\/strong>&#8216; the static <strong>IP Address<\/strong> you added earlier or simply use the loopback address of <strong>127.0.0.1<\/strong> to refer to itself. Leave &#8216;<strong>Alternate DNS server<\/strong>&#8216; blank for now, in the future when you add another DC with DNS to your Domain you will update this blank entry with the static IP of your 2nd DC.<\/p>\n\n\n\n<p>Click <strong>OK <\/strong>twice once done.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/3.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"400\" height=\"455\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/3.jpg\" alt=\"\" class=\"wp-image-1072\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/3.jpg 400w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/3-264x300.jpg 264w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/figure>\n\n\n\n<p>Now back in the <strong>Server Manager<\/strong> select Manage from the top right, and select &#8216;<strong>Add Roles and Features<\/strong>&#8216; from the menu:<\/p>\n\n\n\n<figure class=\"wp-block-image size-medium\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/4-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"164\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/4-2-300x164.png\" alt=\"\" class=\"wp-image-1023\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/4-2-300x164.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/4-2.png 702w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/figure>\n\n\n\n<p>Click <strong>Next&gt;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/5-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"729\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/5-2-1024x729.png\" alt=\"\" class=\"wp-image-1024\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/5-2-1024x729.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/5-2-300x213.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/5-2-768x547.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/5-2-1536x1093.png 1536w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/5-2.png 1578w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>NOTE: The below screens are currently NOT in the correct order<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/6-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"729\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/6-2-1024x729.png\" alt=\"\" class=\"wp-image-1025\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/6-2-1024x729.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/6-2-300x213.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/6-2-768x547.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/6-2-1536x1093.png 1536w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/6-2.png 1578w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/7-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"729\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/7-2-1024x729.png\" alt=\"\" class=\"wp-image-1026\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/7-2-1024x729.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/7-2-300x213.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/7-2-768x547.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/7-2-1536x1093.png 1536w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/7-2.png 1578w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Select &#8216;Active Directory Domain Services&#8217; Role<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/8-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"729\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/8-2-1024x729.png\" alt=\"\" class=\"wp-image-1027\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/8-2-1024x729.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/8-2-300x213.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/8-2-768x547.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/8-2-1536x1093.png 1536w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/8-2.png 1578w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>The Add Features pop up will appear, review this list of features &#8211; you need to be fmailiar with them as they are tools used to administer AD. Select <strong>Add Features<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/9-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"838\" height=\"868\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/9-2.png\" alt=\"\" class=\"wp-image-1028\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/9-2.png 838w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/9-2-290x300.png 290w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/9-2-768x795.png 768w\" sizes=\"(max-width: 838px) 100vw, 838px\" \/><\/a><\/figure>\n\n\n\n<p>Add DNS Role<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/10-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"729\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/10-2-1024x729.png\" alt=\"\" class=\"wp-image-1029\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/10-2-1024x729.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/10-2-300x213.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/10-2-768x547.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/10-2-1536x1093.png 1536w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/10-2.png 1578w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>The Add Features for DNS pop up, again the feature required is listed. Select <strong>Add Features. <\/strong>Then select <strong>Next&gt;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/11-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"838\" height=\"828\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/11-2.png\" alt=\"\" class=\"wp-image-1030\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/11-2.png 838w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/11-2-300x296.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/11-2-768x759.png 768w\" sizes=\"(max-width: 838px) 100vw, 838px\" \/><\/a><\/figure>\n\n\n\n<p>In the Features windows just review what is selected (don&#8217;t change anything) before clicking <strong>Next&gt;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/12-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"729\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/12-2-1024x729.png\" alt=\"\" class=\"wp-image-1031\" style=\"width:840px;height:auto\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/12-2-1024x729.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/12-2-300x213.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/12-2-768x547.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/12-2-1536x1093.png 1536w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/12-2.png 1578w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>In AD DS read the information presented then select <strong>Next&gt;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/14-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"729\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/14-1-1024x729.png\" alt=\"\" class=\"wp-image-1033\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/14-1-1024x729.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/14-1-300x213.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/14-1-768x547.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/14-1-1536x1093.png 1536w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/14-1.png 1578w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>In DNS Server read again the information presented then select <strong>Next&gt;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/15-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"729\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/15-1-1024x729.png\" alt=\"\" class=\"wp-image-1034\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/15-1-1024x729.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/15-1-300x213.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/15-1-768x547.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/15-1-1536x1093.png 1536w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/15-1.png 1578w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>At this <strong>Confirmation <\/strong>screen you are ready to install the Roles and Features selectee, so press <strong>Install<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/16-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"729\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/16-1-1024x729.png\" alt=\"\" class=\"wp-image-1035\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/16-1-1024x729.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/16-1-300x213.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/16-1-768x547.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/16-1-1536x1093.png 1536w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/16-1.png 1578w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>A restart notification windows will pop up, simply select <strong>Yes <\/strong>to allow a restart if it needs one<\/p>\n\n\n\n<figure class=\"wp-block-image size-medium\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/17-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"112\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/17-1-300x112.png\" alt=\"\" class=\"wp-image-1036\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/17-1-300x112.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/17-1-768x286.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/17-1.png 862w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/figure>\n\n\n\n<p>Installation commences&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-medium\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/18-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"213\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/18-1-300x213.png\" alt=\"\" class=\"wp-image-1037\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/18-1-300x213.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/18-1-1024x729.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/18-1-768x547.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/18-1-1536x1093.png 1536w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/18-1.png 1578w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-medium\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/19-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"213\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/19-1-300x213.png\" alt=\"\" class=\"wp-image-1038\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/19-1-300x213.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/19-1-1024x729.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/19-1-768x547.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/19-1-1536x1093.png 1536w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/19-1.png 1578w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-medium\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/20-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"213\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/20-1-300x213.png\" alt=\"\" class=\"wp-image-1039\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/20-1-300x213.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/20-1-1024x729.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/20-1-768x547.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/20-1-1536x1093.png 1536w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/20-1.png 1578w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/figure>\n\n\n\n<p>Once the installation of the Roles and Features completes you will get a notification icon in the top right of the Server Manager window. Select the <strong>Flag <\/strong>icon:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/21-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"714\" height=\"214\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/21-1.png\" alt=\"\" class=\"wp-image-1040\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/21-1.png 714w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/21-1-300x90.png 300w\" sizes=\"(max-width: 714px) 100vw, 714px\" \/><\/a><\/figure>\n\n\n\n<p>This brings up the task details, you can see here that the Feature installation is complete. You now need to select &#8216;<strong>Promote this server to a domain controller&#8217;<\/strong><\/p>\n\n\n\n<p>NOTE: in older versions of Active Directory this process was called DCPROMO and was initiated from the Start &gt; Run<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/22-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"692\" height=\"554\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/22-1.png\" alt=\"\" class=\"wp-image-1041\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/22-1.png 692w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/22-1-300x240.png 300w\" sizes=\"(max-width: 692px) 100vw, 692px\" \/><\/a><\/figure>\n\n\n\n<p>The first windows that appears is &#8216;<strong>Deployment Configuration<\/strong>&#8216;, out of the 3 options you will be choosing &#8216;<strong>Add a new forest<\/strong>&#8216; because you are creating the first DC in your Lab environment. In a real life scenario where an AD Domain already exists you would be choosing one of the first 2 options.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/23-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"753\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/23-1-1024x753.png\" alt=\"\" class=\"wp-image-1042\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/23-1-1024x753.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/23-1-300x220.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/23-1-768x564.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/23-1.png 1528w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Now before you can move on you have to choose a &#8216;Root domain name&#8217;. Choose one that replicates your existing public internet domain (if you have one) or like here just a generic format like &#8216;<strong>ad.mycompany.org<\/strong>&#8216;<\/p>\n\n\n\n<p>Once you have decided on your root domain name please enter it then click <strong>Next&gt;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/24-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"753\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/24-1-1024x753.png\" alt=\"\" class=\"wp-image-1043\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/24-1-1024x753.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/24-1-300x220.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/24-1-768x564.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/24-1.png 1528w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>You then need to set the options for your new DC, leave the Forest and Domain functional levels at <strong>Windows Server 2016 level<\/strong> (as you will never have DCs on older operating systems than this in your lab environment)<\/p>\n\n\n\n<p>Leave the capabilities selected as is (DNS server, Global Catalog server)<\/p>\n\n\n\n<p>Add in a memorable Directory Service Restore Mode (DSRM) password and click <strong>Next&gt;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/25-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"753\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/25-1-1024x753.png\" alt=\"\" class=\"wp-image-1044\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/25-1-1024x753.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/25-1-300x220.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/25-1-768x564.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/25-1.png 1528w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>On <strong>DNS options<\/strong> just click <strong>Next&gt;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/26-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"753\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/26-1-1024x753.png\" alt=\"\" class=\"wp-image-1045\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/26-1-1024x753.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/26-1-300x220.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/26-1-768x564.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/26-1.png 1528w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>A &#8216;<strong>DNS Options<\/strong>&#8216; dialog box will appear, simply click <strong>OK<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/27-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"888\" height=\"476\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/27-1.png\" alt=\"\" class=\"wp-image-1046\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/27-1.png 888w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/27-1-300x161.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/27-1-768x412.png 768w\" sizes=\"(max-width: 888px) 100vw, 888px\" \/><\/a><\/figure>\n\n\n\n<p>On Additional Options wait for the NetBIOS name to autofill, once it appears simply click <strong>Next&gt;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/28-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"753\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/28-1-1024x753.png\" alt=\"\" class=\"wp-image-1047\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/28-1-1024x753.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/28-1-300x220.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/28-1-768x564.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/28-1.png 1528w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Specify the <strong>Paths <\/strong>for the important Active Directory files, if you have provisioned a D: drive as per <a href=\"#\">Add a new Disk to a VM<\/a> then switch the letter C: to D: then press <strong>Next&gt;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/29-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"753\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/29-1-1024x753.png\" alt=\"\" class=\"wp-image-1048\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/29-1-1024x753.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/29-1-300x220.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/29-1-768x564.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/29-1.png 1528w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>On <strong>Review Options<\/strong> check the selections are correct then press <strong>Next&gt;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/30-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"753\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/30-1-1024x753.png\" alt=\"\" class=\"wp-image-1049\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/30-1-1024x753.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/30-1-300x220.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/30-1-768x564.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/30-1.png 1528w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>You can view the script using the button on previous page, this is what it will look like:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/31-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"861\" height=\"842\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/31-1.png\" alt=\"\" class=\"wp-image-1050\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/31-1.png 861w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/31-1-300x293.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/31-1-768x751.png 768w\" sizes=\"(max-width: 861px) 100vw, 861px\" \/><\/a><\/figure>\n\n\n\n<p>On this screen it runs the <strong>Prequisites Checks<\/strong>. It should pass, therefore press <strong>Install<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/32-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"753\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/32-1-1024x753.png\" alt=\"\" class=\"wp-image-1051\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/32-1-1024x753.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/32-1-300x220.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/32-1-768x564.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/32-1.png 1528w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Again the Pre-Req Check dialog appears, click <strong>OK<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/33-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"872\" height=\"321\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/33-1.png\" alt=\"\" class=\"wp-image-1052\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/33-1.png 872w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/33-1-300x110.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/33-1-768x283.png 768w\" sizes=\"(max-width: 872px) 100vw, 872px\" \/><\/a><\/figure>\n\n\n\n<p>Installation of Active Directory commences<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/34-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"753\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/34-1-1024x753.png\" alt=\"\" class=\"wp-image-1053\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/34-1-1024x753.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/34-1-300x220.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/34-1-768x564.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/34-1.png 1528w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Once Installation is complete your Domain Controller will be ready! Congratulations you have created the First DC in your First AD DS root domain.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/35-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"753\" src=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/35-1-1024x753.png\" alt=\"\" class=\"wp-image-1054\" srcset=\"https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/35-1-1024x753.png 1024w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/35-1-300x220.png 300w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/35-1-768x564.png 768w, https:\/\/zulfikar.co.uk\/blog\/wp-content\/uploads\/2023\/12\/35-1.png 1528w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>This blog post is Part 2 in the Active Directory on Windows Server 2019 Series&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"footnotes":"","_jetpack_memberships_contains_paid_content":false,"jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[3,10,20],"tags":[420,615,613,614,618],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p502c8-gr","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1019"}],"collection":[{"href":"https:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=1019"}],"version-history":[{"count":9,"href":"https:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1019\/revisions"}],"predecessor-version":[{"id":1075,"href":"https:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/posts\/1019\/revisions\/1075"}],"wp:attachment":[{"href":"https:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=1019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=1019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zulfikar.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=1019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}