-
Windows 7 Time Server Setup카테고리 없음 2021. 6. 10. 20:35
The protocol is usually described in terms of a client-server model, but can as easily be used in peer-to-peer relationships where both peers consider the other to be a potential time source. According to Microsoft, 'the Windows Time service is not an exact implementation of the Network Time Protocol (NTP).' It works well enough as a time server for other Windows machines, but it should not be used as a time server for Linux clients with an expectation that time will be kept in sync precisely.
Active6 years, 8 months agoTrying to get Windows 7 box to act as an NTP Time Server for linux clients
Setting up a Windows PC as a NTP server Having a NTP server on a local network is the most reliable way to allow IQeye cameras to get the correct wall time. In smaller networks without dedicated timeservers a Windows machine can be configured as a NTP server. Now the Windows Server 2016 is an NTP client of pool.ntp.org and its time/clock is synced with the NTP pool servers (The server is at the same time the NTP server for other domain client systems). If your Windows Server 2016 machine is a VM inside Hyper-V, you have to disable time sync. Keeping your System Time accurate is very important. Learn how to change the Time Server in Windows 10 & how to add new additional Time Servers of your choice. Windows Time Service Tools. The following tools are associated with the Windows Time service. W32tm.exe: Windows Time. This tool is installed as part of Windows XP, Windows Vista, Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, and Windows Server 2008 R2 default installations. Another common need is to create a standalone NTP server that can provide time synchronization for unjoined Windows computers as well as other operating systems like Linux and Mac OSX. Configuring Windows as a Standalone NTP Server. Windows implements the W32Time service as both an NTP client and server. The service is off by default.
From here:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeConfig In the right pane, right-click AnnounceFlags, and then click Modify. In the Edit DWORD Value dialog box, under Value data, type 5, and then click OK. Enable NTPServer. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeTimeProvidersNtpServer In the right pane, right-click Enabled, and then click Modify. In the Edit DWORD Value dialog box, type 1 under Value data, and then click OK. HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW32TimeTimeProvidersVMICTimeProvider In the right pane, right-click Enabled, and then click Modify In the Edit DWORD Value dialog box, type 0 under Value data, and then click OK Exit Registry Editor. At the command prompt, type the following command to restart the Windows Time service, and then press ENTER: net stop w32time && net start w32time
Turned off firewall on Win7 box.
EDIT 2 - This is working
Using Meinberg NTPD
EDIT
Just after I posted I noticed the service had stopped... still the time doesn't sync on the linux box
however looking at the traffic on Microsoft Network Monitor I see that port 123 is unreachable.
Maybe I should try using NetTime? http://www.timesynctool.com/
Dave MateerDave MateerDave MateerWindows 7 Time Server Setup Software
2 Answers
According to Microsoft, 'the Windows Time service is not an exact implementation of the Network Time Protocol (NTP).' It works well enough as a time server for other Windows machines, but it should not be used as a time server for Linux clients with an expectation that time will be kept in sync precisely. The deficiencies of W32Time are laid out in Microsoft's KB939322 article:
We do not guarantee and we do not support the accuracy of the W32Time service between nodes on a network. The W32Time service is not a full-featured NTP solution that meets time-sensitive application needs. The W32Time service is primarily designed to do the following:
- Make the Kerberos version 5 authentication protocol work.
- Provide loose sync time for client computers.
Kerberos version 5 requires computers to be synchronized within 5 minutes -- a very low standard of accuracy! W32Time may get you within a few seconds most of the time, but Microsoft absolutely does not guarantee this level of performance.
The solution is to use a real NTP server, which is to say, use
SkyhawkSkyhawkntpd
. Normally, your time server would be one of your Linux machines, but Windows ports of ntpd are available if needed.13.5k3 gold badges45 silver badges91 bronze badgesWell Microsoft W32Time Service will sync your local clock with any of NTP server. First Make your Windows 7 machine to sync with times.microsoft.com or pool.ntp.org and then with enable NTP server from Computer Management -> Group Policy Editor.
All steps are as below :
- Open the Group Policy Editor
- Click Computer Configuration , click Administrative Templates , clickSystem , and then click Windows Time Service .
- Click Time Providers , double-click Enable Windows NTP Server in theright pane, click the Enabled button, and then click OK .
- From the Group Policy Object Editor menu, click File , and then clickExit.
Reference from :
Windows 7 Time Server Setup Free
JavadotnetJavadotnetNot the answer you're looking for? Browse other questions tagged windows-7ntp or ask your own question.