Solved

Setting up PDC to sync with external time server

Posted on 2014-07-18
9
488 Views
Last Modified: 2014-07-22
I am trying to setup a Windows 2003 server as an authoritative time server that syncs with an external time source.
Additionally, we may be moving this to a Windows 2008 R2 server.

I am receiving an error "The computer did not resync because no time data was available"

I have ran the following commands (as administrator) on the PDC:
Stop Time service: C:>net stop w32time
Configure the external time sources: C:> w32tm /config /syncfromflags:manual /manualpeerlist:”0.pool.ntp.org, 1.pool.ntp.org, 2.pool.ntp.org”
Set as Reliable source: C:>w32tm /config /reliable:yes
Start time service: C:>net start w32time

Resync time: w32tm /resync

I believe that the resync command will force the PDC to syncronize with the external source.

Please help me get this setup properly.
0
Comment
Question by:jjwolven
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 35

Expert Comment

by:Seth Simmons
ID: 40205286
get rid of the quotes; separate server list with comma and no spaces

/manualpeerlist:0.pool.ntp.org,1.pool.ntp.org,2.pool.ntp.org

Open in new window

0
 

Author Comment

by:jjwolven
ID: 40205291
That did not work. I received the same error: no time data available.
0
 
LVL 5

Expert Comment

by:amac81
ID: 40205293
Here is the Syntax of that Command:  You need to also space the servers and not use commas.

{/config [/computer:ComputerName] [ [/update] [/manualpeerlist:ListOfComputerNames] ] [/syncfromflags:ListOfFlags]
]|/monitor|/ntte|/ntpte|/register|/resync [{:ComputerName] [/nowait]|[/rediscover}]|/tz|/unregister}

Looks like you should use:
w32tm /config /manualpeerlist:”0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org” /syncfromflags:manual

EDIT:  The quotes are necessary, as are the spaces.  The commas will not work.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:jjwolven
ID: 40205313
Still receiving "no time data was available" when I do a 'w32tm /resync' on the PDC

The first post has my entire process listed - did I miss anything in that process?
0
 
LVL 5

Expert Comment

by:amac81
ID: 40205318
Try this:

net stop w32tm
w32tm /config /manualpeerlist:”0.pool.ntp.org 1.pool.ntp.org 2.pool.ntp.org” /syncfromflags:manual /reliable:yes /update
net start w32tm
0
 
LVL 5

Expert Comment

by:amac81
ID: 40205326
Wait, you're on 2003.  Just edit it in the registry.

w32tm /dumpreg /subkey:parameters

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters

Also, are you sure your firewall is letting UDP port 123 outbound?
0
 

Author Comment

by:jjwolven
ID: 40205363
I checked registry time Parameters and it has the list in there.

Also, I added an explicit entry in the firewall to allow port 123.

Still the same error
0
 
LVL 40

Accepted Solution

by:
footech earned 500 total points
ID: 40205497
You might try using different flags to adjust how you're querying the servers.  http://support.microsoft.com/kb/875424
w32tm /config /manualpeerlist:"0.us.pool.ntp.org,0x8 1.us.pool.ntp.org,0x8 2.us.pool.ntp.org,0x8 3.us.pool.ntp.org,0x8" /syncfromflags:MANUAL /reliable:yes /update

Open in new window

0
 

Author Comment

by:jjwolven
ID: 40205708
It looks like this last command worked. Everything is sync'd and /resync'ing.
I will wait a day or two and make sure it all stays sync'd, then close.
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question