• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1146
  • Last Modified:

how to set an external NTP time server in Windows 2003 Server x64

I seem to be having trouble using NET TIME in Windows Server 2003 x64 to synch with an external time server.
I user NET TIME /SETSNTP:tick.timeserver.org (or whatever server I've tried -10 so far), but it never synchs with the server(s) even after typing
NET TIME /SET /YES
or
NET TIME /SETSNTP:tick.timeserver.org /SET /YES
or any combination I've tried so far.

0
bd9000
Asked:
bd9000
  • 4
  • 3
1 Solution
 
oBdACommented:
If you're using an FQDN as time server name, add ",0x1" at the end:
net time /setsntp:tick.timeserver.org,0x1
Then you can't use "net time /set" to sync with the time server specified; "net time /set" will sync with the domain or a domain's server.
Either use
w32tm /resync
or restart the time service:
net stop w32time
net start w32time
Finally, make sure outgoing UDP for port 123 is allowed.
0
 
bd9000Author Commented:
w32tm /resync
I see.  
Is there some automated method for re-synching the server every x hours without having to schedule a batch command?
I can't believe MS hasn't GUIed this yet in the 20 years of server development!
0
 
bd9000Author Commented:
now I get a:
Sending resync command to local computer...
The computer did not resync because no time data was available.

I've tried a dozen or so time servers including the nist ones.
Port 123 UDP& TCP is open
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
oBdACommented:
Yes, there is an automated method: The time service itself does exactly this.
So just do nothing (except configuring the time server to use, and, for the sake of completeness, you need to do this only on the PDC emulator in a domain, and on stand-alone machines).
Basic Operation of the Windows Time Service
http://support.microsoft.com/?kbid=224799
0
 
oBdACommented:
Try these for debugging:

HOW TO: Turn On Debug Logging in the Windows Time Service
http://support.microsoft.com/?kbid=816043

A list of the Simple Network Time Protocol (SNTP) time servers that are available on the Internet
http://support.microsoft.com/?kbid=262680
0
 
bd9000Author Commented:
I'll have to debug this.  Is there another port besides 123 that the WTS needs open on a firewall?
0
 
oBdACommented:
No, UDP port 123 outbound should be enough.
Service overview and network port requirements for the Windows Server system
http://support.microsoft.com/?kbid=832017
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now