Resource Kit Timeserv.exe Utility Causes 100% CPU Utilization

Last reviewed: September 22, 1997
Article ID: Q172878
The information in this article applies to:
  • Microsoft Windows NT Workstation version 4.0
  • Microsoft Windows NT Server version 4.0

SYMPTOMS

Your Windows NT 4.0 computer that is running the Windows NT 4.0 Resource Kit utility Timeserv.exe may slow down in its performance, even stop responding at times. If you check Performance Monitor or Task Manager, you may notice the Timeserv utility displays the CPU Utilization at 100%.

CAUSE

One of the time servers on the Internet that the Timeserv utility contacts has sent no data in its return TCP packet.

RESOLUTION

To resolve this issue, you will need to edit the Timeserv.ini file by performing the following steps:

  1. Click the Start button, point to Settings, click Control Panel, and then double-click the Services icon.

  2. Click Time Service, and then click Stop.

  3. Using a text editor (such as Notepad.exe or Edit.com), open the Timeserv.ini file that exists in your %SystemRoot% folder.

  4. Below the section heading [TimeServ], add the following line:

    USNOServer=192.5.41.41

  5. Save the file and close the text editor.

  6. From a command prompt, type "timeserv -update" (without the quotes).

  7. Click the Start button, point to Settings, click Control Panel, and then double-click the Services icon.

  8. Click Time Service, and then click Restart.

MORE INFORMATION

This issue may occur when the Windows NT server computer running Time Service receives no data in the TCP packet from the Internet server when Internet type is selected in the Timeserv.ini file.

When Internet type is selected, your Windows NT server computer will attempt to connect to one of the two time servers on the Internet provided by the United States Naval Observatory (USNO). These time servers provide an accurate time that is used by Windows NT to synchronize its time. The time servers are:

   tick.usno.navy.mil   192.5.41.40
   tock.usno.navy.mil   192.5.41.41

Occasionally, the server at IP address 192.5.41.40 might not accept time requests sent to the TCP port daytime(13) and sends a TCP RST in return. This will prompt your Windows NT server to try the alternate server, 192.5.41.41, and continues with time synchronization. Alternately, the first server may accept a TCP connection request but does not send any data in the reply message packet. This causes CPU Utilization to go to 100% on the Windows NT Server.

NOTE: The above USNO servers also provide Network Time Protocol (NTP) service. NTP uses UDP port 123. In order to use NTP service, enable NTP in the Timeserv.ini file by adding the following line before updating Time Service:

   NTPServer=192.5.41.41

For more information regarding Time Service, please refer to the "Windows NT 4.0 Resource Kit."
Keywords          : ntnetserv ntreskit NTSrvWkst kbenv kbnetwork
Version           : WinNT:4.0
Platform          : winnt
Issue type        : kbbug
Solution Type     : kbworkaround


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.