Microsoft KB Archive/247321

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Article ID: 247321

Article Last Modified on 3/1/2007


  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Datacenter Server

This article was previously published under Q247321


The W32tm command is used to test and maintain time synchronization between workstations and servers in an enterprise. If you use the command on a Windows 2000 domain controller, you may receive an error message in the output of the command if you are using the -v switch for verbose output and\or the following error message may be logged in the System Event log:

Error Message at Command Prompt

(previous lines removed)
W32Time: Server: Binding to 1 NIC.
W32Time: bind failed: 0x80072740
W32Time: 0xC0000031 reported to System Log in Event Viewer
W32Time: BEGIN:FinishCleanup
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1384
W32Time: BEGIN:UnInitializeDC
W32Time: Ptrs 0 - 0
W32Time: END:Line 725
W32Time: Time service stopped.
W32Time: END:Line 383

Error Message in the Event Log

Event Type: Error
Event Source: w32time
Event Category: None
Event ID: 49
Date: xx/xx/2000
Time: 10:49:44 AM
User: N/A
Computer: machinename
An unexpected error occurred while trying to start the server.
The port may already be in use.
0000: 00 00 00 00 ....

The W32tm Command Generates the Following Error Message

RPC to server -v returned 0x6ba


This problem can occur on a domain controller (DC) when the default port (123) is already in use by the Time service that is running on the DC before the command is executed. The W32tm command tries to start the Time service before execution, but it does work if the service is already started.


To resolve this problem, note that the following command switches for W32tm execute successfully:

  • -tz
  • -adj
  • -adjoff
  • -s

To successfully use the W32tm command on a DC with the other options, use one or more of the following steps:

  • Stop the Time service to execute the command, and then restart the service.
  • Change the port by using the -p switch to execute the W32tm command on a DC.


Microsoft has confirmed this to be a problem in Microsoft Windows 2000.

Keywords: kbbug kberrmsg kbnetwork KB247321