Re: FreeBSD time servers and Windows clients
It's much simpler than that. c:\>net time /setsntp:ntpserver.yourdomain.tld or, if you have more than one ntp server c:\>net time /setsntp:"ntp1.yourdomain.tld ntp2.yourdomain.tld" On 9/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > 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 forwardjust 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 fileuse 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 "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: FreeBSD time servers and Windows clients
Bill, The registry setting is to allow you to sync time to an internet source and also offer the ability of the Windows Time Service to sync other machines which aren't actively part of a domain relationship. If you want to do this then the registry fix is the way. If you want to simply sync with a non-domain time source then group policy is the best way on Windows Server operating systems. Regards, Terry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Moran Sent: Sunday, 2 September 2007 9:05 PM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD time servers and Windows clients <[EMAIL PROTECTED]> wrote: > > > 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 forwardjust 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 This sounds like a bad idea to me. I seem to remember there's a registry setting where you can specify explicit NTP servers for Windows. Any reason why he went this route? -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: FreeBSD time servers and Windows clients
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] 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 forwardjust 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 fileuse 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 "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD time servers and Windows clients
<[EMAIL PROTECTED]> wrote: > > > 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 forwardjust 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 This sounds like a bad idea to me. I seem to remember there's a registry setting where you can specify explicit NTP servers for Windows. Any reason why he went this route? -- Bill Moran http://www.potentialtech.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
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 forwardjust 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 fileuse 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 "[EMAIL PROTECTED]"