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

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.

主站蜘蛛池模板: 古浪县| 长宁区| 沽源县| 安康市| 寿阳县| 安吉县| 嘉定区| 五常市| 依安县| 齐齐哈尔市| 全南县| 石狮市| 揭西县| 泸定县| 营山县| 威海市| 历史| 满城县| 成安县| 广灵县| 那曲县| 潜江市| 金门县| 嘉鱼县| 中阳县| 黔南| 榆中县| 顺义区| 宜城市| 天长市| 甘孜县| 涡阳县| 炉霍县| 灵石县| 南平市| 青川县| 安远县| 安乡县| 九江市| 荆门市| 陆川县|