Step 2

Set memory, checkpoints and time sync

Three settings matter for servers, and most of all for domain controllers. Set them before the first start.

5 minutesRun on the Hyper-V host
Hyper-V host
$vm = "CON-DC-01"
Set-VMMemory -VMName $vm -DynamicMemoryEnabled $false -StartupBytes 4GB
Set-VM -Name $vm -CheckpointType Disabled -AutomaticStopAction ShutDown
Disable-VMIntegrationService -VMName $vm -Name "Time Synchronization"
SettingWhy
Fixed memoryWindows Setup needs it, and Active Directory sizes its cache from the memory it starts with. Dynamic memory takes that memory away again.
Checkpoints offRolling a domain controller back to a checkpoint can break replication. Use backups instead.
Shut down on host stopThe VM shuts down cleanly when the host restarts.
Time sync offA domain controller sets the time for the domain. Hyper-V would keep overwriting it with the host's clock.
Member servers

Turn time sync off on every domain-joined VM. They take their time from the domain.

Check the settings

Hyper-V host
Get-VM $vm | Select-Object Name, Generation, CheckpointType, DynamicMemoryEnabled, MemoryStartup
Get-VMIntegrationService -VMName $vm | Select-Object Name, Enabled
Your progress is kept in this browser only.