Re: Time service sync
I don't know if Microsoft has "officially" said that the net time command is
deprecated or not, but for all practical purposes, I suggest it not be used
any more.
The w32tm command is the preferred way of configuring the Windows Time
service.
From what I have found out:
net time /setsntp:ip_address
or
net time /setsntp:TimeServerDNSName (e.g. time.nrc.ca)
is equivalent to:
w32tm /config /syncfromflags:manual /manualpeerlist:ip_address /update
or
w32tm /config /syncfromflags:manual /manualpeerlist:TimeServerDNSName
This tells the Windows Time service to synchronize the computer's time with
a particular NTP server.
net time /setsntp:
is equivalent to:
w32tm /config /syncfromflags:domhier /update
This tells the Windows Time service to synchronize time using the Domain
time synchronization hierarchy. For domain members (clients) this means
synchronize with a domain controller. When a computer is joined to a
domain, this setting is made automatically and there is usually no reason to
change it.
There should be one domain controller in the forest that synchronizes time
with an external source. In a small forest, this is usually the domain
controller of the root domain that has the PDC FSMO role.
See:
http://technet.microsoft.com/en-us/library/cc776782.aspx
http://technet.microsoft.com/en-us/library/cc739801.aspx
http://technet.microsoft.com/en-us/library/cc786897.aspx
http://technet.microsoft.com/en-us/library/cc784800.aspx
http://technet.microsoft.com/en-us/library/cc738042.aspx
http://technet.microsoft.com/en-us/library/cc773263.aspx
http://technet.microsoft.com/en-us/library/cc773061.aspx
--
Bruce Sanderson
http://members.shaw.ca/bsanders
It is perfectly useless to know the right answer to the wrong question.
"NVVN" <me@we.com> wrote in message
news:MPG.232899af695b520a989687@msnews.microsoft.com...
> In article <ff16fb66a420d8cab801af2df9ac@msnews.microsoft.com>, Meinolf
> Weber <meiweb(nospam)@gmx.de> says...
>
> => w32tm /config /manualpeerlisteers /syncfromflags:manual /reliable:yes
> /update
>
> Where is difference if I use at PDC:
>
> net time /setsntp:ip_address_of_sntp_server
>
> Also, I've setup all my client computers with:
>
> net time /setsntp:""
>
> Without that, I've always get W32time sync errors.