Date: Sun, 2 Sep 2007 21:12:44 +1000 From: "Terry Sposato" <terry@sucked-in.com> To: <takhoos@hotmail.com>, <freebsd-questions@freebsd.org> Subject: RE: FreeBSD time servers and Windows clients Message-ID: <001901c7ed52$35a363b0$a0ea2b10$@com> In-Reply-To: <BAY124-W57D6974B9A60310C17E88AAC80@phx.gbl> References: <80f4f2b20709012017m181fe312s14f7d4f60f9ba295@mail.gmail.com> <200709021221.54268.fbsd.questions@rachie.is-a-geek.net> <BAY124-W57D6974B9A60310C17E88AAC80@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Joe, It is quite simple to do on all variants of Windows really, you can use group policy mainly, XP, Vista etc. Have an option of specifying a time server by using the time / date settings when you are logged in as Administrator. The .bat file you posted also does the same thing via the cmd line. Regards, Terry -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of takhoos@hotmail.com Sent: Sunday, 2 September 2007 8:40 PM To: freebsd-questions@freebsd.org Subject: FreeBSD time servers and Windows clients Hi all, I have one FreeBSD NTP server which syncs all my server clocks. Getting the NTP server running was a piece of cake following the instructions in the online handbook. Recently I was asked to sync a bunch of windows machines (10 of them) to my NTP server. Now I'm not a windows person, so I asked one of the windows people to figure out his side since my side was up and running. He wrote this little .bat file to run on the windows boxes to be sync'd. Its pretty straight forward....just save it as a .bat file (time.bat) and run it from your XP box. Make sure to enter your NTP IP address where the x's are below. It seems to work fine for us. Your mileage may vary. There may be better/easier ways of doing this, but this is what works ok for us.... Here's the .bat file....use it at your own risk.... ---------------------------------------------------------------------------- ----------------------------------- @echo Updating Time Service.... @echo. @echo. @echo off w32tm /config /manualpeerlist:xxx.xxx.xxx.xxx,0x8 /syncfromflags:manual w32tm /config /update @echo Restarting Time Service @echo. @echo. net stop w32time net start w32time pause cls @echo Verify your Time Server's IP Address and SNTP Flag of "0x8" @echo. net time /querysntp @echo. @echo Exiting configuration pause ---------------------------------------------------------------------------- -------------------------------------- -- Joe _________________________________________________________________ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx_________________________________________ ______ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001901c7ed52$35a363b0$a0ea2b10$>