dibekem Posted September 28, 2020 Posted September 28, 2020 Good morning everyone.I recently setup a server with Windows Server 2019 Standard edition (one physical which has 3 virtual servers attached) and having problem with the clock. Basically, it is always showing an hour early. The time zone is set to (UTC+00:00) Dublin, Edinburgh, Lisbon, London. The automatic time sync is switched on in windows and tried to sync to both address (time.nist.gov, time.windows.com) but no luck. It just says it has been successfully sync but showing the wrong time. Any advise would be much appreciated.
ShellfishClive Posted September 28, 2020 Posted September 28, 2020 Is the correct region set in the Region settings too? 1
mavhc Posted September 28, 2020 Posted September 28, 2020 Is adjust for daylight saving time automatically on? 1
dibekem Posted September 28, 2020 Author Posted September 28, 2020 Thanks for the replies. Region is set to UK and the daylight saving is switched on too.
Michael Posted September 28, 2020 Posted September 28, 2020 You need to run a command such as the below on your Primary Domain Controller and/or your Hyper-V host: @echo off net stop w32time w32tm /config /syncfromflags:manual /manualpeerlist:pool.ntp.org w32tm /config /reliable:yes net start w32time w32tm /query /peers PAUSE On your workstations, configure the GPO - Computer Config > Admin Templates > System > Windows Time Service > Time Providers Configure Windows NTP Client - Enabled - 192.168.1.20,0x9 Type: NT5DS (Replace with your IP) Enable Windows NTP Client - Enabled 1
dibekem Posted September 28, 2020 Author Posted September 28, 2020 Thank you Michael! It worked! Do you know what happened? Thanks again!)
Michael Posted September 28, 2020 Posted September 28, 2020 I can't explain why it was an hour out, but so long as you have a reliable time server you shouldn't run into any issues. Just keep an eye on your nominated time server internally for the next few days. I'd also suggest configuring the GPO, as you may run into logon issues if your clients are more than 5 mins out. The GPO method is normally pretty quick, but in saying that I tweak it down from the default 90 mins to less than 10 mins in the context of Education. 1
dibekem Posted September 28, 2020 Author Posted September 28, 2020 Thanks Michael. I used the DC for this. I created a gpo in the OU where the computers are. Configure Windows NTP Client- I enabled this. Set the IP to the DC IP. The rest I left as it was. Enable windows NTP client- I enabled this. I changed the refresh from 90minutes as well under the GPO refresh for computers. Thank you again!
mavhc Posted September 28, 2020 Posted September 28, 2020 Problem can be when VM syncing with host and host with BIOS clock get all mixed up, and one expects the bios clock to be on UTC so adds an hour, but the other doesn't and writes the local time to the BIOS clock 1
jthompson Posted September 29, 2020 Posted September 29, 2020 If your DC is a Hyper-V VM, you may want to disable the Hyper-V time synchronisation service for it (Hyper-V setting for the VM -> Integration Services -> uncheck "Time synchronization"). Even if the DC is configured to use an NTP time source in the guest OS, Hyper-V will force its clock to sync with the host. Alternatively, set your host to use NTP rather than sync clock with the domain, and leave the Hyper-V time synchronisation service enabled. Basically, if your Hyper-V host has a wonky clock and the Hyper-V time synchronisation is enabled for a VM, then the VM will get wonky time as well, regardless of how its Windows Time service is configured. 1
dibekem Posted October 6, 2020 Author Posted October 6, 2020 Thanks jthompson. I unchecked the Time synchronization on all the VM's. I already set the time the other way up and its been working ever since so didn't want to changed that now. Thank you again.
jthompson Posted October 6, 2020 Posted October 6, 2020 It's helpful to have the Hyper-V time synchronisation on for your member server VMs, since they'll then not lose time if they're left suspended or shut down for any length of time. Provided your host has a reliable hardware clock, of course. Your DC might lose time if it's also down for any length of time, so if you have a power cut or something, making sure that the time is correct on it would be an important task for you, so that the rest of your network (Hyper-V host included) then start syncing from it.
mavhc Posted October 7, 2020 Posted October 7, 2020 DC should sync to internet NTP, and everything else should sync to DC. Host should be the only thing writing to the bios clock.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now