Get the App
SLTechnology News&Howtos  ›  Servers  › 

Change the IP of an AD DC domain controller

Shulou Source: shulou.com Published: 2022-06-03 05:48:26 09月21日 Update

Always show all icons and notifications on the taskbar:

To always show all icons and notifications on the taskbar, create a Group Policy Preference to create the following registry setting:

HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Explorer

Create a new DWORD called EnableAutoTray and set the value to 0

The GPO preference should be created as a user group policy, or a computer one with loopback policy enabled.

Change the IP of the AD DC domain controller:

Migrate Sysvol folder replication to DFS-R

#

# Windows PowerShell script for AD DS deployment

#

Import-Module ADDSDeployment

Install-ADDSDomainController `

-NoGlobalCatalog:$false `

-CreateDnsDelegation:$false `

-CriticalReplicationOnly:$false `

-DatabasePath "C:\ Windows\ NTDS" `

-DomainName "nipc.com.cn" `

-InstallDns:$true `

-LogPath "C:\ Windows\ NTDS" `

-NoRebootOnCompletion:$false `

-SiteName "Default-First-Site-Name" `

-SysvolPath "C:\ Windows\ SYSVOL" `

-Force:$true

#

# Windows PowerShell script for AD DS Deployment

#

Import-Module ADDSDeployment

Install-ADDSDomainController `

-NoGlobalCatalog:$false `

-CreateDnsDelegation:$false `

-CriticalReplicationOnly:$false `

-DatabasePath "C:\ Windows\ NTDS" `

-DomainName "nipc.com.cn" `

-InstallDns:$true `

-LogPath "C:\ Windows\ NTDS" `

-NoRebootOnCompletion:$false `

-ReplicationSourceDC "NOS-S-DC01.nipc.com.cn" `

-SiteName "Default-First-Site-Name" `

-SysvolPath "C:\ Windows\ SYSVOL" `

-Force:$true

Tags: Controllers controls files folders methods scripts Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft macOS Shulou Tech Info Redmi NVidia