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

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.

主站蜘蛛池模板: 景洪市| 黔西县| 天峻县| 习水县| 叙永县| 罗江县| 海城市| 禄丰县| 平塘县| 宣武区| 永嘉县| 华蓥市| 清丰县| 萍乡市| 克拉玛依市| 新乡县| 长岭县| 永靖县| 嵊泗县| 甘孜县| 铜山县| 巨鹿县| 遂昌县| 格尔木市| 新宁县| 沧源| 桦南县| 甘肃省| 读书| 东丽区| 香河县| 阳原县| 多伦县| 莱芜市| 乐至县| 丰城市| 蒲江县| 平昌县| 阿城市| 江川县| 阿城市|