From owner-freebsd-questions@FreeBSD.ORG Sun Sep 2 11:12:44 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F28CC16A417 for ; Sun, 2 Sep 2007 11:12:44 +0000 (UTC) (envelope-from terry@sucked-in.com) Received: from mail.sucked-in.com (got.sucked-in.com [64.251.22.156]) by mx1.freebsd.org (Postfix) with ESMTP id C588A13C46B for ; Sun, 2 Sep 2007 11:12:44 +0000 (UTC) (envelope-from terry@sucked-in.com) Received: from localhost (got.sucked-in.com [64.251.22.156]) by mail.sucked-in.com (Postfix) with ESMTP id 753871CCB7; Sun, 2 Sep 2007 21:14:32 +1000 (EST) X-Virus-Scanned: amavisd-new at sucked-in.com Received: from mail.sucked-in.com ([64.251.22.156]) by localhost (mail.sucked-in.com [64.251.22.156]) (amavisd-new, port 10024) with ESMTP id 2yrxv2qeVMbu; Sun, 2 Sep 2007 21:14:32 +1000 (EST) Received: from TerryPC (220-253-148-94.VIC.netspace.net.au [220.253.148.94]) by mail.sucked-in.com (Postfix) with ESMTP id 1FB9B1CC30; Sun, 2 Sep 2007 21:14:30 +1000 (EST) From: "Terry Sposato" To: , References: <80f4f2b20709012017m181fe312s14f7d4f60f9ba295@mail.gmail.com> <200709021221.54268.fbsd.questions@rachie.is-a-geek.net> In-Reply-To: Date: Sun, 2 Sep 2007 21:12:44 +1000 Message-ID: <001901c7ed52$35a363b0$a0ea2b10$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcftT9EeycCON1LFS2OiN8O+onJu5wAAg0jw Content-language: en-au Cc: Subject: RE: FreeBSD time servers and Windows clients X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2007 11:12:45 -0000 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"