<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 

具体内容对号入座,很详细

 

 

 

 

I have Windows 2003 server (SP1) standard edition running on my domain controller. At the moment, all the domain clients synchronize their local times with this PDC with no problems. The time on the domain controller, however, is not accurate. I am trying to get it to synchronize with an external time server: time.nist.gov.

I started off following the instructions in this article:
http://support.microsoft.com/kb/816042
They don't work.

When you run the command: w32tm /resync, you receive the error: "The computer did not resync because no time
data<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /> was available." A warning is also posted to the event log: "Time Provider NtpClient: This machine is configured to use the domain hierarchy to determine its time source, but it is the PDC emulator..."

Digging on the web, I found only more and more articles either repeating the steps from the Microsoft article or stating similar problems, with no solutions, to mine.

Firstly, let me declare the obvious: port 123 (SNTP) was forwarded to my domain controllers IP, both TCP and UDP, on my ADSL router. (NAT)

I tried my silver-bullet: unregister w32time and start again. I created the following batch script:

net stop w32time

w32tm /unregister
w32tm /register

w32tm /config /manualpeerlist:192.43.244.18 /syncfromflags:MANUAL /reliable:YES

net start w32time

w32tm /config /update

w32tm /resync /rediscover

The first line stops the NT service. You then unregister it and re-register it, recreating all the registry keys with default values, giving you a standard starting point. After that, I configure it, specifying an NTP
server's ip address as a peer (this IP is time.nist.gov) and that it should synch from the manual peer list. I also mark this server as a reliable time server. I then start the service again, tell it to update its configuration, just in case, and then resync.

You guessed it, same error in the command line ("no time data was available") and same warning in the system event log! Argh!

I have to ask the question: Does w32time actually work on windows 2003?

Has anyone got any insight into this problem? There must be a solution, I am sure that the vast majority of admins would like their network to have accurate time!

Thanks,
Stephen Martindale

 

 

如何在 Windows Server 中配置权威时间服务器http://support.microsoft.com/kb/816042
 

 
Problem Events - On the PDC Emulator

 

 

 

 

eventid

  

 

 

 

同步服务器

 

net time /?
net time /SETSNTP:time.windows.com
net time /SETSNTP:time.nist.gov
net time /QUERYSNTP

 

 

 

公司DC总是出现W32Time错误

 
 
 
 
 
 
忙活了好几天,终于没报错了,最后都给我去网络上同步,这个最好做个测试,我的同步time.nist.gov就是不行,最后同步的time.windows.com。用一台网内机器做下测试就好了。
具体的可以看
如何在 Windows Server 中配置权威时间服务器http://support.microsoft.com/kb/816042
第二个补丁,同步到网络
或者是 
net time /?
net time /SETSNTP:time.windows.com
net time /QUERYSNTP

具体问题具体分析了!

 

 

 

总之呢,推荐方法为:

 

net stop w32time
 
w32tm /unregister
w32tm /register
 
w32tm /config /manualpeerlist:192.43.244.18 /syncfromflags:MANUAL /reliable:YES
 
net start w32time
 
w32tm /config /update
 
w32tm /resync /rediscover

 

 

 
今天发现一个小问题,特sign到这边来
time.windows.com的地址是不断变化的,god!
 
We have this problem now and again. Try running this script, it will resync your time to the PDCE: w32tm /resync /rediscover
 
执行:cmd下执行w32tm /resync /rediscover命令,问题解决