Korzystając z tej witryny, zgadzasz się na Polityka prywatności.
Przyjąć
EnterineEnterineEnterine
  • DOM
  • To pro
  • Tech
  • Microsoft
    • Lazur
    • Menedżer konfiguracji/SCCM
    • DPM
    • Orkiestrator
    • Hyper-V.
    • Niejawny tester Microsoft Edge
    • MSI
    • Biuro 365
    • Nieznajomy biura
    • Power bi
    • Skype'a
    • Serwer SQL
    • Zespoły
  • OKNA
    • Centrum administracyjne systemu Windows
    • Klient Windowsa
    • Serwer Windows
  • Lista kolekcji zapytań SCCM
Czytanie: Install Active Directory on Windows Server 2016
Zmiana rozmiaru czcionkiAaa
EnterineEnterine
Zmiana rozmiaru czcionkiAaa
  • DOM
  • To pro
  • Tech
  • Microsoft
  • OKNA
  • Lista kolekcji zapytań SCCM
Szukaj
  • DOM
  • To pro
  • Tech
  • Microsoft
    • Lazur
    • Menedżer konfiguracji/SCCM
    • DPM
    • Orkiestrator
    • Hyper-V.
    • Niejawny tester Microsoft Edge
    • MSI
    • Biuro 365
    • Nieznajomy biura
    • Power bi
    • Skype'a
    • Serwer SQL
    • Zespoły
  • OKNA
    • Centrum administracyjne systemu Windows
    • Klient Windowsa
    • Serwer Windows
  • Lista kolekcji zapytań SCCM
Specjalista IT

Install Active Directory on Windows Server 2016

Opublikowany: Luty 11, 2024
6 Min. odczyt
UDZIAŁ

Install Active Directory on Windows Server 2016.

Zawartość
Install Active Directory Domain Services with Graphical Interface (graficzny interfejs użytkownika)Install Active Directory Domain Services with Windows Powershell

NOTATKA: Before installing the AD role, you must install the DNS role. (DNS – required component for AD)

Install Active Directory Domain Services with Graphical Interface (graficzny interfejs użytkownika)

1. Start your Server and start the Menedżer serwera konsola (by default starts after user login);

2. Click Manage (upper menu) and click Add Roles and Features;

3. Trzask the Next przycisk;

4. Wybierać Instalacja oparta na rolach lub funkcjach and click Next przycisk;

5. Select your target server (in my case it’s only one) and click the Next przycisk;

6. Set check mark Active Directory Domain Services (Dodaje);

7. In the pop-up window click Dodaj funkcje przycisk (added some AD management tools);

8. Trzask Next przycisk;

9. For now we don’t need any Cechy, so click Next;

10. Read the short text about AD and click the Next przycisk;

11. You may set a check mark Restart the destination server automatically if required (by default not required). Click the Zainstalować przycisk;

12. After installation is complete click the Zamknąć przycisk;

13. After role installation is complete you will see a yellow triangle in the upper menu. Click on it to show the next list, trzask Promote this server to a domain controller (to make this device Domain Controller, aka DC);

14. Wybierać Dodaj nowy las (in my case this is a new DC and new forest), and enter the Root domain name (this is our future domain). Click the Next przycisk;

15. Select your:

  • Forest functional level;
  • Domain functional level;

Type the DSRM password (make it strong, needed for future restore if it fell) and click the Next przycisk;

16. If you have parent DNS click Show more;

17. Read the short text about DNS delegation and click the OK button.If needed- create a DNS delegation. If you don’t need to Create DNS delegation (as an example) – click the Next przycisk;

18. Wchodzić The NetBIOS domain name of your domain and click the Next przycisk;

19. If need – specify the location of AD DS objects, and click the Next przycisk;

20. Read the summary information, and if all is OK click the Next przycisk;

21. After checking pre-requirements click Zainstalować;

22. Installation began;

23. After installation is complete you get a pop-up about Signing out and the system restarting. You may click the Zamknąć button or wait to restart;

24. System restart;

25. After restarting you will see, that you are able to log in as Domain Administrator;

26. After login to the system, when the Server Manager console shows up you will see the installed role AD DS;

Install Active Directory Domain Services with Windows Powershell

The first thing you will need to do is open Windows PowerShell. Once you have logged into the system and are faced with the command line, simply type PowerShell (in Windows Core). For the desktop interface run PowerShell (Administrator).

1. Wykonać:

Get-WindowsFeature

2. Once the command has been completed successfully, you will be presented with all the uninstalled, but available, modules.

3. Once we have figured out the service name and the module name, we now have to go ahead and install it.

Install-WindowsFeature AD-Domain-Services

This command will extract all required binary files and start the installation procedure.

4. Let’s create a new forest.

Import-Module ADDSDeployment

NOTATKA: If the command is completed successfully then you will be faced with a blank prompt.

5. Teraz, you will need need to promote your server to a domain controller as per your requirements – there are several commands that you can use to do this.

CommandOpis
Add-ADDSReadOnlyDomainControllerAccountInstall a read-only domain controller
Install-ADDSDomainInstall the first domain controller in a child or tree domain
Install-ADDSDomainControllerInstall an additional domain controller in a domain
Install-ADDSForestInstall the first domain controller in the new forest
Test-ADDSDomainControllerInstallationVerify prerequisites to install an additional domain controller in a domain
Test-ADDSDomainControllerUninstallationUninstall AD services from the server
Test-ADDSDomainInstallationVerify prerequisites to install the first domain controller in a child or tree domain
Test-ADDSForestInstallationInstall the first domain controller in the new forest
Test-ADDSReadOnlyDomainControllAccountCreationVerify prerequisites to install a read-only domain controller
Uninstall-ADDSDomainControllerUninstall the domain controller from the server

To install the Active Directory with the default configuration, execute the following command:

Install-ADDSForest

This will install the basic features and functions, however, if you want to install a customized setup:

Install-ADDSForest
 -CreateDnsDelegation:$false
 -DatabasePath "C:\Windows\NTDS"
 -DomainMode "Win2012R2"
 -DomainName "yourdomain.com"
 -DomainNetbiosName "YOURDOMAIN"
 -ForestMode "Win2016"
 -InstallDns:$true
 -LogPath "C:\Windows\NTDS"
 -NoRebootOnCompletion:$false
 -SysvolPath "C:\Windows\SYSVOL"
 -Force:$true

Once you execute this, you will be asked to enter SafeModeAdministratorPassword – this is for the Directory Services Restore Mode (DSRM). Once you set this password here Windows will finish the AD installation and configuration on your Windows Server based on the input provided.

6. The Active Directory will now install. You may receive various warnings, depending on whether you have static IPs or not. Your server may automatically restart during this process as well.

OZNACZONE:Aktywny katalogDNSSerwer Microsoft WindowsOknaSerwer Windows 2016
Poprzedni artykuł Sidder: Quickly see which User Profile Disk maps to which Domain User
Następny artykuł Lista kolekcji zapytań programu Menedżer konfiguracji Complete List of SCCM Log Files and Their Functions
1 Komentarz 1 Komentarz
  • mosez mówi:
    marzec 26, 2022 at 4:50 jestem

    awsome

    Odpowiedź

Zostaw odpowiedź Anuluj odpowiedź

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są zaznaczone *

Ta strona korzysta z Akismet w celu ograniczenia spamu. Dowiedz się, jak przetwarzane są dane dotyczące Twoich komentarzy.

Tłumaczenie

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
przez Transposh - translation plugin for wordpress

Popularne posty

Wymagania systemowe dla serwera Windows 2016
Serwer Windows
Lista kolekcji zapytań programu Menedżer konfiguracji
Lista kolekcji zapytań programu Menedżer konfiguracji
Configmgr
Nawigacja strukturalna/zarządzana włączona na nowoczesnych stronach w klasycznych witrynach zespołu
Tech
SCCM Nie udało się uzyskać lokalizacji DP w oczekiwanej wersji z MP
Configmgr

Ostatnie posty

Instalowanie i konfigurowanie Fail2ban dla ochrony SSH na Ubuntu 24.04
Linuksa
Włączanie i konfiguracja FirewallD na AlmaLinux
Linuksa
Tworzenie użytkownika i konfiguracja klucza SSH w AlmaLinux
Linuksa
Jak zresetować hasło w AlmaLinux
Linuksa

© 2023 Enterine

Przejdź do wersji mobilnej
Witamy z powrotem!

Zaloguj się na swoje konto

Nazwa użytkownika lub adres e-mail
Hasło

Zgubiłeś hasło?