6 months ago i thought I figured our time sync issues once and for all by specifying a external NTP server. Here I am again though with my time out of sync and I can’t get it to resync.<\/p>\n
I saw somewhere that you can reset w32tm with:<\/p>\n
net stop w32time\nw32tm /unregister\nw32tm /register\nnet start w32time\n<\/code><\/pre>\n
Advertisement
I then did this to reset time settings:<\/p>\n
net stop w32time\nw32tm /config /syncfromflags:manual /manualpeerlist:”0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org”\nw32tm /config /reliable:yes\nnet start w32time\n<\/code><\/pre>\nI then run w32tm /resync and the time gets fixed. However, a split second later it changes back to the incorrect time. Where is it getting its time from?!? I did a netdom /query fsmo to make sure i’m working on the PDC and I am.<\/p>","upvoteCount":5,"answerCount":15,"datePublished":"2014-12-19T18:03:33.000Z","author":{"@type":"Person","name":"mdubya","url":"https://community.spiceworks.com/u/mdubya"},"acceptedAnswer":{"@type":"Answer","text":"
If your DC’s are VM’s, DO NOT sync the time using the VM utilities (in Microsoft’s Hyper-V, uncheck “Time Services” under Integration Services on the Settings of the VM.<\/p>\n
Then use this command to set the time on the DC’s<\/p>\n
w32tm /config /manualpeerlist:0.ca.pool.ntp.org,1.ca.pool.ntp.org,2.ca.pool.ntp.org,3.ca.pool.ntp.org /syncfromflags:manual /reliable:yes /update\n<\/code><\/pre>\nYou can also set up the DC’s to sync from the peer list through GPO as well.<\/p>\n
System/Windows Time Service/Time Providers >\nNtpServer 0.ca.pool.ntp.org 1.ca.pool.ntp.org 2.ca.pool.ntp.org 3.ca.pool.ntp.org \nType NTP \nCrossSiteSyncFlags 2 \nResolvePeerBackoffMinutes 15 \nResolvePeerBackoffMaxTimes 7 \nSpecialPollInterval 3600 \nEventLogFlags 3 \n \nPolicy Setting Comment \nEnable Windows NTP Client Enabled \n<\/code><\/pre>","upvoteCount":4,"datePublished":"2014-12-19T18:55:23.000Z","url":"https://community.spiceworks.com/t/grrrr-ad-time/365954/6","author":{"@type":"Person","name":"overdrive","url":"https://community.spiceworks.com/u/overdrive"}},"suggestedAnswer":[{"@type":"Answer","text":"6 months ago i thought I figured our time sync issues once and for all by specifying a external NTP server. Here I am again though with my time out of sync and I can’t get it to resync.<\/p>\n
I saw somewhere that you can reset w32tm with:<\/p>\n
net stop w32time\nw32tm /unregister\nw32tm /register\nnet start w32time\n<\/code><\/pre>\nI then did this to reset time settings:<\/p>\n
net stop w32time\nw32tm /config /syncfromflags:manual /manualpeerlist:”0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org”\nw32tm /config /reliable:yes\nnet start w32time\n<\/code><\/pre>\nI then run w32tm /resync and the time gets fixed. However, a split second later it changes back to the incorrect time. Where is it getting its time from?!? I did a netdom /query fsmo to make sure i’m working on the PDC and I am.<\/p>","upvoteCount":5,"datePublished":"2014-12-19T18:03:33.000Z","url":"https://community.spiceworks.com/t/grrrr-ad-time/365954/1","author":{"@type":"Person","name":"mdubya","url":"https://community.spiceworks.com/u/mdubya"}},{"@type":"Answer","text":"
It may be pulling the time from the machine bios.<\/p>","upvoteCount":0,"datePublished":"2014-12-19T18:08:00.000Z","url":"https://community.spiceworks.com/t/grrrr-ad-time/365954/2","author":{"@type":"Person","name":"john3504","url":"https://community.spiceworks.com/u/john3504"}},{"@type":"Answer","text":"
What time does it revert to and where are you issuing the w32tm command at? Sorry. should have read that closer.<\/p>","upvoteCount":0,"datePublished":"2014-12-19T18:09:21.000Z","url":"https://community.spiceworks.com/t/grrrr-ad-time/365954/3","author":{"@type":"Person","name":"rockn","url":"https://community.spiceworks.com/u/rockn"}},{"@type":"Answer","text":"
These are Hyper-V vm’s, i’ve heard there can be sync issues with this. It’s pulling a time thats ~3 minutes in the future.<\/p>\n
I dont understand why it would still pull a local system time when i’ve specified /syncfromflags:manual. Isn’t the point of specifying external servers so that it stops using local system time?<\/p>","upvoteCount":0,"datePublished":"2014-12-19T18:15:45.000Z","url":"https://community.spiceworks.com/t/grrrr-ad-time/365954/4","author":{"@type":"Person","name":"mdubya","url":"https://community.spiceworks.com/u/mdubya"}},{"@type":"Answer","text":"
Take a look at this. Apparently the host is to be set up to sync from a NTP source and the VMs should use the time sync provider from the host if I am reading this correctly.<\/p>\n
http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/11/19/time-synchronization-in-hyper-v.aspx<\/a><\/p>","upvoteCount":1,"datePublished":"2014-12-19T18:23:07.000Z","url":"https://community.spiceworks.com/t/grrrr-ad-time/365954/5","author":{"@type":"Person","name":"rockn","url":"https://community.spiceworks.com/u/rockn"}},{"@type":"Answer","text":"I used:<\/p>\n
(Powershell)<\/p>\n
w32tm /config /manualpeerlist:pool.ntp.org /syncfromflags:MANUAL<\/p>\n
Stop-Service w32time<\/p>\n
Start-Service w32time<\/p>\n
From here<\/a><\/p>","upvoteCount":0,"datePublished":"2014-12-19T19:30:33.000Z","url":"https://community.spiceworks.com/t/grrrr-ad-time/365954/7","author":{"@type":"Person","name":"mhunt","url":"https://community.spiceworks.com/u/mhunt"}},{"@type":"Answer","text":"Have you seen this?<\/p>\n
http://community.spiceworks.com/topic/477104-do-you-disable-the-time-syncronization-service-in-hyper-v<\/a><\/p>","upvoteCount":1,"datePublished":"2014-12-19T20:13:32.000Z","url":"https://community.spiceworks.com/t/grrrr-ad-time/365954/8","author":{"@type":"Person","name":"rockn","url":"https://community.spiceworks.com/u/rockn"}},{"@type":"Answer","text":"Double check your time sources in your registry:<\/p>\n