Knowledgebase & Downloads

Time drifting in Windows VM

Configure manual time syncing:

Run regedit and edit key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient\SpecialPollInterval. Change value to decimal 900 (sync every 15 minutes)

Then run the following commands:

w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:manual /reliable:yes /update

net stop w32time && net start w32time

w32tm /resync

If time still drifts, try setting time to UTC.  Create a file enableutc.reg containing:



Import the enableutc.reg file into regedit and then reboot the VM.