Blog entry by Skumar Jntuh

Anyone in the world

Here I am writing the ADDS Service installation on Windows server 2022 Server core step by step procedure

  1. 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.
  2. 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

https://cloudblogs.microsoft.com/industry-blog/en-gb/technetuk/2016/06/08/setting-up-active-directory-via-powershell/


[ Modified: Monday, 13 December 2021, 11:19 PM ]