Remotely Synchronizing the Time Between Two Computers

Last reviewed: July 22, 1996
Article ID: Q151712
The information in this article applies to:

- Microsoft Windows NT Server versions 3.5 and 3.51

SUMMARY

From time to time, you may need to synchronize a computer's time with that of another computer while lacking physical access to one or both computers. Using the AT Command Scheduler, you can issue a NET TIME command to the remote computer(s).

The following example shows how to synchronize the time for ComputerA with ComputerB in a situation where the user only has physical access to ComputerC.

  1. From ComputerC, open a command prompt.

  2. Type the following command:

    AT \\ComputerA <HH:MM:SS> /INTERACTIVE "NET TIME \\ComputerB /SET /Y"

    This schedules the NET TIME command to run the next time ComputerA gets to <HH:MM:SS>.

You can check the time on ComputerA by typing NET TIME \\COMPUTERA. This will display the time on the remote machine (though it may be inaccurate, based on ComputerA s time zone).

For additional information, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q139453
   TITLE     : NET TIME Does Not Report Correct Remote Time in Windows NT

The above example requires that the user have administrative rights on all three computers. In addition, the Scheduler service must be running on ComputerA and ComputerC.


KBCategory:
KBSubcategory:
Additional reference words: schedule remote time set date command


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: July 22, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.