<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: Creating a Group Policy using Microsoft PowerShell to Configure the Authoritative Time Server	</title>
	<atom:link href="https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/</link>
	<description>The Accidental Citrix Admin - The site for those who find themselves supporting Citrix involuntarily or accidentally</description>
	<lastBuildDate>Mon, 06 Sep 2021 12:13:38 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>
		By: Karl Schantz		</title>
		<link>https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/comment-page-1/#comment-737</link>

		<dc:creator><![CDATA[Karl Schantz]]></dc:creator>
		<pubDate>Wed, 22 Oct 2014 13:19:21 +0000</pubDate>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=6061#comment-737</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/comment-page-1/#comment-730&quot;&gt;Prince&lt;/a&gt;.

This will be a very valuable advantage to me. I have to travel around and perform assessments on our subordinate units to ensure that they have their PDCe NTP settings correct. Until now, I have had to provide written documentation and over the shoulder direction, which usually results in someone fat fingering something while creating the GPO or WMI filter. Now I can just give them the script and have them run it. Also, using Jeremy&#039;s modification, I don&#039;t have to copy the WMI module over, because the required piece is in the script.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/comment-page-1/#comment-730">Prince</a>.</p>
<p>This will be a very valuable advantage to me. I have to travel around and perform assessments on our subordinate units to ensure that they have their PDCe NTP settings correct. Until now, I have had to provide written documentation and over the shoulder direction, which usually results in someone fat fingering something while creating the GPO or WMI filter. Now I can just give them the script and have them run it. Also, using Jeremy&#8217;s modification, I don&#8217;t have to copy the WMI module over, because the required piece is in the script.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Karl Schantz		</title>
		<link>https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/comment-page-1/#comment-736</link>

		<dc:creator><![CDATA[Karl Schantz]]></dc:creator>
		<pubDate>Wed, 22 Oct 2014 13:13:20 +0000</pubDate>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=6061#comment-736</guid>

					<description><![CDATA[Hi Carl,

Thank you very much for this script. Also, lots of thanks to Jeremy for his modifications. This script will allow me to automate a process that I have had to do manually for a couple of years now. I also modified the script in the following way:

If you are applying this script to a DC that is running on a virtual machine, you will want to change the SpecialPollInterval from the default to at most &quot;900&quot; (15 minutes) to minimize time skew. I added the following:

Set-GPPrefRegistryValue -Name $GPOName -Action Update -Context Computer `
-Key &#039;HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient&#039; `
-Type DWord -ValueName &#039;SpecialPollInterval&#039; -Value 900 &#124; out-null

Also, if you are using a link that is unreliable, you may want the DC to use the gateway router as a secondary NTP server while the link is down. To do this, I added the following:

# Set this to the NTP Servers the PDCe will sync with
$TimeServers = &quot;0.us.pool.ntp.org,0x9 1.us.pool.ntp.org,0xa 2.us.pool.ntp.org,0xa 3.us.pool.ntp.org,0xa&quot;

$KnownGW = Read-Host &quot; Do you know the IP address of the Gateway Router? Y/N&quot;

If($KnownGW -eq &quot;Y&quot;)
{
    $GWIP = Read-Host &#039;Please enter the Gateway IP Address&#039;
    $GW = $GWIP + &quot;,0xa&quot;
    $TimeServers = $TimeServers + $GW
    
}
Else
{
    Write-host &quot;`n The PDCe will be configured with the US Pool NTP servers only`n`n&quot;
}

Thought you might be interested in this.

Thanks again
-karl]]></description>
			<content:encoded><![CDATA[<p>Hi Carl,</p>
<p>Thank you very much for this script. Also, lots of thanks to Jeremy for his modifications. This script will allow me to automate a process that I have had to do manually for a couple of years now. I also modified the script in the following way:</p>
<p>If you are applying this script to a DC that is running on a virtual machine, you will want to change the SpecialPollInterval from the default to at most &#8220;900&#8221; (15 minutes) to minimize time skew. I added the following:</p>
<p>Set-GPPrefRegistryValue -Name $GPOName -Action Update -Context Computer `<br />
-Key &#8216;HKLM\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient&#8217; `<br />
-Type DWord -ValueName &#8216;SpecialPollInterval&#8217; -Value 900 | out-null</p>
<p>Also, if you are using a link that is unreliable, you may want the DC to use the gateway router as a secondary NTP server while the link is down. To do this, I added the following:</p>
<p># Set this to the NTP Servers the PDCe will sync with<br />
$TimeServers = &#8220;0.us.pool.ntp.org,0x9 1.us.pool.ntp.org,0xa 2.us.pool.ntp.org,0xa 3.us.pool.ntp.org,0xa&#8221;</p>
<p>$KnownGW = Read-Host &#8221; Do you know the IP address of the Gateway Router? Y/N&#8221;</p>
<p>If($KnownGW -eq &#8220;Y&#8221;)<br />
{<br />
    $GWIP = Read-Host &#8216;Please enter the Gateway IP Address&#8217;<br />
    $GW = $GWIP + &#8220;,0xa&#8221;<br />
    $TimeServers = $TimeServers + $GW</p>
<p>}<br />
Else<br />
{<br />
    Write-host &#8220;`n The PDCe will be configured with the US Pool NTP servers only`n`n&#8221;<br />
}</p>
<p>Thought you might be interested in this.</p>
<p>Thanks again<br />
-karl</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Carl Webster		</title>
		<link>https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/comment-page-1/#comment-735</link>

		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Wed, 15 Jan 2014 13:30:21 +0000</pubDate>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=6061#comment-735</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/comment-page-1/#comment-734&quot;&gt;Jeremy Saunders&lt;/a&gt;.

I do not mind at all.  

Webster]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/comment-page-1/#comment-734">Jeremy Saunders</a>.</p>
<p>I do not mind at all.  </p>
<p>Webster</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeremy Saunders		</title>
		<link>https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/comment-page-1/#comment-734</link>

		<dc:creator><![CDATA[Jeremy Saunders]]></dc:creator>
		<pubDate>Tue, 14 Jan 2014 14:53:45 +0000</pubDate>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=6061#comment-734</guid>

					<description><![CDATA[Hi Carl,

I hope you don&#039;t mind but I&#039;ve enhanced your script to create both WMI Filters and GPOs and reposted it here: http://www.jhouseconsulting.com/2014/01/10/script-to-create-group-policy-objects-and-wmi-filters-to-manage-the-time-server-hierarchy-1153

Cheers,
Jeremy]]></description>
			<content:encoded><![CDATA[<p>Hi Carl,</p>
<p>I hope you don&#8217;t mind but I&#8217;ve enhanced your script to create both WMI Filters and GPOs and reposted it here: <a href="http://www.jhouseconsulting.com/2014/01/10/script-to-create-group-policy-objects-and-wmi-filters-to-manage-the-time-server-hierarchy-1153" rel="nofollow ugc">http://www.jhouseconsulting.com/2014/01/10/script-to-create-group-policy-objects-and-wmi-filters-to-manage-the-time-server-hierarchy-1153</a></p>
<p>Cheers,<br />
Jeremy</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Carl Webster		</title>
		<link>https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/comment-page-1/#comment-733</link>

		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Thu, 22 Aug 2013 12:18:28 +0000</pubDate>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=6061#comment-733</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/comment-page-1/#comment-732&quot;&gt;Andrew&lt;/a&gt;.

Yes, I planned to write another article on that but the physical server that hosted my DC had processor issues and had to be rebuilt.  I lost the VMs on it and never got to write the 2nd article.  I will get that written, I hope, real soon.

Thanks

Webster]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/comment-page-1/#comment-732">Andrew</a>.</p>
<p>Yes, I planned to write another article on that but the physical server that hosted my DC had processor issues and had to be rebuilt.  I lost the VMs on it and never got to write the 2nd article.  I will get that written, I hope, real soon.</p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Andrew		</title>
		<link>https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/comment-page-1/#comment-732</link>

		<dc:creator><![CDATA[Andrew]]></dc:creator>
		<pubDate>Wed, 21 Aug 2013 17:55:38 +0000</pubDate>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=6061#comment-732</guid>

					<description><![CDATA[Carl,

Great post Carl.  I have been reading up on setting the authoritative NTP server manually vs. with a GPO for a new Windows Server 2012 domain.  I did have one question.  In a similar blog post by Jorge http://jorgequestforknowledge.wordpress.com/2010/09/26/configuring-and-managing-the-windows-time-service-part-2/ he uses two separate GPOs.  One for all domain controllers, and the second for the one with the FSMO roles.  If you only create one GPO as done above, do you risk having more than one authoritative time source?  I was looking at the scenario of where you may transfer the FSMO roles to a new server, but the old server is still around. Will the registry settings remain on the old PDCe server even after it is no longer considered the domain master?

Thanks,
Andrew]]></description>
			<content:encoded><![CDATA[<p>Carl,</p>
<p>Great post Carl.  I have been reading up on setting the authoritative NTP server manually vs. with a GPO for a new Windows Server 2012 domain.  I did have one question.  In a similar blog post by Jorge <a href="http://jorgequestforknowledge.wordpress.com/2010/09/26/configuring-and-managing-the-windows-time-service-part-2/" rel="nofollow ugc">http://jorgequestforknowledge.wordpress.com/2010/09/26/configuring-and-managing-the-windows-time-service-part-2/</a> he uses two separate GPOs.  One for all domain controllers, and the second for the one with the FSMO roles.  If you only create one GPO as done above, do you risk having more than one authoritative time source?  I was looking at the scenario of where you may transfer the FSMO roles to a new server, but the old server is still around. Will the registry settings remain on the old PDCe server even after it is no longer considered the domain master?</p>
<p>Thanks,<br />
Andrew</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Carl Webster		</title>
		<link>https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/comment-page-1/#comment-731</link>

		<dc:creator><![CDATA[Carl Webster]]></dc:creator>
		<pubDate>Thu, 08 Aug 2013 14:02:28 +0000</pubDate>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=6061#comment-731</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/comment-page-1/#comment-730&quot;&gt;Prince&lt;/a&gt;.

None actually except now you have the process automated and documented.

You could also use a reg file, or have someone manually set the registry entries, or a vbscript, or....
Plus by using the WMI Filter, if you move the PDCe role to another server, at the next group policy refresh cycle (or running gpupdate /force or rebooting the new PDCe) the new PDCe instantly becomes the authoritative time server.  Also, what happens if the PDCe is demoted and you were not aware that role was on the server?  Using this the DC that receives the PDCe role will automatically become the new authoritative time server and you didn&#039;t have to think about it.

The only reason I wrote this script (and went through the learning process) is because someone asked how to create the GPO using PoSH.  I like learning and challenges that require me to learn.

Thanks

Webster]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/comment-page-1/#comment-730">Prince</a>.</p>
<p>None actually except now you have the process automated and documented.</p>
<p>You could also use a reg file, or have someone manually set the registry entries, or a vbscript, or&#8230;.<br />
Plus by using the WMI Filter, if you move the PDCe role to another server, at the next group policy refresh cycle (or running gpupdate /force or rebooting the new PDCe) the new PDCe instantly becomes the authoritative time server.  Also, what happens if the PDCe is demoted and you were not aware that role was on the server?  Using this the DC that receives the PDCe role will automatically become the new authoritative time server and you didn&#8217;t have to think about it.</p>
<p>The only reason I wrote this script (and went through the learning process) is because someone asked how to create the GPO using PoSH.  I like learning and challenges that require me to learn.</p>
<p>Thanks</p>
<p>Webster</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Prince		</title>
		<link>https://www.carlwebster.com/creating-a-group-policy-using-microsoft-powershell-to-configure-the-authoritative-time-server/comment-page-1/#comment-730</link>

		<dc:creator><![CDATA[Prince]]></dc:creator>
		<pubDate>Thu, 08 Aug 2013 13:54:21 +0000</pubDate>
		<guid isPermaLink="false">https://www.carlwebster.com/?p=6061#comment-730</guid>

					<description><![CDATA[Masterful, Carl. Question though. What difference would it make if this was created Manually on the PDC? Besides the WMI filtering, is or are there any specific advantage to scripting the process?

Thanks,
Prince]]></description>
			<content:encoded><![CDATA[<p>Masterful, Carl. Question though. What difference would it make if this was created Manually on the PDC? Besides the WMI filtering, is or are there any specific advantage to scripting the process?</p>
<p>Thanks,<br />
Prince</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
