通过使用本网站, 您同意 隐私政策.
接受
进入IT进入IT进入IT
  • 家
  • 信息技术专家
  • 技术
  • 微软
    • 天蓝色
    • 配置管理器/SCCM
    • 数字PM
    • 协调者
    • Hyper-V
    • 微软 Edge 预览体验
    • 微星指数
    • 办公室 365
    • 办公室内幕
    • 电力商业智能
    • Skype
    • SQL服务器
    • 团队
  • 视窗
    • Windows 管理中心
    • Windows客户端
    • Windows服务器
  • SCCM查询集合列表
阅读: 在Windows Server上安装Active Directory 2016
字体调整器氨基酸
进入IT进入IT
字体调整器氨基酸
  • 家
  • 信息技术专家
  • 技术
  • 微软
  • 视窗
  • SCCM查询集合列表
搜索
  • 家
  • 信息技术专家
  • 技术
  • 微软
    • 天蓝色
    • 配置管理器/SCCM
    • 数字PM
    • 协调者
    • Hyper-V
    • 微软 Edge 预览体验
    • 微星指数
    • 办公室 365
    • 办公室内幕
    • 电力商业智能
    • Skype
    • SQL服务器
    • 团队
  • 视窗
    • Windows 管理中心
    • Windows客户端
    • Windows服务器
  • SCCM查询集合列表
IT专业人士

在Windows Server上安装Active Directory 2016

出版: 二月 11, 2024
6 最小阅读量
分享

在Windows Server上安装Active Directory 2016.

内容
Install Active Directory Domain Services with Graphical Interface (图形用户界面)Install Active Directory Domain Services with Windows Powershell

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

Install Active Directory Domain Services with Graphical Interface (图形用户界面)

1. Start your Server and start the 服务器管理器 console (by default starts after user login);

2. Click Manage (upper menu) 然后单击 Add Roles and Features;

3. 点击 the Next 按钮;

4. Select 基于角色或基于功能的安装 然后单击 下一个 按钮;

5. Select your target server (in my case it’s only one) 并单击 下一个 按钮;

6. Set check mark Active Directory域服务 (ADDS);

7. In the pop-up window click 添加功能 按钮 (added some AD management tools);

8. 点击 下一个 按钮;

9. For now we don’t need any 特征, so click 下一个;

10. Read the short text about AD and click the 下一个 按钮;

11. You may set a check mark Restart the destination server automatically if required (by default not required). Click the 安装 按钮;

12. After installation is complete click the Close 按钮;

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

14. Select 加一个新森林 (in my case this is a new DC and new forest), and enter the Root domain name (this is our future domain). Click the 下一个 按钮;

15. Select your:

  • Forest functional level;
  • Domain functional level;

Type the DSRM password (make it strong, needed for future restore if it fell) 然后单击 the Next 按钮;

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 (举个例子) – click the Next 按钮;

18. 进入 The NetBIOS domain name of your domain and click the Next 按钮;

19. If need – specify the location of AD DS objects, 并单击 下一个 按钮;

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

21. After checking pre-requirements click 安装;

22. Installation began;

23. After installation is complete you get a pop-up about Signing out and the system restarting. You may click the Close 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 (Admin).

1. Execute:

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

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

5. Now, 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.

Command描述
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, 然而, 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:$真的

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.

标记:活动目录DNS微软视窗服务器视窗Windows服务器 2016
上一篇 Sidder: Quickly see which User Profile Disk maps to which Domain User
下一篇 配置管理器查询集合列表 SCCM 日志文件及其功能的完整列表
1 评论 1 评论
  • mosez 说:
    行进 26, 2022 在 4:50 是

    awsome

    回复

发表回复 取消回复

您的电子邮件地址不会被公开. 必填字段已标记 *

该网站使用 Akismet 来减少垃圾邮件. 了解您的评论数据的处理方式.

翻译

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

热门帖子

Windows Server 的系统要求 2016
Windows服务器
配置管理器查询集合列表
配置管理器查询集合列表
configmgr
在经典团队网站的新式页面上启用结构化/托管导航
技术
SCCM 无法从 MP 获取预期版本的 DP 位置
configmgr

最近的帖子

在 Ubuntu 上安装和配置 Fail2ban 以实现 SSH 保护 24.04
Linux
在AlmaLinux上启用和配置FirewallD
Linux
AlmaLinux中的用户创建和SSH密钥设置
Linux
如何在AlmaLinux上重置密码
Linux

© 2023 进入IT

转到移动版本
欢迎回来!

登录您的帐户

用户名或电子邮件地址
密码

丢失密码?