This article will explain how to fix time sync issue on Hyper-V virtual domain controller. Normally domain controllers in the domain use the PDC as their central time source. However, a Hyper-V virtual DC would normally synchronize time with it’s hyper-v host instead of PDC.
This would cause time difference between virtual DC and other DC’s in domain. Refer the below screenshot showing virtual DC time source by default set as “VM IC Time Synchronization Provider”.
To fix this issue you would need to disable the Time Synchronization Service in the guest configuration. On the Hyper-V, go to Virtual DC server settings and uncheck “Time Synchronization”.
Now login to Virtual DC, run the following commands.
1. Run command from elevated CMD on your DC:
w32tm /config /syncfromflags:domhier /update
W32tm /resync /rediscover
Net stop w32time
Net start w32time
2. If it does not work, reset the time service to default settings on your DC by running following commands:
net stop w32time
net start w32time