How to configure an authoritative time server in Windows XP (314054)
The information in this article applies to:
- Microsoft Windows XP Professional
This article was previously published under Q314054
For a Microsoft Windows 2000 version of this article, see 216734.
SUMMARYThis 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 the MaxNegPhaseCorrection and the MaxPosPhaseCorrection registry entries. MORE INFORMATIONA 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. back to the topWith manually-specified synchronization, you can designate a single peer or a list of peers that a computer obtains time from. 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 for providing high accuracy and 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 should be 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 may 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. back to the topThe "all available synchronization mechanisms" 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. back to the topThe following registry entries are located under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Registry Entry | MaxPosPhaseCorrection | Path | HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config | Notes | This entry specifies the largest positive time correction in seconds that the service makes. If the service determines that a change larger than this is required, it logs an event. Special case: 0xFFFFFFFF means always make time correction. The default value for domain members is 0xFFFFFFFF. The default value for stand-alone clients and servers is 54,000 (15 hours). |
Registry Entry | MaxNegPhaseCorrection | Path | HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config | Notes | This entry specifies the largest negative time correction in seconds that the service makes. If the service determines that a change larger than this is required, it logs an event instead. Special case: -1 means always make time correction, The default value for domain members is 0xFFFFFFFF. The default value for stand-alone clients and servers is 54,000 (15 hours). |
Registry Entry | MaxPollInterval | Path | HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config | Notes | This entry specifies the largest interval, in log seconds, allowed for the system polling interval. Note that while a system must poll according to the scheduled interval, a provider can refuse to produce samples when requested. The default value for domain members is 10. The default value for stand-alone clients and servers is 15. |
Registry Entry | SpecialPollInterval | Path | HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient | Notes | This entry specifies the special poll interval in seconds for manual peers. When the SpecialInterval 0x1 flag is enabled, W32Time uses this poll interval instead of a poll interval determine by the operating system. The default value on domain members is 3,600. The default value on stand-alone clients and servers is 604,800. |
Registry Entry | MaxAllowedPhaseOffset | Path | HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config | Notes | This entry specifies the maximum offset, in seconds, for which W32Time attempts to adjust the computer clock by using the clock rate. When the offset exceeds this rate, W32Time sets the computer clock directly. The default value for domain members is 300. The default value for stand-alone clients and servers is 1. | back to the topREFERENCES
For more information about the Windows Time service, click the following article numbers to view the articles in the Microsoft Knowledge Base:
884776
Configuring the Windows Time service against a large time offset
816042 How to configure an authoritative time server in Windows Server 2003
216734 How to configure an authoritative time server in Windows 2000
For additional information about the Windows Time service on a Windows Server 2003-based forest, visit the following Microsoft Web site:
Modification Type: | Major | Last Reviewed: | 4/12/2006 |
---|
Keywords: | kbSecurity kbhowto kbenv kbFSMO kbinfo KB314054 |
---|
|