lr oxå kan man använda sig av "net time" kommandot... =) tex
net time /setsntp:ntp.lth.se
där i det här fallet är ntp.lth.se som är servern man syncar emot. http://www.netnod.se/ har annars massa timeservers.
Sen startar du Windows time-tjänsten... tror att det fungerar så iaf, kör så på min maskin hemma..
jag tror att klienterna tar tiden från domän-kontrollanterna och dc'n i sin tur får du synka mot en time-server, kolla om du kommer åt någon av netnod-servrarna.
Primary options:
\-tz print the local time zone info and exit.
\-s \[\<computer\>\] force the given computer (or the local computer if
none is given) to resynchronize, then exit.
\-adj set the computer's system clock frequency to the last
frequency determined during synchronization, then exit.
\-adjoff set the computer's system clock frequency the system
default, then exit
\-source choose a synchronization source, then exit. Note that a
source is chosen before each synchronization, so this is
useful only in showing that a source could be found.
Remember to use -v to see the output.
\-once do only one synchronization, then exit.
Otherwise, run continuously as a client, synchronizing the local
clock until ctrl-c is pressed.
The program will also run as a server any time the service
would (when it is on a DC, or when the registry flag is set).
The following options can be used in conjunction with the above:
\-test prevent the time on the local system from actually
being modified.
\-v print out a verbose description of what the program is
doing. This is usually needed since otherwise the
program produces no output. The exceptions are -s and -tz.
\-p \<port\> set the server port.
\-period \<freq\> set the sync period just as in the registry. That is:
0 == once a day
65535 == once every 2 days
65534 == once every 3 days
65533 == once every week (7 days)
65532 == once every 45 min until we get 3 good syncs, then
once every 8 hrs (3/day)
65531 == once every 45 min until we get 1 good sync, then
once every day
Otherwise, \<freq\> times per day.
C:\>net time /setsntp:ntp1.internet5.net
The command completed successfully.
Men klockan ändras inte. :(
när du kör så där så lägger du bara till den servern, sen när du startar windows time-servicen så ställs klockan om, om den inte reda går rätt dvs... ;)
du kan även köra: