Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Of Time & Date

Status
Not open for further replies.

progfox

Programmer
Jun 15, 2003
43
IN
Dear All

Well I am running through a serious problem becauze of the my Net Server. I am using windows2000 server and from last few days Its been seen that the date & time changes itself and create problem in the computers that are in the domain.

First I thought of the virus attack but it was not so. I throughly scanned the server. The problem comming again & again.

Can U pls help me out of the irritating problem by providing me the reason and I fu can pls provide me the solutions also.


Chandan
 
Check your date and time on your server. All other computers in the Domain synchronize their date and time settings with the server. The same thing happened to me, and it turned out that the date and time on my DC was wrong, and all my computers were in sync with it.
 
The time problem may be due to a failing battery. To determine if the time loss is a result of a weak computer battery:
Click Start, point to Programs, and then click MS-DOS Prompt.
At the command prompt, type time, and then press ENTER.
Compare this time with the time that is reported by the clock on the taskbar.
Type exit, and then press ENTER.

If the computer's time and the time on the clock are different, the computer's battery may be too weak to keep accurate time, and it should be replaced.

There can be ACPI issues, antivirus software issues and screensaver issues leading to the clock failing to keep accurate time:
You should be using an external time resource to set the PDC.
Administrators can configure the Time service on the PDC operations master at the root of the forest to recognize an external Simple Network Time Protocol (SNTP) time server as authoritative by using the following net time command, where server_list is the server list:
net time /setsntp:server_list

The Microsoft documentation about the Net Time /setsntp command says that you can specify a list of servers in the command. And you can, but with a trick: Enclose the list in quotation marks, and separate server names with a space. For example, to tell your server to look for the time first at ntp2.usno.navy.mil, and if there is a failure to look seond at tock.usno.navy.mil:

net time /setsntp:"ntp2.usno.navy.mil,tock.usno.navy.mil"

There are several SNTP time servers run by the U.S. Naval Observatory that are satisfactory for this function, for example:

. ntp2.usno.navy.mil at 192.5.41.209
. tock.usno.navy.mil at 192.5.41.41

SNTP defaults to using UDP port 123. If this port is not open to the Internet, you cannot synchronize your server to Internet SNTP servers.

After you set the SNTP time server as authoritative, Microsoft suggests that you run either of the following commands on a computer other than the domain controller to reset the local computer's time against the authoritative time server:

net time /your domain name /set

-or-

Type the following commands, pressing ENTER after each command:
net stop w32time
w32tm –once
net start w32time

In my experience, only the second method works reliably.
 
typo:

net time /setsntp:"ntp2.usno.navy.mil,tock.usno.navy.mil"

above should read:

net time /setsntp:"ntp2.usno.navy.mil tock.usno.navy.mil"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top