- 论坛徽章:
- 0
|
Is this what you want?
Using NET TIME for all Workstations and Servers\r\nThe information in this article applies to:\r\nMicrosoft Windows 2000 Server\r\nMicrosoft Windows 2000 Advanced Server\r\nMicrosoft Windows 2000 Professional\r\nMicrosoft Windows 2000 Datacenter Server\r\nMicrosoft Windows NT Server 3.1\r\nMicrosoft Windows NT Server 3.5\r\nMicrosoft Windows NT Server 3.51\r\nMicrosoft Windows NT Server 4.0\r\nMicrosoft Windows NT Workstation 3.1\r\nMicrosoft Windows NT Workstation 3.5\r\nMicrosoft Windows NT Workstation 3.51\r\nMicrosoft Windows NT Workstation 4.0\r\nMicrosoft Windows for Workgroups\r\nMicrosoft Windows 95\r\n\r\nThis article was previously published under Q120944 \r\nFor a Microsoft Windows XP version of this article, see 314090. \r\n\r\nSUMMARY\r\nIn a network with different network client software, different workgroups, and different domains, maintaining a logon script that issues a NET TIME command can become complex. This article offers a simple solution to keep the time for all clients in the network synchronized. \r\nMORE INFORMATION\r\nThe solution to keeping all workstations\' time synchronized with a particular server can be solved by either running a logon script for each workstation or by having each workstation run a batch file on their own after logging on to the network. \r\n\r\nFor example, assume you have a server named TIMESRV that has a reliable system clock. An example batch file that would run either from the workstation, or get called from or be part of a logon script, would look like this: \r\nNET TIME \\\\TIMESRV /SET /YES \r\n\r\nUsing just a server name instead of the /DOMAIN or /WORKGROUP parameter avoids the complexity of maintaining different logon scripts or batch files for the different types of network client software. Please keep in mind that if all of your workstations are running the same type of network client software, you may choose instead to use the /DOMAIN or /WORKGROUP parameter. But, in a network with a variety of network client software, it might be easiest to use the \"\\\\computername\" (without quotation marks) parameter. \r\n\r\nNOTE: NET TIME is enabled by default on all Windows NT workstations and servers.\r\n\r\nFor additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base: \r\n216734 How to Configure an Authoritative Time Server in Windows 2000 \r\n\r\n307897 HOW TO: Synchronize the Time Using the Windows Time Service |
|