
Change DNS settings for the DHCP scopes that are assigning IP addresses to the clients. Make sure that the DHCP server role is not running on the domain controller. Make sure that the AD FSMO roles are not running on the domain controller: netdom query fsmo If needed, move the FSMO roles to another DC. To display a list of errors on a specific domain controller, run the following command: dcdiag.exe /s:mun-dc03 /q There is a separate article on how to check a domain controller’s health and replication in AD using dcdiag, repadmin, and PowerShell scripts. Check the state of your domain controller, Active Directory, and replication. If you are going to decommission one of your AD domain controllers (common DC or read-only domain controller – RODC), you have to take some preparatory steps before demoting your domain controller to a member server and removing the Active Directory Domain Services (ADDS) role. Removing an Active Directory Domain Controller and ADDS Role (Step-by-Step) How to Remove a Failed Domain Controller in Active Directory?. Removing an Active Directory Domain Controller and ADDS Role (Step-by-Step). # make sure domain info (the command needs local administrative privilege) PS C:\Users\serverworld> Restart-Computer -Force # after restarting, verify to logon as a domain user WARNING: The changes will take effect after you restart the computer RX-78-3. PS C:\Users\serverworld> Add-Computer -DomainName srv.world -Credential (New-Object PSCredential("Serverworld", (ConvertTo-SecureString -AsPlainText -Force))) # for word, it's the password of the user specified above # for word, it's a domain user, replace to yours : srv.worldĬonnection-specific DNS Suffix. PS C:\Users\serverworld> ipconfig /all | Select-String -Pattern "DNS"ĭNS Suffix Search List. InterfaceAlias Interface Address ServerAddresses PS C:\Users\serverworld> Set-DnsClientServerAddress -InterfaceIndex 3 -ServerAddresses "10.0.0.100" -PassThru IfIndex InterfaceAlias AddressFamily NlMtu(Bytes) InterfaceMetric Dhcp ConnectionState PolicyStoreģ Ethernet0 IPv4 1500 25 Enabled Connected ActiveStoreġ Loopback Pseudo-Interface 1 IPv4 4294967295 75 Disabled Connected ActiveStore PS C:\Users\serverworld> Get-NetIPInterface -AddressFamily IPv4
Logon as a user who have local administrative privilege and configure like follows.Ĭopyright (C) Microsoft Corporation. On CUI Configuration, Execute Commands like follows.