Change the IP of an AD DC domain controller
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