PDA

View Full Version : Controller clock


mutsalam
Jan 4, 2007, 11:38 PM
When I try to access a network workstation this the message I get "the server's clock is not synchronised with the primary domain controller's clock. Please help to fix the problem.

Morrowrj
Jan 7, 2007, 06:47 AM
You didn't specify what OS you were using but it shouldn't matter. You need to use the Net Time command to synch the systems together. You can only have several minutes difference between the two times. Here are the usable commands:

Net time [{\\ComputerName | /domain[DomainName] | /rtsdomain[DomainName]}] [/set]

Net time [\\ComputerName] [/querysntp] [/setsntp[:NTPServerList]]


Parameters
\\ComputerName : Specifies the name of a server you want to check or with which you want to synchronize.

/domain[DomainName] : Specifies the domain with which to synchronize clocks.

/rtsdomain[DomainName] : Specifies the domain of the Reliable Time Server with which to synchronize clocks.

/set : Synchronizes the computer's clock with the time on the specified computer or domain.

/querysntp : Displays the name of the Network Time Protocol (NTP) server currently configured for the local computer or the one specified in ComputerName.

/setsntp[:NTPServerList] : Specifies a list of NTP time servers to be used by the local computer. The list can contain IP addresses or DNS names, separated by spaces. If you use multiple time servers, you must enclose the list in quotation marks.

Net help command : Displays help for the specified net command.

Therefore you need to know the name of either a time server, or another machine that you can synch to.

If you have trouble, remember the NEt help command

Good luck