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

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.

主站蜘蛛池模板: 米易县| 潍坊市| 宜昌市| 桃江县| 河池市| 平果县| 金沙县| 抚宁县| 永仁县| 巩义市| 梨树县| 惠水县| 当涂县| 莱阳市| 阿克苏市| 大新县| 大宁县| 普洱| 万载县| 昌都县| 阿克| 衡水市| 富阳市| 庐江县| 巴马| 南皮县| 溧阳市| 兴城市| 章丘市| 肥东县| 铅山县| 舞钢市| 象山县| 石柱| 万山特区| 乳山市| 桐庐县| 温宿县| 阳春市| 新疆| 北辰区|