Sådan installeres og konfigureres Active Directory på Windows Server 2012 R2.
Some preparation:
- Create a strong password for the Administrator account (it will be Domain Admin in the future);
- Install all updates;
- Rename your server with a Corporate naming policy. (When you install Windows Server, a random name is generated.);
- Assign a static IP to your server.
Install Active Directory Domain Services Role
1. After Server Manager starts – click Add roles and features link;
2. Klik det Next button on the wizard screen. Også, you may set a check mark Skip this page by default and you don’t see this step in the future;
3. For installation type, Vælg Rollebaseret eller funktionsbaseret installation og klik den næste knap;
4. Vælg muligheden Select a server from the server pool (by default) og klik den næste knap;
5. Click the box for Active Directory Domain Services;
6. In the new pop-up window click Tilføj funktioner;
7. Klik den næste knap;
8. For Features, don’t select anything, klik den næste knap;
9. For Active Directory Domain Services click den næste knap;
10. At the confirmation screen, you may decide whether to restart the destination server automatically or not. Klik på Installere knap;
11. The installation begins;
12. Once completed, klik på Tæt knap.
Configure Active Directory Domain Services Role
1. From the Server Manager dashboard, click the flag with the exclamation mark symbol. Klik Promote the server to a domain controller;
2. On the next screen, select the deployment operation that is needed. I dette eksempel, det Tilføj en ny skov is selected and the name enterinit.com is entered to create a new root domain. Klik den næste knap;
3. Since this will be the only domain controller in this lab example, both the forest and domain functional levels will remain at Windows Server 2012 R2. Leave a check box on Domænenavnesystem (DNS) Server to make this system a DNS server. The option for GC is checked without the ability to modify since the first domain controller must be a Global Catalog server. The third option is unchecked and unmodifiable because the first domain controller cannot be a Read-Only Domain Controller;
4. Enter a DSRM password and click Næste;
5. For DNS options, there is no existing DNS infrastructure since this is our first domain controller. Så, the warning can be ignored. Klik på Næste knap;
6. Gå ind det BIOS domain name and click the Næste knap;
7. If you need you may change folders locations (NOT RECOMMENDED), klik på Næste knap;
8. Review options. Please note that a PowerShell shell script is provided if you need to automate this on future installs. Klik View Script. If needed, copy this script for future use. Close the Notepad window and click the Næste knap;
9. System check prerequisites;
10. If the prerequisites check passes, klik derefter installationen knap;
11. The installation will begin;
12. Once complete – the system will be rebooted;
13. After reboot you may sign into PC as Domain Admin;
14. This is the result of our Windows Server 2012 R2 Active Directory installation;