活动目录
活动目录
一、安装
- 启动服务器管理器
servermanager
- 添加角色和功能
![](/ad01.jpg)
- 选择
基于角色或基于功能的安装
![](/ad02.jpg)
- 选择
Active Directory域服务
![](/ad03.jpg)
然后一直下一步安装就可以了
二、配置
- 将服务器提升为域控制器
![](/ad04.jpg)
- 添加新林
![](/ad05.jpg)
- 选项默认,密码设置好
![](/ad06.jpg)
- dns警告不管
![](/ad07.jpg)
- 设置NetBIOS名字,会自动带过来。然后一路下一步安装
![](/ad08.jpg)
- 检查状态
几个PowerShell命令
# Verifing if the Active Directory installation was successfully completed:
Get-Service adws,kdc,netlogon,dns
# Getting the details of your Domain Controller:
Get-ADDomainController
# To get the details of your domain, use this command:
Get-ADDomain exampledomain.com
三、添加域用户
- 入口
![](/ad09.jpg)
- 添加用户
![](/ad10.jpg)
![](/ad11.jpg)