<?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>Arricc &#187; group policy</title>
	<atom:link href="http://www.arricc.net/tags/group-policy/feed" rel="self" type="application/rss+xml" />
	<link>http://www.arricc.net</link>
	<description>50% IT snippets that I couldn&#039;t readily find existing help on. 50% drivel.</description>
	<lastBuildDate>Wed, 02 Mar 2011 23:44:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>EU Browser choice debacle</title>
		<link>http://www.arricc.net/eu-browser-choice-debacle.php</link>
		<comments>http://www.arricc.net/eu-browser-choice-debacle.php#comments</comments>
		<pubDate>Sat, 13 Mar 2010 12:00:06 +0000</pubDate>
		<dc:creator>Fizzgig</dc:creator>
				<category><![CDATA[group policy]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[obscure]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.arricc.net/?p=72</guid>
		<description><![CDATA[Theres been quite a bit of chit chat about this update that Microsoft has now released. My personal opinion is Microsoft shouldn&#8217;t have been forced to release this. If you FORCE a choice for a web browser, you should also force a choice for every single application that comes with Windows. Additionally, I fail to [...]]]></description>
			<content:encoded><![CDATA[<p>Theres been quite a bit of chit chat about this update that Microsoft has now released.</p>
<p>My personal opinion is Microsoft shouldn&#8217;t have been forced to release this. If you FORCE a choice for a web browser, you should also force a choice for every single application that comes with Windows.</p>
<p>Additionally, I fail to see why people should be forced to pick from a number of free products. Perhaps a better option would be for Microsoft to allow third parties to produce branded versions of Windows and then users can make their initial choices at the point of purchase.</p>
<p>This, of course, assumes a level of knowledge of the end users so questions like &#8220;where have all my favourites gone?&#8221; don&#8217;t happen&#8230;</p>
<p>Anyway, this was supposed to be a vaguely technical post and not a rant.</p>
<p>So, as a systems administrator, how do you block this update?</p>
<p>If you are using an internal update server such as <a href="http://technet.microsoft.com/en-us/wsus/default.aspx">WSUS </a>or <a href="http://www.microsoft.com/Systemcenter/configurationmanager/">SCCM</a> (which I <strong>love</strong>), then you have the simple option of not approving the update for release.</p>
<p>Otherwise, Microsoft have released a KB article showing a simple registry key that can be set to prevent the Browser Choice screen running &#8211; <a href="http://support.microsoft.com/kb/2019411">KB2019411</a>.</p>
<p>So, as a sysadmin, how do you implement this?</p>
<p>Well, you can custom roll a Group Policy to set this as a preference on your client machines. I&#8217;ve written some GPOs before, but in this case I&#8217;ll simply direct you to <a href="http://www.compit.se/?p=187">this blog post by Christoffer Steding</a> where you can download his version.</p>
<p>However, in my opinion, a much more graceful group policy to set is a software restriction policy. This has been documented by <a href="http://angrytechnician.wordpress.com/2010/03/02/irony/">The Angry Technician</a>.</p>
<p class="buymebeer"><form action="https://www.paypal.com/cgi-bin/webscr" target="paypal" method="post"><input type="hidden" name="cmd" value="_xclick" /><input type="hidden" name="business" value="mark@arricc.net" /><input type="hidden" name="return" value="http://www.arricc.net/pp-thanks.php" /><input type="hidden" name="item_name" value="Buy Me a Beer for EU Browser choice debacle" /><input type="hidden" name="currency_code" value="GBP" /><input type="hidden" name="amount" value="5" /><input type="image" src="http://www.arricc.net/wp-content/plugins/buy-me-beer/icon_beer.gif" align="left" alt="" title="" hspace="3" /></form><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=mark@arricc.net&amp;currency_code=GBP&amp;amount=5&amp;return=http://www.arricc.net/pp-thanks.php&amp;item_name=Buy+Me+a+Beer+for+EU+Browser+choice+debacle" target="paypal">If you find this article useful, buy me a beer!</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.arricc.net/eu-browser-choice-debacle.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Troubleshooting 101</title>
		<link>http://www.arricc.net/troubleshooting-101.php</link>
		<comments>http://www.arricc.net/troubleshooting-101.php#comments</comments>
		<pubDate>Sun, 17 Jan 2010 23:18:01 +0000</pubDate>
		<dc:creator>Fizzgig</dc:creator>
				<category><![CDATA[group policy]]></category>
		<category><![CDATA[Office Communication Server]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Telephony]]></category>
		<category><![CDATA[OCS]]></category>
		<category><![CDATA[ocs mediation server]]></category>
		<category><![CDATA[pbx]]></category>
		<category><![CDATA[sql 2008]]></category>

		<guid isPermaLink="false">http://www.arricc.net/?p=64</guid>
		<description><![CDATA[I&#8217;ve recently started in a new role which, of course, has brought with it new challenges This weeks challenges related to SQL 2008 and Office Communications Server 2007 R2. My SQL 2008 issue related to a &#8220;feature&#8221; known as Parameter Sniffing. In simple terms, SQL Server generates a execution plan based on the parameters passed [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently started in a new role which, of course, has brought with it new challenges <img src='http://www.arricc.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This weeks challenges related to SQL 2008 and Office Communications Server 2007 R2.</p>
<p>My SQL 2008 issue related to a &#8220;feature&#8221; known as Parameter Sniffing. In simple terms, SQL Server generates a execution plan based on the parameters passed to a stored procedure the first time it&#8217;s executed. Of course, given that the parameters passed may or may not be typically representative any given execution the &#8220;optimization&#8221; may be way off. A good indicator this is an issue is if you execute that SQL code in Query Analyzer and the time taken is significantly shorter than the same query run through an &#8220;optimized&#8221; stored procedure.</p>
<p>There is a really good overview of this on <a href="http://www.sqlpointers.com/2006/11/parameter-sniffing-stored-procedures.html">sqlpointers.com</a>. The workaround is fairly simple if a little annoying.</p>
<p>My other big issue I lost a fair amount of time to was with OCS 2007 R2.</p>
<p>Packet sniffing (using <a href="http://www.wireshark.org">Wireshark</a> or <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=983b941d-06cb-4658-b7f6-3088333d062f&#038;displaylang=en">Microsoft Network Monitor</a>) between my server running the Mediation Server role and my IP PBX (Cisco CallManager, but thats irrelevant) showed that the SIP FROM address being used to establish an outbound call was username@domain.com and not using an e.164 number eg +1234567890@domain.com. This meant that the PBX was unable to establish an appropriate Caller ID to use when establishing the outbound call via the carrier.</p>
<p>After many hours of trailing top to bottom through all the config options for OCS, and seriously considering a fresh build of the core server, I found the issue was related to a setting being force in Group Policy from a previous OCS project.</p>
<p>This setting was forcing the OCS client to operate in the remote call control mode, which was overriding the setting on the OCS server that meant users were operating in Enterprise Voice mode. The setting in question is TelephonyMode and it was set to 2.</p>
<p>One nice little (undocumented!!) feature that came to light while troubleshooting this issue is the ability to get a summary of the operating OCS client configuration! Simply hold down the CTRL key and right click on the OCS icon in the system tray. Select the &#8220;Configuration settings&#8221; option and a nice little window will appear with a list of the settings in operation!</p>
<p>This helped me diagnose the issue as it showed the address my client was using for its Line setting was the setting it should have been using when I was previously using Remote Call Control of my Cisco handset and not my full e.164 number as I would have expected.</p>
<p>Always nice to finish a Friday on a positive note <img src='http://www.arricc.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p class="buymebeer"><form action="https://www.paypal.com/cgi-bin/webscr" target="paypal" method="post"><input type="hidden" name="cmd" value="_xclick" /><input type="hidden" name="business" value="mark@arricc.net" /><input type="hidden" name="return" value="http://www.arricc.net/pp-thanks.php" /><input type="hidden" name="item_name" value="Buy Me a Beer for Troubleshooting 101" /><input type="hidden" name="currency_code" value="GBP" /><input type="hidden" name="amount" value="5" /><input type="image" src="http://www.arricc.net/wp-content/plugins/buy-me-beer/icon_beer.gif" align="left" alt="" title="" hspace="3" /></form><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=mark@arricc.net&amp;currency_code=GBP&amp;amount=5&amp;return=http://www.arricc.net/pp-thanks.php&amp;item_name=Buy+Me+a+Beer+for+Troubleshooting+101" target="paypal">If you find this article useful, buy me a beer!</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.arricc.net/troubleshooting-101.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Group Policy to disable Autorun</title>
		<link>http://www.arricc.net/group-policy-to-disable-autorun.php</link>
		<comments>http://www.arricc.net/group-policy-to-disable-autorun.php#comments</comments>
		<pubDate>Wed, 21 Jan 2009 10:59:10 +0000</pubDate>
		<dc:creator>Fizzgig</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[group policy]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[autorun]]></category>

		<guid isPermaLink="false">http://www.arricc.net/group-policy-to-disable-autorun.php</guid>
		<description><![CDATA[Well, its been a while, but I thought I&#8217;d share this little snippet. Theres a big hoo-ha going round at the minute about a number of viruses that are exploiting autorun.inf to spread. You can read all the gorey details over at CERT &#8220;Microsoft Windows Does Not Disable AutoRun Properly&#8221; Essentially, the recommended fix is [...]]]></description>
			<content:encoded><![CDATA[<p>Well, its been a while, but I thought I&#8217;d share this little snippet.</p>
<p>Theres a big hoo-ha going round at the minute about a number of viruses that are exploiting autorun.inf to spread.</p>
<p>You can read all the gorey details over at CERT &#8220;<a href="http://www.us-cert.gov/cas/techalerts/TA09-020A.html">Microsoft Windows Does Not Disable AutoRun Properly</a>&#8221;</p>
<p>Essentially, the recommended fix is to set a registry key. I did read somewhere that this makes windows handle the file as a Win95 ini file but sadly I can&#8217;t find the blog/article where I read that anymore.</p>
<p>Approaching this as a sysadmin and wanting to undertake minimal effort to resolve this issue I&#8217;ve create a Group Policy adm file to solve apply it to all the machines in an Active Directory domain. I&#8217;ve copied the contents below and attached the file to this post.</p>
<p>To use it:</p>
<ol>
<li>Create a new group policy object in your AD</li>
<li>Edit it, right click on the Administrative Templates folder and remove all the default ones listed and add the one below.</li>
<li>Right click on the Administrative Templates folder and change the view filtering to not hide settings that can&#8217;t be fully managed</li>
<li>Group poicy editor will now display the setting to disable autorun which will set the appropriate registry key</li>
</ol>
<p>ADM files are just text. You can either download the one below or copy and paste this (watch for the line wrap on the last line!):<br />
<span id="more-35"></span><br />
<div class="codeblock"><code>; US-CERT Technical Cyber Security Alert TA09-020A -- Microsoft Windows Does Not Disable AutoRun Properly<br />; http://www.us-cert.gov/cas/techalerts/TA09-020A.html<br />;<br />;FIX:<br />;REGEDIT4<br />;&nbsp;  [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]<br />;&nbsp;  @=&quot;@SYS:DoesNotExist&quot;<br />;<br />;<br />CLASS MACHINE<br />	CATEGORY !!RegistryFixes<br />		POLICY !!AutoRunInfSYSDoesNotExist<br />	&nbsp; &nbsp; &nbsp; &nbsp; #if version &gt;= 4<br />	&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; SUPPORTED !!SUPPORTED_WindowsXPSP2<br />	&nbsp; &nbsp; &nbsp; &nbsp; #endif<br />	&nbsp; &nbsp; &nbsp; &nbsp; EXPLAIN !!AutoRunInfSYSDoesNotExist_Help<br />	&nbsp; &nbsp; &nbsp; &nbsp; KEYNAME &quot;SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf&quot;<br />	&nbsp; &nbsp; &nbsp; &nbsp; VALUENAME &quot;&quot;<br />	&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; VALUEON &quot;@SYS:DoesNotExist&quot;<br />	&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; VALUEOFF DELETE<br />&nbsp; &nbsp; 	END POLICY<br />&nbsp; &nbsp; END CATEGORY ; DisableRemovableStorage<br />[strings]<br />RegistryFixes=&quot;Registry Settings&quot;<br />SUPPORTED_WindowsXPSP2=&quot;Microsoft Windows XP Professional SP2 or later&quot;<br />AutoRunInfSYSDoesNotExist=&quot;Disable auto handling of Autorun.inf&quot;<br />AutoRunInfSYSDoesNotExist_Help=&quot;As per US-CERT Technical Cyber Security Alert TA09-020A -- Microsoft Windows Does Not Disable AutoRun Properly\n\n\nhttp://www.us-cert.gov/cas/techalerts/TA09-020A.html&quot;<br /></code></div></p>
<p class="buymebeer"><form action="https://www.paypal.com/cgi-bin/webscr" target="paypal" method="post"><input type="hidden" name="cmd" value="_xclick" /><input type="hidden" name="business" value="mark@arricc.net" /><input type="hidden" name="return" value="http://www.arricc.net/pp-thanks.php" /><input type="hidden" name="item_name" value="Buy Me a Beer for Group Policy to disable Autorun" /><input type="hidden" name="currency_code" value="GBP" /><input type="hidden" name="amount" value="5" /><input type="image" src="http://www.arricc.net/wp-content/plugins/buy-me-beer/icon_beer.gif" align="left" alt="" title="" hspace="3" /></form><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=mark@arricc.net&amp;currency_code=GBP&amp;amount=5&amp;return=http://www.arricc.net/pp-thanks.php&amp;item_name=Buy+Me+a+Beer+for+Group+Policy+to+disable+Autorun" target="paypal">If you find this article useful, buy me a beer!</a></p>]]></content:encoded>
			<wfw:commentRss>http://www.arricc.net/group-policy-to-disable-autorun.php/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

