Skumar Jntuh
Blog entry by Skumar Jntuh
Here I am writing the ADDS Service installation on Windows server 2022 Server core step by step procedure
- After installation of Windows server 2022 server core, set up the Networking with a static IP address and primary DNS address as the same IP of domain controller static IP.
- use the following command for installation windows features Ad-Domain-Services and DNS at PowerShell prompt as below
Install-WindowsFeature -name Ad-Domain-Services -IncludeMgmtTools
Install-WindowsFeature -name DNS
The following script needs to execute after windows feature ADDS AND DNS installation to promote as a primary domain controller as ADDS Deployment
#
# Windows PowerShell script for AD DS Deployment
#
Import-Module ADDSDeployment
Install-ADDSForest `
-CreateDnsDelegation:$false `
-DatabasePath “C:\Windows\NTDS” `
-DomainMode “WinThreshold” `
-DomainName “bhima.local” `
-DomainNetbiosName “BHIMA” `
-ForestMode “WinThreshold” `
-InstallDns:$true `
-LogPath “C:\Windows\NTDS” `
-NoRebootOnCompletion:$false `
-SysvolPath “C:\Windows\SYSVOL” `
-Force:$true
Reference link for detail understanding