on 2/1/2008 1:29 PM John R Pierce spake the following:
Scott Silva wrote:
on 2/1/2008 12:03 PM Dennis McLeod spake the following:
XP command line:

net time \\servername  returns what?

Perhaps the response will give a clue.


To set it:

net time \\servername /set /yes
Net time is only used to set time from a domain controller, not an ntp server.
They use two completely different protocols.


however,

   NET TIME /SETSNTP:ip-of-ntp-server

WILL set the windows 'internet time' server IP.

   NET TIME /QUERYSNTP

will show the current 'internet time' server(s).

note that the default Windows NTP client is really braindead, it just 'sets' the system clock once a day, its not a proper NTP implementation. for most users, this is fine, but realize oddities can happen like the clock being set back a few seconds such that a given time happens twice.
I stand partially corrected, as the originally posted command line of
 "net time \\servername /set /yes" would not query a ntp server.

--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
[email protected]
http://lists.centos.org/mailman/listinfo/centos

Reply via email to