Windows Time Service

It was brought to my attention yesterday that most computers in our office's clocks are out of sync.  Even our domain controller was 2 minutes off.

After some internet research, from the DC, I ran:
W32tm /config / /syncfromflags:manual
Net stop w32time
Net start w32time

After I did this, the DC time was perfect, however I didn't see any changes across the network, unless they specifically ran the command
net time \\<our domain controller FQDN> /set /y

I've been reading that these changes should happen automatically.
I even set up a group policy for all the desktops and servers at our company, and ran:
gpupdate /force

No change.

What gives?  Am I doing something wrong?
Who is Participating?
Software_onbekendConnect With a Mentor Commented:
When your users logon to your domain you can run an batch file .
When you put the foolowing data into the batch file

net time \\<our domain controller FQDN> /set /yes

Then the office computer sync everytime with your DC when they login...
Swapnil PrajapatiSr. System AdministratorCommented:
have you checked your Domain server's Name in time server at below Registry Key

A computer can be configured to be a domain time source server by adding the TIMESOURCE value (Reg_DWord) under the following registry key and setting the value to 1:
What are the service settings in the registry of the client also?

Registry path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters

This entry Indicates which peers to accept synchronization from:

- NoSync. The time service does not synchronize with other sources.
- NTP. The time service synchronizes from the servers specified in the NtpServer. registry entry.
- NT5DS. The time service synchronizes from the domain hierarchy.
- AllSync. The time service uses all the available synchronization mechanisms.

The default value on domain members is NT5DS. The default value on stand-alone clients and servers is NTP.
Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

Mike KlineCommented:
What you want to do is set the PDC Emulator to sync with a reliable time source and then let the windows time hiearchy do the rest.  Two really goog blogs
from Matt (tigetMatt on this site)
Sander's time entry
jamorlandoAuthor Commented:
Yeah that actually was another question I was going to ask.
When I run the command:
net time \\<our domain controller FQDN> /set /yes

Does that just sync it that one time, or does it keep it always in sync?
jamorlandoAuthor Commented:
I've tried all your suggestions, and they're not syncing.  I am going to delete the group policy I created and just use @Software_onbekend's method of adding it to the login script.
As fat as I know is this 1 time..
The scrip run only when the user logs on to the domain...
Normaly a user at least 1 times a day in.
This should be enough :)

If this isn't enough, perhaps you can install the batch files on your computer and use scheduled task to run the batch file as often as you wish...
But that is more like a work around solution...
jamorlandoAuthor Commented:
Yes, I don't like workarounds, but the more articles I read about how poorly Microsoft implemented this isn't giving me much confidence.  I think the logon script will do.

I just implemented and it works like a charm.  Just need to be careful NOT to have the script apply to logging into the domain controller.  Not sure what kind of havoc that could cause, syncing the time with itself.
I Don't know what will happen if you try to run the script on the Domain controller..
But normaly the normal user won't login on the domaincontroller itself..
Perhaps you can use GPO policies to exclude the server to run that script when there is a logon on a server...
jamorlandoAuthor Commented:
Thats ok ... I have 3 containers set up in AD.  One for desktops, one for servers and one for DCs.  I have the time sync group policy linked to both the desktops and servers container.

We have one other DC that isn't PDC master.  I set up a scheduled task on that machine to run every 15 minutes:
net time \\<our domain controller FQDN> /set /yes

I think we should be good.  Thanks!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.