Help and Support
 

powered byLive Search

Configuring the Time Service to Log When the Time Is Changed

Article ID:307937
Last Review:October 31, 2006
Revision:2.1
This article was previously published under Q307937
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 (http://support.microsoft.com/kb/256986/EN-US/) Description of the Microsoft Windows Registry

SUMMARY

This article describes how to force the W32time service to log an event in the event log when the time has been adjusted.

MORE INFORMATION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To enable logging for W32time, use Registry Editor to add the following registry values:
Key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W32Time\Parameters
Value name: Log
Data type: REG_DWORD
Value: 0x00000064 (Hex)

Key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W32Time\Parameters
Value name: WriteLog
Data type: REG_SZ
Value: True
After you make these changes, you must stop and restart the W32time service.

When the time is adjusted, event ID 61 is logged in the System log. The text for this event is similar to:
The Time service synced time from time source (SOURCE)
This is followed by event ID 0:
Time set (offset < .5) second
If an error with synchronization occurs, event ID 11 is logged:
The NTP server didn't respond

APPLIES TO
Microsoft Windows 2000 Server

Back to the top

Keywords: 
kbenv kbhowto kbinfo KB307937

Article Translations

 

Related Support Centers

Other Support Options

  • Need More Help?
    Contact a Support professional by E-mail, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.