How to configure NTP server on windows 2003 server.

  • Jagadeshan
  • Student
  • Student
  • Jagadeshan
  • Posts: 65
  • Loc: india

Post 3+ Months Ago

i want to know the how to configure NTP server or time server in windows 2003 server any one tell me how to install this.i got one microsoft KB article it explain change in registry editor related please help me. http://support.microsoft.com/kb/816042
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Posts: 6809
  • Loc: Martinsburg, WV

Post 3+ Months Ago

That is how you do it. Are you using an actual time clock or are you going to rely on internet time sources?
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Posts: 6809
  • Loc: Martinsburg, WV

Post 3+ Months Ago

I'll just fill you in on a simple way to do this.

First thing you need to do is configure the domain controller to sync with a reliable time source. If you have two or more domain controllers you need to find the one that is acting as the PDC. To sync it with a time source open up a command prompt and perform the following:

Stop the time service
Code: [ Select ]
net stop w32time <enter>


Then configure the time source
Code: [ Select ]
w32tm /config /manualpeerlist:XXX.XXX.XXX.XXX,0x8 /syncfromflags:MANUAL /reliable:yes /update <enter>


The X's can be the IP address of the time server or the domain name of a time server such as time-a.nist.gov.

Once the command above is done you need to start the W32Time service
Code: [ Select ]
net start w32time <enter>
w32tm /resync <enter>
  1. net start w32time <enter>
  2. w32tm /resync <enter>


The <enter> means to press the enter key.

Next you need to sync all of your client PC's to the domain controller. You can do the following from the command line.

Code: [ Select ]
net stop w32time <enter>
w32tm /config /manualpeerlist:peers /syncfromflags:DOMHIER /update <enter>
net start w32time <enter>
w32tm /resync </enter>
  1. net stop w32time <enter>
  2. w32tm /config /manualpeerlist:peers /syncfromflags:DOMHIER /update <enter>
  3. net start w32time <enter>
  4. w32tm /resync </enter>


You can remotely do these commands using psexec from SysInternals if you have a lot of client machines.
  • GreenGhost
  • Born
  • Born
  • GreenGhost
  • Posts: 3

Post 3+ Months Ago

Amazingly well detailed instructions.

I tried to use them for Win2k Server but didn't work.

So, would you know how to do this on Win2k S ?
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Posts: 6809
  • Loc: Martinsburg, WV

Post 3+ Months Ago

http://support.microsoft.com/kb/216734

You do realize that Windows 2000 is no longer supported.
  • GreenGhost
  • Born
  • Born
  • GreenGhost
  • Posts: 3

Post 3+ Months Ago

Yessir..

Yes I saw that page on the MS site. I was hoping there was a cli way to do it, though.

That's okay, registry edits work too.

Thanks for your help, Mr. Grinch :D
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Posts: 6809
  • Loc: Martinsburg, WV

Post 3+ Months Ago

If you want command line then here you go

http://www.spy-hill.com/~myers/help/win ... 2Time.html
  • Wdoner
  • Born
  • Born
  • Wdoner
  • Posts: 1

Post 3+ Months Ago

I want to use the internal clock on the server as my clock. I have changed the status to Manual, but it is not finding the internal time. I get a message that it could not resync becuase no time date was available after I restarted.
  • Silveringfox
  • Born
  • Born
  • Silveringfox
  • Posts: 3

Post 3+ Months Ago

How do I get my remaining servers to get the time from the PDC? I have set up the PDC with the information above, but unsure how then re-sync the remaining forest servers to use the PDC and the primary time source.

Sorry If I'm missing something here.

Thanks in advance.
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Posts: 6809
  • Loc: Martinsburg, WV

Post 3+ Months Ago

If I am not mistaken there are Group Policy Objects that you can push these settings out with to the rest of your servers. I'm trying to remember but I'm pretty sure a server that is joined to the domain automatically tries to sync with the PDC.
  • Silveringfox
  • Born
  • Born
  • Silveringfox
  • Posts: 3

Post 3+ Months Ago

The problem is that some of the servers have been set up differently over the years due to legacy and these now point to different NTP servers (I know not the best of practices), and not at the PDC.

So how do you then change these to point at the PDC for their time?
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Posts: 6809
  • Loc: Martinsburg, WV

Post 3+ Months Ago

What operating system?
  • Silveringfox
  • Born
  • Born
  • Silveringfox
  • Posts: 3

Post 3+ Months Ago

Sorry that would help.

Mainly server 2003 but will soon have 1 x server 2008.
  • grinch2171
  • Moderator
  • Genius
  • User avatar
  • Posts: 6809
  • Loc: Martinsburg, WV

Post 3+ Months Ago

The following command will work on 2003/2008/2012:
Code: [ Select ]
net stop w32time <enter>
w32tm /config /manualpeerlist:peers /syncfromflags:DOMHIER /update <enter>
net start w32time <enter>
w32tm /resync </enter>
  1. net stop w32time <enter>
  2. w32tm /config /manualpeerlist:peers /syncfromflags:DOMHIER /update <enter>
  3. net start w32time <enter>
  4. w32tm /resync </enter>


That should get your servers to sync with the PDC.

Post Information

  • Total Posts in this topic: 14 posts
  • Users browsing this forum: No registered users and 67 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.