{"id":19886,"date":"2023-05-23T11:03:23","date_gmt":"2023-05-23T11:03:23","guid":{"rendered":"https:\/\/www.top-password.com\/blog\/?p=19886"},"modified":"2023-05-23T11:03:23","modified_gmt":"2023-05-23T11:03:23","slug":"install-active-directory-in-windows-server-2022","status":"publish","type":"post","link":"https:\/\/www.top-password.com\/blog\/install-active-directory-in-windows-server-2022\/","title":{"rendered":"Tutorial: Install Active Directory in Windows Server 2022"},"content":{"rendered":"<p>How can I set up a domain controller for small office? If you want to install Active Directory on Windows Server Core, you need to prepare a PowerShell script and it&#8217;s a bit challenging. For Windows Server with desktop experience (GUI), the setup procedure is much easier. In this tutorial we&#8217;ll show you how to install Active Directory in Windows Server 2022, and promote it to domain controller.<\/p>\n<p><strong>Part 1: Install Active Directory in Windows Server 2022<\/strong><\/p>\n<p>Before getting started, give your server a static IP address instead of letting DHCP assign the IP address automatically. Once logged in with the local administrator account, you can install Active Directory by following these steps:<\/p>\n<ol>\n<li>Click the <strong>Start<\/strong> button, and then click the &#8220;<strong>Server Manager<\/strong>&#8221; shortcut which should appear in the Start Menu and Live Tiles.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/server-manager-shortcut.png\" alt=\"\" width=\"600\" height=\"418\" class=\"alignnone size-full wp-image-19893\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/server-manager-shortcut.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/server-manager-shortcut-300x209.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<li>Click the &#8220;<strong>Add roles and features<\/strong>&#8221; option.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/server-manager.png\" alt=\"\" width=\"600\" height=\"378\" class=\"alignnone size-full wp-image-19894\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/server-manager.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/server-manager-300x189.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<li>When the wizard starts, click <strong>Next<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/before-you-begin.png\" alt=\"\" width=\"600\" height=\"427\" class=\"alignnone size-full wp-image-19895\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/before-you-begin.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/before-you-begin-300x214.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<li>Choose the &#8220;<strong>Role-based or feature-based installation<\/strong>&#8221; type, click <strong>Next<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/role-based-installation.png\" alt=\"\" width=\"600\" height=\"427\" class=\"alignnone size-full wp-image-19896\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/role-based-installation.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/role-based-installation-300x214.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<li>Select the local server where the Active Directory role will be installed, and click <strong>Next<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/select-a-local-server.png\" alt=\"\" width=\"600\" height=\"427\" class=\"alignnone size-full wp-image-19897\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/select-a-local-server.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/select-a-local-server-300x214.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<li>On the Server Roles page, check the &#8220;<strong>Active Directory Domain Services<\/strong>&#8221; role from the list.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/select-server-roles.png\" alt=\"\" width=\"600\" height=\"427\" class=\"alignnone size-full wp-image-19898\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/select-server-roles.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/select-server-roles-300x214.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<li>When a pop-up window prompts you to include all the necessary tools, click the <strong>Add Features<\/strong> button.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/add-features-required-for-ad.png\" alt=\"\" width=\"450\" height=\"471\" class=\"alignnone size-full wp-image-19899\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/add-features-required-for-ad.png 450w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/add-features-required-for-ad-287x300.png 287w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/>\n<\/li>\n<li>You should now see a tickmark next to the &#8220;Active Directory Domain Services&#8221; role, click <strong>Next<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/active-directory-domain-services.png\" alt=\"\" width=\"600\" height=\"427\" class=\"alignnone size-full wp-image-19900\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/active-directory-domain-services.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/active-directory-domain-services-300x214.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<li>On the Features page, the basic features for required role are already selected by default. Just click <strong>Next<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/select-features.png\" alt=\"\" width=\"600\" height=\"427\" class=\"alignnone size-full wp-image-19901\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/select-features.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/select-features-300x214.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<li>Click <strong>Next<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/ad-ds-notes.png\" alt=\"\" width=\"600\" height=\"427\" class=\"alignnone size-full wp-image-19902\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/ad-ds-notes.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/ad-ds-notes-300x214.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<li>Click <strong>Install<\/strong> to confirm and begin the role features installation.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/install-active-directory.png\" alt=\"\" width=\"600\" height=\"427\" class=\"alignnone size-full wp-image-19903\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/install-active-directory.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/install-active-directory-300x214.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<\/ol>\n<p><strong>Part 2: Promote Windows Server 2022 to Domain Controller<\/strong><\/p>\n<ol>\n<li>After the AD DS role is installed, open Server Manager again and you will see a notification flag next to the <strong>Manage<\/strong> menu. From there you need to click &#8220;<strong>Promote this server to a domain controller<\/strong>&#8220;.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/promote-this-server-to-domain-controller.png\" alt=\"\" width=\"600\" height=\"370\" class=\"alignnone size-full wp-image-19904\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/promote-this-server-to-domain-controller.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/promote-this-server-to-domain-controller-300x185.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<li>Choose the &#8220;<strong>Add a new forest<\/strong>&#8221; option, type a root domain name and click <strong>Next<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/add-a-new-forest.png\" alt=\"\" width=\"600\" height=\"441\" class=\"alignnone size-full wp-image-19905\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/add-a-new-forest.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/add-a-new-forest-300x221.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<li>Set up the DSRM password and click <strong>Next<\/strong>. DSRM password is used only when you need to boot the server into Directory Services Restore Mode to perform maintenance tasks.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/type-dsrm-password.png\" alt=\"\" width=\"600\" height=\"441\" class=\"alignnone size-full wp-image-19906\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/type-dsrm-password.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/type-dsrm-password-300x221.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<li>On the DNS Options page, click <strong>Next<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/dns-options.png\" alt=\"\" width=\"600\" height=\"441\" class=\"alignnone size-full wp-image-19907\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/dns-options.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/dns-options-300x221.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<li>The NetBIOS name is generated automatically based on your domain name. Just click <strong>Next<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/verify-netbios-name.png\" alt=\"\" width=\"600\" height=\"441\" class=\"alignnone size-full wp-image-19908\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/verify-netbios-name.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/verify-netbios-name-300x221.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<li>You&#8217;ll see the default paths for database, log files and SYSVOL folders. Click <strong>Next<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/ntds-folder-path.png\" alt=\"\" width=\"600\" height=\"441\" class=\"alignnone size-full wp-image-19909\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/ntds-folder-path.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/ntds-folder-path-300x221.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<li>Review your selections and click <strong>Next<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/review-your-selections.png\" alt=\"\" width=\"600\" height=\"441\" class=\"alignnone size-full wp-image-19910\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/review-your-selections.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/review-your-selections-300x221.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<li>A prerequisite check will be performed. If no error is detected, you can click <strong>Install<\/strong> to promote your server as domain controller. You server will restart automatically once the installation is complete.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/configure-your-server-as-domain-controller.png\" alt=\"\" width=\"600\" height=\"441\" class=\"alignnone size-full wp-image-19911\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/configure-your-server-as-domain-controller.png 600w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2023\/05\/configure-your-server-as-domain-controller-300x221.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/>\n<\/li>\n<\/ol>\n<p>That&#8217;s it!<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>How can I set up a domain controller for small office? If you want to install Active Directory on Windows Server Core, you need to prepare a PowerShell script and it&#8217;s a bit challenging. For Windows Server with desktop experience (GUI), the setup procedure is much easier. In this tutorial we&#8217;ll show you how to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,10],"tags":[5192,5193,5195,5194],"class_list":["post-19886","post","type-post","status-publish","format-standard","hentry","category-others","category-tips-tricks","tag-install-active-directory-windows-server","tag-install-active-directory-windows-server-2022","tag-promote-server-to-domain-controller","tag-setup-a-domain-controller-server-2022"],"_links":{"self":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/19886","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/comments?post=19886"}],"version-history":[{"count":10,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/19886\/revisions"}],"predecessor-version":[{"id":19915,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/19886\/revisions\/19915"}],"wp:attachment":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/media?parent=19886"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/categories?post=19886"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/tags?post=19886"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}