General discussion

Locked

W2K Server to use external time server

By KingOfTheNerds ·
I have a windows 2000 Server which is a primary domain controller for my network. Currently all pcs connected to the server get the time that the server has.
Unfortunately the server is not setup to sychronise to any external server.
Can someone please help me to setup my W2K Server to connect to an external time server so that its clock is never wrong.
I am in NSW Australia, so Sydney would be the correct time for me. If someone can help setup my W2K server to connect to a syndey time server i would award all points.

This conversation is currently closed to new comments.

18 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by BudTheGrey In reply to W2K Server to use externa ...

I googled "windows 2000 ntp client" and got a few interesting hits;

http://www.gudeads.com/english/main-windows-ntp.htm

http://nettime.sourceforge.net/

http://windows.about.com/od/tipsarchive/l/bltip553.htm

Hope this helps

Collapse -

by KingOfTheNerds In reply to

Poster rated this answer.

Collapse -

by CG IT In reply to W2K Server to use externa ...

theres a whole downloadable paper on window time service. http://www.microsoft.com/windows2000/techinfo/howitworks/security/wintimeserv.asp

the above link I found to be the best white paper on configuring windows time service.

heres a web site to get addresses os time servers
http://www.boulder.nist.gov/timefreq/service/its.htm

Configuring your server to obtain time from an external time source is pretty easy.

from the command line, you have to stop the service net stop w32time net time \\computername /domain/setsntp: <time server address>

then restart the time service net start w32time

Collapse -

by CG IT In reply to

note its a 3 step operation
you stop the time service net stop w32time
you configure an authoritative time server nte time \\computer name /setsntp:<time server address> [you can use either the time server name or its actual address]
you restart the time service net start w32time

failure or warning event logs will show up in the event viewer if a time service server is unavailable.

Collapse -

by KingOfTheNerds In reply to

Poster rated this answer.
How can i check to see if this is working? I know that the net time query command shows that the server has been set, but my time is not updating.

I change the time on my server and it doesn't change back. How do i make it synchronise with the time server.

Also How do i check the time servers time to see if my time is in sync?

So basically i have done exactly what you have said but it is not updating.

Collapse -

by BFilmFan In reply to W2K Server to use externa ...

Open a command box and run these commands:

net stop w32time

net start w32time

net time /querysntp
(This one is to make sure that there really is not external SNTP server set)

In the event that one wasn't set, let's set it now by using the command:

net time /setsntp: (nearest SNTP Time Server To Your location)

ACT ntp.can.connect.com.au
NSW ntp.syd.connect.com.au
Queensland ntp.bri.connect.com.au
South Australia ntp.ade.connect.com.au
Victoria ntp.mel.connect.com.au
Western Australia ntp.per.connect.com.au

So for Queensland the command would be:

net time /setsntp:ntp.bri.connect.com.au
net stop w32time
net start w32time

You should be good to go then.

Enjoy!

Collapse -

by KingOfTheNerds In reply to

How can i check to see if this is working? I know that the net time query command shows that the server has been set, but my time is not updating.

I change the time on my server and it doesn't change back. How do i make it synchronise with the time server.

Also How do i check the time servers time to see if my time is in sync?

So basically i have done exactly what you have said but it is not updating.

Collapse -

by KingOfTheNerds In reply to W2K Server to use externa ...

I will explain my setup this far:

Set time server up in DHCP Server options. Pointed it towards ntp.syd.connect.com.au

I also changed some registry settings under W32Time>Parameters
LocalNTP - 1
NTPServer - ntp.syd.connect.com.au
Period - SpecialSkew
MSSkewPerDay - 936.0000
ReliableTimeSource - 1
Type - NTP
Adj - 156248

Some of these i set, some were already there.

This is my setup. I have recieved the following errors in event log under system

Event ID - 14 - Attempt to set time which differs by more than 12 hours aborted

Event ID - 49 - An unexpected error occured while trying to start the server. The port may already be in use.

Please Help

Collapse -

by KingOfTheNerds In reply to W2K Server to use externa ...

Also i did the following command in dos to get an idea where the process is failing, but i don't have a clue what this means, any ideas:

C:\Documents and Settings\Administrator.SHEAHAN>w32tm -once -test -v
W32Time: BEGIN:InitAdjIncr
W32Time: Adj 156250 , Incr 156250 fAdjust 0
W32Time: END:Line 2503
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1407
W32Time: TimeMMInit()
W32Time: Kernel timer : using default maximum resolution
W32Time: MaximumTime = 156250
W32Time: CurrentTime = 9766
W32Time: Timer calibrated, looped 1 times
W32Time: BEGIN:InitTmCfg
W32Time: END:Line 807
W32Time: BEGIN:InitTmCli
W32Time: END:Line 2596
W32Time: BEGIN:InitTmData
W32Time: END:Line 2618
W32Time: AvoidTimeSyncOnWan 0
W32Time: ntpserver - ntp.syd.connect.com.au
W32Time: BEGIN:CMOSSynchSet
W32Time: Setting adjustment 156250 - Bool 0
W32Time: BEGIN:SetTSTimeRes
W32Time: END:Line 1295
W32Time: END:Line 864
W32Time: BEGIN:InitializeDC
W32Time: BEGIN:GetRole
W32Time: Role is 'PDC'
W32Time: END Line 672
W32Time: BEGIN:FetchParentDomainName
W32Time: NetLogonGetTimeServiceParentDomain() returned 54b with ptr 0
W32Time: END:Line 782
W32Time: END:Line 704
W32Time: Server: Binding to 1 NIC.
W32Time: bind failed: 0x80072740
W32Time: Logging event 0xC0000031. 15 min until this event is allowed again.
W32Time: 0xC0000031 reported to System Log in Event Viewer
W32Time: BEGIN:FinishCleanup
W32Time: BEGIN:TsUpTheThread
W32Time: END Line 1407
W32Time: BEGIN:UnInitializeDC
W32Time: Ptrs 0 - 0
W32Time: END:Line 727
W32Time: Time service stopped.
W32Time: END:Line 407

Collapse -

by KingOfTheNerds In reply to W2K Server to use externa ...

OK,

So what i have found out is when i was trying to synchonise using the dos commands it was not binding to my NIC. I found out this is because the port 123 is already in use by w32time.

So i typed in net stop w32time and tried the dos commands again and it syncronised to the correct time.

My question is this, why do i have to turn the W32time off for it to work, will it continue to sync even with w32time off and what effect will this have on the network?

Back to Windows Forum
18 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums