官术网_书友最值得收藏!

Installing a new forest on a Server Core installation

If you want to install and configure AD DS on Server Core, you need to use PowerShell instead of the GUI wizard. The steps in the process are same, but the approach is different:

  1. To begin with, you need to install an AD DS role on the server using the following command:
Install-WindowsFeature AD-Domain-Services -IncludeAllSubFeature -IncludeManagementTools

In the Install-WindowsFeature cmdlet, the -IncludeAllSubFeatures and -IncludeManagementTolls switches are very important. In this case, without those switches, Group Policy Management and RSAT for AD DS and AD LDS won't be installed.

  1. Once you have successfully installed the Active Directory Domain Services role, you need to run the following commands:
Import-Module ADDSDeployment
Install-ADDSForest -DomainName "mcsacertguide.local" -CreateDnsDelegation:$false -ForestMode "WinThreshold" -DomainMode "WinThreshold" -DomainNetbiosName "MCSACERTGUIDE" -InstallDns:$true -DatabasePath "C:\Windows\NTDS" -LogPath "C:\Windows\NTDS" -SysvolPath "C:\Windows\SYSVOL" -NoRebootOnCompletion:$false -Force:$true

The WinThreshold parameter in the -DomainMode and -ForestMode PowerShell switches defines that the highest domain and forest functional level will be used.

The switch for the DSRM password isn't included in this command, but once you run it, you will be asked to enter and confirm the password.

主站蜘蛛池模板: 汕尾市| 田阳县| 灵台县| 元谋县| 广水市| 施甸县| 闻喜县| 安陆市| 淳化县| 永和县| 京山县| 丁青县| 达日县| 兴化市| 九江市| 万年县| 南丰县| 秦皇岛市| 通山县| 孝昌县| 祁阳县| 崇阳县| 治县。| 高邮市| 喀喇沁旗| 玉环县| 通化县| 峨眉山市| 广南县| 新田县| 吕梁市| 昭苏县| 旬邑县| 安福县| 鸡东县| 中卫市| 白玉县| 洪泽县| 鲜城| 德昌县| 西乌珠穆沁旗|