IT Knowledge Base

User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

time_sync_on_virtual_domain_controllers [2018/04/09 09:56] (current)
Line 1: Line 1:
 +====== Time Sync on Virtual Domain Controllers ======
 +For virtual machines that are configured as domain controllers,​ [[http://​​en-us/​library/​virtual_active_directory_domain_controller_virtualization_hyperv(WS.10).aspx|it is recommended]] that you disable time synchronization between the host system and guest operating system acting as a domain controller. This enables your guest domain controller to synchronize time from the domain hierarchy.
 +This guidance has been recently updated to reflect the current recommendation to synchronize time for the guest domain controller from only the domain hierarchy, rather than the previous recommendation to partially disable time synchronization between the host system and guest domain controller.
 +Instead of partially disabling the Hyper-V time sync, [[http://​​b/​virtual_pc_guy/​archive/​2010/​11/​19/​time-synchronization-in-hyper-v.aspx|the now recommended approach]] is to leave it enabled on the host, but disabled in the VM. Run the following command on the virtual DC, which stops W32Time from using the Hyper-V time synchronization integration service for moment-to-moment synchronisation:​
 +<​code>​reg add HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider /v Enabled /t reg_dword /d 0</​code>​
 +Then you can tell Windows to go and look for the best time source in the domain hierarchy:
 + w32tm /config /​syncfromflags:​DOMHIER /update
 + net stop w32time & net start w32time
 + w32tm /resync /force
 + w32tm /query /source
 +For more info on setting up time sync on the PDC, see [[NTP time sync in Windows Server]]
time_sync_on_virtual_domain_controllers.txt ยท Last modified: 2018/04/09 09:56 (external edit)