<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Support Services Blog &#187; NTP Windows time services</title>
	<atom:link href="http://www.offsitenoc.com/blogs/category/ntp-windows-time-services/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.offsitenoc.com/blogs</link>
	<description>One Click Remote Server Support</description>
	<lastBuildDate>Fri, 16 Jul 2010 17:54:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>External Ntp server on windows dc</title>
		<link>http://www.offsitenoc.com/blogs/external-ntp-server-on-windows-dc/</link>
		<comments>http://www.offsitenoc.com/blogs/external-ntp-server-on-windows-dc/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 19:32:19 +0000</pubDate>
		<dc:creator>dyadav15</dc:creator>
				<category><![CDATA[NTP Windows time services]]></category>

		<guid isPermaLink="false">http://go4techsupport.wordpress.com/?p=26</guid>
		<description><![CDATA[When you run the command: w32tm /resync, you receive the error: &#8220;The computer did not resync because no time data was available.&#8221; A warning is also posted to the event log: &#8220;Time Provider NtpClient: This machine is configured to use the domain hierarchy to determine its time source, but it is the PDC emulator&#8230;&#8221; Digging [...]]]></description>
			<content:encoded><![CDATA[<p>When you run the command: w32tm /resync, you receive the error: &#8220;The computer did not resync because no time data was available.&#8221; A warning is also posted to the event log: &#8220;Time Provider NtpClient: This machine is configured to use the domain hierarchy to determine its time source, but it is the PDC emulator&#8230;&#8221;</p>
<p>Digging on the web, I found only more and more articles either repeating the steps from the Microsoft article or stating similar problems, with no solutions, to mine.</p>
<p>Firstly, let me declare the obvious: port 123 (SNTP) was forwarded to my domain controllers IP, both TCP and UDP, on my ADSL router. (NAT)</p>
<p>I tried my silver-bullet: unregister w32time and start again. I created the following batch script:</p>
<p>net stop w32time</p>
<p>w32tm /unregister<br />
w32tm /register</p>
<p>w32tm /config /manualpeerlist:192.43.244.18 /syncfromflags:MANUAL /reliable:YES</p>
<p>net start w32time</p>
<p>w32tm /config /update</p>
<p>w32tm /resync /rediscover</p>
<p>The first line stops the NT service. You then unregister it and re-register it, recreating all the registry keys with default values, giving you a standard starting point. After that, I configure it, specifying an NTP server&#8217;s ip address as a peer (this IP is time.nist.gov) and that it should synch from the manual peer list. I also mark this server as a reliable time server. I then start the service again, tell it to update its configuration, just in case, and then resync.</p>
<p> </p>
<p>Extra Steps :-</p>
<p> </p>
<p>You have to be very sure you followed the instructions for using an external time source correctly. I&#8217;ve used these instructions on many a 2K3 server without issue, so to recap:</p>
<p>1. Change Windows to use the NTP protocol for time synchronization:<br />
Key: HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\Type<br />
Value: Type<br />
Data: NTP</p>
<p>2. Configure the AnnounceFlags value:<br />
Key: HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags<br />
Value: AnnounceFlags<br />
Data: 5</p>
<p>3. Enable the NTP server value:<br />
Key: HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer<br />
Value: Enabled<br />
Data: 1</p>
<p>4. Specify the NTP server to use:<br />
Key: HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Parameters\NtpServer<br />
Value: NtpServer<br />
Data: time.nist.gov,0&#215;1</p>
<p>5. Select the NTP polling interval:<br />
Key: HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient\SpecialPollInterval<br />
Value: SpecialPollInterval<br />
Data: 900</p>
<p>6. Configure the time correction settings:<br />
Key: HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config\MaxPosPhaseCorrection<br />
Value: MaxPosPhaseCorrection<br />
Radix: Decimal<br />
Data: 3600</p>
<p>Key: HKLM\SYSTEM\CurrentControlSet\Services\W32Time\Config\MaxNegPhaseCorrection<br />
Value: MaxNegPhaseCorrection<br />
Radix: Decimal<br />
Data: 3600</p>
<p>After this, stopping and restarting the NTP service should get you working. If it does not, check the value configured in step 4 &#8211; this being misconfigured is the only time I&#8217;ve seen errors in the Windows Time service like the ones you&#8217;ve posted, so it&#8217;s possible this is incorrect in your registry. I would also suggest using a time server OTHER than time.nist.gov, as it is a VERY busy time server and you are likely to miss one or two time syncs to it before you get a good one. I would suggest using another time server, preferrably a stratum-2 NTP server closer to you. You can find these listed here:<br />
<a rel="nofollow" href="http://www.msfn.org/board/redirect.php?url=http%3A%2F%2Fwww.eecis.udel.edu%2F%7Emills%2Fntp%2Fclock2a.html" target="_blank">http://www.eecis.udel.edu/~mills/ntp/clock2a.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.offsitenoc.com/blogs/external-ntp-server-on-windows-dc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

