Select the product you need help with
How to configure an authoritative time server in Windows XPArticle ID: 314054 - View products that this article applies to. This article was previously published under Q314054 For a Microsoft Windows 2000 version of this article, see 216734
(http://support.microsoft.com/kb/216734/
)
.On This PageSummaryThis step-by-step article describes how to configure the Windows Time service in Windows XP to use an internal hardware clock and an external time source. This article also discusses reliable time source configuration, manually-specified synchronization, all available synchronization, and some of the key Windows Time service registry entries, such as MaxNegPhaseCorrection and MaxPosPhaseCorrection. INTRODUCTIONThis step-by-step article describes how to configure the Windows Time service in Windows XP to use an internal hardware clock and an external time source. Microsoft strongly recommends that you configure the authoritative Time Server to obtain the time from a hardware source. When you configure the authoritative Time Server to sync with an Internet time source, there is no authentication. Microsoft also recommends that you lower your time correction settings for your servers and for your stand-alone clients. These recommendations provide more accuracy and greater security to your domain. This article contains troubleshooting tips for the most common problems and discusses reliable time source configuration, manually-specified synchronization, all available synchronization, and the MaxNegPhaseCorrection and MaxPosPhaseCorrection registry entries. Configuring Windows Time service to use an internal hardware clockTo have us configure the Windows Time service to use an internal hardware clock for you, go to the "Fix it for me" section. If you prefer to fix this problem yourself, go to the "Let me fix it myself" section.Fix it for meTo fix this problem automatically, click the Fix it button or link. Click Run in the File Download dialog box, and then follow the steps in the "Fix it" wizard.Notes
Let me fix it myselfTo configure the Windows Time service to use an internal hardware clock yourself, you can change the announce flag on the authoritative time server. Changing the announce flag forces the computer to announce itself as a reliable time source and to use the built-in complementary metal oxide semiconductor (CMOS) clock. To configure the Windows Time service to use an internal hardware clock, follow these steps.Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
The time provider NtpClient cannot reach or is currently receiving invalid time data from 192.168.1.1 (ntp.m|0x0|192.168.1.1:123->192.168.1.1:123). No response has been received from Manual peer 192.168.1.1 after 8 attempts to contact it. This peer will be discarded as a time source and NtpClient will attempt to discover a new peer from which to synchronize. The time provider NtpClient is configured to acquire time from one or more time sources. However, none of the sources are currently accessible. No attempt to contact a source will be made for 960 minutes. NtpClient has no source of accurate time. When the time server runs by using an internal time source, the following event is logged in the Application log:Time Provider NtpClient: This machine is configured to use the domain hierarchy to determine its time source, but it is the PDC emulator for the domain at the root of the forest, so there is no machine above it in the domain hierarchy to use as a time source. We recommend that you either configure a reliable time service in the root domain, or that you manually configure the PDC to synchronize with an external time source. Otherwise, this computer will function as the authoritative time source in the domain hierarchy. If an external time source is not configured or used for this computer, you may choose to disable the NtpClient. This text notifies you that the time server is configured not to use an external time source and that the time server can be ignored.For more information about the w32tm command, run the following command from a command prompt: w32tm /? Configuring the Windows Time service to use an external time sourceTo have us help you configure an internal time server to synchronize with an external time source, go to the "Fix it for me" section. If you prefer to fix this problem yourself, go to the "Let me fix it myself" section.Fix it for meTo fix this problem automatically, click the Fix it button or link. Click Run in the File Downloaddialog box, and then follow the steps in the "Fix it" wizard.Notes
Let me fix it myselfTo configure the Windows Time service to synchronize with an external time source yourself, follow these steps:
w32tm /? Note SNTP uses User Datagram Protocol (UDP) port 123. If this port is not open to the Internet, you cannot synchronize your server to Internet SNTP servers. More informationReliable time source configurationA computer that is configured to be a reliable time source is identified as the root of the time service. The root of the time service is the authoritative server for the domain. Typically, the authoritative server is configured to retrieve time from an external NTP server or from a hardware device. A time server can be configured as a reliable time source to optimize how time is transferred throughout the domain hierarchy. If a domain controller is configured to be a reliable time source, Net Logon service announces that domain controller as a reliable time source when it logs on to the network. When other domain controllers look for a time source to synchronize with, they choose a reliable source first if one is available.Manually-specified synchronizationWith manually-specified synchronization, you can designate a single peer or a list of peers from which a computer obtains the time. If the computer is not a member of a domain, that computer must be manually configured to synchronize with a specified time source. By default, a computer that is a member of a domain is configured to synchronize from the domain hierarchy. Manually-specified synchronization is most useful for the forest root of the domain or for computers that are not joined to a domain. Manually specifying an external NTP server to synchronize with the authoritative computer for your domain provides reliable time. However, configuring the authoritative computer for your domain to synchronize with a hardware clock is actually a better solution to provide high accuracy and improved security to your domain.Without a hardware time source, W32time is configured as an NTP type. You must reconfigure the MaxPosPhaseCorrection and the MaxNegPhaseCorrection registry entries. The recommended value is 15 minutes or even less, depending on the time source, the network condition, and the security requirement. This is also true for any reliable time source that is configured as the forest root time source in the time sync subnet. More information about these registry entries can be found in the "Windows Time service registry entries" section later in this article. Note Manually specified time sources are not authenticated unless a specific time provider is written for them, and they are therefore vulnerable to attacks. Also, if a computer synchronizes with a manually-specified source instead of its authenticating domain controller, the two computers might be out of synchronization, and Kerberos authentication would therefore fail. Other actions that require network authentication, such as printing or file sharing, could also fail. If only the forest root is configured to synchronize with an external source, all other computers within the forest remain synchronized with each other, making replay attacks difficult. All available synchronization mechanismsThe all available synchronization mechanism option is the most valuable synchronization method for users who are on a network. This method enables synchronization with the domain hierarchy and may also provide an alternative time source if the domain hierarchy becomes unavailable, depending on the configuration. If the client cannot synchronize time with the domain hierarchy, the time source automatically falls back to the time source that is specified by the NtpServer setting. This method of synchronization is most likely to provide accurate time to clients.Windows Time service registry entriesThe following registry entries are located underHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\: Collapse this table
Collapse this table
Collapse this table
Collapse this table
Collapse this table
References
For more information about the Windows Time service, click the following article numbers to view the articles in the Microsoft Knowledge Base:
884776
(http://support.microsoft.com/kb/884776/
)
Configuring the Windows Time service against a large time offset
816042
(http://support.microsoft.com/kb/816042/
)
How to configure an authoritative time server in Windows Server 2003
216734
(http://support.microsoft.com/kb/216734/
)
How to configure an authoritative time server in Windows 2000
For more information about the Windows Time service on a Windows Server 2003-based forest, visit the following Microsoft Web site: http://technet.microsoft.com/en-us/library/cc773013.aspx
(http://technet.microsoft.com/en-us/library/cc773013.aspx)
PropertiesArticle ID: 314054 - Last Review: May 22, 2013 - Revision: 10.0
| Article Translations
|


Back to the top








