DCDiag reports “not advertising as time server”


Just a quick post.

Was onsite recently and had a DC that was not advertising is a time server. DCDiag confirmed it.

Checked announceflags and it was set to 10 in hex (0x00000010) instead of 10 in decimal (0x0000000A).

Changed registry value and use “w32tm /config /update” and all was well. Interestingly it appears to only read last value. So even he (0x0000001A) also works and advertises as time server. Presumably because it reads the last character “A” and thinks

A = 10 = (0x8) + (0x2)

and as per http://technet.microsoft.com/en-us/library/cc773263(WS.10).aspx#w2k3tr_times_tools_uhlp 

AnnounceFlags
Registry path

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config

Version

Windows XP, Windows Vista, Windows Server 2003, and Windows Server 2008

This entry controls whether this computer is marked as a reliable time server. A computer is not marked as reliable unless it is also marked as a time server.

  • 0x00 Not a time server
  • 0x01 Always time server
  • 0x02 Automatic time server
  • 0x04 Always reliable time server
  • 0x08 Automatic reliable time server

The default value for domain members is 10. The default value for stand-alone clients and servers is 10.


Comments (7)

  1. Win2008 standard with problem says:

    Never worked for me on additional domain controller with no FSMO roles.

    Checked original domain controller and AnnounceFlags set to 5. (See above for the settings)

    Set additional domain controller to decimal 5.

    w32tm /config /update

    Restarted time service and bingo.

    Hope this helps

  2. Tiberiu says:

    The above fix worked for me.

    Setting the AnnounceFlags to 5, running w32tm /config /update and then restarting Windows Time fixes the issue

  3. Loc says:

    It worked for me too … change AnnounceFlags to 5, running w32tm /config /update and then restarting Windows Time. Thanks

  4. Everaldo Oliveira da Silva says:

    Yes!!! Thanks brother, decimal 5 fixes!!

  5. 6 years old article and still applicable!! Decimal 5 works great!!

  6. Adrian says:

    Thanks a lot works for me too

  7. Matt says:

    Works great, thanks

Skip to main content