I've setup an NTP client for my DC to sync time with time.windows.com but I want it to query the NTP server at least twice a day. I made all the changes via the registry, is there a period registry I can amend and how?
I've setup an NTP client for my DC to sync time with time.windows.com but I want it to query the NTP server at least twice a day. I made all the changes via the registry, is there a period registry I can amend and how?
You have the list of registry values here.
Referring to this, try setting the following values :
Explanation :
Explanation :
Explanation :
Explanation :
I don't know a lot about Windows time, but last time I checked, Windows doesn't use the "full" NTP algorithm. I believe it uses the less complicated Simple Network Time Protocol (SNTP).
A properly running (full) NTP client will decide on its own how often to poll the servers you've configured. Initially it will probably check every 64 seconds, but once the clock has been stabilized, the polling may be every 1024s (there's a doubling in the algorithm at every step).
If the algorithm detects something wonky with the clock it will automatically start polling more often as needed.
The W32Time can only reach 1-2 second accuracy (good enough for most pedestrian uses), whereas the full NTP algorithm can get into the millisecond area on a WAN, and even more accurate on LANs.
If you absolutely, positively need accurate time, use the full NTP.org implementation and use at least four servers.
My golden rule with time in a Windows/AD environment is to not mess with the way things are supposed to work. Because so much is dependent on the time service you can very easily get your fingers burned.
Having said that, if you really want to change things, you should have a look at this KB article for further guidance.
Just make a simple script with one string and config Windows task manager to run it as often as you need.
Create text document;
Write script line:
net time
- update time command;Save file;
Change extension from .txt to .cmd;
Run task manager - add new task - explorer for your script - change additional parametrs (How often);
Done.
P.S. By
net time
command your can also set NTP-servers from where you want to update (By default system one is used ). More info bynet time ?
in command line.