<?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>Group Policy Central &#187; Tutorials</title>
	<atom:link href="http://www.grouppolicy.biz/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.grouppolicy.biz</link>
	<description>Best Practices, Turorials, News, Tips and Trick for all your Group Policy needs...</description>
	<lastBuildDate>Thu, 02 Feb 2012 01:04:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to reset the Default Domain Group Policy Objects (DCGPOFIX)</title>
		<link>http://www.grouppolicy.biz/2011/12/how-to-reset-the-default-domain-group-policy-objects-dcgpofix/</link>
		<comments>http://www.grouppolicy.biz/2011/12/how-to-reset-the-default-domain-group-policy-objects-dcgpofix/#comments</comments>
		<pubDate>Tue, 06 Dec 2011 13:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[dcgpofix]]></category>
		<category><![CDATA[Default Domain]]></category>
		<category><![CDATA[Reset]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2011/12/how-to-reset-the-default-domain-group-policy-objects-dcgpofix/</guid>
		<description><![CDATA[If you have ever read my Best Practice for Group Policy blog post then you will know that I encourage you to edit the default domain GPO’s sparingly. The only exception I would make to this rule is when you want to modify the default domain password policy but even then you can create a [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/12/gp_logo.png"><img style="margin: 0px 0px 0px 10px; border: 0px currentcolor; float: right; display: inline; background-image: none;" title="gp_logo" border="0" alt="gp_logo" align="right" src="http://www.grouppolicy.biz/wp-content/uploads/2011/12/gp_logo_thumb.png" width="64" height="66" /></a>If you have ever read my <a href="http://www.grouppolicy.biz/2010/07/best-practice-group-policy-design-guidelines-part-2/" target="_blank">Best Practice for Group Policy</a> blog post then you will know that I encourage you to edit the default domain GPO’s sparingly. The only exception I would make to this rule is when you want to modify the default domain password policy but even then you can create a new password policy GPO linked at the domain level (See <a href="http://www.grouppolicy.biz/2011/08/tutorial-how-to-setup-default-and-fine-grain-password-policy/">Tutorial: How to setup Default and Fine Grain Password Policy</a> )</p>
<p>Even if you don’t want to take my word for it here is a reference on the TechNet web site say pretty much the same thing…&#160; </p>
<p><a href="http://technet.microsoft.com/en-us/library/cc779159(WS.10).aspx">TechNet: Establishing Group Policy Operational Guidelines</a></p>
<blockquote><p>Do not modify the default domain policy or default domain controller policy unless necessary. Instead, create a new GPO at the domain level and set it to override the default settings in the default policies.</p>
</blockquote>
<p>So… Lets assume you have done everything wrong and either the Default Domain and/or the Default Domain Controller Group Policy objects have been modified and you want to reset them back. Of course you have a backup of the GPO’s which are good and you simply restore them…. <img class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://www.grouppolicy.biz/wp-content/uploads/2011/12/wlEmoticon-winkingsmile.png" /></p>
<p>BUT… You have never backed up the default GPO’s and you need to reset the setting…. Well the tool that allows you to do this is called DCGPOFIX and it can be found on any Windows Server 2003 or later windows server. </p>
<p><strong>NOTE:</strong> Even though we are restoring the default domain GPO’s back to a default setting doing so may still cause more issues. Therefore make sure you have a current back of your default domain so you can easily undo this change if needed (see below). </p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/12/image.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/12/image_thumb.png" width="337" height="115" /></a></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/12/image1.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/12/image_thumb1.png" width="406" height="259" /></a></p>
<p><strong>TIP:</strong> Even if you are not going to run this command I would still make of these Default Domain GPO’s now…&#160; right now…. Go on… Its not going to hurt and this will at least give you something to roll back if you need to in the future.</p>
<p>The command to restore the GPO’s to default is as simple as running the “DCGPOFIX.exe” from a command line and press “Y” twice when prompted.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/12/image2.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/12/image_thumb2.png" width="672" height="524" /></a></p>
<p>Now you are done. You will notice any changes to the GPO have now been removed or reverted back to the default settings. Monitor your systems for any adverse affect and make sure that you have another backup of the GPO’s for future reference.</p>
<p><strong>Note:</strong> By default this command will not run if the version of the OS does not match that of the Schema version in AD. </p>
<p>References:</p>
<ul>
<li><a title="http://technet.microsoft.com/en-us/library/cc784165(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc784165(WS.10).aspx" target="_blank">The Dcgpofix tool does not restore security settings in the Default Domain Controller Policy to their original state</a></li>
<li><a title="http://support.microsoft.com/kb/833783" href="http://technet.microsoft.com/en-us/library/cc784165(WS.10).aspx" target="_blank">Core Group Policy Tools and Settings</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2011/12/how-to-reset-the-default-domain-group-policy-objects-dcgpofix/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Best Practice: Group Policy for Virtual Desktops Infrastructure (VDI)</title>
		<link>http://www.grouppolicy.biz/2011/11/best-practice-group-policy-for-virtual-desktops-vdi/</link>
		<comments>http://www.grouppolicy.biz/2011/11/best-practice-group-policy-for-virtual-desktops-vdi/#comments</comments>
		<pubDate>Wed, 23 Nov 2011 13:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Best Practice]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Advanced]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[loopback]]></category>
		<category><![CDATA[VDI]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/?p=2801</guid>
		<description><![CDATA[Remote Desktop Virtualisation is a feature of Windows that allows your users to run windows running remotely from server hardware. This is almost an identical concept with how Terminal Services (a.k.a. Remote Desktop Services, a.k.a. Remote Desktop Session Host) works where the users is sending keyboard and mouse messaged to the server and then receives [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image.png"><img style="margin: 0px 0px 0px 10px; border: 0px currentcolor; padding-top: 0px; padding-right: 0px; padding-left: 0px; float: right; display: inline; background-image: none;" title="image" border="0" alt="image" align="right" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb.png" width="117" height="103" /></a>Remote Desktop Virtualisation is a feature of Windows that allows your users to run windows running remotely from server hardware. This is almost an identical concept with how Terminal Services (a.k.a. Remote Desktop Services, a.k.a. Remote Desktop Session Host) works where the users is sending keyboard and mouse messaged to the server and then receives the screen updates back. It is so similar in fact that both solution use the Remote Desktop Client and they also share the same Windows Server Remote Desktop Connection Broker role for users to connect to the computer they require. </p>
<p>The key difference is that the computer that the user connects to is a completely separate virtual copy of Windows 7 running in Hyper-V on the server. This allows the users to save files and settings to their computer as it can be setup so that users have a “persistent” 1 to 1 relationship to their virtual computer much like they have a 1 to 1 relation with their own computer. This also means that the user is connecting to an actual copy of Windows 7 and not Window Server 2008 R2 so applications compatibility is also better.</p>
<p><strong>ATTENTION!!! A lot of the setting in this post refer to a NATIVE VDI implementation without the third party enhancements such as Citrix XenDesktop. If you are implementing Citrix or VMWare VDI solution some components of this post will not apply.</strong></p>
<p>VDI can also be configured in two ways depending on your companies configuration.</p>
<h4>VDI Pooled or Non-Persistent</h4>
<p>This method is just has a bunch of identical Virtual Machines that a user will randomly connect to when they logon. Then when that user is logged off the session is scrubbed and there is no latent configuration change made. This method consume less disk space as changes are never kept. But it also has the disadvantage that the user has less ability to customize their computer such as installing their own application.</p>
<p><strong>Pooled Virtual Desktop Drive Configuration</strong></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image1.png"><img style="border: 0px currentcolor; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb1.png" width="640" height="151" /></a></p>
<p>Image Reference <a title="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/VIR312" href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/VIR312">http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/VIR312</a></p>
<p>As these computers are all but users normally have different requirements it is highly beneficial to also deploy virtualisation technology such as Application Virtualisation (App-V) and User State Virtualisation (USV). This allows each user to have a custom desktop configuration with their own set of applications with the same generic base OS. I am not going to go into App-V in this post but I do have more on USV later… </p>
<h4>VDI Personal, Persistent or Private</h4>
<p>This method has a bunch of Virtual Machines configured that have a persistent 1 to 1 relation with the user when they logon. This affinity with a specific VDI computer is configured via the users account under the new “Personal Virtual Desktop” tab. </p>
<p><strong>Note:</strong> You have to be running Windows Server 2008 R2 service pack 1 for this new tab to appear.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image15.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb15.png" width="428" height="571" /></a></p>
<p>If the computer is not started when the user is logged on the back end automatically starts it. When the user logs off the computer any changes made to the drive are saved for next time. This method has the advantage of allowing the users to be an admin of their own VDI computer to make changes and install whatever software they like. However the disadvantage of this is that it has to store all the changes for the users thus consuming far more disk space.</p>
<p><strong>Personal Virtual Desktop Drive Configuration</strong></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image18.png"><img style="border: 0px currentcolor; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image18_thumb.png" width="640" height="128" /></a></p>
<p>Image Reference <a title="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/VIR312" href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/VIR312">http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/VIR312</a></p>
<p>You may choose to use either or both configuration however which VDI method you chose will also affect the configuration you apply to the computers… </p>
<p><strong>Note:</strong> For the rest of the document I will refer to the two types of VID computers as either “Pooled” or “Personal” however you can obviously substitute the name that you use to refer to these types of configurations for your implementation.</p>
<p>VDI also has the overall disadvantage of having additional system overhead as there are multiple separate copies of Windows 7 running at the same time on the same server all with their own memory space. Recently there has been some great improvements with the new Dynamics Memory feature in Windows Server 2008 R2 Service Pack 1 which has yield a 40% increase in density (Reference <a title="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/VIR324" href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/VIR324">http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/VIR324</a> ). That all being said when you compare the user density between of RDS and VDI you STILL only get about half the number of users on the same hardware (See <a title="http://www.twitter.com/mkleef/status/136969504185004032" href="http://www.twitter.com/mkleef/status/136969504185004032">http://www.twitter.com/mkleef/status/136969504185004032</a> ).</p>
<p><strong>Note:</strong> Before I begin however do note that this guidance mainly covers the configuration of the VM’s running in your VDI infrastructure and is not about configuring the underlying VDI infrastructure. </p>
<p>Below I will now go through a number of ways you can use Group Policy (and other ways) to configure your VDI computers for a optimal experience. Generally speaking however much like you do with Remote Desktop Services the theme of all these “optimisations” is disable, disable and disable… Remember you are trying to squeeze number of users onto you VDI hardware so turning off all the un-necessary components to reduce the per user overhead is the best way to do this… </p>
<p>As you can see from the image below the Disk IO on a VDI system is in extreme demand and constraint hit first when scaling.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image3.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb3.png" width="644" height="422" /></a></p>
<p>Image Reference <a title="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/WCL309" href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/WCL309">http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/WCL309</a></p>
<p>  <center><script type="text/javascript"><!--
 google_ad_client = "ca-pub-0199394863971709";
 /* 300 x 250 - Medium */
 google_ad_slot = "7296078251";
 google_ad_width = 300;
 google_ad_height = 250;
 //-->
 </script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
 </script></center><br />
<h3>Organisational Unit Structure for VDI</h3>
<p>The Organisational Unit Structure for VDI computers will probably look something like the image below. This method keeps the OU structure relatively flat but it also means that you need to duplicate some setting in your normal workstations GPO’s. I think this is an acceptable trade-off as these polices will have Loopback enabled so you can apply user specific setting to these computers (more on this later). I also think&#160; if you made the VDI OU a sub-OU of your Workstations OU it would be very difficult to troubleshoot issues with conflicted settings. This configuration would also unnecessarily give your normal workstation administrators control over the VDI computers that you normally want to control a LOT more tightly.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image4.png"><img style="border: 0px currentcolor; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb4.png" width="414" height="407" /></a></p>
<p>In your environment your VDI OU probably won’t be directly under the Top Level of the domain but this should still give you a template that you can use in any part of your AD. If you have read my previous blog posts <a href="http://www.grouppolicy.biz/2010/07/best-practice-active-directory-structure-guidelines-part-1/">Best Practice: Active Directory Structure Guidelines – Part 1</a> and&#160; <a href="http://www.grouppolicy.biz/2010/07/best-practice-group-policy-design-guidelines-part-2/">Best Practice: Group Policy Design Guidelines – Part 2</a> you may recognize that this design is similar to how I split Laptops and Desktops OU’s (You may also notice that I have also kept with a naming convention that adheres to these two blog posts as well.).&#160; The reason why this looks similar is that just as workstations can be classified as either Desktops or Laptops so can VDI workstations be classified as Pooled and Personal, hence the similar design. This also means that for this structure to work ALL VDI computer accounts MUST be in either the Pooled or Personal OU. This would therefore make it invalid to have a compute account directly in the VDI OU. </p>
<p>Here is a description of the three main group policy objects that are applied in this configuration:</p>
<ul>
<li>Workstations VDI – This GPO will have all the setting that need to be applied to all your VDI workstations.</li>
<li>Workstations VDI Pooled – This GPO will only have all the setting applied specific to your Pooled VDI workstations.</li>
<li>Workstations VDI Personal – This GPO will only have the setting applied specific to your Personal VDI workstations.</li>
</ul>
<h4>Loopback for VDI</h4>
<p>There are various user setting you may want to apply to your users when they logon to the VDI computer. Just as with Remote Desktop Service the use of the <a title="http://gps.cloudapp.net/Default.aspx?PolicyID=348" href="http://gps.cloudapp.net/Default.aspx?PolicyID=348" target="_blank">User Group policy loopback processing mode</a> is the setting that allows you to apply these users setting. </p>
<p>Further on in this post I discuss many user setting that you might want to configure however if you don’t have any users setting configured in your VDI Group Policy Objects then there will be no need to enabled loopback.</p>
<h3>Initial Computer Configuration for VDI (Native Only)</h3>
<p><strong>Note:</strong> This following configuration setting will only need to be applied if you are using a native VDI Implementation without third-party VDI software.</p>
<p>It is important that you configure the workstation for VDI as described it this guide <a title="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=9691" href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=9691" target="_blank">Deploying Personal Virtual Desktops by Using Remote Desktop Web Access Step-by-Step Guide</a> . Thankfully there is a PowerShell script that can do all the configuration changes for your VDI workstations image that you can download from <a href="http://go.microsoft.com/fwlink/?LinkId=184804">http://go.microsoft.com/fwlink/?LinkId=184804</a> . However scripts are only a one time configuration and I like to re-enforce these changes with Group Policy where possible to ensure the configuration does not vary. Doing this also makes it easier to discover what changes have been made by running a GPResult report on the computer. Another advantage of having Group Policy makes all these changes is that all the configuration changes are automatically applied to your workstations when they are built making the process quicker and less likely to be forgotten. </p>
<p><strong>Warning:</strong> Any additional setting via Group Policy could cause extra overhead so you many want to only be selective as to what initial computer setting you apply via Group Policy. For that reason you may want to consider running the PowerShell configuration script as a one time “Immediate” task on the computer via Group Policy instead of configuring all these changes individually.</p>
<p>If you chose to use Group Policy instead of a script (good on you) to setup your VID environment then make the following configuration change in the “Workstations VDI” Group Policy Object.</p>
<p><strong>Enable Remote Desktop</strong></p>
<p>You can enabled Remote Desktop using the <a title="http://gps.cloudapp.net/Default.aspx?PolicyID=2481" href="http://gps.cloudapp.net/Default.aspx?PolicyID=2481" target="_blank">Allow users to connect remotely using Remote Desktop Services</a> setting. This will change the configuration of your computer to allow Remote Desktop Connections to the VDI workstation. However as you can see from the image below this does not open up the require firewall port (3389) to allow an incoming RDP connection.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image5.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb5.png" width="430" height="478" /></a></p>
<p><strong>Enable Remote Procedure Call (RPC)</strong></p>
<p>To enable the Remote Procedure Call (RPC) feature all we need to do is use the Group Policy Preference <a href="http://technet.microsoft.com/en-us/library/cc771589.aspx" target="_blank">Registry Extension</a> to change registry key “HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\AllowRemoteRPC” to a value of 1 (see image below).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image6.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb6.png" width="408" height="452" /></a></p>
<p><strong>Adds selected users to the Remote Desktop Users group</strong></p>
<p>You can configure the “Remote Desktop Users” group using the Group Policy Preference <a title="http://technet.microsoft.com/en-us/library/cc731972.aspx" href="http://technet.microsoft.com/en-us/library/cc731972.aspx" target="_blank">Local Users and Group Extension</a>.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image7.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb7.png" width="408" height="452" /></a></p>
<p><strong>Add a Windows Firewall exception for Remote Desktop Services </strong>and<strong> Add a Windows Firewall exception for Remote Services Management</strong><!--EndFragment--></p>
<p>Now the two “Windows Firewall Exceptions” can be made by adding the following predefined inbound firewall exceptions under&#160; “Computer Configuration&gt;Policies&gt;Windows Settings&gt;Security Settings&gt;Windows Firewall with Advanced Security”.</p>
<ul>
<li>Remote Desktop</li>
<li>Remote Service Management</li>
<li>Remote Desktop – RemoteFX (If required)</li>
</ul>
<p>It should then look something like the image below:</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image16.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb16.png" width="835" height="431" /></a></p>
<p>The final step you need to perform on the workstation is to :</p>
<ul><!--StartFragment-->
<li><strong>Adds the proper RDP-TCP listener permissions for the RD Virtualization Host server</strong></li>
<p>   <strong></strong>
<li><strong>Restarts the Remote Desktop Services service</strong></li>
</ul>
<p>However these steps are some what more difficult to perform as there is no Group Policy to make these configuration nor is the “Remote Desktop Session Configuration Host” tool loaded to make the changes via a GUI. </p>
<p>If you could load (or remotely connect this tool on Windows 7) it would look something like this by default…</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image9.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb9.png" width="408" height="506" /></a></p>
<p>So as much as a loath saying it you will need to resort to a script to perform the necessary configuration using the WMIC command. </p>
<p>To do this just copy the following script and put it on a server share that has the “Domain Computer” group granted read permissions. </p>
<blockquote><p>wmic /node:localhost RDPERMISSIONS where TerminalName=&quot;RDP-Tcp&quot; CALL AddAccount &quot;contoso\VDI Servers&quot;,1      <br />wmic /node:localhost&#160; RDACCOUNT where &quot;(TerminalName=&#8217;RDP-Tcp&#8217; or TerminalName=&#8217;Console&#8217;) and AccountName=&#8217;contoso\\VDI Servers&#8217;&quot; CALL ModifyPermissions 0,1       <br />wmic /node:localhost RDACCOUNT where &quot;(TerminalName=&#8217;RDP-Tcp&#8217; or TerminalName=&#8217;Console&#8217;) and AccountName=&#8217;contoso\\VDI Servers&#8217;&quot; CALL ModifyPermissions 2,1       <br />wmic /node:localhost RDACCOUNT where &quot;(TerminalName=&#8217;RDP-Tcp&#8217; or TerminalName=&#8217;Console&#8217;) and AccountName=&#8217;contoso\\VDI Servers&#8217;&quot; CALL ModifyPermissions 9,1       <br />shutdown /r /t 0</p>
</blockquote>
<p><strong>Note:</strong> I have used the group called “VDI Servers” so you will need to create this group and add all your VDI server to this group. This way you can use the same script to configure all your VDI workstations.</p>
<p>You can then call this script as a once using the “Immediate Task (Windows Vista and later)” option in the Group Policy Preferences <a href="http://technet.microsoft.com/en-us/library/cc770904.aspx" target="_blank">Scheduled Task Extension</a> </p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image10.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb10.png" width="402" height="184" /></a>&#160;</p>
<p>Configure the task to run as the “SYSTEM” account so it has the permission to make the required changes and reboot.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image11.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb11.png" width="644" height="484" /></a></p>
<p>Then chose the “Start a program” action and run the script where you have saved it on the network (remember that it must have “Domain Computer” read permission granted).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image12.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb12.png" width="506" height="170" /></a></p>
<p>You have now configured group policy to automatically configured your Windows 7 workstations as a VDI ready computer once it is placed in the VDI OU structure. </p>
<p>However there are still a number of other suggested configuration settings you might want to apply to this computer… </p>
<p> <center><script type="text/javascript"><!--
 google_ad_client = "ca-pub-0199394863971709";
 /* 300 x 250 - Medium */
 google_ad_slot = "7296078251";
 google_ad_width = 300;
 google_ad_height = 250;
 //-->
 </script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
 </script></center><br />
<h3>Suggesting VDI Group Policy Settings</h3>
<p>The next session shows a number of suggested Group Policy setting you should apply to you VDI configuration… Of course these are only suggestion/recommendations and you should take into consideration your own requirements before implementing these changes.</p>
<h4>Disabling Services for VDI</h4>
<p>Service are of course background tasks that run in Windows. These tasks of course takes some CPU,Memory and Disk overhead to run and therefore it is best that you disable all the non-essential services for your VDI workstations to squeeze in more users. To disable the services I like to use Group Policy Preferences <a href="http://technet.microsoft.com/en-us/library/cc755028.aspx" target="_blank">Service Extension</a> as it allows you to specify a custom service name that is not necessarily installed on the computer you are editing the group policy object.</p>
<p>The three service most obvious services I would recommend disabling are:</p>
<ol>
<li>defragsvc – Defragmentation Service Account of course would generate a LOT of disk IO activity on the server and as you are probably running this on a fairly high end SAN or perhaps even on SSD’s then this is not required.</li>
<li>WSearch – Windows Search Service is another disk IO intensive service that likes to index all the files on a computer. Having this service enable also put a fairly high load on the system and therefore it is much better to turn this service off.</li>
<li>wuauserv – Windows Update Service is used to update the software on the computer. However this patch updates on a VDI computer are normally added via a master image or via an new image with the latest updates installed. Therefore this is another service that you will probably want to turn off.</li>
</ol>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image17.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb17.png" width="793" height="329" /></a></p>
<p>You of course may have other inbuilt or third-part service that you want to disable and you can also do this by simply typing the short name of the “Service Name” text box when configuring a new service configuration item.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image29.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb28.png" width="364" height="204" /></a></p>
<h4>Turn Off System Restore</h4>
<p>To Disable System Restore is another setting that prevents the VID computer form consuming more disk space. You can disable this setting&#160; using the “<a title="http://gps.cloudapp.net/Default.aspx?PolicyID=2401" href="http://gps.cloudapp.net/Default.aspx?PolicyID=2401" target="_blank">Turn Off System Restore</a>” policy setting. </p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image14.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb14.png" width="430" height="478" /></a></p>
<h4>Disable Offline Files</h4>
<p>Disabling offline files is another way you can reduce your server IO load and disk footprint. You can do this via the “<a href="http://gps.cloudapp.net/Default.aspx?PolicyID=2061" target="_blank">Allow or Disallow use of the Offline Files feature</a>” group policy setting. You may want to configure this setting for only your Pooled VDI Workstations as there can be some performance benefit with having offline files enabled especially if the files you are access are via a slow network link.</p>
<p>Therefore I recommend that you Disallow for Pooled VDI computers to conserve disk space and Allow for Personal VDI computers so long as you have spare disk resources.</p>
<h4>Disable Exchange Cached Mode</h4>
<p>Disabled the Outlook Cached mode by using the “<a title="http://gps.cloudapp.net/Default.aspx?PolicyID=3930" href="http://gps.cloudapp.net/Default.aspx?PolicyID=3930" target="_blank">Use cached exchange mode for new and existing Outlook profiles</a>” group policy setting would have to be the #1 setting that you should turn off for both Remote Desktop Servers and Pooled VDI Computers. This setting tries to download a cached copy of your entire inbox. This normally only happen during the first logon for a user to a computer, but because each logon to a Pooled VDI&#160; computer is like a first logon then this will happen again… and again… and again… if it is not disabled. </p>
<p>That being said for Personal VDI computer there can be some advantage to having this setting enabled as it allows the users to still read their email even when the exchange servers is offline. </p>
<p>So this is another one that I recommend that you Disable for Pooled VDI computers and Enable for Personal VDI computers assuming you have enough disk space.</p>
<h4>Enable Verbose Status Messages</h4>
<p>I am a really big fan of configuring verbose status message&#8217;s (See <a title="Permanent Link to Group Policy Setting of the Week 2 – Verbose vs normal status messages" href="http://www.grouppolicy.biz/2009/11/group-policy-setting-of-the-week-2-verbose-vs-normal-status-messages/">Group Policy Setting of the Week 2 – Verbose vs normal status messages</a>) as it gives the users the feeling that the computer is actually doing something rather than just “Loading desktop…” when logging on. You can enabled this via the <a title="http://gps.cloudapp.net/Default.aspx?PolicyID=1842" href="http://gps.cloudapp.net/Default.aspx?PolicyID=1842" target="_blank">verbose vs normal status messages</a> setting under Computer Configuration\Administrative Templates\System. </p>
<h4>Screen Savers</h4>
<p>Screen savers can of course be very graphical and thus consume a lot of system resources. This means that your VDI server could get smashed when all the users go idle and the screensavers kick in…&#160; Therefore we want to ensure that users only use the default “scrnsave.scr” screensaver that does nothing but display a blank background. To do this you need to configure the “Force specific screen saver” policy under&#160; User Configuration&gt;Administrative Templates&gt;Control Panel&gt; Personalization. </p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image28.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb27.png" width="704" height="355" /></a></p>
<h3>User State Virtualisation for VDI</h3>
<p>It goes without saying that when users log onto a computer they of course don’t want to setup their environment every time. I have written a VERY extensive blog post about User State Virtualisation called <a href="http://www.grouppolicy.biz/2010/08/best-practice-roaming-profiles-and-folder-redirection-a-k-a-user-virtualization/">Best Practice: Roaming Profiles and Folder Redirection (a.k.a. User State Virtualization)</a>. I strongly encourage you read this blog post as well if you are going to implement USV in VDI as most of these recommendations also apply for a VDI environment. </p>
<h4>So why use User State Virtualisation with VDI?</h4>
<p>Below are some points are to why you would want to enabled USV with VDI: </p>
<ul>
<li>Reduces disk IO as data files are read and written to file server over the LAN and not the local HDD.</li>
<li>Reduces storage as the users files and setting are offloaded to another server.</li>
<li>Enabling Roaming between physical and VDI computers</li>
<li>Protect users files by storing store on File Server not VDI Server</li>
</ul>
<p>As you can see there are many benefits with using USV with VDI however your decision to use USV may influenced by the method of VID that you implement… Of course as you are offloading the Disk IO from the local HDD to a file server on the LAN it is imperative that the file server is well connected via at least 1gbit low latency Ethernet connection. </p>
<h4>Personal VDI</h4>
<p>If the user has a Personal VDI workstations then USV may not be required as the computer will have saved all the setting and documents from the last time the user was connected. That being said there are still benefits with having USV enabled for a user on a Personal VDI workstations as it allows them to roaming the settings and files between the VDI environment and a real computer. Therefore you may consider VDI an option for users using a Personal VDI session. </p>
<h4>Pooled VDI</h4>
<p>If you use a Pooled VDI workstations as then it is very much like logging on to the computer for the first time. Therefore they will be required to setup there environment every time they connect (ANNOYING!!!). So it is somewhat imperative that you do enable USV for the users connecting to a pooled VDI configuration.</p>
<h4>So how do I apply the USV GPO settings?</h4>
<p>So if have decided to implement USV for your VDI user you will need to configure their profile path in their account properties (see image below). </p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image19.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb18.png" width="428" height="232" /></a></p>
<p>The folder redirection Group Policy setting can however be applied either on the user accounts Organisation Unit OR via Loopback GPO on the VDI computers OU. To <font color="#000000">ensure complete roaming of the users setting and files I would definitely apply the folder redirection GPO’s on the users account that way they have a consistent user experience when logging onto a physical or a VDI computer.</font></p>
<p><font color="#000000"><strong>Note:</strong> When deploying folder redirection it is very important that your redirection location is close (network wise) from your VDI servers. This is needed so that users can quickly access their redirected folders. This is even more important if the file server that host the redirected folder only support SMB v1 due to its poor performance on network links with high latency. This is less important if you have a Personal configuration with offline files enabled as the local caching can mitigate some of these performance issues.</font></p>
<p><font color="#000000"><strong>Recommended:</strong> Due to the improved performance and saleability of the SMB v2+ protocol it highly recommended that your folder redirection file server is at least Windows Server 2008. It would also be highly desirable to make this server x64 bit as this will allow it to scale to a higher number of concurrent file connections.</font></p>
<p><strong><font color="#000000">User Only Folder Redirection</font></strong></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image20.png"><img style="border: 0px currentcolor; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb19.png" width="434" height="417" /></a></p>
<p>But if the only you have to implement folder redirection is to apply the setting on the VDI computers OU be aware that this might have some pretty big problem. If a user ever logs onto a non-VDI computer their roaming profile may not have any of the documents or files that the users had in the VDI. This can also lead to the users roaming profile growing very quickly as the documents folder on a non-VDI computer is now part of the users roaming profile. However when the user then subsequently logs back onto the VDI computer these documents will be hidden as they folder will again be redirected to the server.&#160; </p>
<ul>
<li>Users that roam between VDI and real computers will not have their documents move with them.</li>
<li>If folder redirection is not implement but the roaming profiles are configured then the profiles will become very big and slow down the log on / log off process. This would also increase the disk footprint on the real and VDI computers. </li>
</ul>
<p><strong><font color="#000000">VDI Only Folder Redirection</font></strong></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image21.png"><img style="border: 0px currentcolor; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb20.png" width="453" height="389" /></a></p>
<p><strike>What you should ABSOLUTLEY NOT do is apply folder redirection on both the users OU and the VDI OU. Doing this could cause your users redirected folders to be moved from two different locations every time they logon greatly slowing down the logon process..</strike></p>
<p><font color="#000000">If your VDI infrastructure in a datacentre then you might find that their redirected folders will perform quite slow accessing their redirected folders. In this case you might want to setup a folder redirection on the user account and the VDI Computers OU. If you do make this configuration change make very sure you do not select the “Move the contents of Documents to new location” option as this will cause your users redirected folders to bounce all over the network every time they logon. </font></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image30.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb29.png" width="408" height="229" /></a></p>
<p><font color="#000000">While this method would give the users fast access to their folder it would also mean that these files would not follow them when going between a physical and VDI environment.</font></p>
<p><strong>Dual Configuration Folder Redirection</strong></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image31.png"><img style="border: 0px currentcolor; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb30.png" width="358" height="360" /></a></p>
<p>&#160;</p>
<h3>Group Policy setting for RemoteFX on VDI</h3>
<p>RemoteFX is a new feature of Windows Server 2008 R2 that allow you you to stream full DirectX applications to your remote clients. This new feature can share the resource of any 3D graphics card in the server to get full hardware acceleration. Some of the other new features of Remote FX is the USB Device Redirection. This allows you to redirect pretty much any type of USB device that can be plugged into the remote client. </p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image23.png"><img style="border: 0px currentcolor; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb22.png" width="784" height="180" /></a></p>
<p>Image from <a title="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/VIR312" href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/VIR312">http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/VIR312</a></p>
<p>But if you want to enable this feature you will need to enable the setting “All RDP redirection of other supported RemoteFX USB device from this computer” that is located under Computer Configuration&gt;Administrative Templates&gt;Windows Components&gt;Remote Desktop Services&gt;Remote Desktop Connection Client&gt;RemoteFX USB Device Redirection.</p>
<p><strong>Note:</strong> This setting requires a reboot after being applied.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image24.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb23.png" width="704" height="644" /></a></p>
<p>However if you want to be somewhat selective with what devices (e.g. iPhones) you allow you users to plug into your VDI / RemoteFX environment then you can us the “Prevent installation of device that math any of these device IDs” under Computer Configuration\Administrative Templates\System\Device Installation Restrictions.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image25.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb24.png" width="704" height="644" /></a></p>
<p>There are many other RemoteFX setting you can apply to your RemoteFX/VDI environment under Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Remote Session Environment. However these setting will need to “tweak” for your own environment..</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image26.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb25.png" width="765" height="368" /></a></p>
<p>&#160;</p>
<h3>Group Policy Setting that you should NOT apply to VDI</h3>
<p>So I have covered a few of the optimised group policy settings to your VDI computers however there are also some other group policy setting that you should avoid applying to your VDI computers. </p>
<p>Don’t applying Registry and File System permission via Group Policy as this will apply the permission every 18 hours (approx.) causing a MASSIVE load with IO on your VDI Server. Which is of course you now know a very bad thing…&#160; </p>
<p><font color="#ff0000"><strong>DONT CONFIGURE THESE SETTING</strong></font> <img class="wlEmoticon wlEmoticon-sadsmile" alt="Sad smile" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/wlEmoticon-sadsmile.png" /></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image27.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/11/image_thumb26.png" width="339" height="337" /></a></p>
<p>If you do need to apply custom permission to the VDI computer then consider setting the permission in the master images or push a script out as a one time task VDI workstations.</p>
<p> <center><script type="text/javascript"><!--
 google_ad_client = "ca-pub-0199394863971709";
 /* 300 x 250 - Medium */
 google_ad_slot = "7296078251";
 google_ad_width = 300;
 google_ad_height = 250;
 //-->
 </script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
 </script></center><br />
<h3>Summary</h3>
<p>You may find that a lot of the setting you apply to your VDI systems are similar to the same policy you have applied to your Remote Desktop Services servers. This is quite true as just with RDS your VDI group policy setting revolve around reducing the overhead of the VDI workstations so you can squeeze the most out of your hardware… That being said, remember that if what you want is higher utilisation of your hardware you are always going to get more users on the same hardware using Remote Desktop Services… </p>
<h3>Acknowledgements</h3>
<p>I would like to give a big thanks to fellow MVP Darren Mar-Elia (a.k.a. <a href="http://twitter.com/grouppolicyguy" target="_blank">@grouppolicyguy</a> ) for helping me with this post… You can check out his web site at <a href="http://www.sdmsoftware.com">http://www.sdmsoftware.com</a> and his “Optimizing Group Policy in Virtual Desktop (VDI) Environments” TechEd session at <a title="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/WCL309" href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/WCL309">http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/WCL309</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2011/11/best-practice-group-policy-for-virtual-desktops-vdi/feed/</wfw:commentRss>
		<slash:comments>63</slash:comments>
		</item>
		<item>
		<title>How to use group policy to change open with file associations</title>
		<link>http://www.grouppolicy.biz/2011/09/how-to-use-group-policy-to-change-open-with-file-associations/</link>
		<comments>http://www.grouppolicy.biz/2011/09/how-to-use-group-policy-to-change-open-with-file-associations/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 13:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[file association]]></category>
		<category><![CDATA[Group Policy]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2011/09/how-to-use-group-policy-to-change-open-with-file-associations/</guid>
		<description><![CDATA[Changing file association windows by hacking the registry can be a very challenging task even if you are using Group Policy Preferences Registry option to apply the changes. However there is an option with Group Policy Preferences that allows you to change the Open With (i.e. File association) for any file type. Below I show [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/09/image.png"><img style="border: 0px currentcolor; float: right; display: inline; background-image: none;" title="image" border="0" alt="image" align="right" src="http://www.grouppolicy.biz/wp-content/uploads/2011/09/image_thumb.png" width="80" height="95" /></a>Changing file association windows by hacking the registry can be a very challenging task even if you are using Group Policy Preferences Registry option to apply the changes. However there is an option with Group Policy Preferences that allows you to change the Open With (i.e. File association) for any file type. </p>
<p>Below I show you how you can do this using the simple, yet powerful Folder Options by showing you how to change the default association for .TXT files from Notepad to WordPad.</p>
<p><strong>Step 1</strong>. Edit a GPO that is targeted to the used that you want to apply this setting.</p>
<p><strong>Step 2.</strong> Navigate User Configuration &gt; Preferences &gt; Control Panel Settings then right click on Folder Options and Navigate to New &gt; Open With .</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/09/image1.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/09/image_thumb1.png" width="498" height="333" /></a></p>
<p><strong>Step 3.</strong> Type in the extension in the <a href="http://technet.microsoft.com/en-us/library/cc771102.aspx" target="_blank">File Extension</a> and then put in the path to the program you want to have open the file. Then optionally tick “Set as default” and press “OK”</p>
<p><strong>TIP:</strong> When specifying the file path keep in mind that it may be different for x86 and x64 platforms therefore it may be best to use the %ProgramFilesDir% variable.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/09/image2.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/09/image_thumb2.png" width="408" height="452" /></a></p>
<p>Your done… Now when you click on that file type it will open it in the new default open with program you specified.</p>
<table border="0" cellspacing="0" cellpadding="2" width="641">
<tbody>
<tr>
<td valign="top" width="639">Before</td>
</tr>
<tr>
<td valign="top" width="639"><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/09/image3.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/09/image_thumb3.png" width="644" height="387" /></a></td>
</tr>
<tr>
<td valign="top" width="639">After</td>
</tr>
<tr>
<td valign="top" width="639"><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/09/image4.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/09/image_thumb4.png" width="644" height="387" /></a></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2011/09/how-to-use-group-policy-to-change-open-with-file-associations/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Tutorial: How to setup Default and Fine Grain Password Policy</title>
		<link>http://www.grouppolicy.biz/2011/08/tutorial-how-to-setup-default-and-fine-grain-password-policy/</link>
		<comments>http://www.grouppolicy.biz/2011/08/tutorial-how-to-setup-default-and-fine-grain-password-policy/#comments</comments>
		<pubDate>Wed, 03 Aug 2011 11:37:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Default Domain]]></category>
		<category><![CDATA[FGPP]]></category>
		<category><![CDATA[Password]]></category>
		<category><![CDATA[Password Policy]]></category>
		<category><![CDATA[PSO]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2011/08/tutorial-how-to-setup-default-and-fine-grain-password-policy/</guid>
		<description><![CDATA[One strange thing that still seems to catch a lot of people out is that you can only have one password policy for your user per domain. This catches a lot of people out as they apply a password policy to an OU in their AD thinking that it will apply to all the users [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image.png"><img style="margin: 0px 0px 0px 10px; border: 0px currentcolor; float: right; display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb.png" alt="image" width="45" height="92" align="right" border="0" /></a>One strange thing that still seems to catch a lot of people out is that you can only have one password policy for your user per domain. This catches a lot of people out as they apply a password policy to an OU in their AD thinking that it will apply to all the users in that OU…. but it doesn&#8217;t. Microsoft did introduce Fine Grain Password Policies with Windows Server 2008 however this can only be set based on a security group membership and you still need to use the very un-user-friendly ADSI edit tool to make the changes to the policy.</p>
<p>Below I will go through how you change the default domain password policy and how you then apply a fine grain password policy to your environment. The Good news is setting the default password policy for a domain is really easy. The Bad news is that setting a fine grain password policy is really hard.</p>
<p><strong>Update:</strong> If you want to set a password complexity setting that is not supported out of the box of windows then it is possible to install a third-party DLL on you domain controllers to achieve this. However there are many caveats to this and it is best you check out the full explanation at <a href="http://blogs.technet.com/b/askds/archive/2011/08/05/friday-mail-sack-beard-seconds-edition.aspx#password">http://blogs.technet.com/b/askds/archive/2011/08/05/friday-mail-sack-beard-seconds-edition.aspx#password</a></p>
<h3>How to set a Default Domain Password Policy</h3>
<p><strong>Step 1.</strong> Create a new Group Policy Object at the top level of the domain (e.g. “Domain Password Policy”).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image1.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb1.png" alt="image" width="255" height="252" border="0" /></a></p>
<p><strong>Note:</strong> I have elected to create a new GPO at the top of the domain in this case as I always try to avoid modifying the “Default Domain Policy”, see references below.</p>
<h4>Reference</h4>
<p><a href="http://technet.microsoft.com/en-us/library/cc736813(WS.10).aspx">TechNet: Linking GPOs</a></p>
<blockquote><p>If you need to modify some of the settings contained in the <strong>Default Domain Policy GPO</strong>, it is recommended that you create a new GPO for this purpose, link it to the domain, and set the <strong>Enforce</strong> option.</p></blockquote>
<p><a href="http://technet.microsoft.com/en-us/library/cc779159(WS.10).aspx">TechNet: Establishing Group Policy Operational Guidelines</a></p>
<blockquote><p>Do not modify the default domain policy or default domain controller policy unless necessary. Instead, create a new GPO at the domain level and set it to override the default settings in the default policies.</p></blockquote>
<p><strong>Step 2.</strong> Edit the “Domain Password Policy” GPO and go to Computer Configurations&gt;Policies&gt;Windows Settings&gt;Security Settings&gt;Account Policy&gt;Password Policy and configured the password policies settings to the configuration you desire.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image2.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb2.png" alt="image" width="644" height="277" border="0" /></a></p>
<p><strong>Step 3.</strong> Once you have configured the password policy settings make the “Domain Password Policy” GPO the highest in the Linked GPO processing order.</p>
<p><strong>TIP:</strong> Make sure you inform all your users when you are going to do this as it may trigger them to change their password the next time they logon.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image3.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb3.png" alt="image" width="644" height="213" border="0" /></a></p>
<p>Done… told you it was easy….</p>
<p><strong>Note:</strong> Even if you apply the password policies to the “Domain Controllers” OU it will not modify the domain’s password policy. As far as I know this is the only exception to the rule as to how GPO’s apply to objects. As you can see in the image below the “Minimum password length” in the “Domain Password Policy” GPO is still applied to the domain controller even though I have another GPO linking to the “Domain Controllers” OU configuration the same setting.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image4.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb4.png" alt="image" width="644" height="319" border="0" /></a></p>
<p>For a better explanation as to why the GPO that is linked to the Domain and not the Domain Controllers is used for the password policy for all users check out <a title="http://blogs.dirteam.com/blogs/jorge/archive/2008/12/16/why-gpos-with-password-and-account-lockout-policy-settings-must-be-linked-to-the-ad-domain-object-to-be-affective-on-ad-domain-user-accounts.aspx" href="http://blogs.dirteam.com/blogs/jorge/archive/2008/12/16/why-gpos-with-password-and-account-lockout-policy-settings-must-be-linked-to-the-ad-domain-object-to-be-affective-on-ad-domain-user-accounts.aspx" target="_blank">Jorge&#8217;s Quest for Knowledge! &#8211; Why GPOs with Password and Account Lockout Policy Settings must be linked to the AD domain object to be affective on AD domain user accounts</a></p>
<p><center><script type="text/javascript">// <![CDATA[
google_ad_client = "ca-pub-0199394863971709";
/* 468x60, created 3/8/10 */
google_ad_slot = "3692624876";
google_ad_width = 468;
google_ad_height = 60;
// ]]&gt;</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></center>&nbsp;</p>
<h3>How to set a Fine Grain Password Policy</h3>
<p>Fine Grain Password Policies (FGPP) were introduced as a new feature of Windows Server 2008. Before this the only way to have different password polices for the users in your environment was to have separate domains… OUCH!</p>
<h4>Pre-Requisites/Restrictions</h4>
<p>You domain must be Windows Server 2008 Native Mode, this means ALL of your domain controllers must be running Windows Server 2008 or later. You can check this by selection the “Raise domain functional level” on the top of the domain in Active Directory Users and Computers.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image5.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb5.png" alt="image" width="209" height="136" border="0" /></a></p>
<h4>Reference</h4>
<p><a title="http://technet.microsoft.com/en-us/library/cc770394(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc770394(WS.10).aspx" target="_blank">AD DS: Fine-Grained Password Policies</a></p>
<blockquote><p>The domain functional level must be Windows Server 2008.</p></blockquote>
<p>The other restriction with this option is that you can only apply FGPP to users object or users in global security groups (not computers).</p>
<h4>Reference</h4>
<p><a title="http://technet.microsoft.com/en-us/library/cc770394(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc770394(WS.10).aspx" target="_blank">AD DS: Fine-Grained Password Policies</a></p>
<blockquote><p>Fine-grained password policies apply only to user objects … and global security groups.</p></blockquote>
<p><strong>TIP:</strong> If you setup an “<a href="http://policelli.com/blog/archive/2008/01/15/manage-shadow-groups-in-windows-server-2008/" target="_blank">Automatic Shadow Group</a>” you can apply these password policies to users automatically to any users located in an OU.</p>
<h4>Creating a Password Setting Object (PSO)</h4>
<p><strong>Step 1.</strong> Under Administrator Tools Open ADSI Edit and connect it to a domain and domain controller you want to setup the new password policy.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image6.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb6.png" alt="image" width="476" height="223" border="0" /></a></p>
<p><strong>Note:</strong> If you do not see this option go to “Turn Windows Features On or Off” and make sure the “AD DS and AD LDS Tools” are installed. (You will need <a href="http://www.grouppolicy.biz/2010/03/how-to-download-and-install-the-group-policy-management-console-gpmc/" target="_blank">RSAT</a> also installed if you are on Windows 7).\</p>
<p><strong>Step 2.</strong> Double click on the “CN=<em>DomainName</em>” then double click on “CN=System” and then double click on “CN=Password Settings Container”.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image7.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb7.png" alt="image" width="298" height="501" border="0" /></a></p>
<p><strong>Step 3.</strong> Right click on “CN=Password Settings Container” and then click on “New” then “Object…”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image8.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb8.png" alt="image" width="470" height="260" border="0" /></a></p>
<p><span id="more-2527"></span></p>
<p><strong>Step 4.</strong> Click on “Next”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image9.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb9.png" alt="image" width="445" height="375" border="0" /></a></p>
<p><strong>Step 5.</strong> Type the name of the PSO in the “Value” field and then click “Next”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image10.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb10.png" alt="image" width="445" height="375" border="0" /></a></p>
<p><strong>Note:</strong> With the exception of the password length the following values are all the same as the default values in the “Default Domain Policy”.</p>
<p><strong>Step 6.</strong> Type in a number that will be the Precedence for this Password Policy then click “Next”.</p>
<p><strong>Note:</strong> This is used if a users has multiple Password Settings Object (PSO) applied to them.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image11.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb11.png" alt="image" width="445" height="375" border="0" /></a></p>
<p><strong>Step  7.</strong> Type “FALSE” in the value field and click “Next”</p>
<p><strong>Note:</strong> You should almost never use “TRUE” for this setting.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image12.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb12.png" alt="image" width="445" height="375" border="0" /></a></p>
<p><strong>Step 8</strong>. Type “24” in the “Value” field and click “Next”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image13.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb13.png" alt="image" width="445" height="375" border="0" /></a></p>
<p><strong>Step 9.</strong> Type “TRUE” in the “Value” field and click “Next”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image14.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb14.png" alt="image" width="445" height="375" border="0" /></a></p>
<p><strong>Step 10.</strong> Type “5” in the “Value” field and click “Next”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image15.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb15.png" alt="image" width="445" height="375" border="0" /></a></p>
<p><strong>Step 11.</strong> Type “1:00:00:00” in the “Value” field and click “Next”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image16.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb16.png" alt="image" width="445" height="375" border="0" /></a></p>
<p><strong>Step 12. </strong>Type “42:00:00:00” in the “Value” field and click “Next”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image17.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb17.png" alt="image" width="445" height="375" border="0" /></a></p>
<p><strong>Step 13.</strong> Type “10” in the “Value” field and click “Next”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image18.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb18.png" alt="image" width="445" height="375" border="0" /></a></p>
<p><strong>Step 14.</strong> Type “0:00:30:00” field and click “Next”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image19.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb19.png" alt="image" width="445" height="375" border="0" /></a></p>
<p><strong>Step 15.</strong> Type “0:00:33:00” in the “Value” field and click “Next”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image20.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb20.png" alt="image" width="445" height="375" border="0" /></a></p>
<p><strong>Step 16.</strong> Click “Finish”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image21.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb21.png" alt="image" width="445" height="375" border="0" /></a></p>
<p>You have now created the Password Settings Object (PSO) and you can close the ADSIEdit tool.</p>
<p>Now to apply the PSO to a users or group…</p>
<p><strong>Step 17.</strong>  Open Active Directory Users and Computers and navigate to “System  &gt; Password Settings Container”</p>
<p><strong>Note:</strong> Advanced Mode needs to be enabled.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image22.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb22.png" alt="image" width="531" height="404" border="0" /></a></p>
<p><strong>Step 18.</strong> Double click on the PSO you created then click on the “Attribute Editor” tab and then select the “msDS-PSOAppliedTo” attribute and click “Edit”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image23.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb23.png" alt="image" width="408" height="452" border="0" /></a></p>
<p>Step 19. Click “Add Windows Accounts….” button.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image24.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb24.png" alt="image" width="598" height="383" border="0" /></a></p>
<p><strong>Step 20.</strong> Select the user or group you want to apply this PSO and click “OK”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image25.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb25.png" alt="image" width="467" height="250" border="0" /></a></p>
<p><strong>Step 21.</strong> Click “OK”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image26.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb26.png" alt="image" width="598" height="383" border="0" /></a></p>
<p><strong>Step 22.</strong> Click “OK”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image27.png"><img style="display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/08/image_thumb27.png" alt="image" width="408" height="452" border="0" /></a></p>
<p>And your are done…  (told you it was hard).</p>
<p><center><script type="text/javascript">// <![CDATA[
google_ad_client = "ca-pub-0199394863971709";
/* 468x60, created 3/8/10 */
google_ad_slot = "3692624876";
google_ad_width = 468;
google_ad_height = 60;
// ]]&gt;</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></center>Fine Grain Password Policies as you can see are very difficult to setup and manage so it is probably best you use them sparingly in your organisation… But if you really have to have a simple password or extra complicated password then at least it give you away to do this without having to spin up another domain.</p>
<p><strong>Other Useful Links</strong></p>
<p><a title="http://technet.microsoft.com/en-us/library/cc770394(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc770394(WS.10).aspx" target="_blank">AD DS: Fine-Grained Password Policies</a></p>
<p><a title="http://technet.microsoft.com/en-us/library/cc770842(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc770842(WS.10).aspx" target="_blank">AD DS Fine-Grained Password and Account Lockout Policy Step-by-Step Guide</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2011/08/tutorial-how-to-setup-default-and-fine-grain-password-policy/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Best Practice: Configuring a Software Library for Group Policy Software Deployment</title>
		<link>http://www.grouppolicy.biz/2011/07/best-practice-configuring-a-software-library-for-group-policy-software-deployment/</link>
		<comments>http://www.grouppolicy.biz/2011/07/best-practice-configuring-a-software-library-for-group-policy-software-deployment/#comments</comments>
		<pubDate>Mon, 18 Jul 2011 13:50:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Best Practice]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Branch Cache]]></category>
		<category><![CDATA[DFS-R]]></category>
		<category><![CDATA[Software Library]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/?p=2434</guid>
		<description><![CDATA[This article is a continuation of the other blog post I have previously published at Best Practice: How to deploy software using Group Policy. I highly recommend that you take to the time to review the other blog posting before continuing on reading this post. Most particularly if you are looking at using Group Policy [...]]]></description>
			<content:encoded><![CDATA[<p><em>This article is a continuation of the other blog post I have previously published at </em><a title="http://www.grouppolicy.biz/2011/04/best-practice-how-to-deploy-software-using-group-policy/" href="http://www.grouppolicy.biz/2011/04/best-practice-how-to-deploy-software-using-group-policy/" target="_blank"><em>Best Practice: How to deploy software using Group Policy</em></a><em>. I highly recommend that you take to the time to review the other blog posting before continuing on reading this post. Most particularly if you are looking at using Group Policy to deploy software please review Tip #1 of the before mentioned article to make sure this method of software deployment is right for you.</em> </p>
<p>One of the pitfalls with deploying software using Group Policy is that you can only specify a UNC path for the workstation for the installation files. The problem with this is if you are in a multi site environment you may end up trying to deploy a fair large software package over a slow WAN link (see image below). </p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image6.png"><img style="border: 0px currentcolor; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb7.png" width="400" height="362" /></a></p>
<p>This is creates the obvious problem that it makes the computer un-usable for a long time while the software attempts to download and install. This problem can also be exacerbated if there are multiple clients from the same site trying to install the software at the same time. </p>
<p>So to get around this problem there are a number of different options I will show you that can help mitigate the performance issues with installing software via GPO in a multi-site environment.</p>
<h3>Software Library Naming Conventions</h3>
<p>First of all I recommend that you implement a good naming convention for the software library in your environment. All installation files for all programs you deploy should be located in the software library so that they are easy to find and maintain. </p>
<p>The image blow shows a tried and true structure for a software library that I have seen work many time for multiple organisations.</p>
</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image7.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb8.png" width="244" height="186" /></a></p>
<p>This structure makes it very easy to find the programs that you are looking for from an administrative point of view and it allows for easy tracking for what versions of programs you have in your environment.</p>
<p>An example of this structure would look like this:</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb1.png" width="180" height="195" /></a></p>
<h3>Sharing and Securing the Software Library</h3>
<p>As your computer may need to install software before user logs on so the computers domain account will need to have permissions to read the files from the software library. To do this, at the top level of the folder structure called “Software” you will need to make sure you granted the group called “Domain Computers” read access to all files and sub-folders.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image1.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb2.png" width="371" height="447" /></a></p>
<p>Now that you have secured your top level “software” folder you now need to share it out so that computers can access via the network (see image below). I would also recommend that you make it a hidden share to help hide if from any users that want to snoop around your network.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image2.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb3.png" width="361" height="361" /></a></p>
<p>While you need to apply read permission on the software library for all domain computers you should tightly control modify access to this folder as it is possible that someone or something could plant something nefarious there and have it deployed to all your computers. Normally I don’t recommend that you control access to file using share level permissions however in this case you may want to consider leave the share as “read” only permission for everyone as an extra level of protection. By doing this you prevent anyone (even an IT administrator) from also accidently changing the files or folders which could potentially cause a LOT of issues.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image3.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb4.png" width="371" height="447" /></a></p>
<p>Now that we have the Software Library created we will move on to see what various methods can be used to more efficiently distribute these files for your computers to use as a installation point.</p>
<h3>Replicated Software Library (Only)</h3>
<p>One way to get around the issue with distributing software is to make sure that you have a copy of the Software Library located at each site that you have workstations located. Simple setup a <a href="http://go.microsoft.com/fwlink/?LinkId=114608" target="_blank">DFSR Replication Group</a> for the top level “Software” folder and make another copy of the files at the Site B. To make sure workstations in Site B will install from the server in Site B you will need to create another software deployment GPO identical to the GPO in site A with the exception of the UNC path that points to the server in Site B. This way workstation in Site A will install from FileServerA and workstations in Site B will install from FileServerB thus avoiding the clients from pulling the install files via the WAN.</p>
<p><strong>TIP:</strong> Remember there might be some replication latency when copying new files to the Software Library so make sure that all your files are fully replicated before you change your Group Policy Objects.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image8.png"><img style="border: 0px currentcolor; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb9.png" width="400" height="382" /></a></p>
<p>If you do use this method you should target the GPO for site A and Site B to an OU specific to that site. Doing this way would also means that any computer that is configured in the Site A OU but was located in the Site B site (e.g. laptop) would try to install programs via the WAN. </p>
<p>You therefore may be tempted to target your GPO’s to the Active Directory Site but this is something I would definitely NOT recommend. The problem with targeting a GPO to Active Directory Site would mean you would also be targeting all your servers in that site as well. For more on this see the “Linking GPO’s” section in my <a title="Permanent Link to Best Practice- Group Policy Design Guidelines – Part 2" href="http://www.grouppolicy.biz/2010/07/best-practice-group-policy-design-guidelines-part-2/">Best Practice- Group Policy Design Guidelines – Part 2</a> blog post.</p>
<p>This method does have one advantage and that is workstations that are not located in Site A or Site B will not attempt to install software via the WAN either.</p>
<p>Pros</p>
<ul>
<li>Clients install software via LAN</li>
<li>Suitable for Windows Server 2003 R2 or later</li>
<li>Suitable for Windows XP clients or later</li>
<li>Only applies to selected sites</li>
<li>Low LAN Bandwidth</li>
</ul>
<p>Cons</p>
<ul>
<li>Difficult to manage due to Multiple GPO’s required to be created for each site.</li>
<li>Large infrastructure requirement for hosting multiple copies of Software Library</li>
</ul>
<p>I don’t recommended just using this method by itself as you can see when the other methods below can be much easier to administer.</p>
<h3>Replicated Software Library using a DFS Namespace</h3>
<p>The obvious issues with the “Replicated Software Library (Only)” method is that you needed to create, maintain and target multiple GPO’s to your environment to ensure that software is distributed. To get around this issues you can deploy a domain based <a href="http://blogs.technet.com/b/josebda/archive/2009/03/10/the-basics-of-the-windows-server-2008-distributed-file-system-dfs.aspx" target="_blank">DFS Namespace</a> in conjunctions with your <a href="http://go.microsoft.com/fwlink/?LinkId=114608" target="_blank">DFSR Replication Group</a> which will allow you to manage a single set of GPO’s for all your software deployment needs.</p>
<p>This method allows you to have one UNC path that can be used to distribute software to all your workstation no matter which site they are connected. Having only one UNC path also means that you don’t need to create multiple GPO’s for software deployment in each site. </p>
<p><strong>Tip:</strong> As you are relying on a DFS Namespace this also means you have a reliance of you Active Directory Sites as this is how a workstation figures out what is the closest file server. Therefore it would be highly recommended that your AD Sites are configured correctly otherwise you might find that you workstation still installing from file servers in the wrong site.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image9.png"><img style="border: 0px currentcolor; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb10.png" width="400" height="336" /></a></p>
<p>A downside to this method is that if a computer was to connect to Site X and there was no file server in this site then the workstation would then try to find the next closest file server in another site (this would be bad). To mitigate this issue you really need to be sure that you have a software distribution point located in each of our sites so your workstations always have a local file server to pull the install files from.</p>
<p>Pros</p>
<ul>
<li>Clients install software via LAN</li>
<li>Suitable for Windows Server 2003 R2 or later</li>
<li>Suitable for Windows XP clients or later</li>
<li>Low management due to single GPO for all workstations</li>
<li>Low LAN Bandwidth</li>
</ul>
<p>Cons</p>
<ul>
<li>Software is slow to install if site does not have a copy of the software library.</li>
<li>Large infrastructure requirement for hosting multiple copies of Software Library</li>
</ul>
<p>This is probably the most commonly used configuration in most environments today. If you are in doubt as to what then this is probably the solution best balanced configuration of management overhead with </p>
<h3>Replicated Software Library using a DNS Alias</h3>
<p>This method of software deployment is very similar to the “Replicated Software Library using a DFS Namespace” options mentioned above but it instead relies up <a href="http://support.microsoft.com/kb/842197" target="_blank">DNS Netmask Ordering</a> for the client to find the local file server. </p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image10.png"><img style="margin: 0px; border: 0px currentcolor; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb11.png" width="400" height="352" /></a></p>
<p>This option is configured on your DNS Servers&#160; (see image below) so it tries to return the closest IP address to the workstation based on the IP of the Workstations and the IP of the multiple A record for the Software Library servers.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image11.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb12.png" width="408" height="470" /></a></p>
<p>For this option to work you also need to have multiple DNS A Records configured to point to all the servers that have a replica of the Software library (see below).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image12.png"><img style="margin: 0px; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb13.png" width="407" height="68" /></a></p>
<p>It also requires that your workstation IP address ranges are close or the same as the file servers. This would mean this option would not work if your workstations with in 10.1.0.0/24 subnets and your servers were in 10.0.0.0/24 subnet as they are not logically close to each other.</p>
<p>If you do use this option then you will also need to set <a href="http://support.microsoft.com/kb/281308" target="_blank">Disable Strict Name Checking</a> on the file servers hosting the software library so they will respond to the DNS Alias address.</p>
<p>Pros</p>
<ul>
<li>Clients install software via LAN</li>
<li>Suitable for Windows Server 2003 R2 or later</li>
<li>Suitable for Windows XP clients or later</li>
<li>Lower management due to single GPO for all workstations</li>
<li>Low WAN Bandwidth</li>
</ul>
<p>Cons</p>
<ul>
<li>Software is slow to install if site does not have a copy of the software library.</li>
<li>Large infrastructure requirement for hosting multiple copies of Software Library.</li>
<li>Difficult to setup and requires the specific IP Address scheme </li>
</ul>
<p>This option is definitely not recommend however it is an option that you can use if you are not able to configured a DFS Namespace but don’t want the overhead of maintain lots of Group Policy Objects.</p>
<h3>Central Software Library using Branch Cache</h3>
<p><a href="http://technet.microsoft.com/en-au/library/dd996634(WS.10).aspx" target="_blank">BranchCache</a> is an awesome new feature of Window Server 2008 R2 and Windows 7 that allows clients and servers to cache any SMB or HTTP/S traffic. As Group Policy performs software deployment via a UNC path from a SMB file server then it allows for client to cache any files it pulls down via the WAN. This means after an initial workstation in a site has pulled down the install files then workstation can then act as a temporary cache for other computers on the network thus making subsequent installs much quicker. The big advantage of this method is that you don’t need to have any server infrastructure at remotes sites, yet you still get the benefits of reduced WAN traffic and quicker install speeds.</p>
<p>&#160;</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image13.png"><img style="border: 0px currentcolor; display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb14.png" width="640" height="457" /></a></p>
<p>In addition if you have a Public Key infrastructure in your organisation then it would be very easy to enabled BranchCache on a server. All the BranchCache clients would then send a copy of the files they download to the BranchCache server in the site so it can also act as a “Hosted Cache”. This would reduce the amount of WAN traffic even further as of course a workstation that is configured with BranchCache would need to be always turned of for act as a cache for the other workstations.</p>
<p><strong>Tip:</strong> By default BranchCache is disabled even if it install on a computer. Therefore you need to enable the “<a href="http://gps.cloudapp.net/Default.aspx?PolicyID=2119" target="_blank">Turn on Cache Mode</a>” group policy setting.</p>
<p>Pros</p>
<ul>
<li>Clients install software via LAN after second install</li>
<li>Lower management due to single GPO for all workstations</li>
<li>Low Infrastructure Requirements</li>
</ul>
<p>Cons</p>
<ul>
<li>Only suitable for Windows Server 2008 R2 and / or Windows 7</li>
<li>First client to install will be slower</li>
</ul>
<p>If you are running Windows 7 and / or Windows Server 2008 R2 in your organisation then you should really consider implement branch cache. This really delivers the best of both worlds as you can implement this with a low amount of infrastructure are your remote sites yet still reduce WAN bandwidth all using a single GPO/UNC path to deploy the software.</p>
<h3>Summary</h3>
<p>As&#160; you can see there are many different option available to you for distributing your software in your environment via Group Policy. In selecting a method of deployment that is right for you environment I would pick firstly the solution that gives the best end user experience and then the one that has the lowest administrative overhead.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2011/07/best-practice-configuring-a-software-library-for-group-policy-software-deployment/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>How to reset a Roaming Profile in Windows 7</title>
		<link>http://www.grouppolicy.biz/2011/07/how-to-reset-a-roaming-profile-in-windows-7/</link>
		<comments>http://www.grouppolicy.biz/2011/07/how-to-reset-a-roaming-profile-in-windows-7/#comments</comments>
		<pubDate>Thu, 14 Jul 2011 09:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Profile]]></category>
		<category><![CDATA[roaming profile]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2011/07/how-to-reset-a-roaming-profile-in-windows-7/</guid>
		<description><![CDATA[If you have are one of the many people who have checked out my Best Practice: Roaming Profiles and Folder Redirection (a.k.a. User State Virtualization) post you probably know that roaming profiles can be super useful feature to implement. However over the years roaming profiles have got a bit of a bad wrap as sometime [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image14.png"><img style="margin: 0px 0px 0px 10px; border: 0px currentcolor; float: right; display: inline; background-image: none;" title="image" border="0" alt="image" align="right" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb15.png" width="68" height="81" /></a>If you have are one of the many people who have checked out my <a title="http://www.grouppolicy.biz/2010/08/best-practice-roaming-profiles-and-folder-redirection-a-k-a-user-virtualization/" href="http://www.grouppolicy.biz/2010/08/best-practice-roaming-profiles-and-folder-redirection-a-k-a-user-virtualization/" target="_blank">Best Practice: Roaming Profiles and Folder Redirection (a.k.a. User State Virtualization)</a> post you probably know that roaming profiles can be super useful feature to implement. However over the years roaming profiles have got a bit of a bad wrap as sometime things can and do go wrong. In these case the IT administrator is usually left with no other option than to reset the users profile to solve a issue with their account. </p>
<p><strong>Tip:</strong> Make sure that the issue is related to the users roaming profile by testing another account with the same or similar privileges on the same computer. If the other computer account also has the same issues or if the issues seems to does not follow them to other computers then it is highly unlikely it is a roaming profile issue.</p>
<p>So lets assume you have troubleshoot this issue for many hours and you are at your wits end about to rip out your hair (if you have any) and have decided to reset the users profile… how do you do it?</p>
<p>In Windows XP days you could just delete the users local and roaming profile files and the next time the user logged on they would generate a new profile. However if you do this in Windows 7 you will find that this no longer works… </p>
<h3>So what is the correct way to reset a roaming profile in Windows 7?</h3>
<p>Step 1. Open Active Directory Users and Computers and to the profile tab of the user account you want to reset. Now take note of the roaming profile path…. </p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image15.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb16.png" width="428" height="340" /></a></p>
<p>Step 2. Reboot the users computer that is having issues and logon with an account that has local admin and is NOT the account you are tyring to fix. </p>
<p>Step 3. Open control panel and type “Advanced” in the search field then click on “View advanced system settings”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image16.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb17.png" width="597" height="353" /></a></p>
<p>Step 4. Click on the “Advanced” tab and under User Profiles click the “Settings” button</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image17.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb18.png" width="430" height="478" /></a></p>
<p>Step 5. Now select the user you want to reset the profile and press the “Delete” button.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image18.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb19.png" width="404" height="424" /></a></p>
<p>Step 6. Press “Yes”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image19.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb20.png" width="470" height="175" /></a></p>
<p>And now the local copy of the roaming profile is deleted you also need to remove the network copy… </p>
<p><font color="#000000"><strong>Note:</strong> If you have implemented folder redirection as per my <a title="http://www.grouppolicy.biz/2010/08/best-practice-roaming-profiles-and-folder-redirection-a-k-a-user-virtualization/" href="http://www.grouppolicy.biz/2010/08/best-practice-roaming-profiles-and-folder-redirection-a-k-a-user-virtualization/" target="_blank">Best Practice: Roaming Profiles and Folder Redirection (a.k.a. User State Virtualization)</a> then the vast majority of the users information will not be part of the users roaming profile. This means other than a few program setting the users is unlikely to lose any work. The exception to this is the AppData folder however if you are trying to preserve this folder as well note you may be copying over the issues that are trying to fix.</font></p>
<p><font color="#ff0000">WARNING: Always be careful you have everything backed up before deleting any users profile.</font></p>
<p>Step 7. Before you log off that computer go to the path you noted in step 1 and delete (or rename) the roaming profile for that users on the network. </p>
<p><strong>Note: </strong>You many need to take ownership of the folder before it can be deleted.</p>
<p><strong>Tip:</strong> To avoid having to take owner ship of the roaming profile be sure you have enabled the&#160; <a title="http://www.grouppolicy.biz/2010/02/group-policy-setting-of-the-week-15-add-the-administrator-security-group-to-roaming-users-profiles/" href="http://www.grouppolicy.biz/2010/02/group-policy-setting-of-the-week-15-add-the-administrator-security-group-to-roaming-users-profiles/" target="_blank">Add the Administrator security group to roaming users profiles</a> setting.</p>
<h3>How to fix the “You have been logged on with a temporary profile” issue in Windows 7</h3>
<p>So… that was the easy way… But what do you do if just deleted the users profile files and now the users is “logged on with temporary profile” like you did back in the Windows XP days….</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image20.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb21.png" width="600" height="185" /></a></p>
<p>Step 1. Reboot the computer again and logon as the local admin.</p>
<p>Step 2. Open Regedit and go following registry key path:</p>
<blockquote><p>HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList</p>
</blockquote>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image21.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb22.png" width="644" height="173" /></a></p>
<p>Step 3. Find the Profile that has the ProfileImagePath of the users you are fixing and delete that entire key.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image22.png"><img style="display: inline; background-image: none;" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/07/image_thumb23.png" width="644" height="229" /></a></p>
<p>Step 4. Log off and logon as the user you are trying to fix. </p>
<p><strong>TIP:</strong> If this is successful make sure you get the use to log off straight away so the new profile is save to the network which will then propagate to any other computer when then log on.</p>
<p>Hopefully this will have fixed your roaming profile issues and the users is now back up and running with a minimum of fuss… Of course some of the users personal settings may have been lost but hopefully a well managed SOE should allow them to run all the essential programs with little to no additional set up.</p>
<p><strong>Source:</strong> I found the registry key trick from this TechNet Forum article <a title="http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/5ec0b949-effa-4e30-ba09-dc948a4c7a8b" href="http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/5ec0b949-effa-4e30-ba09-dc948a4c7a8b">http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/5ec0b949-effa-4e30-ba09-dc948a4c7a8b</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2011/07/how-to-reset-a-roaming-profile-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How to enable IE Quirks Mode with Group Policy</title>
		<link>http://www.grouppolicy.biz/2011/05/how-to-enable-ie-quirks-mode-with-group-policy/</link>
		<comments>http://www.grouppolicy.biz/2011/05/how-to-enable-ie-quirks-mode-with-group-policy/#comments</comments>
		<pubDate>Thu, 26 May 2011 10:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Quicks Mode]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2011/05/how-to-enable-ie-quirks-mode-with-group-policy/</guid>
		<description><![CDATA[If you are looking at moving to Windows 7 or you are looking upgrading IE6 in your organisation you have probably discovered that a lot of your intranet web sites don’t work properly. Well apparently&#160; 80% of IE app compatibility issues are cause by website that do not have the &#60;!DOCTYPE&#62; header as the with [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/05/IE6Logo.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px 0px 0px 10px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="IE6Logo" border="0" alt="IE6Logo" align="right" src="http://www.grouppolicy.biz/wp-content/uploads/2011/05/IE6Logo_thumb.jpg" width="73" height="77" /></a>If you are looking at moving to Windows 7 or you are looking upgrading IE6 in your organisation you have probably discovered that a lot of your intranet web sites don’t work properly. Well apparently&#160; 80% of IE app compatibility issues are cause by website that do not have the &lt;!DOCTYPE&gt; header as the with IE8 (See below).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/05/image4.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/05/image_thumb1.png" width="531" height="301" /></a></p>
<p>This problem is due to a bug in&#160; IE6 that it ignores the &lt;!DOCTYPE&gt; if it is not on the first row and then default back to rendering the page in Quirks mode. The problem is that newer browsers do read this &lt;!DOCTYPE&gt; tag if it is not on the first line and it then starts to renders the page in standards mode as requested. So to address this issue Microsoft have released a hotfix for IE8 and include in IE9 a feature that lets you force pages to render in Quicks Mode thus ignoring the &lt;!DOCTYPE&gt; line.</p>
<blockquote><p>A webpage is not displayed correctly in Internet Explorer when any of the following is true: </p>
<ul>
<li>You use Windows Internet Explorer 8 Standards mode to browse the webpage. </li>
<li>You enable Compatibility View in Internet Explorer 7 to browse the webpage. </li>
</ul>
<p>Additionally, if you do not have the permissions to implement the Meta tag or the HTTP header for browser emulation, you cannot force the browser to work in QUIRKS mode from the client-side. </p>
</blockquote>
<p>Microsoft KB <a title="http://support.microsoft.com/kb/982063/en-gb" href="http://support.microsoft.com/kb/982063/en-gb" target="_blank">A webpage is not displayed correctly when you browse the webpage by using Internet Explorer 8 Standards mode or Compatibility View in Internet Explorer 7</a></p>
<p>Once you have the hotfix deployed or you have installed IE9 on your computers you can then use the policy&#160; “<a href="http://gps.cloudapp.net/Default.aspx?PolicyID=7079" target="_blank">Use Policy List of Quirks Mode sites</a>” under Software\Policies\Microsoft\Internet Explorer\BrowserEmulation\QuirksPolicyList to add specific sites to render as quirks mode. </p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/05/image5.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/05/image_thumb2.png" width="510" height="298" /></a></p>
<p>This will now force your browser to render the page using IE5.5 (a.k.a. Quirks) mode so that the page now renders correctly.</p>
<p><strong>TIP:</strong> If you are still having issues with your Intranet pages not working correctly one of the other big compatibility fixes you can try is to make sure that the page is properly placed in the “Intranet Zone”. For instructions on how to do this see my other post <a title="http://www.grouppolicy.biz/2010/03/how-to-use-group-policy-to-configure-internet-explorer-security-zone-sites/" href="http://www.grouppolicy.biz/2010/03/how-to-use-group-policy-to-configure-internet-explorer-security-zone-sites/" target="_blank">How to use Group Policy to configure Internet Explorer security zone sites</a> .</p>
<p>Thanks to Chris Jackson “The App Compat Guy” for his TechEd 2011 video that had the details for me to write this article at&#160; <a title="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/WCL315" href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/WCL315">http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/WCL315</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2011/05/how-to-enable-ie-quirks-mode-with-group-policy/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Screencast: How to use Group Policy Preferences to setup up Shortcuts</title>
		<link>http://www.grouppolicy.biz/2011/04/screencast-how-to-use-group-policy-preferences-to-setup-up-shortcuts/</link>
		<comments>http://www.grouppolicy.biz/2011/04/screencast-how-to-use-group-policy-preferences-to-setup-up-shortcuts/#comments</comments>
		<pubDate>Fri, 29 Apr 2011 12:30:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[ScreenCast]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Group Policy Preferences]]></category>
		<category><![CDATA[Shortcuts]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2011/04/screencast-how-to-use-group-policy-preferences-to-setup-up-shortcuts/</guid>
		<description><![CDATA[In this screencast I show you how to use the Group Policy Preferences Shortcuts Extension to deploy shortcuts to a users desktop. This video also demonstrates how you can configure the shortcut to only apply once for the users and how you can configure them to automatically be cleaned up when no longer required.]]></description>
			<content:encoded><![CDATA[<p>In this screencast I show you how to use the Group Policy Preferences <a title="Shortcuts Extension" href="http://technet.microsoft.com/en-us/library/cc730592.aspx">Shortcuts Extension</a> to deploy shortcuts to a users desktop. This video also demonstrates how you can configure the shortcut to only apply once for the users and how you can configure them to automatically be cleaned up when no longer required.</p>
<p><iframe height="510" src="http://www.youtube.com/embed/IDzrA2Y0UhE?hd=1" frameborder="0" width="640" allowfullscreen="allowfullscreen"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2011/04/screencast-how-to-use-group-policy-preferences-to-setup-up-shortcuts/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Silverlight 5 Group Policy</title>
		<link>http://www.grouppolicy.biz/2011/04/silverlight-5-group-policy/</link>
		<comments>http://www.grouppolicy.biz/2011/04/silverlight-5-group-policy/#comments</comments>
		<pubDate>Thu, 14 Apr 2011 13:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[5]]></category>
		<category><![CDATA[AllowElevatedTrustAppsInBrowser]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2011/04/silverlight-5-group-policy/</guid>
		<description><![CDATA[Microsoft have just released the Silverlight 5 beta during the MIX 2011 summit in Las Vegas and one of the new features is Group Policy support. However this “Group Policy” support at the moment is more like a suggested way of configuration the program. What this really is that you can now control the running [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/logoSilverlight.jpg"><img style="background-image: none; border-right-width: 0px; margin: 0px 0px 0px 15px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="logoSilverlight" border="0" alt="logoSilverlight" align="right" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/logoSilverlight_thumb.jpg" width="163" height="53" /></a>Microsoft have just released the Silverlight 5 beta during the MIX 2011 summit in Las Vegas and one of the new features is Group Policy support. However this “Group Policy” support at the moment is more like a suggested way of configuration the program. What this really is that you can now control the running on Signed/Trusted Elevated applications from within the browser via a registry key.</p>
<p>For more on trusted in browser applications see <a title="http://timheuer.com/blog/archive/2011/04/13/whats-new-in-silverlight-5-a-guide.aspx#trustinbrowser" href="http://timheuer.com/blog/archive/2011/04/13/whats-new-in-silverlight-5-a-guide.aspx#trustinbrowser">http://timheuer.com/blog/archive/2011/04/13/whats-new-in-silverlight-5-a-guide.aspx#trustinbrowser</a></p>
<blockquote><p>A new feature we are bringing is the ability to do some of the “trusted” features in Silverlight <em>in the browser</em>. This brings the current functionality of trusted applications in current form to be used in the browser context without having to be installed. This still requires the XAP to have the ElevatedPermissions security setting in the manifest as it would exist with out-of-browser applications as well as the XAP being signed (and the certificate in the user’s trusted publisher store). </p>
<p>&#160;</p>
<p>Additionally the requirement would be that a registry key be set on the machine to enable this. This could be deployed via Group Policy or other desktop-management techniques.</p>
</blockquote>
<p>Below I have listed this registry key and how you can use a Group Policy Preferences Registry Item to configure this setting in your organisation.</p>
<h3>Allow Elevated Trust Apps In Browser</h3>
<p><strong>Key (Machine):</strong> HKLM\SOFTWARE\Microsoft\Silverlight\     <br /><strong>Value:</strong> AllowElevatedTrustAppsInBrowser (REG_DWORD32)     <br /><strong>Data:</strong> 0 (Disabled)     <br /><strong>Data:</strong> 1 (Enabled) </p>
<p><strong>Step 1.</strong> Edit a group policy object that targets all the computers in your organisation that you want to apply this setting.</p>
<p><strong>Step 2.</strong> Navigate to “Computer Configuration &gt; Preferences &gt; Windows Settings” then right click on “Registry” and click on “New &gt; Registry Item”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image37.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb36.png" width="481" height="432" /></a></p>
<p><strong>Step 3.</strong> Change the Action to “Replace” add the key path “SOFTWARE\Microsoft\Silverlight” type “AllowElevatedTrustAppsInBrowser” select the Value type to “REG_DWORD” and the value to “1”.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image38.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb37.png" width="408" height="452" /></a></p>
<p><strong>Step 4.</strong> Click on the common tab and tick “Remove this item when it is no longer applied” and add a description.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image39.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb38.png" width="408" height="452" /></a></p>
<p>Done… the registry key should be now deployed to all your computers and they will be able to run Trusted (Signed) application in the web browser.</p>
<p>To see what other features are coming in Silverlight v5 go to <a title="http://www.microsoft.com/silverlight/future/" href="http://www.microsoft.com/silverlight/future/">http://www.microsoft.com/silverlight/future/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2011/04/silverlight-5-group-policy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Best Practice: How to deploy Software using Group Policy</title>
		<link>http://www.grouppolicy.biz/2011/04/best-practice-how-to-deploy-software-using-group-policy/</link>
		<comments>http://www.grouppolicy.biz/2011/04/best-practice-how-to-deploy-software-using-group-policy/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 13:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Best Practice]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Client]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[InTune]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2011/04/best-practice-how-to-deploy-software-using-group-policy/</guid>
		<description><![CDATA[Originally this was just going to be a post showing you how to deploy the Windows InTune client to a computer using Group Policy however it turned out I think this article would be best suited to show you how to use some advanced techniques to deploy software via Group Policy. So even if you [...]]]></description>
			<content:encoded><![CDATA[<p><em>Originally this was just going to be a post showing you how to deploy the Windows InTune client to a computer using Group Policy however it turned out I think this article would be best suited to show you how to use some advanced techniques to deploy software via Group Policy. So even if you don’t want to specifically&nbsp; deploy the InTune software client to your computers this article will still serve you as a good reference for Group Policy software deployment in general….</em></p>
<p><strong>Tip #1:</strong> DONT! If at all possible do not deploy software this way… Group Policy software deployment has a number of restrictions that makes this one of the less desirable methods of software deployment. Some of the reasons why I would not recommend this deployment method are:</p>
<ol>
<li>Lack or scheduling. When you deploy software to a computer using Group Policy it will only ever install/un-install on the next reboot of the computer. This makes it very difficult to schedule rollouts especially when deploying large software updates that would put immense load on the LAN when deploying to all the computers first thing in the morning when they are all turned on at the same time. Using something like SCCM is much better with it options for maintenance windows and Wake On LAN options…</li>
<li>MSI and ZAP Installer Only. The only supported applications formats are the more popular MSI installer and the lesser known <a href="http://en.wikipedia.org/wiki/ZAP_File" target="_blank">ZAP</a> package format. This is somewhat restrictive and again software deployment tools like SCCM are vasty superior as they support any sort of installation method.</li>
<li>Fixed Application Install Order. When you add application to the Group Policy Object they install onto the computer in the same order with no way of changing this order.</li>
<li>Nill Visibility. When you go to deploy software using Group Policy the configuration it pushed to the computers but there is never any feedback on weather the software has successfully installed. This lack of visibility could mean you think you have deployed something to all your computers successfully but in reality it has failed to install on many of the computers.</li>
<li>Poor Scoping. When you deploy software using Group Policy you can only specify a UNC path as the location to install the software from. If you have specified a single server in head office this would mean that all the workstation at remote sites will try and download and install over the WAN… Not good. I will make a few recommendation further on as to how to mitigate this however other deployment software tools (again like SCCM) handle this much more automatically which can reduce you admin overhead.</li>
</ol>
<p>Now that I have sufficiently warned you about Group Policy Software Deployment I would also say there is one exception to this rule where and that is Agent software Deployment. Weather it is SCCM Agent or InTune or even a Anit-Virus software package GP Software deployment is good at deploying the same software package to a large number of computers.</p>
<p>And speaking of services that require agents…</p>
<p>Windows InTune is a new services that is offered by Microsoft that allows IT administrators to manage and monitor computers via a web based console. This service has been often referred to as SCCM in the cloud as it allows you to manage many workstations without the need for any server infrastructure.</p>
<p>For more information on Windows InTune visit <a title="http://www.windowsintune.com/" href="http://www.windowsintune.com/" target="_blank">http://www.windowsintune.com/</a></p>
<p>While there is no software to install on servers for the InTune to work it does require you deploy a management client to your workstations. This client software can be either installed manually but when you have 10+ computer in your organisation this can quickly become a management nightmare so Microsoft also provides a way to deploy the InTune client via Group Policy.</p>
<h3>Configuring the application install files for Group Policy Deployment</h3>
<p><strong>Step 1:</strong> Go to <a title="Windows Intune website" href="http://go.microsoft.com/fwlink/?LinkId=191608">Windows Intune website</a> and download the InTune Client software.</p>
<p><strong>Step 2:</strong> Right click on “Windows_Intune_Setup.zip” and select the “Extract All” option</p>
<p><strong>Step 3:</strong> Extract the contents of the “Windows_Intune_Setup.exe” to the current folder by opening up a command prompt and&nbsp; running “Windows_Intune_Setup.exe /extract .”.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image13.png"><img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb12.png" alt="image" width="463" height="129" border="0" /></a></p>
<p><strong>Step 4:</strong> Copy the all the files (see below) to the software distribution file share in your organisation .</p>
<ul>
<li>Windows_Intune_Setup.exe</li>
<li>Windows_Intune_X64.msi</li>
<li>Windows_Intune_X86.msi</li>
<li>WindowsIntune.accountcert</li>
</ul>
<p>You have now setup the installation files for the InTune client (or other software) ready to be deployed in your organisation.</p>
<p><strong>Tip #2: </strong>This location needs to have read permission for the “Domain Computers” group applied so that the computer can download and install the files.</p>
<h3>Configuring the Group Policy Object for Software Deployment</h3>
<p><strong>Step 5:</strong> Edit a Group Policy Object that is applied to all the workstation that you want to deploy the InTune client.</p>
<p><strong>Step 6:</strong> Navigate to &#8220;Computer Configuration &gt; Policies &gt; Software Settings &gt; Software installation” then right click on “Software installation” then click on “New” then “Packages”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image16.png"><img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb15.png" alt="image" width="430" height="344" border="0" /></a></p>
<p><strong>Step 7:</strong> Navigate to the path that you placed the installation files and select “Windows_Intune_X64.msi” then click “Open”</p>
<p><strong>Tip #3:</strong> If you have x86 client repeat from step 7 with the additional steps in my other article <a href="http://www.grouppolicy.biz/2010/03/how-to-prevent-x86-32bit-applications-installing-via-group-policy-on-windows-x64/" target="_blank">How to prevent x86 (32bit) applications installing via Group Policy on Windows x64</a> to prevent the x86 version from being deployed to the x64 platforms.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image17.png"><img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb16.png" alt="image" width="629" height="484" border="0" /></a></p>
<p><strong>Step 8:</strong> Click on “Advanced” and then click “OK”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image18.png"><img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb17.png" alt="image" width="351" height="237" border="0" /></a></p>
<p><strong>Tip #4:</strong> Wait a few seconds while it reads the MSI…</p>
<p><strong>Step 9:</strong> As this is a x64 version of the application I recommend that you Add “ x64” to the name of the program to distinguish what version you have deployed.</p>
<p><strong>Step 10 (Optional):</strong> If you want to selectively deploy the client to the workstations click on the “Security” tab and click the “Advanced”.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image24.png"><img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb23.png" alt="image" width="408" height="452" border="0" /></a></p>
<p><strong>Step 11 (Optional):</strong> Un-tick “Include inheritable permission from this object’s parent.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image25.png"><img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb24.png" alt="image" width="630" height="473" border="0" /></a></p>
<p><strong>Step 12 (Optional):</strong> Click “Add”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image26.png"><img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb25.png" alt="image" width="448" height="206" border="0" /></a></p>
<p><strong>Step 13 (Optional):</strong> Click “OK”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image32.png"><img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb31.png" alt="image" width="630" height="473" border="0" /></a></p>
<p><strong>Step 14 (Optional):</strong> Click on “Authenticated Users” and click on “Remove”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image33.png"><img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb32.png" alt="image" width="408" height="452" border="0" /></a></p>
<p><strong>Step 15 (Optional):</strong> Click “Add” and select the security group name (e.g. “InTune Computers”) that will be used to assign this application to specific computers.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image34.png"><img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb33.png" alt="image" width="408" height="452" border="0" /></a></p>
<p><strong>Step 16 (Optional):</strong> Click on “OK”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image35.png"><img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb34.png" alt="image" width="408" height="452" border="0" /></a></p>
<p><strong>Step 15:</strong> Accept all other default setting and click “OK”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image21.png"><img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb20.png" alt="image" width="408" height="452" border="0" /></a></p>
<p>You should now see something like the image below… The software will now install on the selected computer’s at the next reboot….</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image36.png"><img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb35.png" alt="image" width="644" height="134" border="0" /></a></p>
<p><strong>InTune Note:</strong> The client software that you downloaded from the InTune web site is customised for your computers so they will automatically appear in your InTune web console.</p>
<p><strong>Tip #5:</strong> If you also have <a href="http://www.grouppolicy.biz/2009/11/group-policy-setting-of-the-week-2-verbose-vs-normal-status-messages/">Verbose vs normal status messages</a> enabled you will see the software being installed during computer start-up.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image22.png"><img style="border-width: 0px; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb21.png" alt="image" width="635" height="317" border="0" /></a></p>
<p>&nbsp;</p>
<h3>How to configure your Distribution Share for Group Policy Software Deployment</h3>
<p>See Part 2&nbsp;<a title="Permanent Link to Best Practice: Configuring a Software Library for Group Policy Software Deployment" href="http://www.grouppolicy.biz/2011/07/best-practice-configuring-a-software-library-for-group-policy-software-deployment/" rel="bookmark">Best Practice: Configuring a Software Library for Group Policy Software Deployment</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2011/04/best-practice-how-to-deploy-software-using-group-policy/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Best Practice: How to use Group Policy to configure Windows 7 Logon UI Background Wallpaper</title>
		<link>http://www.grouppolicy.biz/2011/04/best-practice-how-to-use-group-policy-to-configure-windows-7-logon-ui-background-wallpaper/</link>
		<comments>http://www.grouppolicy.biz/2011/04/best-practice-how-to-use-group-policy-to-configure-windows-7-logon-ui-background-wallpaper/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 13:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Best Practice]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Background]]></category>
		<category><![CDATA[Login]]></category>
		<category><![CDATA[logon]]></category>
		<category><![CDATA[Wallpaper]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2011/04/best-practice-how-to-use-group-policy-to-configure-windows-7-logon-ui-background-wallpaper/</guid>
		<description><![CDATA[Since I posted my Best Practice: Using Group Policy to configure Desktop Wallpaper (“Background”) a few of you have asked for me to do a post showing how to configure the Windows 7 Logon UI Background wallpaper. So below I have outlined the steps (with tips) showing you how to deploy and enabled a Logon [...]]]></description>
			<content:encoded><![CDATA[<p>Since I posted my <a href="http://www.grouppolicy.biz/2011/03/best-practice-using-group-policy-to-configure-desktop-wallpaper-background/">Best Practice: Using Group Policy to configure Desktop Wallpaper (“Background”)</a> a few of you have asked for me to do a post showing how to configure the Windows 7 Logon UI Background wallpaper. So below I have outlined the steps (with tips) showing you how to deploy and enabled a Logon UI background wallpaper to your fleet of Windows 7 computers.</p>
<p>Unlike the normal Background option the Logon UI Background is only show when the computer is not logged on or when it is locked. While I know some of you might loath having to set a wallpaper for your users computers as like myself you like to have the freedom to change this setting. This may be a much nicer balance for your user and management as you can still have your corporate branding applied to your computers but still allow the users to have their own custom background image when they are logged on.</p>
<p><center> <script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 300 x 250 - Medium */
google_ad_slot = "7296078251";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> </center> </p>
<p><strong>Tip #1:</strong>&nbsp;Before you you&nbsp;start I would check out the WithinWindows article that goes into more details on how this option is configured at <a href="http://www.withinwindows.com/2009/03/15/windows-7-to-officially-support-logon-ui-background-customization/" target="_blank">WithInWindows: Windows 7 to officially support logon ui background customization</a> .</p>
<p>Essential we have to do three things; 1. create a local the folder for the background image; 2. copy the background image to the local folder and; 3. enable the registry key to show the background image.</p>
<p><strong>Step 1.</strong> Edit a Group Policy Object that is applied to the machines that you want to make this change on. Then use the <a href="http://technet.microsoft.com/en-us/library/cc726070.aspx" target="_blank">Folders Extension</a> to create the path “%WindowsDir%\System32\oobe\info\backgrounds”.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image6.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb6.png" alt="image" width="408" height="452" border="0" /></a></p>
<p><strong>Explanation:</strong>&nbsp;This is done to create the folders that we will place the Login background image as this is normally not created OOB.</p>
<p><strong>Note:</strong> That even thought the “Info” folder is not explicitly created the fact that it is part of the path it will also implicitly be created.</p>
<p><strong>Step 2.</strong> In the same Group Policy Object use the <a href="http://technet.microsoft.com/en-us/library/cc771102.aspx" target="_blank">File Extension</a> to copy a background image (e.g. backgroundDefault.jpg) to the path that was created above.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image7.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb7.png" alt="image" width="408" height="451" border="0" /></a></p>
<p><strong>Note:</strong> In this example the source was “\\demodc01\Wallpaper\backgroundDefault.jpg” and the destination was “%WindowsDir%\System32\oobe\info\backgrounds\backgroundDefault.jpg”</p>
<p><strong>Tip #2:</strong> As this policy is being run under the contest of the local System account you will need to make sure the location on the network where the file is being copied from has read access for the Domain Computers group.</p>
<p>Now we need to enable the “OEMBackground” registry key so that windows will use the wallpaper file we just copied over the to the computer (see details below).</p>
<h3>OEMBackground</h3>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background<br />
<strong>Value:</strong>&nbsp;OEMBackground (REG_DWORD32)<br />
<strong>Data:</strong> 0 (Standard Wallpaper only, Default)<br />
<strong>Data:</strong> 1 (Custom Logon UI wallpaper enabled if possible)</p>
<p><strong>Step 3:</strong> Again, in the same GPO we need to enable the Logon UI Wallpaper and create a new <a href="http://technet.microsoft.com/en-us/library/cc771589.aspx" target="_blank">Registry Extension</a> item.</p>
<h3><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image8.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb8.png" alt="image" width="408" height="452" border="0" /></a></h3>
<p>&nbsp;</p>
<p><strong>Step 4 (Optional):</strong> Configured the Description.</p>
<p><strong>Tip #3:</strong> This is not required but is always a good idea so that someone else looking at this policy can figured out what the policy does.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image10.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb9.png" alt="image" width="408" height="452" border="0" /></a></p>
<p><strong>Tip #4:</strong> As this registry key already exists then I would NOT recommend using the</p>
<p><center> <script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 300 x 250 - Medium */
google_ad_slot = "7296078251";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> </center> </p>
<p>Done. Now when the user logs off or shutdown the computer they will have the new background image (see below).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image11.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb10.png" alt="image" width="644" height="482" border="0" /></a></p>
<p>What I really like about this method as opposed to doing it via a logon script is that the affect is immediate and if the user finds and changes the background image it will be reset back at the next policy refresh. This also means you can push out a new background image on a regular basis as all you have to do it update the source background image on the network and it will automatically propagate from there…</p>
<p><strong>Tip #5:</strong>&nbsp;If the background image is not working then make sure the file is less that 250kb&nbsp;in size as this is a built in restriction presumably to prevent slow down in loading very large image files. To resize the image I use <a href="http://www.getpaint.net/" target="_blank">Paint .Net</a> which is a free image editing app that allows you to configure the compression ratio on JPG files.</p>
<p><strong>Tip #6:</strong> Remember that if you use only the “backgroundDefault.jpg” file then it will stretch and skew the photo to fit the resolution of the screen. See the <a href="http://www.withinwindows.com/2009/03/15/windows-7-to-officially-support-logon-ui-background-customization/" target="_blank">WithInWindows</a> article for the other files names that are used for specific screen resolutions/ratios.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2011/04/best-practice-how-to-use-group-policy-to-configure-windows-7-logon-ui-background-wallpaper/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>How to use Group Policy to change the Drive Letters position in Windows Explorer</title>
		<link>http://www.grouppolicy.biz/2011/04/how-to-use-group-policy-to-change-the-drive-letters-position-in-windows-explorer/</link>
		<comments>http://www.grouppolicy.biz/2011/04/how-to-use-group-policy-to-change-the-drive-letters-position-in-windows-explorer/#comments</comments>
		<pubDate>Wed, 06 Apr 2011 01:41:50 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Tip]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Drive Letter]]></category>
		<category><![CDATA[Explorer]]></category>
		<category><![CDATA[Group Policy Preferences]]></category>
		<category><![CDATA[KB330193]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2011/04/how-to-use-group-policy-to-change-the-drive-letters-position-in-windows-explorer/</guid>
		<description><![CDATA[I just read an article that showed you how to set this really cool registry key that allows you to change how the drive letter is displayed in Windows Explorer. As this hack is only a registry key I thought I would do a quick how to deploy this this feature using Group Policy Preferences [...]]]></description>
			<content:encoded><![CDATA[<p>I just read an <a href="http://www.ghacks.net/2011/04/05/windows-explorer-display-drive-letters-before-drive-names/" target="_blank">article</a> that showed you how to set this really cool registry key that allows you to change how the drive letter is displayed in Windows Explorer. As this hack is only a registry key I thought I would do a quick how to deploy this this feature using <a href="http://www.grouppolicy.biz/archives/group-policy-preferences/" target="_blank">Group Policy Preferences</a> <a href="http://technet.microsoft.com/en-us/library/cc771589.aspx" target="_blank">Registry Extension</a>. </p>
<p>Below is an example of the options you have to show the drive letters:</p>
<table border="0" cellspacing="0" cellpadding="2" width="481">
<tbody>
<tr>
<td valign="top" width="234"><font size="1"><strong>After (Default)</strong></font></td>
<td valign="top" width="245"><font size="1"><strong>None</strong></font></td>
</tr>
<tr>
<td valign="top" width="234"><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image.png"><font size="1"><strong><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb.png" width="236" height="108" /></strong></font></a></td>
<td valign="top" width="245"><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image1.png"><font size="1"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb1.png" width="232" height="103" /></font></a><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image2.png"><font size="1"><strong></strong></font></a></td>
</tr>
<tr>
<td valign="top" width="234"><font size="1"><strong>Mixed (Local After, Network Before)</strong></font><font size="1"><strong></strong></font></td>
<td valign="top" width="245"><font size="1"><strong>Before</strong></font></td>
</tr>
<tr>
<td valign="top" width="234"><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image3.png"><font size="1"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb2.png" width="246" height="101" /></font></a><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image1.png"><font size="1"></font><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image2.png"><font size="1"><strong></strong></font></a></a></a></td>
<td valign="top" width="245"><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image3.png"><font size="1"></font><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image1.png"><font size="1"></font></a><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image2.png"><font size="1"><strong><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image9.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image9_thumb.png" width="241" height="103" /></a></strong></font></a></a></a></a></a></td>
</tr>
</tbody>
</table>
<p><code><code></code></code></p>
<p><code><code><font face="Verdana">The registry key that you use to configure this option is called “<font face="Courier New">ShowDriveLettersFirst”</font> and it can be applied in either the user or the machine.</font></code></code></p>
<p><code><code><font face="Verdana"><strong>Note:</strong> According to this Microsoft KB Article <a title="http://support.microsoft.com/kb/330193" href="http://support.microsoft.com/kb/330193" target="_blank">KB330193</a> it will only work as a Machine setting in Windows Vista. </font></code></code></p>
<h3>ShowDriveLettersFirst </h3>
<p><strong>Key (User):</strong> HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer     <br /><strong>Key (Machine):</strong> HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer     <br /><strong>Value:</strong> ShowDriveLettersFirst (REG_DWORD32)     <br /><strong>Data:</strong> 0 (After)     <br /><strong>Data:</strong> 1 (Mixed)     <br /><strong>Data:</strong> 2 (None)     <br /><strong>Data:</strong> 4 (Before) </p>
<p><strong>Step 1</strong>. Edit a Group Policy Object that is targeted either to a user or a computer that you want to apply this setting.</p>
<p><strong>Step 2.</strong> Create a New Registry Item using the above Registry details</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image4.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb4.png" width="408" height="452" /></a></p>
<p><strong>Step 3</strong>. Click on the “Common” tab and tick “Remove” this item when it is no longer applied”. I would also put in a comment in the description field explaining the valid numbers and what they do for the setting so someone else looking at this policy know how to re-configure this option if needed.</p>
<p>Explanation: This will ensure the setting reverts to defaults if the computer no longer has this setting applied.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image5.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/04/image_thumb5.png" width="408" height="452" /></a></p>
<p>For more information on this registry key check out <a title="http://support.microsoft.com/kb/330193" href="http://support.microsoft.com/kb/330193" target="_blank">Microsoft KB330193</a>&#160;</p>
<p>Source <a title="http://www.ghacks.net/2011/04/05/windows-explorer-display-drive-letters-before-drive-names/" href="http://www.ghacks.net/2011/04/05/windows-explorer-display-drive-letters-before-drive-names/" target="_blank">GHacks: Windows Explorer: Display Drive Letters Before Drive Names</a> (via <a title="http://www.lifehacker.com.au/2011/04/show-drive-letters-before-the-drive-name-in-windows-explorer/" href="http://www.lifehacker.com.au/2011/04/show-drive-letters-before-the-drive-name-in-windows-explorer/" target="_blank">LifeHacker: Show Drive Letters Before The Drive Name In Windows Explorer</a> )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2011/04/how-to-use-group-policy-to-change-the-drive-letters-position-in-windows-explorer/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How to enable Group Policy Preferences support for IE9</title>
		<link>http://www.grouppolicy.biz/2011/03/how-to-enable-group-policy-preferences-support-for-ie9/</link>
		<comments>http://www.grouppolicy.biz/2011/03/how-to-enable-group-policy-preferences-support-for-ie9/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 22:49:49 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Group Policy Preferences]]></category>
		<category><![CDATA[IE9]]></category>
		<category><![CDATA[Internet Explorer 9]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2011/03/how-to-enable-group-policy-preferences-support-for-ie9/</guid>
		<description><![CDATA[I have previously talked about the new  Group Policy for IE9 ,however I mention that one of the issues was that there is currently no “official” support of Group Policy Preferences… Unfortunately there is still no “official” support but it is now possible if you do some really easy XML editing… Mark Heitbrink (fellow Group [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/03/IE9answer1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; float: right; padding-top: 0px; border-width: 0px;" title="IE9answer" src="http://www.grouppolicy.biz/wp-content/uploads/2011/03/IE9answer_thumb2.png" alt="IE9answer" width="100" height="100" align="right" border="0" /></a>I have previously talked about the new  <a href="http://www.grouppolicy.biz/2011/03/internet-explorer-9-group-policy-settings/" target="_blank">Group Policy for IE9</a> ,however I mention that one of the issues was that there is currently no “official” support of Group Policy Preferences… Unfortunately there is still no “official” support but it is now possible if you do some really easy XML editing…</p>
<p><a href="https://mvp.support.microsoft.com/profile=3F774A66-614F-422B-93F5-E5212C15A272" target="_blank">Mark Heitbrink</a> (fellow Group Policy MVP) has <a href="http://blogs.technet.com/b/asiasupp/archive/2011/03/30/internet-explorer-9-ie9-group-policy-preferences-gpp.aspx" target="_blank">published an article</a> which explains why it does not work and explains briefly how to modify the XML file for Group Policy Preferences so it will apply setting to IE9.</p>
<p>Therefore taking Mark excellent information I have gone thought the process step by step below showing what I think is the easiest way to find and edit the XML file to enable GPP for IE9.</p>
<p><center><br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 468x60, created 1/10/10,small banner */
google_ad_slot = "8151825216";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
</center></p>
<h4>Step by Step enabling GPP for IE9</h4>
<p><strong>Step 1.</strong> Setup a IE8 <a href="http://technet.microsoft.com/en-us/library/cc754649.aspx" target="_blank">Internet Explorer Extension</a> setting that has the setting you want to apply to IE9. (e.g. Home Page)</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image55.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image_thumb55.png" alt="image" width="446" height="451" border="0" /></a></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image56.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image_thumb56.png" alt="image" width="416" height="252" border="0" /></a></p>
<p><strong>Step 2.</strong> In the same Group Policy Object navigate to User Configuration &gt; Policies &gt; Windows Settings &gt; Scripts (Logon/Logoff) and double click on the Logon (or logoff) option. Then click on the “Show Files” button.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image57.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image_thumb57.png" alt="image" width="702" height="635" border="0" /></a></p>
<p><strong>Step 3.</strong> Click on “Users” in the Address bar.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image58.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image_thumb58.png" alt="image" width="519" height="155" border="0" /></a></p>
<p><strong>Step 4</strong>. Then click on the “Preferences” and then “InternetSettings” folder and then right click on the “InternetSettings” file and click on “Edit”.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image59.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image_thumb59.png" alt="image" width="468" height="395" border="0" /></a></p>
<p>Now we are looking at the XML that is used to apply the Group Policy Preferences settings. This is where we need to change the version number to support IE9.</p>
<p><center><br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 468x60, created 1/10/10,small banner */
google_ad_slot = "8151825216";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
</center></p>
<p><strong>Tip:</strong> Enable “Word Wrap” in notepad to see the text on multiple lines.</p>
<p><strong>Step 5.</strong> Change “max=9.0.0.0” to “9.1.0.0” (see below)<br />
Before:</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image60.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image_thumb60.png" alt="image" width="644" height="163" border="0" /></a></p>
<p>After:</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image61.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image_thumb61.png" alt="image" width="644" height="153" border="0" /></a></p>
<p><strong>Step 6</strong>. Save the file and you are done.</p>
<p>Now you can have the goodness of Group Policy Preferences with IE9, however as the article also said this is NOT supported so please test carefully.</p>
<p>What is also nice about this change is that it will be persistence, so if you make subsequent changes to the same setting you do not need to edit the XML again however you will need to make this change each time you make a new GPP IE Policy setting.</p>
<p>Source: <a title="http://blogs.technet.com/b/asiasupp/archive/2011/03/30/internet-explorer-9-ie9-group-policy-preferences-gpp.aspx" href="http://blogs.technet.com/b/asiasupp/archive/2011/03/30/internet-explorer-9-ie9-group-policy-preferences-gpp.aspx" target="_blank">Internet Explorer 9(IE9) Group Policy Preferences (GPP)</a> (Via <a title="http://www.twitter.com/grouppolicyguy/status/53110841712705536" href="http://www.twitter.com/grouppolicyguy/status/53110841712705536" target="_blank">GPOGuy</a> )</p>
<p><center><br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 468x60, created 1/10/10,small banner */
google_ad_slot = "8151825216";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2011/03/how-to-enable-group-policy-preferences-support-for-ie9/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Best Practice: Using Group Policy to configure Desktop Wallpaper (&#8220;Background&#8221;)</title>
		<link>http://www.grouppolicy.biz/2011/03/best-practice-using-group-policy-to-configure-desktop-wallpaper-background/</link>
		<comments>http://www.grouppolicy.biz/2011/03/best-practice-using-group-policy-to-configure-desktop-wallpaper-background/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 13:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Best Practice]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Background]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[Group Policy Prefereces]]></category>
		<category><![CDATA[Wallpaper]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/?p=2073</guid>
		<description><![CDATA[Group Policy is of course one of the best ways you can lockdown and configure your windows systems in your environment and one of the most commonly configured setting in Group Policy is the ability to configured the Desktop Wallpaper (a.k.a. Background) image. Now most of you might just say is all you need to [...]]]></description>
			<content:encoded><![CDATA[<p>Group Policy is of course one of the best ways you can lockdown and configure your windows systems in your environment and one of the most commonly configured setting in Group Policy is the ability to configured the Desktop Wallpaper (a.k.a. Background) image. Now most of you might just say is all you need to do is set the  group policy setting however there are some common traps that you might fall into if you don’t use this setting correctly.</p>
<h3>Method #1: Administrative Template “Desktop Wallpaper” Setting</h3>
<p>The “<a title="http://gps.cloudapp.net/Default.aspx?PolicyID=141" href="http://gps.cloudapp.net/Default.aspx?PolicyID=141" target="_blank">Desktop Wallpaper</a>” method is of course the most commonly used way for configuring the Wallpaper on a computer however as it seems with all things Group Policy using this setting comes with its own pro’s and con’s.</p>
<p>Pro’s</p>
<ul>
<li>Change is Restricted for the users</li>
<li>Works on all versions of Windows</li>
</ul>
<p>Con’s</p>
<ul>
<li>Limited targeting only based on standard Group Policy Object’s (OU,Security Filter,Site,WMI &amp; Domain)</li>
</ul>
<p><center><br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 468x60, created 1/10/10,small banner */
google_ad_slot = "8151825216";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
</center></p>
<p>This setting can be found under User Configuration &gt; Administrative Templates &gt; Desktop &gt; Desktop and is straight forward to configure as all you have to do is specify the explicit local path or a UNC to the image you want displayed as the desktop wallpaper (see below).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image21.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image_thumb22.png" alt="image" width="515" height="484" border="0" /></a></p>
<p>Behind the scenes all this setting is doing is configuring the REG_SZ “Wallpaper” and the REG_SZ “WallpaperStyle”  registry keys under the HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System  path.</p>
<p><strong>TIP #1:</strong> If you are running Windows 7/Server 2008 R2 pre-Service Pack 1 you will need to install hotfix <a title="http://support.microsoft.com/kb/977944" href="http://support.microsoft.com/kb/977944">http://support.microsoft.com/kb/977944</a> for this setting to work.</p>
<p><strong>TIP #2</strong>: If you are configuring this setting I recommend that you use the “Fill” Wallpaper Style as this will work best with most screen resolutions (especially on Windows 7).</p>
<p><strong>TIP #3:</strong> If you configure this setting you will need to wait for the user to logoff the computer before the background is updated.</p>
<p><center><br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 468x60, created 1/10/10,small banner */
google_ad_slot = "8151825216";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
</center></p>
<h3>Method #2: Group Policy Preferences Registry Key Wallpaper Configuration</h3>
<p>As I mention in Method #1 all the Administrative Template “Desktop Wallpaper” does is configure the HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System REG_SZ “Wallpaper” key. Therefore you can also use the Group Policy Preference <a href="http://technet.microsoft.com/en-us/library/cc771589.aspx" target="_blank">Registry Extension</a> option to also set the same key to give you some added benefits.</p>
<p>Pro’s</p>
<ul>
<li>Support advanced targeting option due to Group Policy <a href="http://technet.microsoft.com/en-us/library/cc733022.aspx" target="_blank">Preferences Item-Level Targeting</a></li>
<li>Change is Restricted or Unrestricted for the user</li>
</ul>
<p>Con’s</p>
<ul>
<li>Must run Windows XP (or greater)</li>
<li>Must have the Group Policy Client Side Extensions installed.</li>
</ul>
<p>To configured the Desktop Wallpaper the same as the “<a title="http://gps.cloudapp.net/Default.aspx?PolicyID=141" href="http://gps.cloudapp.net/Default.aspx?PolicyID=141" target="_blank">Desktop Wallpaper</a>” administrative template simply create two registry keys User Configuration &gt; Preferences &gt; Windows Settings &gt; Registry (see below). Now depending on the registry key that you configure for this setting you can either have this as a restricted (a.k.a. locked) setting or an unrestricted setting that allows the users to make their own changes.</p>
<p><strong>Restricted:</strong> HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\Wallpaper</p>
<p><strong>Unrestricted:</strong> HKCU\Control Panel\Desktop\Wallpaper</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image22.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image_thumb23.png" alt="image" width="408" height="452" border="0" /></a></p>
<p><strong>Restricted:</strong> HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\WallpaperStyle</p>
<p><strong>Unrestricted:</strong> HKCU\Control Panel\Desktop\WallpaperStyle</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image23.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image_thumb24.png" alt="image" width="408" height="452" border="0" /></a></p>
<p><strong>Tip #4:</strong> If you don’t configured the “WallpaperStyle” registry key then users will still be able to choose their own Wallpaper Style.</p>
<p>If you chose the restricted registry keys to configured the wallpaper then ensure you also select the “Replace” action and “Remove this item when it is no longer applied” common option is selected (see below). If you don’t do this you will find that your users will not be able to change their wallpaper even after the policy is removed as the policy registry key will not be removed.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image24.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image_thumb25.png" alt="image" width="408" height="108" border="0" /></a></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image26.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image_thumb27.png" alt="image" width="408" height="229" border="0" /></a></p>
<p>If you chose to use the unrestricted registry key values then also make sure you chose the “Apply once and do not reapply” option. If you don’t do this the users wallpaper will be reset ever time they log off their computer as the key will be set back to the original value during each policy refresh.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image25.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image_thumb26.png" alt="image" width="408" height="229" border="0" /></a><br />
<center><br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 468x60, created 1/10/10,small banner */
google_ad_slot = "8151825216";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
</center></p>
<h3>Configuring the Desktop Wallpaper Storage Location</h3>
<p>Now that you know the many options for configuring the Desktop Wallpaper via Group Policy the next thing you should consider is where is the wallpaper being stored. As you can seen in the screen shots of the administrative template Desktop Wallpaper that they use the example of a UNC path. But…</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image30.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image_thumb31.png" alt="image" width="237" height="93" border="0" /></a></p>
<p><strong>TIP #5:</strong> DONT EVER USE A UNC PATH FOR A DESKTOP WALLPAPER… EVER!!</p>
<p>Simple put using a UNC path puts a lot of stress on network as it has to download file every time the wallpaper is loaded. It also means that if the network path cannot be contacted when the user logs on all they will get is a black background wallpaper. This is particularly obvious when someone logs on with a laptop not connected LAN.</p>
<p>So the obviously question is how do you make sure that file that the desktop wallpaper uses is always available and easily accessible? Use a script and copy the file to the local hard drive. Sure… but <a href="http://ihatelogonscripts.com">http://ihatelogonscripts.com</a> and the issue with using a script is that it will only run when the computer starts up or when the user logs on. Generally this would not be a problem and if you are smart enough to use a copy program like robocopy or other such program it wont stress your LAN as it will only copy the file once. But on the day that you change the desktop wallpaper ever computer and/or user will try to download the new wallpaper all at once.</p>
<p>The Answer? Use Group Policy Preferences <a href="http://technet.microsoft.com/en-us/library/cc771102.aspx" target="_blank">File Extension</a> and copy the file down to the local computer.</p>
<h3>Using the Group Policy Preferences File Extension</h3>
<p>Using the File Extension to copy the file to the local hard drive means the file will be copied to the local hard drive making obviously available at all times. However the File Extensions options also has the advantage of being able to updated the file during each group policy refresh. This way the computer gets the updated wallpaper without having to logoff or reboot the computer and you avoid slamming the network in the morning when all the computers turn on.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image31.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/03/image_thumb32.png" alt="image" width="408" height="451" border="0" /></a></p>
<p><strong>TIP #6:</strong> Setup the file copy as a computer setting so that it will update the files even when there is no user logged on.</p>
<p><strong>TIP #7:</strong> If you follow Tip #6 then you need to make sure that the desktop wallpaper file has got “Domain Computers” Read permissions so the local system account has access to copy the file from the network.</p>
<p>So by now, hopefully you know how to set the desktop wallpaper and so you can ensure that the images you use for the wallpaper are always available that way you  can ensure that your users are always subjected to your corporate desktop wallpaper.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2011/03/best-practice-using-group-policy-to-configure-desktop-wallpaper-background/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Best Practice: Group Policy for Microsoft Security Essentials 2.0</title>
		<link>http://www.grouppolicy.biz/2010/12/group-policy-for-microsoft-security-essentials-2-0/</link>
		<comments>http://www.grouppolicy.biz/2010/12/group-policy-for-microsoft-security-essentials-2-0/#comments</comments>
		<pubDate>Fri, 17 Dec 2010 04:30:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Best Practice]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[Microsoft Security Essentials]]></category>
		<category><![CDATA[MSE]]></category>
		<category><![CDATA[registry]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2010/12/group-policy-for-microsoft-security-essentials-2-0/</guid>
		<description><![CDATA[Microsoft have now released Microsoft Security Essentials 2.0 to the web which has a number of new features over the previous version. Windows Firewall integration – During setup, Microsoft Security Essentials will now ask if you would like to turn the Windows Firewall on or off. Enhanced protection for web-based threats – Microsoft Security Essentials [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image50.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" align="right" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb48.png" width="133" height="130" /></a>Microsoft have now released Microsoft Security Essentials 2.0 to the web which has a number of new features over the previous version.</p>
<ul>
<li><b>Windows Firewall integration </b>– During setup, Microsoft Security Essentials will now ask if you would like to turn the Windows Firewall on or off. </li>
<li><b>Enhanced protection for web-based threats –</b> Microsoft Security Essentials now integrates with Internet Explorer to provide protection against web-based threats. </li>
<li><b>New protection engine –</b> The updated anti-malware engine offers enhanced detection and cleanup capabilities with better performance. </li>
<li><b>Network inspection system* –</b> Protection against network-based exploits is now built in to Microsoft Security Essentials. </li>
</ul>
<p>Therefore I have updated my previous post based <a href="http://www.grouppolicy.biz/2010/09/group-policy-for-microsoft-security-essentials/">Group Policy for Microsoft Security Essentials</a> to support configuring the newly added features.</p>
<p>If you want more general info about MSE v2 see: <a title="http://securitygarden.blogspot.com/2010/12/microsoft-security-essentials-20.html" href="http://securitygarden.blogspot.com/2010/12/microsoft-security-essentials-20.html" target="_blank">Security Garden: Microsoft Security Essentials 2.0 Released</a></p>
<p>If you want to download it visit&#160; <a title="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e1605e70-9649-4a87-8532-33d813687a7f" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e1605e70-9649-4a87-8532-33d813687a7f">http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e1605e70-9649-4a87-8532-33d813687a7f</a></p>
<p>Before I begin I should remind you that Microsoft only allows MSE to be used for free in small businesses with less that 10 seats (see <a href="http://windowsteamblog.com/windows/b/windowssecurity/archive/2010/09/22/microsoft-security-essentials-now-available-for-small-businesses.aspx" target="_blank">here</a>). But MSE does not natively support Group Policy and having to configured even 10 copies of Microsoft Security Essentials (MSE)&#160; manually can be a pain. So the instructions below is simply a way to configure the registry keys of the application using the <a href="http://technet.microsoft.com/en-us/library/cc771589.aspx" target="_blank">Group Policy Preferences Registry</a> key setting.</p>
<p><strong>Tip:</strong> If the below instructions to create the registry keys seems like to much work you will be glad to know that I have put a link at the bottom to an XML Group Policy Preferences Registry file. You can use this file to import the all the Policy Registry setting I talk about below automatically.</p>
<h3>How to use <a href="http://www.grouppolicy.biz/2010/03/what-are-group-policy-preferences/" target="_blank">Group Policy Preferences</a> Registry key setting.</h3>
<p>Before we begin we first need to know how to create a Group Policy Preferences Registry Key setting that we will use to control each of the registry keys we need to configured MSE. The following steps will need to be repeated for each registry key below.</p>
<p><strong>Step 1.</strong> Edit a Group Policy Object that is applied to the computers you want this setting applied.</p>
<p><strong>Step 2.</strong> Navigate to Computer Configuration &gt; Preferences &gt; Windows Settings &gt; Registry</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image51.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Group Policy Management Editor" border="0" alt="Group Policy Management Editor" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb49.png" width="644" height="461" /></a></p>
<p><strong>Step 3.</strong> In the Menu click on Action &gt; New &gt; Registry Item</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image52.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="New Registry Properties" border="0" alt="New Registry Properties" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb50.png" width="408" height="452" /></a></p>
<p>Now you know how to configure a registry key setting using Group Policy Preferences you can create a new Registry Item for each registry key listed below.</p>
<p>  <span id="more-1950"></span> <center><script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 250x250, created 9/15/10 */
google_ad_slot = "1340843319";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>
<p><strong>Note:</strong> The Data values below that are highlighted in BOLD are the values you need to use to replication the examples shown.</p>
<h3>How to configured Scheduled Scan using Group Policy for Microsoft Security Essentials</h3>
<p>Now you need to create a registry few specific registry keys. In this example we are going to configured a Full Scheduled scan to run each day at 8am. We are also going to enable the option to check for an update before scanning and we are going to configure the scan to</p>
<h4>Scheduled Day</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Scan     <br /><strong>Value:</strong> ScheduleDay (REG_DWORD)     <br /><strong>Data:</strong> <strong>0</strong> (Every Day)     <br /><strong>Data:</strong> 1 (Sunday)     <br /><strong>Data:</strong> 2 (Monday)     <br /><strong>Data:</strong> 3 (Tuesday)     <br /><strong>Data:</strong> 4 (Wednesday)     <br /><strong>Data:</strong> 5 (Thursday)     <br /><strong>Data:</strong> 6 (Friday)     <br /><strong>Data:</strong> 7 (Saturday)</p>
<h4>Scheduled Time</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Scan     <br /><strong>Value:</strong> ScheduleTime (REG_DWORD)     <br /><strong>Data:</strong> 0 (12am)     <br /><strong>Data:</strong> <strong>000001e0</strong> (8am)</p>
<p>The data of this value represents the number of minutes from 12am in hex… therefore if you want 8am configured the data to “000001e0”</p>
<h4>Full or Quick Scan</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Scan     <br /><strong>Value:</strong> ScanParameters (REG_DWORD)     <br /><strong>Data:</strong> 1 (Quick Scan)     <br /><strong>Data:</strong> <strong>2</strong> (Full Scan)</p>
<h4>Check for Update before scanning</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Scan     <br /><strong>Value:</strong> CheckForSignaturesBeforeRunningScan (REG_DWORD)     <br /><strong>Data:</strong> 0 (Disabled)     <br /><strong>Data:</strong> <strong>1</strong> (Enabled)</p>
<h4>Scan only when idle</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Scan     <br /><strong>Value:</strong> ScanOnlyIfIdle (REG_DWORD)     <br /><strong>Data:</strong> 0 (Scan when idle)     <br /><strong>Data:</strong> <strong>1 </strong>(Scan when active)</p>
<h4>Limit CPU Usage</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Scan     <br /><strong>Value:</strong> AvgCPULoadFactor (REG_DWORD)     <br /><strong>Data (Decimal):</strong> 10 (10%)     <br /><strong>Data (Decimal):</strong> 50 (20%)     <br /><strong>Data (Decimal):</strong> 90 (90%)</p>
<p>Now all your computers will have the scheduled scan option configured as the following image below.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/12/image2.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/12/image_thumb.png" width="644" height="452" /></a></p>
<p>  <center><script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 250x250, created 9/15/10 */
google_ad_slot = "1340843319";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><br />
<h3>How to configure Real-Time Protection options using Group Policy for Microsoft Security Essentials</h3>
<p>Below are the registry keys for configuring the “Rea-Time Scanning” settings for Microsoft Security Essentials.</p>
<h4>Monitor file and program activity</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Real-Time Protection     <br /><strong>Value:</strong> DisableIOAVProtection (REG_DWORD)     <br /><strong>Data:</strong> <strong>0</strong> (Real-Time scan Enabled)     <br /><strong>Data:</strong> 1 (Real-Time scan Disabled)</p>
<h4>Scan all downloaded files and attachments</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Real-Time Protection     <br /><strong>Value:</strong> DisableOnAccessProtection (REG_DWORD)     <br /><strong>Data:</strong> <strong>0</strong> (Scan Enabled)     <br /><strong>Data:</strong> 1 (Scan Disabled)</p>
<h4>Scan all downloaded files and attachments</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Real-Time Protection     <br /><strong>Value:</strong> DisableOnAccessProtection (REG_DWORD)     <br /><strong>Data:</strong> <strong>0</strong> (Scan Enabled)     <br /><strong>Data:</strong> 1 (Scan Disabled)</p>
<h4>Disabled Real Time Monitoring</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Real-Time Protection     <br /><strong>Value:</strong> DisableRealtimeMonitoring(REG_DWORD)     <br /><strong>Data:</strong> <strong>0</strong> (Scan Enabled)     <br /><strong>Data:</strong> 1 (Scan Disabled &#8211; but why would you want to disable it&#8230;?)</p>
<h4>Disabled Intrusion Prevention System</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Real-Time Protection     <br /><strong>Value:</strong> DisableIntrusionPreventionSystem(REG_DWORD)     <br /><strong>Data:</strong> <strong>0</strong> (IPS Enabled)     <br /><strong>Data:</strong> 1 (IPS Disabled)</p>
<h4>Real Time File Scanning Direction</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Real-Time Protection     <br /><strong>Value:</strong> DisableIntrusionPreventionSystem(REG_DWORD)     <br /><strong>Data:</strong> <strong>0</strong> (Both)     <br /><strong>Data:</strong> 1 (Incoming)     <br /><strong>Data:</strong> 2 (Outgoing)</p>
<p>You real time protection should now be configured as shown below.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/12/image3.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/12/image_thumb1.png" width="644" height="452" /></a></p>
<h3>How to configure Advanced Real-Time Protection options using Group Policy for Microsoft Security Essentials</h3>
<p>Below are the registry keys for configuring the “Advanced” settings for Microsoft Security Essentials.</p>
<h4>Scan archive files</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Scan     <br /><strong>Value:</strong> DisableArchiveScanning (REG_DWORD)     <br /><strong>Data:</strong> <strong>0</strong> (Enable Archive Scanning)     <br /><strong>Data:</strong> 1 (Disable Archive Scanning)</p>
<h4>Scan Removable Drives</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Scan     <br /><strong>Value:</strong> DisableRemovableDriveScanning (REG_DWORD)     <br /><strong>Data:</strong> <strong>0</strong> (Scan Enabled)     <br /><strong>Data:</strong> 1 (Scan Disabled)</p>
<h4>Create a system restore point</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Scan     <br /><strong>Value:</strong> DisableRestorePoint (REG_DWORD)     <br /><strong>Data:</strong> <strong>0</strong> (Create Restore Point)     <br /><strong>Data:</strong> 1 (Do not create Restore Point)</p>
<h4>Remove Quarantine file after (x days):</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Quarantine     <br /><strong>Value:</strong> PurgeItemsAfterDelay (REG_DWORD)     <br /><strong>Data (Decimal):</strong> 30 (30 Days)</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/12/image4.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/12/image_thumb2.png" width="644" height="452" /></a></p>
<h3></h3>
<h3>Importing Group Policy Preferences</h3>
<p>For your convenience I have provided you a link to a XML Group Policy Preferences Registry file for all the above settings.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/MSE_Settings_2.xml" target="_blank"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/12/image5.png" width="91" height="109" /></a></p>
<p>Or here <a title="http://www.grouppolicy.biz/wp-content/uploads/2010/MSE_Settings_2.xml" href="http://www.grouppolicy.biz/wp-content/uploads/2010/MSE_Settings_2.xml">http://www.grouppolicy.biz/wp-content/uploads/2010/MSE_Settings_2.xml</a> if the link on the image above does not work.</p>
<p>Simply save the file to your desktop and then drag it into the empty pane on the right hand side, click “Yes” to confirm the import and you will have all the registry keys automatically created.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image56.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb54.png" width="369" height="149" /></a></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/12/image6.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/12/image_thumb3.png" width="644" height="461" /></a></p>
<p>  <center><script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 250x250, created 9/15/10 */
google_ad_slot = "1340843319";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2010/12/group-policy-for-microsoft-security-essentials-2-0/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Best Practice: How to show or hide Control Panel items in Windows 7 using Group Policy</title>
		<link>http://www.grouppolicy.biz/2010/11/how-to-show-or-hide-control-panel-items-in-windows-7-using-group-policy/</link>
		<comments>http://www.grouppolicy.biz/2010/11/how-to-show-or-hide-control-panel-items-in-windows-7-using-group-policy/#comments</comments>
		<pubDate>Wed, 17 Nov 2010 13:59:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Best Practice]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Canonical]]></category>
		<category><![CDATA[Control Panel]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2010/11/how-to-show-or-hide-control-panel-items-in-windows-7-using-group-policy/</guid>
		<description><![CDATA[One of the common lock down’s that administrator apply to Remote Desktop Services Servers (a.k.a. Terminal Services (a.k.a. Citrix)) is to remove all but the essential control panel items. Previous to Windows 7 you had to specify the .cpl (e.g. timedate.cpl) file name of the control panel item you wanted to show or hide however [...]]]></description>
			<content:encoded><![CDATA[<p>One of the common lock down’s that administrator apply to Remote Desktop Services Servers (a.k.a. Terminal Services (a.k.a. Citrix)) is to remove all but the essential control panel items.</p>
<p>Previous to Windows 7 you had to specify the .cpl (e.g. timedate.cpl) file name of the control panel item you wanted to show or hide however this has changed in Windows 7 and you now need to use the Canonical Name when hiding or showing specific items.</p>
<p>Below I will explain the new way of configuring control panel items for Windows 7 and show you the affect that this has on the control panel.</p>
<p>  <span id="more-1921"></span>
<p><center><script type="text/javascript"><!--
google_ad_client = "pub-0199394863971709";
/* 250x250, created 9/15/10 */
google_ad_slot = "1340843319";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center></p>
<p>Before you begin I recommend that you take a look at <a title="http://msdn.microsoft.com/en-us/library/ee330741(VS.85).aspx" href="http://msdn.microsoft.com/en-us/library/ee330741(VS.85).aspx">http://msdn.microsoft.com/en-us/library/ee330741(VS.85).aspx</a> which lists all the Canonical names for the control panel items for Windows 7. You will need to know what CN of the item you want to restrict or allow.</p>
<p><strong>Note:</strong> In this example we are only going to show the control panel items we want to see (white list) however if you use the <a href="http://gps.cloudapp.net/Default.aspx?PolicyID=4694" target="_blank"><strong>Hide specified Control Panel items</strong></a> policy setting you can black list only the items you don’t want listed.</p>
<p>Step 1. Edit the Group Policy object that is applied to the users that you want to apply the Control Panel configuration.</p>
<p>Step 2. Navigate to User Configuration &gt; Policies &gt; Administrative Templates &gt; Control Panel</p>
<p>Step 3. Double click on the <a href="http://gps.cloudapp.net/Default.aspx?PolicyID=4697" target="_blank"><strong>Show only specified Control Panel</strong></a> items setting then check <strong>Enabled</strong> and then click then <strong>Show</strong> button.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/11/image.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/11/image_thumb.png" width="704" height="644" /></a></p>
<p>Step 4. Now you have the Show Contents dialog box open&#160; you need to visit the web site that list the names at <a title="http://msdn.microsoft.com/en-us/library/ee330741(VS.85).aspx" href="http://msdn.microsoft.com/en-us/library/ee330741(VS.85).aspx" target="_blank">Canonical Names of Control Panel Items</a> and copy the Canonical name for the control panel item you want to display. </p>
<p>Paste the name into the value field enter the canonical name of the control panel item you want to show in the Value field and click <strong>OK</strong>.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/11/image1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/11/image_thumb1.png" width="506" height="335" /></a></p>
<p>You will now see that the only available control panel item is the Region and Language options (see below).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/11/image2.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/11/image_thumb2.png" width="644" height="345" /></a></p>
<p>However this view is somewhat confusing for users as they can still click on the category but there are not items to display (see below).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/11/image3.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/11/image_thumb3.png" width="644" height="345" /></a></p>
<p>To get around this problem also enable the Always open All Control Panel Items (a.k.a <a href="http://gps.cloudapp.net/Default.aspx?PolicyID=4695" target="_blank">Force classic Control Panel</a>) when opening Control Panel setting in the same GPO.</p>
<p><strong>Note:</strong> This option is probably not needed if you used the <a href="http://gps.cloudapp.net/Default.aspx?PolicyID=4697" target="_blank"><strong>Show only specified Control Panel</strong></a> setting instead.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/11/image4.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/11/image_thumb4.png" width="644" height="589" /></a></p>
<p>Now when the users open control panel they will only see the specific control panel items you have allowed without the empty categories.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/11/image5.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/11/image_thumb5.png" width="644" height="345" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2010/11/how-to-show-or-hide-control-panel-items-in-windows-7-using-group-policy/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Best Practive: How to enable a disabled Local Administrator account offline in Windows 7 (even when using BitLocker)</title>
		<link>http://www.grouppolicy.biz/2010/10/how-to-enable-a-disabled-local-administrator-account-offline-in-windows-7-even-when-using-bitlocker/</link>
		<comments>http://www.grouppolicy.biz/2010/10/how-to-enable-a-disabled-local-administrator-account-offline-in-windows-7-even-when-using-bitlocker/#comments</comments>
		<pubDate>Mon, 11 Oct 2010 13:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Best Practice]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Advanced]]></category>
		<category><![CDATA[Bitlocker]]></category>
		<category><![CDATA[Enable]]></category>
		<category><![CDATA[Local Administrator]]></category>
		<category><![CDATA[offline]]></category>
		<category><![CDATA[Recovery Key]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/?p=1887</guid>
		<description><![CDATA[Back in the days of Windows XP IT administrators could disable the local administrator account on domain joined computers but still be able to use the account if they rebooted the computer into safe mode (see How to access the computer after you disable the administrator account ). To log on to Windows by using [...]]]></description>
			<content:encoded><![CDATA[<p>Back in the days of Windows XP IT administrators could disable the local administrator account on domain joined computers but still be able to use the account if they rebooted the computer into safe mode (see <a href="http://support.microsoft.com/kb/814777" target="_blank">How to access the computer after you disable the administrator account</a> ).</p>
<blockquote><p><a href="http://support.microsoft.com/kb/814777" target="_blank">To log on to Windows by using the disabled local Administrator account, start Windows in Safe mode.</a></p>
</blockquote>
<p>However this behaviour has change since Windows Vista (and 7) and now you are no longer able to logon to a computers local administrator account if it is disabled (see <a title="http://blogs.msdn.com/b/windowsvistasecurity/archive/2006/08/27/windowsvistasecurity-.aspx" href="http://blogs.msdn.com/b/windowsvistasecurity/archive/2006/08/27/windowsvistasecurity-.aspx" target="_blank">Built-in Administrator Account Disabled</a> ).</p>
<blockquote><p><a href="http://blogs.msdn.com/b/windowsvistasecurity/archive/2006/08/27/windowsvistasecurity-.aspx" target="_blank">On domain joined computers, the disabled built-in administrator account cannot logon in safe mode</a></p>
</blockquote>
<p>This presents some challenges as IT administrator as sometime you still need to ability to logon to a computer using the local administrator. The most common scenario you need to do this is when you need to troubleshoot domain account issues (e.g. re-join the computer to the domain) when the AD computer account has been reset or deleted or the password has become out of sync and you get a workstation trust relationship issue (see below).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image6.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="The security database on teh server does not have a comptuer accounf for this workstation trust relationship." border="0" alt="The security database on teh server does not have a comptuer accounf for this workstation trust relationship." src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb6.png" width="611" height="78" /></a></p>
<p>The problem is that the local administrator account is now disabled and due to the new behaviour of the account you can no longer log with it using safe mode.</p>
<blockquote><p><a href="http://blogs.msdn.com/b/windowsvistasecurity/archive/2006/08/27/windowsvistasecurity-.aspx" target="_blank">The built-in administrator account is disabled by default in Windows Vista on new installations.</a></p>
</blockquote>
<p>This of course makes it almost impossible to configure the computer into a workgroup so that it can then be re-added to the domain to fix the problem. Its even more difficult if you have BitLocker encryption enabled on your local hard drive.</p>
<p> <center> <script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 250x250, created 9/15/10 */
google_ad_slot = "1340843319";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> </center> <br /> 
<p>It is possible that you could logon with a user with local administrator access using cached credentials however this is limited to the last 10 people that logged on (increasable to 50 if you change the CachedLogonsCount below registry key).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image7.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="CachedLogonsCount Registry Key" border="0" alt="CachedLogonsCount Registry Key" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb7.png" width="676" height="269" /></a></p>
<p>But even so, this would also mean you have to know the username and password of the account at the time they last logged onto the computer. This may be a bit hard to do as they may have changed their password a number of times since they logged on to that computer.</p>
<p>Unfortunately, it is also much more unlikely now that the normal local user of the computer has not been given local admin due to all the improvement with Windows 7 (e.g. UAC) that allows users to work with standard user permissions.</p>
<p>Now you might think the really obvious solution is to just enable the local administrator account and set a password in advanced using <a href="http://www.grouppolicy.biz/2010/03/what-are-group-policy-preferences/" target="_blank">Group Policy Preferences</a> (see below) so that you can use it when you need to however doing this has a few security issues.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image8.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Group Policy Prefereces - New Local User Properties" border="0" alt="Group Policy Prefereces - New Local User Properties" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb8.png" width="408" height="452" /></a></p>
<p>However enabling the local administrator account means it can be used by anyone who knows the credentials and they could then use the account to remotely access any workstation on the network (not good). It also mean a normal user that knows the local admin credentials ( we would like to think they don’t but somehow they find out) could us them whenever they are presented with a specify credentials UAC prompt. So it’s pretty much a back door that anyone can use to get around the fact you spent all this time setting up their computers for them to not require local administrator access…</p>
<p>So to get around this issues you could just set the password on a regular basis using Group Policy Preference (see above image) however this also has a few problems as well… While setting the local administrator password is easy to do however it is stored in the SYSVOL as an encrypted string that is fairly easy to crack (see <a href="http://blogs.technet.com/b/grouppolicy/archive/2008/08/04/passwords-in-group-policy-preferences.aspx" target="_blank">Passwords in Group Policy Preferences</a> ).</p>
<blockquote><p><a href="http://blogs.technet.com/b/grouppolicy/archive/2008/08/04/passwords-in-group-policy-preferences.aspx" target="_blank">A password in a preference item is stored in SYSVOL ….. it is not stored as clear text in the XML source code of the preference item. However, the password is not secured.</a></p>
</blockquote>
<p>To help mitigate this I have also written an article that explain a way to more securely apply the new password to all the computers (see <a href="http://www.grouppolicy.biz/2010/01/how-to-use-group-policy-preferences-to-set-change-passwords/">How to use Group Policy Preferences to change account Passwords</a> ) but even if you did this on a regular basis you would still need to tell all the IT support staff what the new password is when you change the password and thus people quickly learn the local admin account credentials all over again…</p>
<p><strong>Note:</strong> That all being said it is still a really good idea to set a password for the local administrator account as the default password is configured as blank.</p>
<p>The other solution you might think of is to boot the computer using a third-party tool that can reset and enable the local admin account (see <a title="http://www.bing.com/search?q=sethc.exe+%22windows+7%22+administrator+password&amp;form=QBRE&amp;qs=n&amp;sk=" href="http://www.bing.com/search?q=sethc.exe+%22windows+7%22+administrator+password&amp;form=QBRE&amp;qs=n&amp;sk=">http://www.bing.com/search?q=sethc.exe+%22windows+7%22+administrator+password&amp;form=QBRE&amp;qs=n&amp;sk=</a> ) however these tools don’t work if your local drive is encrypted with BitLocker nor are they supported from Microsoft (see <a title="http://support.microsoft.com/kb/189126" href="http://support.microsoft.com/kb/189126" target="_blank">Microsoft policy about lost or forgotten passwords</a> ).</p>
<blockquote><p><a href="http://support.microsoft.com/kb/189126" target="_blank">If you want help to break or to reset a password, you can locate and contact a third-party company for this help. You use such third-party products and services at your own risk.</a></p>
</blockquote>
<p>So lets assume you have a computer that is no longer properly connected to the domain with a disabled local administrator account. The computers local system drive is BitLocker encrypted and and you don’t know the credentials of any other accounts that have previously logged on with local administrator permissions… What do you do?</p>
<p>So below I will show you how to enable the local administrator account so that you can at least still logon with the local administrator even if the account has been disabled…</p>
<p> <center> <script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 250x250, created 9/15/10 */
google_ad_slot = "1340843319";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> </center> <br /> <br />
<h3>How to enable a disabled local administrator account on a Windows 7 computer with BitLocker enabled</h3>
<p>Before you begin you are going to at a minimum know the following information:</p>
<ul>
<li>The account name and password of the local administrator account.</li>
<li>The BitLocker recovery key for the local system drive. (see instruction on how to get the key from here <a href="http://www.grouppolicy.biz/2010/01/how-to-use-group-policy-to-save-bitlocker-to-go-recovery-keys-in-active-directory-part-1/">How to use Group Policy to save “BitLocker to Go” recovery keys in Active Directory – Part 1</a> )</li>
</ul>
<p>Step 1. Boot the computer using the Windows 7 Installation media</p>
<p>Step 2. When prompted to “Install now” click the “Repair your computer” option at the bottom left.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image9.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Windows 7 Install Windows Menu" border="0" alt="Windows 7 Install Windows Menu" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb9.png" width="644" height="477" /></a></p>
<p>Step 3 (optional). If your local computer hard drive is BitLocker is encrypted you will now be prompted to type in the recovery key (see below) and just follow the next couple of step that is appropriate for your situation.</p>
<p><strong>Note:</strong> You may need to use the Recovery Key Identifier (e.g. A5103515) to find the correct encryption recovery key from Active Directory.</p>
<p><strong>Note2:</strong> This step is only required if your local hard drive is encrypted using BitLocker drive encryption.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/photo.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="BitLocker Drive Encryption Recovery" border="0" alt="BitLocker Drive Encryption Recovery" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/photo_thumb.jpg" width="644" height="484" /></a></p>
<p>Step 4. After you have entered the correct recovery and unlocked the drive select the appropriate installation of Windows 7 that you wish to gain access to (You will probably only have one option to select).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image10.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="WinRE Select System Recovyer Option" border="0" alt="WinRE Select System Recovyer Option" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb10.png" width="419" height="333" /></a></p>
<p><strong>Note:</strong> Remember the drive letter in the location column as you will need to use this later (Almost definitely going to be “(D:) Local Disk” ).</p>
<p>Step 5. From the System Recovery Options click on “Command Prompt”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image11.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="WinRE System Recovery Options" border="0" alt="WinRE System Recovery Options" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb11.png" width="517" height="398" /></a></p>
<p>Step 6. Now run “regedit” from the command prompt.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image12.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Regedit in WinRE" border="0" alt="Regedit in WinRE" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb12.png" width="703" height="499" /></a></p>
<p>Step 7. Click on HKEY_USERS and then click on File &gt; Load Hive</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image13.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Load Hive..." border="0" alt="Load Hive..." src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb13.png" width="398" height="309" /></a></p>
<p>Step 8. Navigate to D:\Windows\System32\Config folder and select the SAM file then click Open</p>
<p><strong>Note:</strong> The drive letter you use in the path above is the same as the the drive letter in the Location column in Step 4.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image14.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Loading SAM registry" border="0" alt="Loading SAM registry" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb14.png" width="745" height="531" /></a></p>
<p>Step 9. Now type “SAM_TEMP” (or any value) in the Key Name text field and click OK</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image15.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Load Hive Name" border="0" alt="Load Hive Name" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb15.png" width="531" height="285" /></a></p>
<p>Step 10. Expand SAM_TEMP\SAM\Domains\Account\Users\000001F4 and double click on the “F” key.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image16.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Local Administrator Account SAM registry" border="0" alt="Local Administrator Account SAM registry" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb16.png" width="706" height="499" /></a></p>
<p>Step 11. Change the value “11” in the first column, row 0038 to “10” and click OK</p>
<table border="0" cellspacing="0" cellpadding="2" width="640">
<tbody>
<tr>
<td valign="top" width="320">
<p>Before</p>
</td>
<td valign="top" width="320">
<p>After</p>
</td>
</tr>
<tr>
<td valign="top" width="320">
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image17.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Account Disabled" border="0" alt="Account Disabled" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb17.png" width="367" height="317" /></a></p>
</td>
<td valign="top" width="320"><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image18.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Account Enabled" border="0" alt="Account Enabled" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb18.png" width="369" height="318" /></a></td>
</tr>
</tbody>
</table>
<p>&#160;</p>
<p>Step 12. Click back on “SAM_TEMP” and then from the File &gt; Unload Hive and Yes to confirm.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image19.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Unload Hive..." border="0" alt="Unload Hive..." src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb19.png" width="330" height="481" /></a></p>
<p>Step 13. Exit Regedit and close the Command Prompt and click Restart from the System Recovery Option menu</p>
<p>Done…</p>
<h3>Summary</h3>
<p>You will now be able to logon as the local administrator account by using the account name “.\administrator” and the password of the account (which you should already know). This will enable you to configure the computer into a workgroup and then re-join the computer account back into the domain but without having to resort to enabling a back door administrator account on the all the computers in your environment…</p>
<p>Now you might now be wondering what is the point of security is on Windows 7 (i.e. BitLocker and disabled local admin) if it is so easy to circumvent however you need to remember that for this process to work you still need to know the local administrator password and more importantly you will need to know the unique BitLocker recovery key… Obviously this makes it very important to have BitLocker drive encryption deployed otherwise it will make it very easy to break into pretty much any computer if you have physical access.</p>
<blockquote><p><a title="http://en.wikipedia.org/wiki/Physical_access" href="http://en.wikipedia.org/wiki/Physical_access" target="_blank">the best network software security measures can be rendered useless if you fail to physically protect your systems</a></p>
</blockquote>
<p>I know this is not strictly a Group Policy topic however it is very closely related topic and one I feel that this is still well worth knowing for any IT administrator so you can configured a more secure environment…</p>
<h3>Other References</h3>
<p><a href="http://www.grouppolicy.biz/2010/01/how-to-configure-group-policy-to-use-data-recovery-agents-with-bitlocker-to-go-drives-part-2/">How to configure Group Policy to use Data Recovery Agents with “Bitlocker to Go” drives – Part 2</a>    <br /> <a href="http://www.grouppolicy.biz/2010/01/how-to-use-group-policy-to-save-bitlocker-to-go-recovery-keys-in-active-directory-part-1/">How to use Group Policy to save “BitLocker to Go” recovery keys in Active Directory – Part 1</a></p>
<p><a href="http://www.sevenforums.com/tutorials/102552-built-administrator-enable-winre.html" target="_blank">Windows Seven Forums: How to Enable the Built-in Administrator Account from WinRE</a></p>
<p>  <center> <script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 250x250, created 9/15/10 */
google_ad_slot = "1340843319";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> </center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2010/10/how-to-enable-a-disabled-local-administrator-account-offline-in-windows-7-even-when-using-bitlocker/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Best Practice: How to use Group Policy Preference enable auto-logon</title>
		<link>http://www.grouppolicy.biz/2010/10/how-to-use-group-policy-preference-enable-auto-logon/</link>
		<comments>http://www.grouppolicy.biz/2010/10/how-to-use-group-policy-preference-enable-auto-logon/#comments</comments>
		<pubDate>Tue, 05 Oct 2010 14:30:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Best Practice]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[auto-logon]]></category>
		<category><![CDATA[automatic logon]]></category>
		<category><![CDATA[Basic]]></category>
		<category><![CDATA[Group Policy Preferences]]></category>
		<category><![CDATA[registry]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2010/10/how-to-use-group-policy-preference-enable-auto-logon/</guid>
		<description><![CDATA[The below article shows you how to use Group Policy Preference to setup the registry keys on a computer so that it automatically logs onto when its turned on. While doing this is potentially huge security issue and not something I would generally recommend IT staff might want to implement on computers that are highly [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image4.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" align="right" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb4.png" width="62" height="61" /></a>The below article shows you how to use Group Policy Preference to setup the registry keys on a computer so that it automatically logs onto when its turned on. While doing this is potentially huge security issue and not something I would generally recommend IT staff might want to implement on computers that are highly locked down and used for only a specific propose.</p>
<h3>How to set a registry key using <a href="http://www.grouppolicy.biz/2010/03/what-are-group-policy-preferences/">Group Policy Preferences</a></h3>
<p>Before we begin I will show you how create the required registry keys using group policy preference. After this I will list the registry keys you need to use with the instruction below to configure automatic logon.</p>
<p><strong>Step 1.</strong> Edit a Group Policy Object that is applied to the computers you want this setting applied.</p>
<p><strong>WARNING:</strong> Make sure you have not applied this policy to any computers before you begin as this will obviously logon any computer that this policy is applied to automatically.</p>
<p><strong>Step 2.</strong> Navigate to Computer Configuration &gt; Preferences &gt; Windows Settings &gt; Registry</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb.png" width="805" height="576" /></a></p>
<p><strong>Step 3.</strong> In the Menu click on Action &gt; New &gt; Registry Item</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image52.png"><img title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb50.png" width="408" height="452" /></a></p>
<p>Now you know how to configure a registry key setting using Group Policy Preferences you can create a new Registry Item for each registry key listed below.</p>
<p>  <span id="more-1860"></span><br />
<h3>How to configure Windows to automatically logon</h3>
<p>Now we need to create the below registry keys to enable the automatic logon process. </p>
<p><strong>Note:</strong> You will need to substitute you own specific values for all the text in italic below.</p>
<h4>Enable AutoLogon</h4>
<p><strong>Key:</strong> HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon     <br /><strong>Value:</strong> AutoAdminLogon (REG_SZ)     <br /><strong>Data:</strong> 1 (Enabled)     </p>
<h4>Default Domain Name</h4>
<p><strong>Key:</strong> HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon     <br /><strong>Value:</strong> DefaultDomainName (REG_SZ)     <br /><strong>Data:</strong> <em>DOMAINNAME</em>     </p>
<h4>Default User Name</h4>
<p><strong>Key:</strong> HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon     <br /><strong>Value:</strong> DefaultUserName (REG_SZ)     <br /><strong>Data:</strong> <em>USERNAME</em></p>
<h4>Default Password</h4>
<p><strong>Key:</strong> HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon     <br /><strong>Value:</strong> DefaultPassword (REG_SZ)     <br /><strong>Data:</strong> <em>PASSWORD</em></p>
<p>You should now have 4 registry keys configured as the image below. </p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image1.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb1.png" width="644" height="354" /></a></p>
<p><center><script type="text/javascript"><!--
google_ad_client = "pub-0199394863971709";
/* 250x250, created 9/15/10 */
google_ad_slot = "1340843319";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center></p>
<p><strong>Warning:</strong> Be sure to also block the regedit tool on the user that logos onto this computer as anyone logged on the computer will be able to see the account password stored in the registry as clear text (see below).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image2.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb2.png" width="645" height="553" /></a></p>
<p>Now when ever this computer is turned on it will start up and logon automatically with the credentials that you specified in the policy (see below).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image3.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb3.png" width="570" height="354" /></a></p>
<h3>Related Links</h3>
<p><a title="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ef232619-7600-4768-b111-f60ba13862ea" href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=ef232619-7600-4768-b111-f60ba13862ea" target="_blank">Creating a Steady State by Using Microsoft Technologies</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2010/10/how-to-use-group-policy-preference-enable-auto-logon/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Best Practice: Group Policy for Microsoft Security Essentials</title>
		<link>http://www.grouppolicy.biz/2010/09/group-policy-for-microsoft-security-essentials/</link>
		<comments>http://www.grouppolicy.biz/2010/09/group-policy-for-microsoft-security-essentials/#comments</comments>
		<pubDate>Mon, 27 Sep 2010 15:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Best Practice]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[Group Policy Prefereces]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[Microsoft Security Essentials]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2010/09/group-policy-for-microsoft-security-essentials/</guid>
		<description><![CDATA[Microsoft have just announced they will allow small business with less that 10 seats to use Microsoft Security Essentials for free. But even having to configured 10 copies of Microsoft Security Essentials (MSE) can be a pain so below is a quick tutorial on how you can Group Policy Enable Microsoft Security Essentials. Update: Microsoft [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image50.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" align="right" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb48.png" width="133" height="130" /></a>Microsoft have just <a href="http://windowsteamblog.com/windows/b/windowssecurity/archive/2010/09/22/microsoft-security-essentials-now-available-for-small-businesses.aspx" target="_blank">announced</a> they will allow small business with less that 10 seats to use <a href="http://www.microsoft.com/security_essentials/" target="_blank">Microsoft Security Essentials</a> for free. But even having to configured 10 copies of Microsoft Security Essentials (MSE) can be a pain so below is a quick tutorial on how you can Group Policy Enable Microsoft Security Essentials.</p>
<p><strong>Update:</strong> Microsoft have now updated their <a href="http://www.microsoft.com/security_essentials/" target="_blank">Microsoft Security Essentials</a> web site to say small business can now “officially” use MSE.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image5.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Microsoft Security Essentials Download" border="0" alt="Microsoft Security Essentials Download" src="http://www.grouppolicy.biz/wp-content/uploads/2010/10/image_thumb5.png" width="385" height="187" /></a></p>
<p>Before we begin I want to be clear that MSE does NOT natively support group policy this is simply a way to configure the registry keys of the application using the <a href="http://technet.microsoft.com/en-us/library/cc771589.aspx" target="_blank">Group Policy Preferences Registry</a> key setting.</p>
<p><strong>Note:</strong> If the below instructions to create the registry keys seems like to much work you will be glad to know that I have put a link at the bottom to an XML Group Policy Preferences Registry file. You can use this file to import the all the Policy Registry setting I talk about below automatically.</p>
<p><center> <script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 300 x 250 - Medium */
google_ad_slot = "7296078251";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> </center> </p>
<h3>How to use <a href="http://www.grouppolicy.biz/2010/03/what-are-group-policy-preferences/" target="_blank">Group Policy Preferences</a> Registry key setting.</h3>
<p>Before we begin we first need to know how to create a Group Policy Preferences Registry Key setting that we will use to control each of the registry keys we need to configured MSE. The following steps will need to be repeated for each registry key below.</p>
<p><strong>Step 1.</strong> Edit a Group Policy Object that is applied to the computers you want this setting applied.</p>
<p><strong>Step 2.</strong> Navigate to Computer Configuration &gt; Preferences &gt; Windows Settings &gt; Registry</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image51.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Group Policy Management Editor" border="0" alt="Group Policy Management Editor" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb49.png" width="644" height="461" /></a></p>
<p><strong>Step 3.</strong> In the Menu click on Action &gt; New &gt; Registry Item</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image52.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="New Registry Properties" border="0" alt="New Registry Properties" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb50.png" width="408" height="452" /></a></p>
<p>Now you know how to configure a registry key setting using Group Policy Preferences you can create a new Registry Item for each registry key listed below.</p>
<p>  <span id="more-1845"></span>
<p><strong>Note:</strong> The Data values below that are highlighted in BOLD are the values you need to use to replication the examples shown.</p>
<h3>How to configured Scheduled Scan using Group Policy for Microsoft Security Essentials</h3>
<p>Now you need to create a registry few specific registry keys. In this example we are going to configured a Full Scheduled scan to run each day at 8am. We are also going to enable the option to check for an update before scanning and we are going to configure the scan to</p>
<h4>Scheduled Day</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Scan     <br /><strong>Value:</strong> ScheduleDay (REG_DWORD)     <br /><strong>Data:</strong> <strong>0</strong> (Every Day)     <br /><strong>Data:</strong> 1 (Sunday)     <br /><strong>Data:</strong> 2 (Monday)     <br /><strong>Data:</strong> 3 (Tuesday)     <br /><strong>Data:</strong> 4 (Wednesday)     <br /><strong>Data:</strong> 5 (Thursday)     <br /><strong>Data:</strong> 6 (Friday)     <br /><strong>Data:</strong> 7 (Saturday)</p>
<h4>Scheduled Time</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Scan     <br /><strong>Value:</strong> ScheduleTime (REG_DWORD)     <br /><strong>Data:</strong> 0 (12am)     <br /><strong>Data:</strong> <strong>000001e0</strong> (8am)</p>
<p>The data of this value represents the number of minutes from 12am in hex… therefore if you want 8am configured the data to “000001e0”</p>
<h4>Full or Quick Scan</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Scan     <br /><strong>Value:</strong> ScanParameters (REG_DWORD)     <br /><strong>Data:</strong> 1 (Quick Scan)     <br /><strong>Data:</strong> <strong>2</strong> (Full Scan)</p>
<h4>Check for Update before scanning</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Scan     <br /><strong>Value:</strong> CheckForSignaturesBeforeRunningScan (REG_DWORD)     <br /><strong>Data:</strong> 0 (Disabled)     <br /><strong>Data:</strong> <strong>1</strong> (Enabled)</p>
<h4>Scan only when idle</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Scan     <br /><strong>Value:</strong> ScanOnlyIfIdle (REG_DWORD)     <br /><strong>Data:</strong> 0 (Scan when idle)     <br /><strong>Data:</strong> <strong>1 </strong>(Scan when active)</p>
<p>Now all your computers will have the scheduled scan option configured as the following image below.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image53.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Microsoft Security Essentials Settings Scheduled Scan" border="0" alt="Microsoft Security Essentials Settings" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb51.png" width="644" height="454" /></a></p>
<p> <center> <script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 300 x 250 - Medium */
google_ad_slot = "7296078251";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> </center><br />
<h3>How to configure Real-Time Protection options using Group Policy for Microsoft Security Essentials</h3>
<p>Below are the registry keys for configuring the “Rea-Time Scanning” settings for Microsoft Security Essentials.</p>
<h4>Monitor file and program activity</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Real-Time Protection     <br /><strong>Value:</strong> DisableIOAVProtection (REG_DWORD)     <br /><strong>Data:</strong> <strong>0</strong> (Real-Time scan Enabled)     <br /><strong>Data:</strong> 1 (Real-Time scan Disabled)</p>
<h4>Scan all downloaded files and attachments</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Real-Time Protection     <br /><strong>Value:</strong> DisableOnAccessProtection (REG_DWORD)     <br /><strong>Data:</strong> <strong>0</strong> (Scan Enabled)     <br /><strong>Data:</strong> 1 (Scan Disabled)</p>
<p>You real time protection should now be configured as shown below.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image54.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Microsoft Security Essenitals Settings Real-time protection" border="0" alt="Microsoft Security Essenitals Settings Real-time protection" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb52.png" width="644" height="454" /></a></p>
<p> <center> <script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 300 x 250 - Medium */
google_ad_slot = "7296078251";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script> </center><br />
<h3>How to configure Advanced Real-Time Protection options using Group Policy for Microsoft Security Essentials</h3>
<p>Below are the registry keys for configuring the “Advanced” settings for Microsoft Security Essentials.</p>
<h4>Scan archive files</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Scan     <br /><strong>Value:</strong> DisableArchiveScanning (REG_DWORD)     <br /><strong>Data:</strong> <strong>0</strong> (Enable Archive Scanning)     <br /><strong>Data:</strong> 1 (Disable Archive Scanning)</p>
<h4>Scan Removable Drives</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Scan     <br /><strong>Value:</strong> DisableRemovableDriveScanning (REG_DWORD)     <br /><strong>Data:</strong> <strong>0</strong> (Scan Enabled)     <br /><strong>Data:</strong> 1 (Scan Disabled)</p>
<h4>Create a system restore point</h4>
<p><strong>Key:</strong> HKLM\Software\Microsoft\Microsoft Antimalware\Scan     <br /><strong>Value:</strong> DisableRestorePoint (REG_DWORD)     <br /><strong>Data:</strong> <strong>0</strong> (Create Restore Point)     <br /><strong>Data:</strong> 1 (Do not create Restore Point)</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image55.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Microsoft Security Essenitals Settings Advanced" border="0" alt="Microsoft Security Essenitals Settings Advanced" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb53.png" width="644" height="454" /></a></p>
<h3></h3>
<h3>Importing Group Policy Preferences</h3>
<p>For your convenience I have provided you a link to a XML Group Policy Preferences Registry file for all the above settings.</p>
<p><a title="Microsoft Security Essentials XML Group Policy Preferences Settings" href="http://www.grouppolicy.biz/wp-content/uploads/2010/MSE_Settings.xml" rel="tag" target="_blank"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image[41]" border="0" alt="image[41]" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image411.png" width="98" height="107" /></a>&#160;</p>
<p>Simply save the file to your desktop and then drag it into the empty pane on the right hand side, click “Yes” to confirm the import and you will have all the registry keys automatically created.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image56.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb54.png" width="369" height="149" /></a></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image57.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Group Policy Management Editor" border="0" alt="Group Policy Management Editor" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb55.png" width="644" height="341" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2010/09/group-policy-for-microsoft-security-essentials/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Best Practice: How to delegate AD permission to Organisational Units using the PowerShell command Add-QADPermission</title>
		<link>http://www.grouppolicy.biz/2010/09/how-to-delegate-ad-permission-to-organisational-units-using-the-powershell-command-add-qadpermission/</link>
		<comments>http://www.grouppolicy.biz/2010/09/how-to-delegate-ad-permission-to-organisational-units-using-the-powershell-command-add-qadpermission/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 15:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Best Practice]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Add-QADPermission]]></category>
		<category><![CDATA[Advanced]]></category>
		<category><![CDATA[DACL]]></category>
		<category><![CDATA[Delegate Control]]></category>
		<category><![CDATA[Powershell]]></category>
		<category><![CDATA[Quest]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2010/09/how-to-delegate-ad-permission-to-organisational-units-using-the-powershell-command-add-qadpermission/</guid>
		<description><![CDATA[Recently, I have been working a lot with PowerShell to automate the creation of a full AD site OU structure (with Group Policy and all) along with all the necessary delegated permissions. One of the limitation of the out of the box AD PowerShell commands is there is no easy way (but apparently there is [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, I have been working a lot with PowerShell to automate the creation of a full AD site OU structure (with Group Policy and all) along with all the necessary delegated permissions. One of the limitation of the out of the box AD PowerShell commands is there is no easy way (but apparently there is a <a href="http://blogs.msdn.com/b/adpowershell/archive/2009/10/13/add-object-specific-aces-using-active-directory-powershell.aspx" target="_blank">really hard way</a>) to delegate permission to Active Directory OU’s. Luckily <a href="http://www.quest.com" target="_blank">Quest Software</a> have helped a lot here and they have offered a set of FREE PowerShell commands for Active Directory called “<a href="http://www.quest.com/powershell/activeroles-server.aspx" target="_blank">ActiveRoles Management Shell for Active Directory</a>” one of which is called Add-QADPermission which greatly simplifies the process of delegation security in AD.</p>
<p>The Add-QADPermission command can be used to add an <a href="http://technet.microsoft.com/en-us/library/cc785913(WS.10).aspx" target="_blank">DACL security descriptor</a> permission to any AD object with a distinguished name such as users, computer or OU’s. Therefore you can use this to delegate permission to OU similarly to running a “<a href="http://technet.microsoft.com/en-us/library/cc732524.aspx" target="_blank">Delegation of Control Wizard</a>” in <a href="http://technet.microsoft.com/en-us/library/cc754217.aspx" target="_blank">Active Directory Users and Computers</a> console (see image below).</p>
<p>This wizard allows you to delegate some common tasks (see below) to your OU’s in you Active Directory however the permissions they apply are not straight forward simple permissions.</p>
<table border="0" cellspacing="0" cellpadding="2" width="804">
<tbody>
<tr>
<td valign="top" width="273"><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image43.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb43.png" width="251" height="386" /></a></td>
<td valign="top" width="529"><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image18.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb18.png" width="507" height="389" /></a></td>
</tr>
</tbody>
</table>
<p>&#160;</p>
<p>What I will show you how to do is how to perform some of the common delegation tasks that the “Delegation of Control Wizard” using a PowerShell command so you can automate the process for creating new OU’s in your environment. I know this is not strictly an Group Policy topic but it is one closely related and one I think many Group Policy admins will find useful.</p>
<p>The Command tasks I will show you are the one’s that I almost exclusively use when delegating permissions to Active Directory, they are:</p>
<ul>
<li>Create, delete and manage user accounts
<ul>
<li>and Groups </li>
<li>and Computers </li>
</ul>
</li>
<li>Reset user passwords and force password change at next logon </li>
<li>Modify the membership of a group </li>
</ul>
<p>  <span id="more-1786"></span><br />
<h3>Getting started – Installing the <a href="http://www.quest.com/powershell/activeroles-server.aspx" target="_blank">ActiveRoles Management Shell for Active Directory</a></h3>
<p>The Add-QADPermission command is a third party PowerShell command so you will need to first download and install the new commands from the Quest site on the computer that you will be running the PowerShell commands. You can download the Quest ActiveRoles Management Shell for Active Directory from here <a href="http://www.quest.com/powershell/activeroles-server.aspx" target="_blank">http://www.quest.com/PowerShell/activeroles-server.aspx</a> and then install the MSI file.</p>
<h4>Installing ActiveRoles Management Shell for Active Directory</h4>
<p>Step 1. After launching the MSI click “Next”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image19.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb19.png" width="503" height="389" /></a></p>
<p>Step 2. Tick “I accept the terms in the Licence Agreement” and click “Next”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image20.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb20.png" width="503" height="389" /></a></p>
<p>Step 2. 3lick “Next”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image21.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb21.png" width="503" height="389" /></a></p>
<p>Step 4. Click “Next”</p>
<p>Note: By ticking the “Change PowerShell execution policy from ‘Restricted’ to ‘AllSigned’&#160; you are relaxing the execution policy of PowerShell. However you will still need to turn this off entirely for the testing of your script. </p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image22.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb22.png" width="503" height="389" /></a></p>
<p>Step 5. Click “Install”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image23.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb23.png" width="503" height="389" /></a></p>
<p>Step 6. Click “Finish”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image24.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb24.png" width="503" height="389" /></a></p>
<p>You have now successfully install the Quest ActiveRoles Management Shell for Active Directory. Now it is time to use the new PowerShell Command.</p>
<p> <center><script type="text/javascript"><!--
google_ad_client = "pub-0199394863971709";
/* 250x250, created 9/15/10 */
google_ad_slot = "1340843319";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center><br />
<h3>Running the add-QADPermission PowerShell command</h3>
<p>Step 1. To run the add-QADPermissions PowerShell command click on the PowerShell shortcut (that blue one in the taskbar if you are running 2008/R2).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image25.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb25.png" width="340" height="76" /></a></p>
<p>Step 2. Run the command the following command to load the Quest PowerShell commands.</p>
<blockquote><p>Add-PSSnapin Quest.ActiveRoles.ADManagement</p>
</blockquote>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image26.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb26.png" width="736" height="207" /></a></p>
<p>Step 3. To test that the new PSSnapin is loaded type “add-qadper” and then press the “Tab” key to complete the command.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image27.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb27.png" width="736" height="231" /></a></p>
<p>This should auto-complete the command to “Add-QADPermission”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image28.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb28.png" width="736" height="231" /></a></p>
<p><strong>REMEMBER:</strong> Every time you launch a new PowerShell window you are going to need to run “Add-PSSnapin Quest.ActiveRoles.ADManagement” to load to load the Quest PowerShell Snapin’s otherwise you will see a message like the image below.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image29.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb29.png" width="672" height="251" /></a></p>
<p>Now that we have verified that the new Quest AD PowerShell commands lets take a look at the command that will replicate some of the common tasks in the “Delegation of Control Wizard”. In our example environment that we have an AD with three top level OU’s called “People” “Groups” and “Workstations” (see below). These OU only contain the same type of objects that match the name of the OU (e.g. “People” contains User AD Objects) but it is possible to delegate all the permissions to the same single OU if it contains objects of multiple types (e.g. user,computers and groups).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image30.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb30.png" width="212" height="282" /></a></p>
<h3>Delegating Create, delete and manage user accounts permissions using add-QADPermission</h3>
<p>To delegate the same permission as the “Create, delete, and mange user accounts” (effectively Full Control) option in the “Delegation of Control Wizard” (see below) you need to delegate two permissions to the OU. </p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image31.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb31.png" width="507" height="389" /></a></p>
<ol>
<li>Allow access to all the properties of the user objects </li>
<li>Create / Delete permission of the user object </li>
</ol>
<p>The first command will delegate Allow access to all the properties to the group called “User Admins” to all User objects in the OU with the distinguished name of “OU=People,DC=Contoso,DC=Local”.</p>
<blockquote><p>Add-QADPermission “OU=People,DC=Contoso,DC=Local” –Account “CONTOSO\User Admins” -Rights GenericAll -ApplyTo ChildObjects -ApplyToType User</p>
</blockquote>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image32.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb32.png" width="672" height="323" /></a></p>
<p>The second command will delegate Create / Delete permission for the User objects to the same OU for the same group.</p>
<blockquote><p>Add-QADPermission “OU=People,DC=Contoso,DC=Local” -Account “CONTOSO\User Admins” -Rights CreateChild,DeleteChild -ApplyTo All -ChildType User</p>
</blockquote>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image33.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb33.png" width="672" height="239" /></a></p>
<p>Now we can check the security on the People OU in Active Directory Users and Computer to verify the permission has been added correctly.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image34.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb34.png" width="371" height="472" /></a><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image35.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb35.png" width="371" height="472" /></a></p>
<p><strong>Note:</strong> See how we have used the “-ApplyTo ChildObjects” parameter and the “ApplyTo All” to ensure that these permission will inherit to all objects in this OU and sub-OU’s.</p>
<p>If the OU that you want to give the same Full Control permission to a Computers or Groups AD Object type all you need to do is change the -ApplyToType and -ChildType parameter to “computer” or “group” (See examples below)</p>
<h4>Example delegation Create, delete and manage (a.k.a. Full Control) Groups permissions using add-QADPermission</h4>
<blockquote><p>Add-QADPermission “OU=Workstations,DC=Contoso,DC=Local” –Account “CONTOSO\Workstations Admins” -Rights GenericAll -ApplyTo ChildObjects -ApplyToType <strong>Computer</strong></p>
<p>Add-QADPermission “OU=Workstations,DC=Contoso,DC=Local” -Account “CONTOSO\Workstations Admins” -Rights CreateChild,DeleteChild -ApplyTo All -ChildType <strong>Computer</strong></p>
</blockquote>
<h4>Example delegation Create, delete and manage (a.k.a. Full Control)&#160; Computers permissions using add-QADPermission</h4>
<blockquote><p>Add-QADPermission “OU=Groups,DC=Contoso,DC=Local” –Account “CONTOSO\Groups Admins” -Rights GenericAll -ApplyTo ChildObjects -ApplyToType <strong>Group</strong></p>
<p>Add-QADPermission “OU=Groups,DC=Contoso,DC=Local” -Account “CONTOSO\Groups Admins” -Rights CreateChild,DeleteChild -ApplyTo All -ChildType <strong>Group</strong></p>
</blockquote>
<h3>Delegating Reset user passwords and force password change at next logon using add-QADPermission</h3>
<p>To delegate the same permission as the “Reset user passwords and force password change at next logon” option in the “Delegation of Control Wizard” (see below) you again need to delegate two permissions to the OU.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image48.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image[48]" border="0" alt="image[48]" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image48_thumb.png" width="507" height="389" /></a></p>
<ol>
<li>Allow Read/Write to the Password Last Set Attribute </li>
<li>Allow access to the &quot;User-Change-Password” Extended Right </li>
</ol>
<p>In this example we are going to delegate Allow Read and Write permission to the <a title="http://msdn.microsoft.com/en-us/library/ms679430(VS.85).aspx" href="http://msdn.microsoft.com/en-us/library/ms679430(VS.85).aspx" target="_blank">Pwd-Last-Set Attribute</a> to all User objects to the OU with the distinguished name of “OU=People,DC=Contoso,DC=Local” to the group called “User Operators”.</p>
<blockquote><p>Add-QADPermission “OU=People,DC=Contoso,DC=Local” -Account “CONTOSO\User Operators” -Rights ReadProperty,WriteProperty -Property (&#8216;PwdLastSet&#8217;) -ApplyTo ChildObjects -ApplyToType User</p>
</blockquote>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image36.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb36.png" width="672" height="287" /></a></p>
<p>Now we are going to delegate permissions to the <a href="http://msdn.microsoft.com/en-us/library/ms683985(VS.85).aspx" target="_blank">Extended Right</a> <a href="http://msdn.microsoft.com/en-us/library/ms684413(VS.85).aspx" target="_blank">User-Change-Password</a> for the User objects to the same OU for the same group.</p>
<blockquote><p>Add-QADPermission “OU=People,DC=Contoso,DC=Local” -Account “CONTOSO\User Operators” -ExtendedRight User-Change-Password -ApplyTo ChildObjects -ApplyToType User</p>
</blockquote>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image37.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb37.png" width="672" height="287" /></a></p>
<p>Again check the security on the People OU in Active Directory Users and Computer to verify the permission has been added correctly.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image38.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb38.png" width="371" height="472" /></a><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image39.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb39.png" width="371" height="472" /></a></p>
<h3>Delegating Modify the membership of a group using add-QADPermission</h3>
<p>To delegate the same permission as the “Modify the membership of a group” option in the “Delegation of Control Wizard” (see below) you only need to apply one command to delegate the appropriate permissions.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image40.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb40.png" width="507" height="389" /></a></p>
<ol>
<li>Allow access to the Read/Write Members property on the Group </li>
</ol>
<p>In this example we are going to delegate Change group membership permissions on all the Group objects to the OU with the distinguished name of “OU=Groups,DC=Contoso,DC=Local” to the group called “Group Operators”</p>
<blockquote><p>Add-QADPermission “OU=Groups,DC=Contoso,DC=Local” -Account “CONTOSO\Group Operators” -Rights ReadProperty,WriteProperty -Property (&#8216;member&#8217;) -ApplyTo ChildObjects -ApplyToType Group</p>
</blockquote>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image41.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb41.png" width="672" height="287" /></a></p>
<p>As always check the security on the People OU in Active Directory Users and Computer to verify the permission has been added correctly.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image42.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb42.png" width="371" height="472" /></a></p>
<h3>Summary</h3>
<p>When used with the other out of the box AD PowerShell commands you should now be able to fully automate the creation AND delegation of permissions to a new OU structure for your environment.</p>
<h3>References Sites</h3>
<p>Below are some useful links to pages that show you how to use PowerShell when working with Active Directory.</p>
<ul>
<li><a title="http://technet.microsoft.com/en-us/magazine/2009.06.gpmanagement.aspx" href="http://technet.microsoft.com/en-us/magazine/2009.06.gpmanagement.aspx" target="_blank">Automating Group Policy Management with Windows PowerShell</a> </li>
<li><a title="http://www.isaacoben.com/2010/09/14/powershell-get-adusergroupmembership/" href="http://www.isaacoben.com/2010/09/14/powershell-get-adusergroupmembership/" target="_blank">PowerShell Get-ADUserGroupMembership</a> </li>
<li><a title="http://blogs.technet.com/b/grouppolicy/archive/2010/07/23/group-policy-amp-scripting.aspx" href="http://blogs.technet.com/b/grouppolicy/archive/2010/07/23/group-policy-amp-scripting.aspx" target="_blank">Group Policy Team Blog: Group Policy &amp; Scripting</a> </li>
<li><a title="http://blogs.technet.com/b/grouppolicy/archive/2009/04/28/powershell-script.aspx" href="http://blogs.technet.com/b/grouppolicy/archive/2009/04/28/powershell-script.aspx" target="_blank">Group Policy Team Blog: PowerShell Script with GP cmdlets: Registry setting, Link</a> </li>
<li><a title="http://technet.microsoft.com/en-us/library/dd378937(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/dd378937(WS.10).aspx" target="_blank">TechNet: Active Directory Administration with Windows PowerShell</a> </li>
<li><a title="http://blogs.msdn.com/b/adpowershell/archive/2009/03/20/extending-active-directory-powershell.aspx" href="http://blogs.msdn.com/b/adpowershell/archive/2009/03/20/extending-active-directory-powershell.aspx" target="_blank">MSDN Blog: Extending Active Directory Powershell</a> </li>
<li><a title="http://theexpertscommunity.com/item/view/id/4546" href="http://theexpertscommunity.com/item/view/id/4546" target="_blank">The Experts Community: Delegating the PowerShell Way</a> </li>
</ul>
<p>Other AD Security Related Pages</p>
<ul>
<li><a title="http://technet.microsoft.com/en-us/library/cc785913(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc785913(WS.10).aspx" target="_blank">TechNet: Access control in Active Directory</a> </li>
<li><a title="http://technet.microsoft.com/en-us/library/cc778807(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc778807(WS.10).aspx" target="_blank">TechNet: Delegating administration</a> </li>
<li>TechNet: Delegate Control of an Organizational Unit </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2010/09/how-to-delegate-ad-permission-to-organisational-units-using-the-powershell-command-add-qadpermission/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 9 (Beta) Group Policy Settings</title>
		<link>http://www.grouppolicy.biz/2010/09/internet-explorer-9-beta-group-policy-settings/</link>
		<comments>http://www.grouppolicy.biz/2010/09/internet-explorer-9-beta-group-policy-settings/#comments</comments>
		<pubDate>Thu, 16 Sep 2010 01:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[GPMC]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[Group Policy Prefereces]]></category>
		<category><![CDATA[IE9]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[Internet Explorer 9]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2010/09/internet-explorer-9-beta-group-policy-settings/</guid>
		<description><![CDATA[Microsoft has now released to the public (download it here) the newest version of Internet Explorer 9 Beta to the public. If you want to know more about the new features in IE9 then i recommend that you check out http://www.beautyoftheweb.com/ to see some of the fantastic stuff that this browser enables. If the new [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.beautyoftheweb.com/" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto; padding-top: 0px" title="IE9-banner2" border="0" alt="IE9-banner2" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/IE9banner2.jpg" width="644" height="122" /></a></p>
<p>Microsoft has now released to the public (<a href="http://www.beautyoftheweb.com/#/download" target="_blank">download it here</a>) the newest version of Internet Explorer 9 Beta to the public. If you want to know more about the new features in IE9 then i recommend that you check out <a title="http://www.beautyoftheweb.com/" href="http://www.beautyoftheweb.com/">http://www.beautyoftheweb.com/</a> to see some of the fantastic stuff that this browser enables. If the new functionality alone is not enough to get you to use it is just remember that it is now a <a href="http://blogs.msdn.com/b/ie/archive/2010/09/10/the-architecture-of-full-hardware-acceleration-of-all-web-page-content.aspx" target="_blank">Fully Hardware accelerated</a> which makes it much faster than any <a href="http://www.smartergeek.info/2010/09/microsoft-shows-off-ie9-hardware-acceleration-beating-the-pants-off-chrome-7/" target="_blank">other browser</a> on the market!!!</p>
<p>With any new version IE there comes new features and with new features comes new group policy settings so below I go through the new policy settings and how you can get started right now with managing IE9 using Group Policy.</p>
<p>To get started you will need to download and install IE9 on whatever computer you are using Group Policy Management Console (a.k.a. GPMC) to edit your Group Policy settings as with anything to do with Group Policy it is normally best to make changes from a systems that has the newest software on it in your organisation. </p>
<p><strong><font color="#ff0000">WARNING:</font></strong> This software is still Beta so you are strongly recommended to isolate any testing you do with IE9 and Group Policy from your production environment.</p>
<p>  <span id="more-1728"></span><br />
<h3>Internet Explorer 9 Administrative Template Group Policy Settings</h3>
<p>There are only 8 new Admin Template group policy setting but remember that just like previous version most of the&#160; other older IE policy settings will still apply to this newer of IE. Theses settings are of course not final and Microsoft could change or added/remove more setting before the product goes RTW. </p>
<p>As IE 9 only supports Windows Vista and Windows 7 you now only get ADMX files for the new policy settings which will automatically get placed into the C:\Windows\PolicyDefenitions folder on the computer you install IE9. <strong>Note:</strong> You will need to upload “inetres” the ADMX and ADML file to the if you are using a admin template <a href="http://support.microsoft.com/kb/929841" target="_blank">central store</a>. So once the new ADMX files are loaded you will be able to configured the new IE setting under Administrative Templates in the Group Policy Editor. Sweet!</p>
<p>To save you the time of trying to find where the new policy settings are yourself I have listed the 8 new Administrative Template settings with the location that they can be found so you can check them out yourself.</p>
<p><center><script type="text/javascript"><!--
google_ad_client = "pub-0199394863971709";
/* 250x250, created 9/15/10 */
google_ad_slot = "1340843319";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script><script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center></p>
<h4>Disable add-on performance notification</h4>
<p>Administrative Templates &gt; Windows Components &gt; Internet Explorer</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image8.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb8.png" width="529" height="484" /></a></p>
<h4>Turn off Managing SmartScreen Filter</h4>
<p>Administrative Templates &gt; Windows Components &gt; Internet Explorer</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image9.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb9.png" width="529" height="484" /></a></p>
<h4>Allow Internet Explorer 8 Shutdown Behaviour</h4>
<p>Administrative Templates &gt; Windows Components &gt; Internet Explorer</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image10.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb10.png" width="529" height="484" /></a></p>
<h4>Automatically enable newly installed add-ons</h4>
<p>Administrative Templates &gt; Windows Components &gt; Internet Explorer</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image11.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb11.png" width="529" height="484" /></a></p>
<h4>Prevent Deleting Download History </h4>
<p>Administrative Templates &gt; Windows Components &gt; Internet Explorer &gt; Delete Browsing History</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image12.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb12.png" width="529" height="484" /></a></p>
<h4>Enable WebM software (when available)</h4>
<p>Administrative Templates &gt; Windows Components &gt; Internet Explorer &gt; Advanced Settings &gt; Multimedia</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image13.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb13.png" width="529" height="484" /></a></p>
<h4>Prevent configuration of search from the Address bar</h4>
<p>Administrative Templates &gt; Windows Components &gt; Internet Explorer &gt; Advanced Settings &gt; Searching</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image14.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb14.png" width="529" height="484" /></a></p>
<h4>Install binaries signed by MD2 and MD4 signing technologies</h4>
<p>Administrative Templates &gt; Windows Components &gt; Internet Explorer &gt; Security Features &gt; Binary Behaviour Security Restrictions</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image15.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb15.png" width="529" height="484" /></a></p>
<h3>Internet Explorer 9 Internet Explorer Maintenance Group Policy</h3>
<p>The other way you can configured IE9 with Group policy is by going to Windows Settings &gt; Internet Explorer Maintenance section and as with previous version you can configure you IE setting (e.g. Home Page) or you can Import the current Program and/or Security using the Import Program Setting option.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image16.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/09/image_thumb16.png" width="644" height="419" /></a></p>
<h3>Internet Explorer 9 Group Policy Preferences Group Policy</h3>
<p>Umm… err… Unfortunately at this point in time there is no support for Group Policy Preferences with Interne Explorer 9. This may or may not change in the future but at least for now you can use Admin Templates and IE Maintenance mode to keep you going.</p>
<p>As the beta has only just been released then it is highly likely that there will be more information coming soon… If this does happen I will be sure to post a new article to keep you up to date.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2010/09/internet-explorer-9-beta-group-policy-settings/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Best Practice: Roaming Profiles and Folder Redirection (a.k.a. User State Virtualization)</title>
		<link>http://www.grouppolicy.biz/2010/08/best-practice-roaming-profiles-and-folder-redirection-a-k-a-user-virtualization/</link>
		<comments>http://www.grouppolicy.biz/2010/08/best-practice-roaming-profiles-and-folder-redirection-a-k-a-user-virtualization/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 09:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Best Practice]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AppData]]></category>
		<category><![CDATA[Fast First Logon]]></category>
		<category><![CDATA[Folder Redirection]]></category>
		<category><![CDATA[roaming profile]]></category>
		<category><![CDATA[User State Virtualization]]></category>
		<category><![CDATA[User Virtualisation]]></category>
		<category><![CDATA[User Virtualzsation]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2010/08/best-practice-roaming-profiles-and-folder-redirection-a-k-a-user-virtualization/</guid>
		<description><![CDATA[Virtualization is currently a buzz word and it seems that Microsoft is falling over itself to brand as many products as possible with the “V” word (e.g. Hyper-V, App-V &#38; Med-V). So “User State Virtualization” is the term that Microsoft now uses to describe what used to be call Roaming Profiles and/or Folder Redirection. The [...]]]></description>
			<content:encoded><![CDATA[<p>Virtualization is currently a buzz word and it seems that Microsoft is falling over itself to brand as many products as possible with the “V” word (e.g. Hyper-V, App-V &amp; Med-V). So “User State Virtualization” is the term that Microsoft now uses to describe what used to be call Roaming Profiles and/or Folder Redirection.</p>
<p>The idea is simple… a user can logon to any computer in an organisations and have all their personal files and setting apply to that computer as it was the last time they used a computer. This is really a Win/Win for Users and IT Pros as for a user this is a big time saver as they no longer need to waste time setting up their drives, printers and other personal settings when they have to use another computers. IT Pro’s also benefit when there is an un-expected failure or loss of a computer then they don’t have to go through what could be a lengthily, costly and if not impossible, process of recovering the users data.</p>
<p>The video below is part 1 in a 3 part series that give an overview about how Roaming Profiles and Folder Redirection give you User State Virtualisation.</p>
<p>Now theoretically User State Virtualization can be totally done with just a Roaming Profile, however this quickly becomes impractical as users often store a LOT of data which can make users profile impossibly large. To get around this Microsoft users folder redirection to essentially redirect parts of a users profile to a file share on a server where it is centrally access whenever they logon to a computer.</p>
<p>Reference: <a title="http://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx" target="_blank">Managing Roaming User Data Deployment Guide</a></p>
<blockquote><p>Folder Redirection provides a way for administrators to divide user data from profile data. This division of user data decreases user logon times, and Windows downloads less data. Windows redirects the local folder to a central location, giving the user immediate access to their data when they save it, regardless of the computer they are using. This immediate access removes the need to update the user profile.</p></blockquote>
<p>By redirecting these folders to a server they are only access when needed and therefore very large files do not slow down the profile update process. The obvious disadvantage of doing this is that when a user cannot access the redirected folders (e.g. disconnected laptop users) they lose access to these files. However this restriction is also mitigated by ensuring that the user has a cached copy of these redirected folders.</p>
<p><center><br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 300 x 250 - Medium */
google_ad_slot = "7296078251";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
</center></p>
<p>Below I am going to go through a number of tips and tricks to make sure you get the most out of a User State Virtualization setup in your environment and to ensure that you don’t fall into some configuration traps.</p>
<p>Before you begin I would also recommend that you read the following articles from Microsoft about User State Virtualization.</p>
<ul>
<li><a href="http://windowsteamblog.com/windows/b/springboard/archive/2010/05/12/choosing-an-appropriate-user-state-virtualization-solution.aspx" target="_blank">Choosing an Appropriate User State Virtualization Solution</a></li>
<li><a href="http://windowsteamblog.com/windows/b/springboard/archive/2010/04/19/understanding-user-state-virtualization-improvements-in-windows-7.aspx" target="_blank">Understanding User State Virtualization Improvements In Windows 7</a></li>
</ul>
<p><span id="more-1665"></span></p>
<p><strong>Note:</strong>&nbsp;I am going to mainly focus on Windows Vista/7 setups however most of the setting/principals I do mention below will still apply to Windows XP.</p>
<p><strong>Update:</strong> Here is a really good video from <a href="http://www.twitter.com/gpoguy" target="_blank">Darren Mar-Elia</a> (Fellow Group Policy MVP) from <a href="http://northamerica.msteched.com/" target="_blank">TechEd North America 2011</a>. This session is entitled <a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/WCL309" target="_blank">Optimizing Group Policy in Virtual Desktop (VDI) Environments</a> however much of it covers User State Virtualization.</p>
<p><object width="640" height="400" classid="clsid:dfeaf541-f3e1-4c24-acac-99c30715084a"><param name="minRuntimeVersion" value="4.0.50401.0" /><param name="source" value="http://channel9.msdn.com/scripts/Channel9.xap?v=1.5" /><param name="initParams" value="mediaurl=http://media.ch9.ms/teched/na/2011/wmv/WCL309.wmv,thumbnail=http://media.ch9.ms/teched/na/2011/thumbs/WCL309_LG.jpg,deliverymethod=progressivedownload,autoplay=false,entryid=f9b52616b72a4a3099279ee900a53936" /><param name="src" value="data:application/x-silverlight-2," /><param name="minruntimeversion" value="4.0.50401.0" /><param name="initparams" value="mediaurl=http://media.ch9.ms/teched/na/2011/wmv/WCL309.wmv,thumbnail=http://media.ch9.ms/teched/na/2011/thumbs/WCL309_LG.jpg,deliverymethod=progressivedownload,autoplay=false,entryid=f9b52616b72a4a3099279ee900a53936" /><embed width="640" height="400" type="application/x-silverlight-2" src="data:application/x-silverlight-2," minRuntimeVersion="4.0.50401.0" source="http://channel9.msdn.com/scripts/Channel9.xap?v=1.5" initParams="mediaurl=http://media.ch9.ms/teched/na/2011/wmv/WCL309.wmv,thumbnail=http://media.ch9.ms/teched/na/2011/thumbs/WCL309_LG.jpg,deliverymethod=progressivedownload,autoplay=false,entryid=f9b52616b72a4a3099279ee900a53936" minruntimeversion="4.0.50401.0" initparams="mediaurl=http://media.ch9.ms/teched/na/2011/wmv/WCL309.wmv,thumbnail=http://media.ch9.ms/teched/na/2011/thumbs/WCL309_LG.jpg,deliverymethod=progressivedownload,autoplay=false,entryid=f9b52616b72a4a3099279ee900a53936" /></object></p>
<h3>Setting up Folder Redirections using Group Policy</h3>
<p>Below I will show you how to setup folder redirection for you users profiles. It is very important that you realise the impact that redirection some of these folder can have as if users have many GB’s of music of videos on their local computers you could quickly find yourself running out of disk space on the server.</p>
<h3>Setting up file server share for User State Virtualization</h3>
<p>When setting up the file server you need to be sure that the permission on the folder are setup so that a user can create a new folder however you also need to ensure that they can only see their own files if they start to snoop about.</p>
<p>Below I will go though the setup of a folder to be used for folder redirection and the roaming profiles. Combining a users redirected folders and roaming profile path to the one spot on the network is far easier to manage as it consolidates all the users information in one locations.</p>
<p><strong>Note:</strong> This consolidated storage of users information can only applies to Windows Vista/7 systems. Otherwise you will need to create a separate share for roaming profiles with offline caching disabled for Windows XP systems.</p>
<p><strong>Step 1</strong>. Create a folder to be used as a root folder for all the users information (e.g. Users)</p>
<p><strong>Step 2.</strong> Open the properties of the folder and then go to the Security tab and then click on the Advanced button.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image27.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb26.png" alt="image" width="371" height="478" border="0" /></a></p>
<p><strong>Step 3.</strong> Now click on the “Change Permissions” button</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image29.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb28.png" alt="image" width="630" height="473" border="0" /></a></p>
<p><strong>Step 4.</strong>&nbsp;Un tick “Include inheritable permission form this object’s parent.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image30.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb30.png" alt="image" width="630" height="473" border="0" /></a></p>
<p><strong>Step 5.</strong> Click the “Add” button</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image31.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb31.png" alt="image" width="448" height="206" border="0" /></a></p>
<p><strong>Explanation:</strong>&nbsp;We have now setup a folder with no inheritable file permissions from the parent. We do this so we can remove the Read permission from&nbsp;Users for all subfolders and files in a later step.</p>
<p>You should now see something like this below.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image32.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb32.png" alt="image" width="630" height="473" border="0" /></a></p>
<p><strong>Step 6.</strong> Select the Users “Special” ACL and then click the Edit Button.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image34.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb33.png" alt="image" width="630" height="473" border="0" /></a></p>
<p><strong>Step 7.</strong> Change the Apply to: permission to “This folder only” and press “OK”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image35.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb34.png" alt="image" width="371" height="472" border="0" /></a></p>
<p><strong>Step 8.</strong> Select the Users “Read &amp; execute” ACL and then click the “Edit” button.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image36.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb35.png" alt="image" width="630" height="473" border="0" /></a></p>
<p><strong>Step 9</strong>. Again select the “This folder only” option from the Apply to: section and then press “OK”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image38.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb37.png" alt="image" width="371" height="472" border="0" /></a></p>
<p>Notice how the two “This folder only” permissions for Users have now combined into one ACL.</p>
<p><strong>Step 10.</strong> Then press “OK” and “OK” to get you back to the Users Properties screen.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image39.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb39.png" alt="image" width="630" height="473" border="0" /></a></p>
<p>Now we need to share the folder…</p>
<p><strong>Step 11.</strong> Click on the “Sharing Tab” on the Users Properties screen and then click on the “Advanced Sharing” button.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image40.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb41.png" alt="image" width="371" height="478" border="0" /></a></p>
<p><strong>Step 12.</strong> Tick “Share this folder” and give the type in a share name ending with a $ (e.g. Users$) then click on the “Permissions” Button.</p>
<p><strong>Note:</strong> The $ symbol at the end of the share name makes it hidden to a users so they cannot browser to the folder. This is not necessary but it is good practice to help stop nosey users.</p>
<p>Reference: <a title="http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx" href="http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx">http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx</a></p>
<blockquote><p>you should always hide the profile share using a dollar sign ($).</p></blockquote>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image42.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb42.png" alt="image" width="361" height="361" border="0" /></a></p>
<p><strong>Step 13.</strong> Tick “Allow” for the Full Control permissions (change should then get automatically ticked) and then press OK then OK then Close.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image43.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb43.png" alt="image" width="371" height="447" border="0" /></a></p>
<p><center><br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 300 x 250 - Medium */
google_ad_slot = "7296078251";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
</center></p>
<h3>(Optional) Setting up Roaming Profile Folder</h3>
<p>If you are still using Windows XP then I would recommend configuring the roaming profile folder is the same as the Users folder for the redirected folders except that you need to disable file caching. Simple repeat the steps above for “Setting up file server share for User State Virtualization” instead use the folder name called “Profiles” and a share name called “Profiles$”.</p>
<p>After you configure the share permissions (see step 13 above) also click on the “Caching” button and select the “No Files or programs from the share folder are available offline” options then press OK then OK then Close.</p>
<p>Reference: <a title="http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx" href="http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx">http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx</a></p>
<blockquote><p>You should disable Offline Files</p></blockquote>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/06/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/06/image_thumb.png" alt="image" width="420" height="401" border="0" /></a></p>
<p>&nbsp;</p>
<h3>Enabling Access Based Enumeration</h3>
<p>Now we are going to enable Access Based Enumeration for the Users$ share so that any users that manually goes to <a href="file://\\server04.contoso.local\users$">\\server04.contoso.local\users$</a>&nbsp;will only see their own folder. This is optional however as it simple stops your snooping users from seeing who else is in the organisation.</p>
<p>Reference: <a title="http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx" href="http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx">http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx</a></p>
<blockquote><p>This last part is for the former Novell Admins out there. Yes, you could use <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=04A563D9-78http://www.microsoft.com/downloads/details.aspx?FamilyId=04A563D9-78D9-4342-A485-B030AC442084&amp;displaylang=enD9-4342-A485-B030AC442084&amp;displaylang=en">Access Based Enumeration (ABE)</a>&nbsp;on these new shares; however if there is going to a lot of user folders on any one of these shares you could experience degradation of performance. Enabling ABE on a share does come at a price of performance.</p></blockquote>
<p><strong>Step 1.</strong> Open Server Manager and expand Roles &gt; File Services &gt; Share and Storage Management and then highlight the Users$ share</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image44.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb44.png" alt="image" width="516" height="364" border="0" /></a></p>
<p><strong>Step 2.</strong> From the menu click on Action and then Properties and then click the “Advanced” button</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image45.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb45.png" alt="image" width="408" height="517" border="0" /></a></p>
<p><strong>Step 3:</strong> Tick “Enable access-based enumeration” and then click “OK”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image46.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb46.png" alt="image" width="411" height="458" border="0" /></a></p>
<p><strong>Step 4.</strong> Click OK</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image47.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb47.png" alt="image" width="408" height="517" border="0" /></a></p>
<p>The folder on your server is now ready for your users roaming profiles (Windows Vista/7) and folder redirections.</p>
<p><strong>Tip:</strong>&nbsp;You can also also enable a <a href="http://technet.microsoft.com/en-au/library/cc732074.aspx" target="_blank">File Screen</a> using the <a href="http://technet.microsoft.com/en-au/library/cc732431.aspx" target="_blank">File Server Resource Manager</a>&nbsp;to prevent your users from saving files type of a certain extension (e.g. MP3, AVI or MP4) to their redirected folders. Another option this gives you is the ability to apply an <a href="http://technet.microsoft.com/en-au/library/cc731577.aspx" target="_blank">Auto Apply Quota</a> to the users folders and have then get warning email messages whenever they consumer a lot of disk space.</p>
<p><center><br />
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0199394863971709";
/* 300 x 250 - Medium */
google_ad_slot = "7296078251";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br />
</center></p>
<h3>How to configured Roaming Profiles for a user using Group Policy</h3>
<p><span style="color: #444444;">Before we begin, take the time to watch part 2 video that shows an example of how Roaming Profiles can be used to give your users a better experience. This video also demonstrates some of the pit falls with just implementing a roaming profile for a user without Folder Redirection enabled.</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4>Per User Roaming Profile</h4>
<p>You have always been able to configured a users roaming profile patch by configuring the Profile Path on the users account (see image below). This method allows you to granularly configure a users roaming profile path location however it is a lot more laborious process to ensure that they are consistent with the folder redirection policy that is also applied to the users.</p>
<p>Below is the view of a users roaming profile configured to <a href="file://\\server04.contoso.local\users$\%username%\profile">\\server04.contoso.local\users$\%username%\profile</a> . If you are a Windows XP user this will translate to <a href="file://\\server04.contoso.local\users$\sam\profile">\\server04.contoso.local\users$\sam\profile</a> and if you are a Windows Vista/7 users this will translate to <a href="file://\\server04.contoso.local\users$\sam\profile.v2">\\server04.contoso.local\users$\sam\profile.v2</a> .</p>
<p><strong>Explanation:</strong> I have added “\profile” onto the end of what would normally be the profile path so that when the profile is created it is placed at the same level as all the other redirected folders. You will see how this works later on in this post.</p>
<p>Reference: <a title="http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx" href="http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx">http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx</a></p>
<blockquote><p>You configure the profile location on the <strong>Profile</strong> or <strong>Terminal Services Profile</strong> tab within Active Directory Users and Computers.</p></blockquote>
<h4><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image48.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb48.png" alt="image" width="428" height="571" border="0" /></a></h4>
<p>&nbsp;</p>
<p>If you setup the optional Profiles$ share for Windows XP then you will need to make sure the share you use is profiles$ (not users$) and there is no need for the additional \Profiles folder to be specified.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2011/06/image1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2011/06/image_thumb1.png" alt="image" width="428" height="571" border="0" /></a></p>
<p>&nbsp;</p>
<p>Once feature that was introduced in new version of Active Directory Users and Computer in Windows Server 2003 was the ability to update user attributes with multiple users in one action (see image below). This made the whole process of configuring the users profile patch much easier especially when dealing with many users accounts.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image49.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb49.png" alt="image" width="702" height="584" border="0" /></a></p>
<h4>Per Computer Roaming Profile</h4>
<p>Before Windows Vista the only way you could configure the roaming profiles path for a users was by configuring it on the users account via Active Directory Users and Computers. While configuring the roaming profile path on the users account is now far easier with the multiple user attribute update feature this still left the setting configured for each individual users and unless you do an audit of all the user account it is possible that some path’s could be setup incorrectly.</p>
<p>However in ever since Windows Vista there is now a group policy setting you can apply to computers that configured the roaming profile path for anyone who logs onto that computer called “<a href="http://www.grouppolicy.biz/2010/03/setting-of-the-week-19-set-roaming-profile-path-for-all-users-logging-onto-this-computer/" target="_blank">Set roaming profile path for all users logging onto this computer</a>”.</p>
<p><strong>Warning:</strong> The biggest problem with the Per Computer roaming profile configuration is that there is no way to exclude you administrator accounts from also getting this policy as it is a per computer policy. This means if any administrator logs on to a workstation with this policy applied they will be configured to use a roaming profile.</p>
<p><strong>Step 1.</strong> Edit a Group Policy object that is targeted to your workstations</p>
<p><strong>Step 2</strong>. Navigate to Computer Configuration &gt; Policies &gt; Administrative Templates &gt; System &gt; User Profiles and enable the “Set roaming profile path for all users logging onto this computer” and configure the path to <a href="file://\\PROFILESERVERNAME\Users$\%username%\profile">\\PROFILESERVERNAME\Users$\%username%\profile</a> .</p>
<p><strong>Explanation:</strong> I have added “\profile” onto the end of what would normally be the profile path so that when the profile is created it is placed at the same level as all the other redirected folders. You will see how this works later on in this post.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image50.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb50.png" alt="image" width="704" height="644" border="0" /></a></p>
<p>If you are still running Windows XP this policy works very well if you have used a geographical OU structure (see <a href="http://www.grouppolicy.biz/2010/07/best-practice-active-directory-structure-guidelines-part-1/">Best Practice: Active Directory Structure Guidelines – Part 1</a>&nbsp;) for your workstations as you will be able to send the users&nbsp; roaming profile path for each user&nbsp; to a local file server. This would allow you to point users in the local site to the closest/quickest roaming profile server to reduce the time it takes to logon and logoff. However as Windows Vista and Windows 7 now uploads the profile asynchronously loading the profile via a higher latency lower bandwidth link is not so noticeable unless the users has never logged on to that computer before.</p>
<h4>Which do I recommend?</h4>
<p>Amazingly I am not going to recommend the per computer Group Policy method as there is no way you can get around not having a roaming profile if you logon as an administrator. This is a real show stoper as I think it is really bad for administrator accounts should not be encumbered with “crud” in their profile when logging onto a computer.</p>
<p>Therefore I recommend the per user roaming profile configuration method, which is made much easier to do with the multiple user attribute update option you get with the newer version of Active Directory Users and Computers.</p>
<h3>Other Roaming Profile Group Policy settings</h3>
<p>In this section I will go through (in no particular order) the Group Policy settings I recommend you configure for setting up roaming profiles.</p>
<p>Computer Configuration &gt; Policies &gt; Administrative Templates &gt; System</p>
<ul>
<li><a href="http://www.grouppolicy.biz/2009/11/group-policy-setting-of-the-week-2-verbose-vs-normal-status-messages/" target="_blank">Verbose vs normal status messages</a></li>
</ul>
<p>Reference: <a title="http://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx" target="_blank">Managing Roaming User Data Deployment Guide</a></p>
<blockquote><p>Windows Vista provides little information about the status of loading or unloading roaming profiles during user logon and logoff. This lack of information is misleading and may give a user the impression Windows Vista is unresponsive.</p></blockquote>
<p>Computer Configuration &gt; Policies &gt; Administrative Templates &gt; Systems &gt; User Profiles</p>
<ul>
<li><a href="http://www.grouppolicy.biz/2010/02/group-policy-setting-of-the-week-15-add-the-administrator-security-group-to-roaming-users-profiles/" target="_blank">Add the Administrator security group to roaming users profiles</a>&nbsp;<strong>(HIGHLY RECOMMEND)</strong></li>
<li><a href="http://www.grouppolicy.biz/2010/03/group-policy-setting-of-the-week-16-background-upload-of-a-roaming-user-profiles-registry-file-while-user-is-logged-on/" target="_blank">Background upload of a roaming user profile’s registry file while user is logged on</a></li>
<li><a href="http://www.grouppolicy.biz/2009/11/group-policy-setting-of-the-week-1-how-to-remove-old-user-profiles-after-x-days/" target="_blank">Delete use profiles older than a specified number of days on system restart</a></li>
</ul>
<p>Users Configuration &gt; Policies &gt; Administrative Templates &gt; Systems &gt; User Profiles</p>
<ul>
<li>Do not check for users ownership of Roaming Profile Folders</li>
</ul>
<p>Usefully if you are doing a cross domain/forest migration of user accounts. Also reduces logon issues caused by incorrectly set permissions on the folders.</p>
<ul>
<li>Limit profile size <strong>(NOT RECOMMENDED)</strong></li>
</ul>
<p>Reference: <a title="http://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx" target="_blank">Managing Roaming User Data Deployment Guide</a></p>
<blockquote><p>Vista still respects this policy setting; however, no longer prevents the user from logging off the computer. Windows does not synchronize the user&#8217;s profile to the profile server when it exceeds the policy enabled limit.</p></blockquote>
<ul>
<li>Exclude directories in roaming profile</li>
</ul>
<p>Handy to exclude applications that incorrectly write very large caches from the users Application Data folder if you do not have folder redirection enabled.</p>
<p>Trusted Sites</p>
<ul>
<li>As you are redirecting the Desktop and Start Menu to a network location you will need to add the file server into the trusted sites list otherwise Windows will warn you are trying to run a program form an un-trusted location (see below).</li>
</ul>
<p>Tip: To avoid having to enter in the name of every file server in your organisation simple added the Domain name portion of the server name so that all servers will be Intranet Zone (e.g. <a href="file://*.contoso.local">file://*.contoso.local</a> ). See my other blog post <a href="http://www.grouppolicy.biz/2010/03/how-to-use-group-policy-to-configure-internet-explorer-security-zone-sites/">How to use Group Policy to configure Internet Explorer security zone sites</a> on how to do this…</p>
<p><strong>Error Message you will get if you do not add you file servers into the Intranet Zone.</strong></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image51.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb51.png" alt="image" width="515" height="387" border="0" /></a></p>
<h3>Updates: Roaming Profile Improvement in Windows 7</h3>
<h4>Background Synchronisation</h4>
<p>The most significant improvement to Roaming Profiles with Windows 7 is the introduction of a new feature called <a href="http://www.grouppolicy.biz/2010/03/group-policy-setting-of-the-week-16-background-upload-of-a-roaming-user-profiles-registry-file-while-user-is-logged-on/" target="_blank">Background upload of a roaming user profile’s registry file while user is logged on</a> this enables the IT administrator to schedule a background upload of the users NTUSER.dat file if they don’t log off their computer. Even if your users are in the habit of logging off at the end of the day this is a setting you should consider turning on to ensure that the users settings are always being backed up as failures can happen at any time.</p>
<h3>How to configure Folder Redirection via Group Policy</h3>
<p>Now lets take a look at how to setup&nbsp;folder redirection for a user so that the files stored in their personal folders (e.g. Documents, Music &amp; Videos) are stored on the file server an not&nbsp;on the local computer. By default all folders that are redirected are automatically made available offline which is done so that users can still access their personal files if they are disconnected from the file server. On a Windows XP system this can add substantial time to the logon/logoff process as the user has to wait for the files to be synced however in Windows Vista/7 this is done in the background therefore it is a much more seamless process.</p>
<p>Part 3 of this video series also goes though an example that explains how Folder Redirection can help your roaming user access their files from various desktops and laptops.</p>
<p><strong>Step 1.</strong> Edit a Group Policy Object that is targeted to your users and navigate to User Configuration &gt; Policies &gt; Windows Settings &gt; Folder Redirection &gt; Documents</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image52.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb52.png" alt="image" width="265" height="528" border="0" /></a></p>
<p>Now we are going to setup folder redirections for the Documents (a.k.a. My Documents) folder as this is the most commonly redirected folder however you will need to repeat the same instructions for each of the other folders (if required).</p>
<p><strong>Step 2.</strong> From the menu click on Action and then Properties</p>
<p><strong>Step 3.</strong> Select the “Basic – Redirect everyone’s folder to the same location” option</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image53.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb53.png" alt="image" width="408" height="452" border="0" /></a></p>
<p>For the purpose of this demo I am only going to show you how to setup&nbsp;a “Basic” redirection. However if you want to spread out the users amongst multiple locations you can use the advanced options and apply a different folder redirection based on the users security&nbsp;group membership (see image below). This option is useful if you want to distribute the load across multiple server but it can start to get complicated as the users roaming profile may then be stored in a different locations to their redirected folders. Also be careful with the order you apply these advanced settings as if the users is a member of multiple groups it will pick up the top entry in the list and there is no way to reorder the list after the entries are created. For these reasons unless you REALLY want to you should try and avoid using the Advanced option.</p>
<p><strong>Advanced redirection (just for your FYI)</strong></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image54.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb54.png" alt="image" width="408" height="452" border="0" /></a></p>
<p><strong>Step 4.</strong> Select the “Create a folder for each user under the root path” option under the “Target folder location” and then type the full UNC path in the root path that we created before (e.g. \\server04.contoso.local\users$ ) then click on the “Settings” Tab.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image55.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb55.png" alt="image" width="408" height="452" border="0" /></a></p>
<p><strong>Step 5.</strong> Un tick “Grant the user exclusive rights to Documents”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image57.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb56.png" alt="image" width="408" height="452" border="0" /></a></p>
<p><strong>Explanation:</strong>&nbsp;If leave “Grant the user exclusive rights to Documents” ticked then when the folder is initially setup Windows will block inheritance on the folder and grant exclusive access to the users on these files. This will lockout even administrators to the files which makes administration of these folders very difficult. If an administrator did need to access these files they will need to take ownership which in turn removes access from the users to their files. The admin will then need to ensure that they need to re-setup the permission on the folder to ensure that they users can still access the files….. very messy…&nbsp; The only scenario I see you wanting to keep this ticked is if you have a VERY strict privacy policy in your organisation but as I said before its not as if a determined administrator cannot get access to these files if they really wanted to.</p>
<p>Reference: <a title="http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx" href="http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx">http://blogs.technet.com/b/askds/archive/2008/06/30/automatic-creation-of-user-folders-for-home-roaming-profile-and-redirected-folders.aspx</a></p>
<blockquote><p>By default, Administrators do not have permissions to users’ redirected folders. If you require the ability to go into the users folders you will want to go to the “Settings” Tab, and uncheck: &#8220;Grant the user exclusive rights to&#8221; on each folder that is redirected. This allows Administrators to enter the users redirected folder locations without taking ownership of the folder and files.</p></blockquote>
<p><strong>Note:</strong> If this is also one of the support folder redirection types in Windows XP you will have the option to also apply this policy to Windows XP computers. I would strongly recommend that you think hard before ticking this option however as I am a strong believer in not crossing the streams when it comes to running dual SOE’s.</p>
<p><strong>“Also apply…” option greyed&nbsp;out as its not a down level (a.k.a. Windows XP) supported setting.</strong></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image58.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb57.png" alt="image" width="408" height="452" border="0" /></a></p>
<p><strong>Note2:</strong>&nbsp;The other option you may want to consider it the “Redirect the folder back to the local userprofile&nbsp;location when policy is removed”. What this means is that if a users is not longer subject to that Group Policy setting the the contents of the redirected folder are moved back to the local computer. This sounds good until this actually happens to a users and then it takes them about 2 hours to copy all their file down to the local computers. I recommend that you leave this at the default setting.</p>
<p><strong>Step 6.</strong> As we did not tick the “Also apply redirection policy to Windows 2000, Windows 2000 Server, Windows XP and Windows Server 2003 operating systems” setting… phew… then you will need to press the “Yes” button.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image59.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb58.png" alt="image" width="420" height="195" border="0" /></a></p>
<p>Now repeat the setups above to configured all the other redirected folders (as shown below).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image60.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb59.png" alt="image" width="237" height="325" border="0" /></a></p>
<p><strong>Note:</strong>&nbsp;You will see on the Pictures, Music or Video options you will have the option to select the “Follow the Documents folder” option. However I have found that selecting this option can cause the Video and Music libraries in Windows 7 to disappear so i recommend that you do n so that they will automatically inherit the Documents settings.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image62.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb60.png" alt="image" width="408" height="452" border="0" /></a></p>
<p><strong>Warning (Pre Windows 7):</strong> When enabling folder redirection for existing users for the first time expect the logon to be very slow. Not only are you copying the contents of all the user’s personal folders across the network to the server you are doing this for multiple users at the same time when the login. This means that it is highly likely that your file server will be the bottle neck. To mitigate this you might want to security filter the policy and only enable it for a few users at a time working you way up to all your users.</p>
<h3>Folder Redirection Improvements in Windows 7</h3>
<h4>Fast First Logon</h4>
<p>One of the new feature with Windows 7 is called Fast First Logon which allows users to logon to their computer without having to wait for the folder to be moved first. This means if your are enabling folder redirection for users already running Windows 7 the performance impact will be greatly reduced.</p>
<p>Reference: <a title="http://technet.microsoft.com/en-us/library/ff183315(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/ff183315(WS.10).aspx" target="_blank">What&#8217;s New in Offline Files</a></p>
<blockquote><p>the user must wait only for Windows to move the files into the local Offline Files cache. After the files are moved, the user logs on and is free to perform other tasks while Windows synchronizes the locally cached data over the network as a background task</p></blockquote>
<h4>Background Synchronisation</h4>
<p>As all redirected folder are also made available offline it allows users to work on their files when in offline mode but still have them periodically sync in the background when connected via a low link. This is very useful for roaming users connected via a VPN or even when the file server might be experiencing heavy load.</p>
<p>Reference: <a href="http://technet.microsoft.com/en-us/library/ff458273(WS.10).aspx" target="_blank">What&#8217;s New in Folder Redirection and User Profiles</a></p>
<blockquote><p>When the network connection is slow or unavailable, Offline Files routes requests for the user folders that are stored on the server to the local computer cache. Users read and write from their local cache. Offline Files synchronizes new and changed files and folders from the local computer cache to the server when the network becomes available or in the background when the connection is slow.</p></blockquote>
<h3>The difference between Local, LocalLow and Roaming Applications Data</h3>
<p>One of the most confusing aspect of folder redirection is all the type of Application Data folders there are and what they do. Below is my attempt at trying to explain the difference between the Applications Data folders and how they will affect your computers.</p>
<p>Reference: <a title="http://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx" target="_blank">Managing Roaming User Data Deployment Guide</a></p>
<blockquote><p>Local and LocalLow&nbsp;folders for application data that does not roam with the user.</p></blockquote>
<h3>Local AppData&nbsp;&amp; AppData</h3>
<p>The “LocalAppData” and “AppData” folder’s for a user that does not have folder redirection enabled is one and the same and will be located at “C:\Users\<em>USERNAME</em>\AppData\Local”. The most commonly saved files in this path would be very large cache files that would be impractical to constantly send and receive across the network. As the files are only cache’s then there would be no issues if they were lost as they information would simple need to be re-cached. A good example of this is the TEMP and TMP path variable that is configured where most applications are configured to save temporary files.</p>
<p>That being said when folder redirection is enabled the “AppData” environment variable will point to the network path that it is configured in the Group Policy (see image below). This then splits you AppData folder into two locations with any application configured to use the “AppData” variable will be pointed the path on the network and any application that is configured to use the “LocalAppData” variable will still be pointed to the local hard drive.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image65.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb64.png" alt="image" width="408" height="452" border="0" /></a></p>
<p>Enabling folder redirection for AppData&nbsp;is far more practical to do with Windows Vista/7 than Windows XP as the offline file cache can seamless transition form offline to online mode if the network latency goes above a threshold.</p>
<p><strong>Warning:</strong>&nbsp;If you are running Windows XP and the users is connected via a slow link then the affect of having this folder redirected could be devastating to the users performance. In my experience even the simple act of scrolling a word document requires constant writing to this “Local” application data folder.</p>
<p>To identify if a user has application data folder redirection enabled by simple running “set” from the command prompt and the look at the value of the&nbsp; “APPDATA” variable (see image below). The below image also illustrates that the “LOCALAPPDATA” variable will always point to the local hard drive even when folder redirection is enabled.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image67.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb65.png" alt="image" width="681" height="262" border="0" /></a></p>
<h4>LocalLow&nbsp;AppData</h4>
<p>The “LocalLow” folder for all users is “C:\Users\<em>USERNAME</em>\AppData\LocalLow”.&nbsp; This BIG difference of “Local” to “LocalLow” is that it is specifically intended as a place for “Low Integrity” applications to write files such as Internet Explorer add-on like Google Gears, Google Earth, Adobe Acrobat, Apple QuickTime and Microsoft Silverlight. It also appears that this folder is neither redirected nor part of the roaming profile therefore all information stored into this folder is local to the computer and will not roaming with the user.</p>
<p>Reference: <a href="http://www.windowspcguy.net/?p=173">The difference between Local and LocalLow Folders</a></p>
<h3>Updated: Should you enabled Local AppData Folder Redirection?</h3>
<p>Should AppData&nbsp;Local be redirected? No… Because you Can’t… Hence the name “LOCAL”. In Windows XP days a users would either have their AppData&nbsp;folder online or offline and not matter how slow your connection was to the server so long as your still got a response you would stay online thus bringing your entire computer to a grinding halt. But if the Administrator did not enable folder redirection for the users this normally resulted in them having a MASSIVE roaming profile that would take forever to sync during the logon and logoff&nbsp;process. The work around to this was to exclude the entire AppData folder from the roaming profile but this meant you risked losing some of the users personal data.</p>
<p>As <a title="Aaron" href="http://stealthpuppy.com/">Aaron</a>&nbsp;mentioned in the comments the decision to enable Application Data folder redirection is one that should not be taken lightly and can have real negative consequences for the performance of your users. As I mentioned above having AppData&nbsp;folder redirection enabled to a location that is performing slow will have very noticeable performance impact for your users especially if you are running Windows XP. However not having AppData&nbsp;redirection could mean that you are likely to lose some of the users settings and data if their computer’s hard drive fails. A good article to read on the the matter is <a title="http://www.sepago.de/d/helge/2010/05/31/should-appdata-be-redirected-or-left-in-the-user-profile" href="http://www.sepago.de/d/helge/2010/05/31/should-appdata-be-redirected-or-left-in-the-user-profile" target="_blank">Should AppData be Redirected or Left in the User Profile?</a>&nbsp;which discuses&nbsp;the Pro’s and Con’s of enabling AppData Redirection.</p>
<p>However now with Windows 7 (and to a lesser extent Vista) the decision to enable folder redirection for Local AppData is tricky at best. Not made any easier by Microsoft on one hand by providing a specific Roaming\AppData folder for persistent information but on the other making improvements to the OS that makes it a far more practical option to enable.</p>
<p>The new Windows 7 features called <a href="http://technet.microsoft.com/en-us/library/ff183315(WS.10).aspx" target="_blank">Transparent Caching and Background Sync</a>&nbsp;for offline files the issues with redirecting the Local AppData&nbsp;folder are now largely mitigated as the users will automatically work on the local copy of the file whenever network performance is poor. Thus making it far more practical to enable Local AppData folder redirection while still not something that you really should do…</p>
<h3>Updated: Roaming AppData</h3>
<p>The “Roaming” AppData folder is located on the user local hard drive at “C:\Users\USERNAME\AppData\Roaming” this is the folder where applications should store all the users persistent information.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image68.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb66.png" alt="image" width="244" height="95" border="0" /></a></p>
<p>AppData\Roaming is part of the users roaming profile so when a user log’s off their computer the files are location are copied up to “\\PROFILESERVER\Users$\USERNAME\Profile.v2\AppData\Roaming”. Any well written application for Windows Vista or later should be aware of the Roaming Application Data folder and should use this folder to save persistent information. A good example of something that should be saved to this location is a users custom dictionary or a browsers internet cookies.</p>
<p>Reference <a title="http://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc766489(WS.10).aspx" target="_blank">Managing Roaming User Data Deployment Guide</a></p>
<blockquote><p>Roaming folder for application specific data, such as custom dictionaries, which are machine independent and should roam with the user profile.</p></blockquote>
<p>Below is a screen shot of a users AppData\Roaming folder as stored on the local computer and the same location stored on the server.</p>
<p><strong>Note:</strong> Unlike the users Registry information in the ntuser.dat file on Windows 7 the AppData\Roaming folder cannot be synchronised using the <a href="http://www.grouppolicy.biz/2010/03/group-policy-setting-of-the-week-16-background-upload-of-a-roaming-user-profiles-registry-file-while-user-is-logged-on/" target="_blank">Background upload of a roaming user profile’s registry file while user is logged on</a> setting.</p>
<table width="640" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="320">AppData\Roaming on the local computer</td>
<td valign="top" width="320">AppData\Roaming store on the Server</td>
</tr>
<tr>
<td valign="top" width="320"><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image69.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb68.png" alt="image" width="404" height="396" border="0" /></a></td>
<td valign="top" width="320"><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image71.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb69.png" alt="image" width="404" height="416" border="0" /></a></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>So Should you enable this “AppData(Roaming)” folder redirection option? Probably not…. Why? You should ensure that your computers it is always using the local HDD which should give MAXIMUM performance (unless you driver is REALLY slow). This with all the improvements in Roaming Profiles Syncing such as Background Synchronisation (See <a href="http://technet.microsoft.com/en-us/library/ff458273(WS.10).aspx" target="_blank">What&#8217;s New in Folder Redirection and User Profiles</a>) then the user AppData(Roaming) will still be saved to the network to reduce chance of any data loss for the user.</p>
<h3>Updates: Excluding AppData Folders</h3>
<p>Some applications may not be well written (SHOCKER) and as such save a numerous or large files to this location to the AppData\Roaming folder. This significantly adds to the logon and logoff&nbsp;with all the extra it takes to transfer all the excess files. Therefore you should fully understand where applications save the applications specific configuration and look at excluding these folders from the users roaming profile so they are not copied up to the network thus saving a lot of time during logoff and logon.</p>
<p>For a good starting point of a list of common applications that save large amount of information into the AppData\Roaming folder check out <a href="http://blog.stealthpuppy.com/virtualisation/reduce-logon-times-by-excluding-the-bloat" target="_blank">Stealthpuppy: Reduce logon times by excluding the bloat</a> .</p>
<h3>User State Virtualization Folder Structure Explained</h3>
<p>Now that we have configured the user roaming profile and folder redirections the next time a users logon they will automatically create the required folders on the network for them to enable User State Virtualization.</p>
<p>As you can see below in the image below a user personal folders are part of their roaming profile. The files in these folders (e.g. documents and music) are saved locally and are synchronised asynchronously in the background with the server. Having no folder redirection also means that a users will take some time to logon to a computer for the first time as you will need to download a copy of the entire profile.</p>
<p><strong>User State Virtualization Folder Structure before Folder Redirection is Applied</strong></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image63.png"><img title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb62.png" alt="image" width="181" height="310" border="0" /></a></p>
<p>After folder redirection is applied to the user you can see that all the user folders (excluding AppData) have been moved up a folder out of the profile and into the root folder for the users data.</p>
<p><strong>User State Virtualization Folder Structure after Folder Redirection is Applied</strong></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image64.png"><img title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb63.png" alt="image" width="183" height="360" border="0" /></a></p>
<h3>Summary</h3>
<p>Hopefully you now have a good idea as to how to setup User State Virtualization in your environment. Just remember that this is not a product but more a combination of roaming profiles and folder redirection to enable a users to use any computer in your organisation while maintaining a consistent experience.</p>
<p>The other part of User State Virtualization that I did not go into on this post was the ability to have all your users applications also follow them no matter which computer they are log into however to do this you need to use Microsoft App-V and for that i would refer you to <a title="http://blog.stealthpuppy.com/" href="http://blog.stealthpuppy.com/" target="_blank">Aaron Parker&#8217;s Stealthpuppy</a>&nbsp;web site.</p>
<h3>Other Resources</h3>
<p>This is just a list of other related articles that I have found since writing this post.</p>
<ul>
<li><a href="http://technet.microsoft.com/en-us/library/cc784484(WS.10).aspx" target="_blank">Best Practices for User Profiles (Windows XP)</a></li>
</ul>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2010/08/best-practice-roaming-profiles-and-folder-redirection-a-k-a-user-virtualization/feed/</wfw:commentRss>
		<slash:comments>86</slash:comments>
<enclosure url="http://media.ch9.ms/teched/na/2011/wmv/WCL309.wmv" length="183558531" type="video/asf" />
		</item>
		<item>
		<title>Best Practice: How to use Group Policy to control Services</title>
		<link>http://www.grouppolicy.biz/2010/08/how-to-use-group-policy-to-control-services/</link>
		<comments>http://www.grouppolicy.biz/2010/08/how-to-use-group-policy-to-control-services/#comments</comments>
		<pubDate>Wed, 11 Aug 2010 08:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Best Practice]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Basic]]></category>
		<category><![CDATA[Services]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2010/08/how-to-use-group-policy-to-control-services/</guid>
		<description><![CDATA[Services are programs that are configured to run in the background of a Windows computer weather or not there is a users that is logged on. They are essential part of windows and are essential to the operation of any windows computers. Without services computer could not perform automatic updates, run scheduled tasks or even [...]]]></description>
			<content:encoded><![CDATA[<p>Services are programs that are configured to run in the background of a Windows computer weather or not there is a users that is logged on. They are essential part of windows and are essential to the operation of any windows computers. Without services computer could not perform automatic updates, run scheduled tasks or even connect to a file share. Therefore the ability to control Windows Services is a vita task for IT administrators. </p>
<p>Quite often disabling services on a computer is the best way to reduce the security surface of a computer or to improve performance by turning off un-used components of the OS. Inversely it is also very important to have the ability to turn on services to enable certain functionality or to ensure that certain services are not turned off.</p>
<p>Below I will go through the two ways you can control services in windows by using Group Policy each ways has its own advantages and/disadvantages but together you can pretty much control any system service the way you want.</p>
<p>  <span id="more-1586"></span>
<p>In the examples below I am going to show you how to enable the “Applications Identification” service that is required to be enabled to make AppLocker work in Windows 7. If you want to learn more about AppLocker then check out my other post </p>
<h3>Using Group Policy to configured a Service</h3>
<p>Even since Group Policy was introduced to Windows 2000 you have been able to configured some aspects of services using native group policy. </p>
<p>Now that you can control service using Group Policy Preference there are only two reason that you will still want to use this method.</p>
<ol>
<li>You want to control services on Windows 2000 or a computer that does not have the client side extensions installed.</li>
<li>You want to configure the security so that non-administrators can start,stop and pause the service.</li>
</ol>
<p><strong>Step 1.</strong> Edit a computer Group Policy Object that is targeted at the computer that you want to configure</p>
<p><strong>Step 2.</strong> Select the services that you want to configure. </p>
<p><strong>Note:</strong> If the service that you want to configure is not present in the list you will need to install GPMC on a computer that has the service running. This is a painful restriction of controlling services this way and </p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image15.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb15.png" width="709" height="366" /></a></p>
<p><strong>Step 3.</strong> From the menu click on Action &gt; Properties then tick “Define this policy setting” and then configured the service startup mode to what you want it configured. </p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image16.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb16.png" width="408" height="379" /></a></p>
<p><strong>Step 4.</strong> If you click on the “Edit Security…” button you can also configured who has control over the service. This would be useful if you want to give end users the ability to start and stop specific services. <strong>Tip:</strong> Tick “Start, stop and pause” for INTERACTIVE if you want the logged on user to control the services.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image17.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb17.png" width="371" height="447" /></a></p>
<p>Now that you have configured the services via group policy you will need to reboot the computer for the new startup mode to take affect. This means if you are disabling a service then it will not stop until your next reboot which could be may days, weeks or even months after you made the policy change.</p>
<h3>Using <a href="http://www.grouppolicy.biz/2010/03/what-are-group-policy-preferences/" target="_blank">Group Policy Preferences</a> to configure a Service</h3>
<p>The newer and almost always better way to configure service now is to you the Group Policy Preference Services options. As opposed to the native method which only allowed you to control the startup and security of service, preference now allows you much greater control.</p>
<p>The only reasons you would not want to use Group Policy Preference to control services are:</p>
<ol>
<li>You need to configured the startup mode of a service on a computer running Windows 2000 or one that is not running the client side extensions. </li>
<li>You want to be able to configured the security to allow non-admin to start, stop or pause the service.</li>
</ol>
<p>Always remember that when you do configure a service startup mode using the native method that this will take precedence over Group Policy Preferences and you can use the security options in conjunction with preferences.</p>
<p><strong>Step 1.</strong> Edit a computer Group Policy Object that is targeted to the computers that you want to control the service.</p>
<p><strong>Step 2.</strong> Navigate to Computer Configuration &gt; Preferences &gt; Control Panel Settings &gt; Services</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image18.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb18.png" width="963" height="365" /></a></p>
<p><strong>Step 3.</strong> In the menu click on Action &gt; New &gt; Service and now click on the “…” button next to the Service Name field.</p>
<p>Note: From here you can either type in the service name in the “Service Name” field or click on the “…” button to chose the service from a predefined list of services.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image20.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb19.png" width="408" height="452" /></a></p>
<p><strong>Step 4</strong>. Select the service name that you want to configured and then click “Select”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image21.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb21.png" width="459" height="393" /></a></p>
<p><strong>Step 5.</strong> Now you can configure the Startup mode from the Startup mode drop down box and you can configure a service action.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image22.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb22.png" width="413" height="450" /></a></p>
<p>Service Action will take place each time there is a group policy refresh so that you do not need to wait for the computer to reboot for the latest startup mode to take affect. This can also be handy to configure if you want a service to start if it crashes or if you have a pesky service that requires restarting on a regular basis to keep running properly.</p>
<p><strong>Step 6.</strong> Click on the “Recovery” tab to configure the recovery options of the service as you would configure in the service control panel. </p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image23.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb23.png" width="408" height="452" /></a></p>
<p><strong>Step 7.</strong> As this is a preference you can also configure the standard “Common” options from such as item level targeting which will allow you to granularly control what computer you target this setting.</p>
<p>As you can see with the combination of Group Policy Preferences and the native policies there is nothing you cant configure to your system services… Enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2010/08/how-to-use-group-policy-to-control-services/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Update: How to workaround KB2286198/MS10-046 .lnk Icon security issues with Group Policy</title>
		<link>http://www.grouppolicy.biz/2010/08/how-to-workaround-kb2286198-shortcut-icon-security-issues-with-group-policy/</link>
		<comments>http://www.grouppolicy.biz/2010/08/how-to-workaround-kb2286198-shortcut-icon-security-issues-with-group-policy/#comments</comments>
		<pubDate>Mon, 02 Aug 2010 23:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[.lnk]]></category>
		<category><![CDATA[2286198]]></category>
		<category><![CDATA[Intermediate]]></category>
		<category><![CDATA[KB2286198]]></category>
		<category><![CDATA[MS10-046]]></category>
		<category><![CDATA[Workaround]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2010/07/how-to-workaround-kb2286198-shortcut-icon-security-issues-with-group-policy/</guid>
		<description><![CDATA[Update: Microsoft have now released the patch to the .lnk vulnerability MS10-046: Vulnerability in Windows Shell could allow remote code execution . If you have previously deployed the workaround using this article then it is now time to reverse the change you made by simple jumping to Removing the KB2286198 Workaround via Group Policy section [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update:</strong> Microsoft have now released the patch to the .lnk vulnerability <a title="http://support.microsoft.com/kb/2286198" href="http://support.microsoft.com/kb/2286198" target="_blank">MS10-046: Vulnerability in Windows Shell could allow remote code execution</a> . If you have previously deployed the workaround using this article then it is now time to reverse the change you made by simple jumping to <a href="#remove" rel="tag">Removing the KB2286198 Workaround via Group Policy</a> section and following the instructions. Needless to say this is a particular bad security issue and that you should be deploying this patch to all the computers in your environment ASAP. <strong>You have been Warned!!!</strong></p>
<p>There is currently a <a href="http://www.microsoft.com/technet/security/advisory/2286198.mspx" target="_blank">Microsoft Security Advisory KB2286198</a> out that affects all copies of Windows about a security issues with displaying icons on shortcuts via non-local drives (e.g. Removable, Network and WebDav folders). The security advisory lists the workaround to the issues that effectively disables displaying all shortcuts. While this is not exactly a prettiest workaround (see image below) it does prevent you from being vulnerable to the security exploit. </p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/2290360.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="2290360" border="0" alt="2290360" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/2290360_thumb.png" width="323" height="164" /></a></p>
<p>There is a <a href="http://support.microsoft.com/kb/2286198" target="_blank">Microsoft Fix It for the issues</a> if you just want to apply this workaround to a handful of computers but below I will show how you can apply the same workaround to all your domain computers using Group Policy.</p>
<h3>KB2286198 Workaround via Group Policy Instructions</h3>
<p>First we are going to create a policy that we can use at a later stage to restore the icon handler. The value that we are </p>
<p><strong>Step 1.</strong> Edit a Group Policy Object that applies to all the computers you want to apply the workaround</p>
<p><strong>Step 2.</strong> Navigate to Computer Configuration &gt; Preferences &gt; Windows Settings &gt; Registry and in the menu click on Action &gt; New &gt; Registry Item</p>
<p><strong>Step 4.</strong> Change the Hive to “HKEY_CLASSES_ROOT” then type “lnkfile\shellex\IconHandler” in the Key Path then tick Default and type “{00021401-0000-0000-C000-000000000046}” in the “Value Data” field and then click OK</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image55.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb53.png" width="408" height="452" /></a></p>
<p>We now want to disable this entry as we are going to use to to restore the Icon Handler once you the patch for this issue is out.</p>
<p><strong>Step 5.</strong> Click on the IconHandler item in the right hand column and then click&#160; “Disable this item” (Red Circle) in the toolbar.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image56.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb54.png" width="704" height="214" /></a></p>
<p>Now we create the entry that disables the Icon Handler…</p>
<p><strong>Step 6.</strong> Right click on the IconHandler registry item you just created and click “Copy”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image57.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb55.png" width="502" height="245" /></a></p>
<p><strong>Step 7.</strong> Right click somewhere in the blank in the right column and click “Paste”</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image58.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb56.png" width="504" height="266" /></a></p>
<p><strong>Step 8.</strong> Click Yes</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image59.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb57.png" width="369" height="149" /></a></p>
<p><strong>Step 9.</strong> Click on the second IconHandler registry item and click “Enable this item” (Green Circle) in the toolbar.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image60.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb58.png" width="702" height="199" /></a></p>
<p><strong>Step 10.</strong> Double click on the second IconHandler registry item and clear the “Value Data” field then click Ok.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image61.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb59.png" width="408" height="452" /></a></p>
<p><strong>Step 11.</strong> Now select and copy both IconHandler 1 &amp; 2 and paste them again into a blank area (see step 6,7 &amp; 8).</p>
<p><strong>Step 12.</strong> Double click on IconHandler 3 &amp; 4 and change the “lnkfile” in the Key Path to “piffile” (should now look like below image).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image62.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb60.png" width="564" height="120" /></a></p>
<p>Now we are going to disable the WebClient Service that is the second part of this workaround…</p>
<p><strong>Step 13.</strong> In the same GPO navigate to Computer Configuration &gt; Preferences &gt; Control Panel Settings &gt; Services and in the menu Action &gt; New &gt; Service</p>
<p><strong>Step 14.</strong> Change the Startup value to “Disabled” and type “WebClient” in the Service Name text field then change the Service Action to “Stop Service” and click OK.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image63.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb61.png" width="408" height="452" /></a></p>
<p>Done…</p>
<p>The workaround will now push out to all you workstations and become affective on the next reboot (see image below).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image64.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb62.png" width="435" height="573" /></a></p>
<p> <a name="Remove"><br />
<h3>Removing the KB2286198 Workaround via Group Policy</h3>
<p> </a>
<p><strong>Step</strong> <strong>1.</strong> In the GPO you set this up in navigate back to Computer Configuration &gt; Preferences &gt; Windows Settings &gt; Registry and delete enabled registry entries (probably the second and fourth) and then click on the remaining two registry entries and click on Enable this item in the toolbar (see image below).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image65.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb63.png" width="565" height="78" /></a></p>
<p><strong>Step 2.</strong> In the same GPO navigate to Computer Configuration &gt; Preferences &gt; Control Panel Settings &gt; Services and double click on the WebClient service item and change the Startup to “Manual&quot; and the Service Action to “No change” then click OK.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image66.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb64.png" width="408" height="452" /></a></p>
<p>Hopefully this will keep you secure until Microsoft release a patch for this security issue. As always implement these fixes at your own risk and I make no guarantees that these workaround will necessarily work in your environment.</p>
<h3>Further References</h3>
<ul>
<li><a title="http://securitygarden.blogspot.com/2010/07/fix-it-released-for-security-advisory.html" href="http://securitygarden.blogspot.com/2010/07/fix-it-released-for-security-advisory.html">http://securitygarden.blogspot.com/2010/07/fix-it-released-for-security-advisory.html</a> </li>
<li><a title="http://securitygarden.blogspot.com/2010/08/critical-out-of-band-update-released.html" href="http://securitygarden.blogspot.com/2010/08/critical-out-of-band-update-released.html">http://securitygarden.blogspot.com/2010/08/critical-out-of-band-update-released.html</a> </li>
<li><a title="http://support.microsoft.com/kb/2286198" href="http://support.microsoft.com/kb/2286198">http://support.microsoft.com/kb/2286198</a> </li>
<li><a title="http://www.microsoft.com/technet/security/advisory/2286198.mspx" href="http://www.microsoft.com/technet/security/advisory/2286198.mspx">http://www.microsoft.com/technet/security/advisory/2286198.mspx</a> </li>
<li><a title="http://www.microsoft.com/technet/security/bulletin/ms10-046.mspx" href="http://www.microsoft.com/technet/security/bulletin/ms10-046.mspx">http://www.microsoft.com/technet/security/bulletin/ms10-046.mspx</a> </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2010/08/how-to-workaround-kb2286198-shortcut-icon-security-issues-with-group-policy/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Best Practice: Group Policy Design Guidelines &#8211; Part 2</title>
		<link>http://www.grouppolicy.biz/2010/07/best-practice-group-policy-design-guidelines-part-2/</link>
		<comments>http://www.grouppolicy.biz/2010/07/best-practice-group-policy-design-guidelines-part-2/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 09:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Best Practice]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[AD]]></category>
		<category><![CDATA[Advanced]]></category>
		<category><![CDATA[AGPM]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[DFS-R]]></category>
		<category><![CDATA[Enforced]]></category>
		<category><![CDATA[GPMC]]></category>
		<category><![CDATA[GPO]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[Guidelines]]></category>
		<category><![CDATA[RSAT]]></category>
		<category><![CDATA[Secuirty Filtering]]></category>
		<category><![CDATA[SYSVOL]]></category>
		<category><![CDATA[WMI filtering]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/?p=1388</guid>
		<description><![CDATA[In my previous article In this article Best Practice:Active Directory Structure Guidelines – Part 1 I spoke about some of the guidelines I personally use when developing an Active Directory OU structure. In this next part I will discuss some guidelines I use when designing a Group Policy Object infrastructure. Ideally you should make the [...]]]></description>
			<content:encoded><![CDATA[<p>In my previous article In this article <a href="http://www.grouppolicy.biz/2010/07/best-practice-active-directory-structure-guidelines-part-1/" target="_blank">Best Practice:Active Directory Structure Guidelines – Part 1</a> I spoke about some of the guidelines I personally use when developing an Active Directory OU structure. In this next part I will discuss some guidelines I use when designing a Group Policy Object infrastructure.</p>
<p>Ideally you should make the the Active Directory OU and GPO design decision together to best ensure that you have the most efficient design possible. However if you have an existing OU structure designed a lot of these guidelines can still be applied to most existing environments.</p>
<p>As in <a href="http://www.grouppolicy.biz/2010/07/best-practice-active-directory-structure-guidelines-part-1/" target="_blank">Part 1</a> these are simply guidelines that I use and should not be taken as hard an fast rules. I quite often finding myself having to break these rules due to real world conflicts or just because one rule might conflict with the other rule. If you do find your self in a situation where you are not sure which path to take try to chose the option that will result in the least administrative effort in the long term.</p>
<p><span id="more-1388"></span></p>
<p><center><script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-0199394863971709"; /* 300 x 250 - Medium */ google_ad_slot = "7296078251"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></center></p>
<h2>Active Directory Group Policy Design Guidelines</h2>
<h3>Keep the GPO’s name consistent with the OU names</h3>
<p>When naming the GPO try to keep the name of the policy the same as the concatenated name of all the OU’s to where the group policy object is applied. Having the fully concatenated name will make it intently know what that policy is applied when just looking at the GPO name. This is very handy to know when looking at a Group Policy Results report which only gives you the name of the GPO without the linked OU details.</p>
<table width="640" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="320"><span style="font-size: x-small;"><strong>Bad Example “Workstations”</strong></span></td>
<td valign="top" width="320"><span style="font-size: x-small;"><strong>Good Example “Sydney Workstations”</strong></span></td>
</tr>
<tr>
<td valign="top" width="320"><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image89.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb84.png" alt="image" width="313" height="327" border="0" /></a></td>
<td valign="top" width="320"><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image90.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb85.png" alt="image" width="343" height="327" border="0" /></a></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>In keeping with having names consistent this also means you should adhere to the same naming conventions as mentioned in <a href="http://www.grouppolicy.biz/2010/07/best-practice-active-directory-structure-guidelines-part-1/" target="_blank">Part 1</a> with the OU’s (i.e. “Keep it short”, “Be Intuitive” &amp; “Most to least signification from left to right”… So in saying that please read the next guideline…</p>
<h4>References</h4>
<p><a title="http://technet.microsoft.com/en-us/library/cc779159(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc779159(WS.10).aspx" target="_blank">TechNet: Establishing Group Policy Operational Guidelines</a></p>
<blockquote><p>Define a meaningful naming convention for GPOs that clearly identifies the purpose of each GPO</p></blockquote>
<h3>Don’t use the work “POLICY”  or “GPO” in the GPO name</h3>
<p>Nothing annoys me more to see a group policy called “Workstations Policy” or “Workstation GPO”…. I KNOW ITS A POLICY!!!! I AM LOOKING AT IT IN THE GROUP POLICY MANAGEMENT CONSOLE. Please drop the work “policy” or “GPO” from the name of the Group Policy object as you are simple adding more characters to what might already be a long name only for the sake of pointing out the obvious.</p>
<p>I also realise that the two GPO’s that come with AD are called “Default Domain Policy” and “Default Domain Controller Policy” which goes against this rule…</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image121.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb116.png" alt="image" width="291" height="130" border="0" /></a></p>
<p>Remember at the start of <a href="http://www.grouppolicy.biz/2010/07/best-practice-active-directory-structure-guidelines-part-1/" target="_blank">part 1</a> how rules were meant to be broken…  So I do NOT recommend that you rename these polices there is just to much risk and confusion that doing this might cause. But this would have to be the only exception to this rule that I would be happy to let though…</p>
<h3>Treat your terminal servers like workstations</h3>
<p>Terminal Servers (now known as Remote Desktop Services) are essentially a multi-user workstation and as such should be treated more as a workstation than a server. Ideally you should configure you Terminal Server to be as close as possible as your workstations to provide your users with a consistent experience. The best way to make sure the configuration is consistent is to apply the same policy settings to the Terminal Serves as your workstations.</p>
<p>That being said don’t apply the same computer Group Policy Object to the Terminal Servers if for no other reason than it helps reduce the risk of making a change to a workstation that could affect the stability of the servers (e.g. Automatic Update reboot schedule). Therefore you will need to maintain some level of manually synchronisation between you default workstation and terminal server policy.</p>
<p>Unlike computer GPO’s it far more acceptable to apply the same user GPO’s to your users when logging on to the Terminal Server as the GPO are applied to the User Object rather than the computer account. Using the same policy means that any changes made to the user policies will automatically apply to terminal servers without the administrative overhead of making duplicate updates when there are policy changes. If you have any user configuration that you want to configure that is specific to the terminal servers (e.g. <a href="http://support.microsoft.com/kb/896515" target="_blank">disable adding PST file</a>) then you can override this policy using the <a href="http://support.microsoft.com/kb/260370" target="_blank">Group Policy Loopback</a> option on the computer GPO you apply to the Terminal Server. This is another  reason why you would want to have a separate computer GPO as it allow you to apply specific Terminal Server user settings via a loopback policy.</p>
<p>For more information on troubleshooting Loop back policies check out <a href="http://www.grouppolicy.biz/2010/02/loopback-policy-processing-debug-series-replace-mode-cb5-blog/" target="_blank">Loopback Policy Processing Debug Series  | CB5 Blog</a> and <a title="http://blog.stealthpuppy.com/" href="http://blog.stealthpuppy.com/" target="_blank">Aaron Parker&#8217;s StealthPuppy</a> blog.</p>
<h4>Reference</h4>
<p><a title="http://technet.microsoft.com/en-us/library/cc757470(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc757470(WS.10).aspx" target="_blank">TechNet: Using Loopback Processing to Configure User Settings</a></p>
<blockquote><p>The <strong>User Group Policyloopback processing mode </strong>policy setting is an advanced option that is intended to keep the configuration of the computer the same regardless of who logs on. This option is appropriate in certain closely managed environments, such as servers, terminal servers, classrooms, public kiosks, and reception areas.</p></blockquote>
<h3>New GPO’s only when scope is different</h3>
<p>I have seen some organisations apply many Group Policy Objects (GPO’s) to the same OU. There are a number of reason why you might want to do this however you should really consider why you want spawn another GPO as each one will add about 5mb to you Active Directory SYSVOL. But if you start creating lots of GPO objects then you can quickly blow out your the size and performance of your SYSVOL. This is not such a problem if you have <a href="http://blogs.technet.com/b/notesfromthefield/archive/2008/04/27/upgrading-your-sysvol-to-dfs-r-replication.aspx" target="_blank">upgraded to a DFS-R SYSVOL</a> replication or you have configured a <a href="http://support.microsoft.com/kb/929841/en-gb" target="_blank">Group Policy Central Store</a> for your Windows Vista and later computers but its still good practice to keep the number of GPO’s as low as possible.</p>
<h3>Monolithic vs. Functional GPOs</h3>
<p>Now that I have just told you that you should load up your GPO’s with lots of setting rather than having lots and lots of separate GPO’s <a href="http://adisfun.blogspot.com/" target="_blank">Mike Kline</a> has referred  me to the this great article <a title="http://technet.microsoft.com/en-us/magazine/2008.01.gpperf.aspx" href="http://technet.microsoft.com/en-us/magazine/2008.01.gpperf.aspx" target="_blank">Best Practice for Optimizing Group Policy Performance</a> by Darren Mar-Elia that talks about Monolithic vs. Functional GPOs.</p>
<blockquote><p>The terms &#8220;monolithic&#8221; and &#8220;functional&#8221; refer to how you design them. Monolithic GPOs contain settings from many different areas. For example, a monolithic GPO might contain settings from Administrative Templates, Internet Explorer Maintenance, and Software Installation policies—all within a single GPO. By contrast, functional GPOs typically do one thing. For example, a functional GPO may do only Software Installation or enforce Security settings.</p></blockquote>
<p>I totally agree with this and my advice to you when trying to decide which to use that your should pick the type of policy configuration that suites your needs.</p>
<p>This also maps very nicely to the 80/20 examples you will see below where you take a more Monolithic approach to the 80% GPO’s and more Functional to the 20%. The 80% policies are going to have more setting in them but they will be relatively static where the 20% policies will have fewer settings but probably need to be updated more frequently. This way you should be able to balance the pro’s and con’s of each policy type in your environment.</p>
<h4>References</h4>
<p><a title="http://technet.microsoft.com/en-us/library/cc787003(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc787003(WS.10).aspx" target="_blank">TechNet: Complying with Service Level Agreements</a></p>
<blockquote><p>If you have large or complex GPOs that require frequent changes, consider creating a new GPO that contains only the sections that you update regularly.</p></blockquote>
<h3>Setting (not policies) = Slower SOE</h3>
<p>It is often a misconception that splitting up your group policy setting into a lot of Group Policy Objects (GPO’s) will slow down Group Policy on your computers. While this might be true if you have many 100’s (or thousands) of GPO’s applied to your computer this is not normally the reason why computer may slow down processing Group Policies. Normally you will find that its the number of settings you have applied that will cause performance issues and even then you will find that particular setting that will cause more of a performance hit than other. In my experience the policy setting that cause the most likely affect performance are:</p>
<ol>
<li>Printer Mappings (100+)</li>
<li>Folder Redirection (Especially with Windows XP and AppData Redirection)</li>
</ol>
<p>You should also expect that the first time a users logs on with a new account that they should expect a slow logon as the computer will need to apply all policy setting. However subsequent logon’s should be much faster as the computer is then only checking the policy is still applied. This is similar to the difference between running a “GPUPDATE” and a “GPUPDATE /FORCE” .</p>
<p>You should also check out the <a title="http://technet.microsoft.com/en-us/magazine/2008.01.gpperf.aspx" href="http://technet.microsoft.com/en-us/magazine/2008.01.gpperf.aspx" target="_blank">Best Practice for Optimizing Group Policy Performance</a> post by Darren Mar-Elia as this post explains in detail how GPO are applied and what you can do to tweak performance.</p>
<p>While it would be fairly rare to have an environment that has more than a 999 GPO’s applied to a single computer still be aware there is a hard limit on the number of GPO’s you can apply to any user or computer. Thus trying to keep the number GPO’s to a as few as possible is a good idea especially in very large organisations that may uses separate GPO’s for installing software packages.</p>
<h4>Reference</h4>
<p><a title="http://technet.microsoft.com/en-us/library/cc758134(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc758134(WS.10).aspx" target="_blank">TechNet: Determining the Number of Group Policy Objects</a></p>
<blockquote><p>Note that a maximum of 999 GPOs is supported for processing GPOs on any one user or computer. If you exceed the maximum, no GPOs will be processed.</p></blockquote>
<h3>Disable User/Computer settings if not in use</h3>
<p>If you are creating a GPO that is only meant to be applied to computers (and vice versa for users) then you should disable the unused portion of the GPO. This not only helps guards against accidental change to the section of the GPO that should not be applied it should also give you a small performance boost processing policies on your computers as the GPO does not un-necessarily evaluate parts of the policy that are not configured with any settings.</p>
<p>While I have never seen a performance benefit in disabling the unused portion of a GPO or based on the number of GPO’s applied to a computers (see “Settings (not polices) = Slower SOE)” section above) I do encourage that you adhere to these principals to avoid <a title="http://en.wikipedia.org/wiki/Death_of_a_thousand_cuts" href="http://en.wikipedia.org/wiki/Death_of_a_thousand_cuts">Death of a thousand cuts</a> when it comes to the performance of your systems.</p>
<p><a title="http://technet.microsoft.com/en-us/library/cc787003(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc787003(WS.10).aspx" target="_blank">TechNet: Complying with Service Level Agreements</a></p>
<blockquote><p>If a GPO contains only computer or user settings, disable the portion of the policy that does not apply. The destination computer does not scan the portions of a GPO that you disable, which reduces processing time</p></blockquote>
<h3>Avoid using Enforced</h3>
<p>In all my time as an Group Policy Administrator I cannot real once a scenario that I required the use of the Enforced feature of Group Policy. At all cost you should avoid this setting as doing so is like using big hammer to a problem that you can probably avoid if designed right.</p>
<p>(RESIST THE URGE)</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image122.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb117.png" alt="image" width="351" height="359" border="0" /></a></p>
<h4>References</h4>
<p><a title="http://technet.microsoft.com/en-us/library/cc736938(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc736938(WS.10).aspx" target="_blank">TechNet: Designing Your Group Policy Model</a></p>
<blockquote><p>Use the <strong>Enforced</strong> and <strong>Block Policy Inheritance</strong> features sparingly. Routine use of these features can make it difficult to troubleshoot policy because it is not immediately clear to administrators of other GPOs why certain settings do or do not apply</p></blockquote>
<h3>Reuse GPO’s where possible</h3>
<p>If you are in a situation that you want have the same settings you want to apply to all the users or computers in specific OU’s your organisation then consider linking the same GPO to these OU’s. When naming the GPO chose a name that represents what is common  to what you are applying. This is shown in the image below (and in “<span style="font-size: x-small;">80/16/4 Example 2”) where the policy is named “People Manufacturing” as this is the common two values to where to policy is being applied. </span></p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image622.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image[62]" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image62_thumb1.png" alt="image[62]" width="503" height="569" border="0" /></a></p>
<p><span style="font-size: x-small;">The means the “Sydney” and “Coolangatta” is ignored as that would result in a long policy name of “People Sydney and Coolangatta&#8221; Manufacturing”. It would be obviously longer again if you had the policy linked to many more sites.</span></p>
<h3>If you have Software Assurance use the Advance Group Policy Management (AGPM) tool</h3>
<p>Advanced Group Policy Management (a.k.a. AGPM) is a tool that is available to anyone who is licensed to have Software Assurance. This programs is a change management tool that allows you to check-in and check-out GPO as well as create a list of changes and an audit trail of change to GPO’s. You can check out my AGPM install and configuration series at <a href="http://www.grouppolicy.biz/2010/06/introduction-to-advanced-group-policy-management-a-k-a-agpm-v4/" target="_blank">AGPM Part 1: Introduction to Advanced Group Policy Management (a.k.a AGPM) v4</a>. If you have a Group Policy infrastructure of any size or if you have more than one person who is responsible for making changes to GPO’s then this is definitely something you should consider.</p>
<p>AGPM is also very good at avoiding GPO editing conflicts as you will find that the “last writer will win” when making policy changes. This means that in an environment that has multiple GPO admins you might find that you could be overwriting each other changes with un-expected results. AGPM gets around this issues as it support the method of checking in and out GPO’s for editing meaning that now two GPO administrators can edit a GPO at the same time thus eliminating the possibility of overwriting each other changes.</p>
<p>For even more information on AGPM check out the following links:</p>
<p><a href="http://blogs.technet.com/mdop" target="_blank">Microsoft MDOP Blog</a><br />
<a href="http://technet.microsoft.com/en-au/library/ee532079.aspx" target="_blank">TechNet: Overview of Advanced Group Policy Management</a><br />
<a href="http://technet.microsoft.com/en-us/windows/ee526426.aspx" target="_blank">TechNet: A Video tour of Advanced Group Policy Management</a><br />
<a href="http://technet.microsoft.com/en-au/library/ee390978.aspx" target="_blank">TechNet: Technical Overview of AGPM</a><br />
<a href="http://technet.microsoft.com/en-us/library/ee390977.aspx" target="_blank">TechNet: What’s New in AGPM</a><br />
<a href="http://technet.microsoft.com/en-au/library/dd553090.aspx" target="_blank">TechNet: Choosing Which Version of AGPM to Install</a><br />
<a href="http://technet.microsoft.com/en-us/library/ee378482.aspx" target="_blank">TechNet: Step-by-Step Guide for Microsoft Advanced Group Policy Management 4.0</a><br />
<a href="http://technet.microsoft.com/en-us/library/ee390965.aspx" target="_blank">TechNet: Operation Guide for Microsoft Advanced Group Policy Management 4.0</a><br />
<a href="http://blogs.technet.com/b/grouppolicy/archive/2010/06/11/importing-and-exporting-with-agpm.aspx" target="_blank">Group Policy Blog: Importing and Exporting with AGPM</a></p>
<p><center><script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-0199394863971709"; /* 300 x 250 - Medium */ google_ad_slot = "7296078251"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></center></p>
<h3><a name="TestGPO"></a>Create a Test Group Policy Structure</h3>
<p>Implement something like AGPM is an excellent way to make sure you have a proper rollback strategy for making changes to Group Policy but sometimes you just want somewhere to test the policy functionality before you put it into production. I would definitely recommend having an isolated replica of the AD structure in for making test however the problem with these environment is that they are normally not a 100% representation of the production environment.</p>
<p>Therefore as a second step in your testing of policy changes before being applied to productions systems you should create a test GP structure that will allow have a selection of users and computers that are in production but are not mission critical. Best to select users that you know are easy to get along with and wont scream to loud when you break something. You can even apply your own computer and users account to this test GP structure but make sure that this is not your only account as you want your computer to still be able to work so you can undo your changes in case you royally stuff something up.</p>
<h4>OU Method</h4>
<p>The image below shows how you could implement a Test OU/GP structure however by creating a separate OU structure to test your group policy. This method provides excellent isolation of your test computers and users to production which may be desired if you want to lessen the impact of any bad configuration changes. However this would mean that you would have the overhead of needing to ensure that all configuration changes to the production GPO’s are also replicated to these. Otherwise you may end up with your test environment being configured differently to your production GPO.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb.png" alt="image" width="473" height="789" border="0" /></a></p>
<h4>Security Group Filtered Method</h4>
<p>The Security Group Filtered method applies the test GPO’s to the existing OU structure but they are security filtered so they will only apply to the users or computers you want to test. The test GPO will only have the delta configuration changes applied to it for the policy setting that you are testing therefore all other production policies will be implicitly applied to the test objects. Therefore you test computers and users are as close as possible representation of production because they are subject to the production policies. This also mean you do not need to make duplication configuration changes to the GPO’s when you do make production changes as the test computers will automatically have the production policies applied. The down side to this method is that unless you are carful in how you apply your security filtering you may inadvertently apply the test changes to your computers users and computers as they are all under the same scope of the test GPO. Another disadvantage of this method is that as you are relying upon security groups to apply the users or computer to the test policy it is possible that you could be a member of multiple test groups and thus be subject to multiple conflicting test GPO’s which may make the results somewhat unpredictable.</p>
<p>When not testing GPO changes the Test GPO’s should remain configured without any settings and/or the link to the OU should be disable to avoided any extra policy processing overhead to the production users and computers.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image1.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb1.png" alt="image" width="378" height="901" border="0" /></a></p>
<h4>Hybrid Method</h4>
<p>This method combines both a separate OU structure and separate GPO’s but avoids having to use security group filtering. The advantage of this method is that you test environment is still subject to the production GPO’s however the test policies are only applied to the users and computers that are located in the Test OU structure. This method totally mitigates accidently applying a test configuration to your production computers and it also eliminates the need to duplicate configuration changes to your production environment.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image2.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb2.png" alt="image" width="435" height="795" border="0" /></a></p>
<h4>Reference</h4>
<p><a title="http://technet.microsoft.com/en-us/library/cc779159(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc779159(WS.10).aspx" target="_blank">TechNet: Establishing Group Policy Operational Guidelines</a></p>
<blockquote><p>Always stage Group Policy deployments using the following pre-deployment process</p></blockquote>
<p><a title="http://technet.microsoft.com/en-us/library/cc736938(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc736938(WS.10).aspx">TechNet: Designing Your Group Policy Model</a></p>
<blockquote><p>Prepare a staging environment to test your Group Policy-based management strategy before deploying GPOs into your production environment.</p></blockquote>
<p><a title="http://technet.microsoft.com/en-us/library/cc737330(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc737330(WS.10).aspx" target="_blank">TechNet: Deploying Group Policy</a></p>
<blockquote><p>Always fully test your GPOs in safe (nonproduction) environments prior to production deployment</p></blockquote>
<h3>Backup Often</h3>
<p>Especially if you don’t have something like AGPM installed in your environment you should seriously consider making a PowerShell script that simple backs up all your new GPO’s in your Active Directory every night. Having back up copies of you GPO is very handy especially if you have miss-configured something and you quickly want to rollback to last known good policy setting. For more information on how to do this with PowerShell visit  <a title="http://blogs.technet.com/b/grouppolicy/archive/2009/03/26/powershell-script-backup-all-gpos-that-have-been-modified-this-month.aspx" href="http://blogs.technet.com/b/grouppolicy/archive/2009/03/26/powershell-script-backup-all-gpos-that-have-been-modified-this-month.aspx" target="_blank">PowerShell Script: Backup all GPOs that have been modified this month</a> from the <a href="http://blogs.technet.com/b/grouppolicy/" target="_blank">Group Policy Team Blog</a>.</p>
<h4>References</h4>
<p><a title="http://technet.microsoft.com/en-us/library/cc738553(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc738553(WS.10).aspx" target="_blank">TechNet: Defining Group Policy Operational Procedures</a></p>
<blockquote><p>You should also create regular backups of your GPOs</p></blockquote>
<h3>Edit Default Domain Policies Sparingly</h3>
<p>Unless you are changing the default domain password policy then it is strongly recommended that you do not modify the Default Domain or Default Domain Controller group policy objects as making a mistake in these two policies up can really mess up your Active Directory. If you want to make a change to all your DC or your entire domain then consider making a separate new group policy at the same level as the default policies. This will at least allow you to un-do any change selectively disabling the offending policies if something does go wrong.</p>
<h4>Reference</h4>
<p><a title="http://technet.microsoft.com/en-us/library/cc736813(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc736813(WS.10).aspx" target="_blank">TechNet: Linking GPOs</a></p>
<blockquote><p>If you need to modify some of the settings contained in the <strong>Default Domain Policy GPO</strong>, it is recommended that you create a new GPO for this purpose, link it to the domain, and set the <strong>Enforce</strong> option. In general, do not modify this or the <strong>Default Domain Controller Policy GPO</strong>. If you do, be sure to back up these and any other GPOs in your network by using GPMC to ensure you can restore them.</p></blockquote>
<p><a title="http://technet.microsoft.com/en-us/library/cc779159(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc779159(WS.10).aspx" target="_blank">TechNet: Establishing Group Policy Operational Guidelines</a></p>
<blockquote><p>Do not modify the default domain policy or default domain controller policy unless necessary. Instead, create a new GPO at the domain level and set it to override the default settings in the default policies.</p></blockquote>
<p><strong>Update:</strong> Here is another post I have found that confirms this <a title="Best Practices For The Default Domain Policy And The Default Domain Controllers Policy GPOs" href="http://jorgequestforknowledge.wordpress.com/2011/10/23/best-practices-for-the-default-domain-policy-and-the-default-domain-controllers-policy-gpos/" target="_blank">http://jorgequestforknowledge.wordpress.com/2011/10/23/best-practices-for-the-default-domain-policy-and-the-default-domain-controllers-policy-gpos/</a></p>
<h3>Avoid using Group Policy Software Assignment</h3>
<p>I know it sounds strange for a Group Policy expert to say avoid using Group Policy but this is definite one case where you should consider using other software deployment products due to their vastly superior features.</p>
<p>Group Policy Software Installations (a.k.a. GPSI) is a way you can deploy an MSI based application to your computers using Group Policy. This can be very useful way of deploying a standard set of applications to your computers however when compared to the advanced targeting features of SCCM software deployment or App-V this limitations of this method of software deployment quickly becomes evident.</p>
<p>One common problem I see when deploying software this way is the “Un-install when falls out of scope” options. This can be very handy when you want to move a computer to another OU and you want all the software packages that are not needed any more to un-install. This is even worse when you try to move an computer between domains as the computer will then un-install and re-install all the applications assigned to it which can take a VERY LONG time. Even when you have the “Un-install when falls out of scope” not ticked on the source domain and you move the computer to a new domain you will find that the installer service will still need to do a repair/check install of all the applications of the new domain even if the applications are already installed. However this also means that when the computer is removed from a domain then you have to wait for all the application’s to un-install during the next reboot. The un-installing of application can obviously take a long time if you have many applications install via this method. If you don’t select this options then you will find that your computer will over time build up the a number of installed applications installed on your computers that will affect performance, stability and licensing costs. The other inflexibility of doing software assignment to the computers via GPSI is that they will only install on the next reboot of the computer. Meaning that a user will need to do a full reboot of their computer before they will be able to start using the new applications.</p>
<p>The other restriction of GPSI is that you are limited to deploying only Microsoft Software Install (a.k.a. MSI) packages. Where tools like SCCM and App-V will allow you to deploy application via a silent command line option or via a <a href="http://download.microsoft.com/download/F/7/8/F784A197-73BE-48FF-83DA-4102C05A6D44/App-46_Sequencing_Guide_Final.docx" target="_blank">sequenced application</a>.</p>
<p>So due to all these targeting issues with GPSI software then I strongly recommend that you consider using either Microsoft SCCM package deployment or Microsoft App-V due to the superior targeting and features these products offer. For more information on the advantages of Microsoft App-V then i strongly recommend that you checkout the series of App-V FAQ at <a title="http://blog.stealthpuppy.com/tag/appvfaq" href="http://blog.stealthpuppy.com/tag/appvfaq">http://blog.stealthpuppy.com/tag/appvfaq</a> .</p>
<h4>References</h4>
<p><a title="http://blog.stealthpuppy.com/group-policy/office-2007-deployment-via-group-policy" href="http://blog.stealthpuppy.com/group-policy/office-2007-deployment-via-group-policy" target="_blank">Office 2007 Deployment via Group Policy</a></p>
<blockquote><p>Office 2007 is no longer deployed using transform files</p></blockquote>
<p>Below are the only scenarios that should be used when deploying Office 2007 via GPSI. While this article is specific to Office 2007 I would also say that the same limitations should be used when considering GPSI for other applications as well.</p>
<p><a title="http://technet.microsoft.com/en-us/library/cc179214(office.12).aspx" href="http://technet.microsoft.com/en-us/library/cc179214(office.12).aspx" target="_blank">TechNet: Use Group Policy Software Installation to deploy the 2007 Office system</a></p>
<blockquote><p>You can use the Software Installation extension of Group Policy to deploy the 2007 Office system to <em>computers</em> if the following conditions exist:</p>
<ul>
<li>Small organizations that have already deployed and configured Active Directory</li>
<li>Organizations or departments that comprise a single geographic area</li>
<li>Organizations with consistent hardware and software configurations on both clients and servers</li>
</ul>
</blockquote>
<h3>Never edit Group Policy Objects from the Domain Controller</h3>
<p>To often I see people editing their GPO’s directly from a Domain Controller in their organisation as they are not aware they can do this remotely. The Remote Server Admins Tools (a.k.a. RSAT) have will give you the option to install (See <a href="http://www.grouppolicy.biz/2010/03/how-to-download-and-install-the-group-policy-management-console-gpmc/" target="_blank">instructions here</a>) the Group Policy Management Console on any workstation or server running Vista/2008 or greater. I strongly encourage you to do this as if you are performance day to day management of your active directory (e.g. Creating users, editing Group Policy and adding/removing users from groups) then sooner or later you will find that you might affect the stability of your DC (which would be BAD).</p>
<h3>Apply policies as high as possible</h3>
<p>When given the choice of applying the same policy at multiple lower locations or just one locations higher always try to link the policy as high up as possible in the OU tree. If there are cases where you want to apply the policy setting at all levels except for a minority of the lower sub-OU’s then simple apply a different policy on the fewer OU’s to make the exception.</p>
<table width="640" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="162"><strong><span style="font-size: x-small;">Bad Example</span></strong></td>
<td valign="top" width="478"><strong><span style="font-size: x-small;">Good Example</span></strong></td>
</tr>
<tr>
<td valign="top" width="162"><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image91.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb86.png" alt="image" width="487" height="414" border="0" /></a></td>
<td valign="top" width="478"><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image92.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb87.png" alt="image" width="358" height="414" border="0" /></a></td>
</tr>
</tbody>
</table>
<h3>Linking GPO’s</h3>
<p>Essentially there are three ways ways you can link a GPO to an AD structure firstly is to apply it to a OU secondly is to apply it to an AD Site and finally is to link it to a domain.</p>
<h4>Linking to AD Site</h4>
<p>I have to say that you should NEVER consider applying a Group Policy to an AD site EVER!!!. Not only does applying a GPO to an AD site make troubleshooting an absolute pain you frequently finding yourself inadvertently applying a user or workstation GPO to your servers (This can be VERY BAD). AD Sites are based on IP subnets and I agree it can be very handy to apply settings based on the IP address of the computer (see <a href="http://www.grouppolicy.biz/2010/01/how-to-use-group-policy-preferences-to-dynamically-map-printers-with-roaming-profiles/">How to use Group Policy Preferences to dynamically map printers with Roaming Profiles</a> ) and thankfully there is a way to now do this with <a href="http://www.grouppolicy.biz/2010/03/what-are-group-policy-preferences/" target="_blank">Group Policy Preferences</a>. Any of the new preference settings can be targeted using <a href="http://technet.microsoft.com/en-us/library/cc733022.aspx">Preference Item-Level Targeting</a> which gives you 27 different ways you can target your setting. The <a href="http://technet.microsoft.com/en-us/library/cc732310.aspx">IP Address Range Targeting</a> and <a href="http://technet.microsoft.com/en-us/library/cc732583.aspx">Site Targeting</a> target options will allow you to achieve the same targeting as applying the GPO to an AD Site however you are far less likely to make a mistake using this method as the GPO should be linked to resource OU that limits the scope of the policy to only a particular type of AD Objects (e.g. just workstations not servers).</p>
<h4>Linking to OU</h4>
<p>Linking a GPO to an OU is by far and away the most popular method of linking a GPO. This method allows for easily change the users configuration my moving them into the appropriate OU structure to have them configured. This method also fits well with the resource OU structure (see <a href="http://www.grouppolicy.biz/2010/07/best-practice-active-directory-structure-guidelines-part-1/" target="_blank">Part 1</a>) so that you can disable parts of the GPO that don’t apply to the object that you are apply the policy.</p>
<h4>Linking to a Domain</h4>
<p>Technically you can apply a GPO to the Domain however this is more or less like linking it to the Root Organisational Unit. Linking it here will apply the policy to the entire domain so make sure that you are very careful when link a policy to this location. Policies should only be linked to the domain if you have a setting that you want to be applied to all users and/or computer in your entire domain. (See “Edit Default Domain Policies Sparingly” section above). The other scenario that you might want to link a policy here is if you want to make sure that you have at least your core policy setting applied to your “Users” or “Computers” container. But I would also recommend that you redirect these default locations for new objects so that you don’t have to setup GPO’s at the domain to cover these objects.</p>
<h4>References</h4>
<p><a title="http://technet.microsoft.com/en-us/library/cc736813(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc736813(WS.10).aspx" target="_blank">TechNet: Linking GPOs</a></p>
<blockquote><p>If, however, the settings do not clearly correspond to computers in a single site, it is better to assign the GPO to the domain or OU structure rather than to the site.</p></blockquote>
<p><a title="http://technet.microsoft.com/en-us/library/cc736813(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc736813(WS.10).aspx" target="_blank">TechNet: Linking GPOs</a></p>
<blockquote><p>Most GPOs are normally linked to the OU structure because this provides the most flexibility and manageability</p></blockquote>
<h3>When to filter</h3>
<p>There are two ways you can filter your GPO when you apply then to your AD structure. Predominantly I find that Security Filtered Group Policy Objects is the most common way you can filter. Either way you should be filtering a GPO only when you want to exclude or include exceptions to the scope of the policy.</p>
<h4>Security Filtered</h4>
<p>This method allow you to apply Group Policy Objects to a cross section of users or computers in your organisation. I quite often have a security filtered policy that has my pilot users computers as members so that I can selectively apply settings to their computers first for testing (see “<a href="#TestGPO">Create a Test Group Policy Structure</a>” section above). As computers and users can also be a member of multiple GPO this also allows you to configure a users environment without having to spawn many number of levels of OU’s that would other wise be necessary for every combination of  GPO assignment (see “80/16/4 Example 3 &amp; 4”). You can in theory apply a single user or computer to a GPO by adding them explicitly to the GPO under Advanced security (see image below).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image123.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb118.png" alt="image" width="371" height="447" border="0" /></a></p>
<p>However this is extremely poor practice and I would strongly recommend that you should always create a security group that has the “Apply Group Policy” permission assigned to it so that at a later stage you can assign users or computer to the GPO without modify the permission on the GPO itself (see image below).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image124.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb119.png" alt="image" width="371" height="447" border="0" /></a></p>
<p>I know the name “Workstation GPO” might seem to conflicting with the “Don’t use the work “POLICY”  or “GPO” in the GPO name” rule that however in this case “GPO” is justified as this is the name of a security group and so it is not obvious that a the security group is used as part of a Group Policy Object.</p>
<p><strong>Recommendation:</strong> When removing “Authenticated Users” from the security filtering of a GPO ensure that you only remove the “Apply Group Policy” permission and not the “Read” permission as this will cause “Inaccessible GPO” error when any non domain admin tries to look a the GPO’s via GPMC. See my previous post <a href="http://www.grouppolicy.biz/2010/05/how-to-apply-a-group-policy-object-to-individual-users-or-computer/">How to apply a Group Policy Object to individual users or computer</a> for detail instructions on how to do this correctly.</p>
<h4>Reference</h4>
<p><a title="http://technet.microsoft.com/en-us/library/cc787661(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc787661(WS.10).aspx" target="_blank">TechNet: Defining the Scope of Application of Group Policy</a></p>
<blockquote><p>If you have Read access to the domain, site, or OU, but not on one of the GPOs linked there, it will appear as <strong>Inaccessible GPO</strong>, and you will not be able to read the name or other information for that GPO</p></blockquote>
<p>The exception to where you want to do this is if you have many GPO’s that are security filtered and you want to ensure as fast a possible security processing then removing the read permission will “slightly” improve performance. So unless GPO processing time is an issues this doing removing the read is still not recommended.</p>
<p><a title="http://technet.microsoft.com/en-us/library/cc758134(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc758134(WS.10).aspx" target="_blank">TechNet: Determining the Number of Group Policy Objects</a></p>
<blockquote><p>If the Apply Group Policy permission is not set, but the Read permission is, the GPO is still inspected (although not applied) by any user or computer that is in the OU hierarchy where the GPO is linked. This inspection process increases logon time slightly.</p></blockquote>
<p><strong>Recommendation:</strong> You should only security filter GPO when the setting in the policy are mutually exclusive with all the other GPO in your organisation. If you have two GPO’s that are security filtered that configure the same setting and the user or computer are in both the group for that policy then only one policy will win out and you could end up with some fairly un-predictable results.</p>
<h4><a href="http://support.microsoft.com/kb/555253" target="_blank">WMI Filters</a></h4>
<p>WMI Filters have been around since Windows XP/2003 and are a <a href="http://blogs.technet.com/b/askds/archive/2008/09/11/fun-with-wmi-filters-in-group-policy.aspx" target="_blank">great way to filter your Group Policy Objects based</a> on the hardware of the computer that the policy is applied. However performing a WMI queries can take a substantial amount of time and if you have multiple WMI filters applying to your computers you have a significant performance decrease. Once again you can get around having to resort to using WMI Filters as Group Policy <a href="http://technet.microsoft.com/en-us/library/cc733022.aspx">Preference Item-Level Targeting</a> also have a number of options you can target hardware. Unlike WMI the Preference targeting engine has the performance advantage of being written in native code so it is much faster at determining what setting to apply.</p>
<p>They hardware targeting options are:</p>
<ul>
<li><a href="http://technet.microsoft.com/en-us/library/cc730947.aspx">Battery Present Targeting</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc732436.aspx">CPU Speed Targeting</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc730743.aspx">Disk Space Targeting</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc731568.aspx">MAC Address Range Targeting</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc753566.aspx">Operating System Targeting</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc754260.aspx">PCMCIA Present Targeting</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc754547.aspx">Portable Computer Targeting</a></li>
<li><a href="http://technet.microsoft.com/en-us/library/cc732170.aspx">RAM Targeting</a></li>
<li>As a legacy option you can even do <a href="http://technet.microsoft.com/en-us/library/cc771819.aspx">WMI Query Targeting</a> which allows you to easily port your pre-existing WMI queries into preferences. But be warned the WMI Query Targeting still suffers from the same performance issues.</li>
</ul>
<p>So as you can see WMI Filters applied to the GPO object itself however just as in the “Where to Link” section above you will see Group Policy Preference will help you avoided having to rely upon WMI to often.</p>
<h4>Reference</h4>
<p><a title="http://technet.microsoft.com/en-us/library/cc758471(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc758471(WS.10).aspx" target="_blank">TechNet: Applying WMI Filters</a></p>
<blockquote><p>WMI filters can take significant time to evaluate, so they can slow down logon and startup time.</p></blockquote>
<h3>Always create a deny “Apply group policy” security group</h3>
<p>When creating a GPO always consider creating a security group and assigning it the Deny “Apply group policy” permissions (see image below) so that you have a simply way to exclude a particular user or computer from the policy in the future. Having this deny group applied to the GPO in advanced can save you a lot of time as it is often much easier and quicker to added a users to a security group than it is to modify the security on a GPO.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image125.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb120.png" alt="image" width="371" height="447" border="0" /></a></p>
<p>(Same as above) I know the name “Workstation GPO Deny” might seem to conflicting with the “Don’t use the work “POLICY”  or “GPO” in the GPO name” rule that however in this case “GPO” is justified as this is the name of a security group and so it is not obvious that a the security group is used as part of a Group Policy Object.</p>
<h3>Apply GPO to New Users and Computers OU</h3>
<p>In <a href="http://www.grouppolicy.biz/2010/07/best-practice-active-directory-structure-guidelines-part-1/" target="_blank">part 1</a> I recommended about setting up a new OU structure for any new user and computer that is created in your AD under the “Redirect New User and Computer Accounts” section. The reason why this was recommended was to enable you to easily apply a GPO to the default locations for these objects without having to resort to modifying the Default Domain Policy or by linking a new GPO to the entire domain.</p>
<p>It the example below I have created a simple GPO for each Users and Computers OU. Using this method your default user and computers will still receive the “Default Domain Policy” GPO and any additions settings in the two “New” GPO’s.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image5.png"><img class="wlDisabledImage" style="display: inline; border: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/08/image_thumb5.png" alt="image" width="353" height="320" border="0" /></a></p>
<p>I don’t recommending linking the “People” or “Workstations” GPO’s (See “Example Group Policy Designs” section below) as the New\Users and New\Computers OU as they could contain objects other than People and Workstations (e.g. Service Accounts or Servers). Instead I recommend that you only configured some basic security setting for the “New Computers” such as a default WSUS and patch install schedule so that any computers that are left in these OU’s are at least kept up to date with security patches. Then for the “New Users” GPO you may want to configure a delayed logon script (see <a href="http://www.grouppolicy.biz/2010/01/how-to-schedule-a-delayed-start-logon-script-with-group-policy/">How to schedule a delayed start logon script with Group Policy</a>) that notifies the users that they are not properly configured and they need to contact the help desk.</p>
<p>In any case even though you have configured these locations it is still very important that you establish some sort of regular process by which someone reviews the objects in these OU’s and ensures they are moved into the appropriate locations so the proper policies are applied.</p>
<h4>References</h4>
<p><a title="http://technet.microsoft.com/en-us/library/cc783140(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc783140(WS.10).aspx" target="_blank">Designing an OU Structure that Supports Group Policy</a></p>
<blockquote><p>…change the default location where new user and computer accounts are created so you can more easily scope GPOs directly to newly created user and computer objects</p></blockquote>
<h3>Use the 80/20 rule</h3>
<p>Ok… this is the a <a href="http://en.wikipedia.org/wiki/Pareto_principle" target="_blank">rule in name only</a> as it should also be considered as a guideline. Essentially you should try to put the vast majority of setting in a policy that applied to all your computer or users. Then you should apply the exception to the default policy to the subset only to the computers you want to apply these settings (see 80/20 Conceptual Design). If two scopes/levels of applying policies is not flexible for your organisation then you can even consider the 80/16/4 to give you more flexibility (4% equals 20% of 20%). Also note the smaller 4% scope does not necessarily need to be a complete subset of the 16% as it is possible that you want to apply location specific settings that have nothing to do with the organisational structure (see 80/16/4 Conceptual Design below).</p>
<p>When deciding what policy settings to put in the 80% of 20% GPO’s make sure that you take another look at the “Monolithic vs. Functional GPOs” section above that talks about the different approaches you can take when configuration settings. As I said before the 80% policies are going lend them self to have more setting in them but they will probably be relatively static (i.e. Monolithic) where the 20% policies will have fewer settings but probably need to be updated more frequently (i.e. Functional).</p>
<table width="640" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="186"><strong><span style="font-size: x-small;">80/20 Conceptual Design</span></strong></td>
<td valign="top" width="454"><strong><span style="font-size: x-small;">80/16/4 Conceptual Design</span></strong></td>
</tr>
<tr>
<td valign="top" width="186"><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image132.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image13_thumb1.png" alt="image" width="410" height="369" border="0" /></a></td>
<td valign="top" width="454"><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image392.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image[39]" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image39_thumb1.png" alt="image[39]" width="401" height="363" border="0" /></a></td>
</tr>
</tbody>
</table>
<p>The conceptual designs above shows that there is only one level 2 and level 3 scopes to apply GPO but in reality there could be many different lower level policies that can be applied to your environment as seen in “80/16/4 Example 4”.</p>
<h3>Example Group Policy Designs</h3>
<p>The organisation below that I use in the examples conveniently has 100 setting that they need to apply. Therefore they number of setting equals the percentage break down of the number of settings that are applied. In real world the number of setting are obviously going to vary greatly from single digits perhaps many thousands of settings.</p>
<p>“80/20 Example” is a simple representation of how you would actually apply this in the real world. As you can see 80 setting are applied at the top level to all “People” OU and there then there are 20 settings site specific user settings. These location setting are typically drive and printer mapping setting that are specific to the site. While the “People”  Group Policy Object will have setting that need to be applied to all users universally (e.g. screensaver time out value.)</p>
<table width="374" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="372"><strong><span style="font-size: x-small;">80/20 Example 1</span></strong></td>
</tr>
<tr>
<td valign="top" width="372"><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image105.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb100.png" alt="image" width="352" height="369" border="0" /></a></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>“80/20 Example 2” is the same as Example 1 except in this scenario the business has decided to have a top level organisational OU structure so that it will be easy in the future to separate parts of the organisation from the AD in the future. This illustrates that you do not need to have the same number of levels of OU’s in your AD as the number of level of scope that you apply GPO’s.</p>
<table width="398" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="396"><strong><span style="font-size: x-small;">80/20 Example 2</span></strong></td>
</tr>
<tr>
<td valign="top" width="396"><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image115.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb110.png" alt="image" width="456" height="488" border="0" /></a></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>“80/16/4 Example 1” shows you how you would apply this to a “Three Tier OU Structure” (see <a href="http://www.grouppolicy.biz/2010/07/best-practice-active-directory-structure-guidelines-part-1/" target="_blank">part 1</a>). The advantage of this model is that all setting are applied base on the OU structure and which means all policies are applied simple based on the location of the AD object in the OU structure. This is useful as you don&#8217;t that you don’t need to add and users (or computers) to security group.</p>
<table width="507" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="505"><strong><span style="font-size: x-small;">80/16/4 Example 1</span> </strong></td>
</tr>
<tr>
<td valign="top" width="505"><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image116.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb111.png" alt="image" width="506" height="578" border="0" /></a></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>“80/16/4 Example 2” shows you what you can do when you only want to apply the same “Manufacturing” setting to all the users across all the sites. This takes into consideration the “Reuse GPO’s where possible” rule (see above) and link a single manufacturing GPO</p>
<table width="436" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="434"><strong><span style="font-size: x-small;">80/16/4 Example 2</span></strong></td>
</tr>
<tr>
<td valign="top" width="434"><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image117.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb112.png" alt="image" width="499" height="565" border="0" /></a></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>“80/16/4 Example 3” shows you how you could apply the policy differently using a single security group filtered policy at the top level but still have the same affect as the “80/16/4 Example 1”. This is an example of applying a 3 level GPO structure to a 2 level OU structure as the “Manufacturing” simple by applying it at the top level but then applying a security group filter. The advantage of doing it this way is that you don’t need to have as many OU deep (see “Go Wide not Deep” in <a href="http://www.grouppolicy.biz/2010/07/best-practice-active-directory-structure-guidelines-part-1/" target="_blank">part 1</a>) and it avoids having to create a new Group Policy for the manufacturing users at each site (especially when they might be the same settings).</p>
<table width="329" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="327"><strong><span style="font-size: x-small;">80/16/4 Example 3</span></strong></td>
</tr>
<tr>
<td valign="top" width="327"><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image118.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb113.png" alt="image" width="352" height="494" border="0" /></a></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>“80/16/4 Example 4” shows a combination of “80/16/4 Example 1” and “80/16/4 Example 2” where the organisation has generally the same requirements of “Example 1” however they need to apply 1 high security setting (e.g. shorter screensaver timeout) that need to be applied to the managers computer because they normally deal with sensitive corporate information. This also illustrates that you can have multiple level 2 and level 3 GPO in the same environment and that level 3 GPO policies do not necessarily need to be a subset of level 2 policies (see conceptual circles above).</p>
<table width="430" border="0" cellspacing="0" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="428"><span style="font-size: x-small;"><strong>80/16/4 Example 4</strong></span></td>
</tr>
<tr>
<td valign="top" width="428"><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image119.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb114.png" alt="image" width="506" height="681" border="0" /></a></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h3>Apply default settings on your 80% level one policy just in case</h3>
<p>I know I have just gone though above that you should apply 80% of your settings in the highest policy however there is one problem with this. If for some reason a computer or users is placed in a top level OU or a second level OU is created without a policy applied to it or a user or computer has not been added to the correct security group this could leave gaps with the coverage of settings. So to get around this issue be sure that your level one 80% policies are configured with a default setting to cover your more essential configurations such as  Screensaver timeout or WSUS servers.</p>
<p>In the example below we have 95 settings (or 95%) of the setting being applied to the users with the 20% being applied at the second level policy. Effectively only 80 settings (or 80%) will be actually be applied to the users from the top level policy as there is a 15% overlap of settings the settings. However a user in the “People” or the miss configured “Brisbane” OU will at least get 95 setting (or 95%) of the settings applied. This might not be a perfect configuration for them however it will at least mean they are compliant to the mandatory corporate configuration settings (e.g. Screensaver on and WSUS server configured).</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image126.png"><img class="wlDisabledImage" style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/07/image_thumb121.png" alt="image" width="377" height="477" border="0" /></a></p>
<p>&nbsp;</p>
<p>In closing I hope this documents has helped you design your Group Policy infrastructure in your environment. If you have any other questions you want covered or you simply have a question about what I talked about above please feel free to post a comment…</p>
<p><center><script type="text/javascript">// <![CDATA[
 google_ad_client = "ca-pub-0199394863971709"; /* 300 x 250 - Medium */ google_ad_slot = "7296078251"; google_ad_width = 300; google_ad_height = 250;
// ]]&gt;</script><br />
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">// <![CDATA[</p>
<p>// ]]&gt;</script></center></p>
<h3>Other References</h3>
<p>Here is a list of link to other web sites that I have found useful in guiding my design decisions with group policy.</p>
<ul>
<li><a title="http://technet.microsoft.com/en-us/library/cc738195%28WS.10%29.aspx" href="http://technet.microsoft.com/en-us/library/cc738195%28WS.10%29.aspx" target="_blank">Appendix A: GPO Scenario Policy Settings</a></li>
<li><a title="http://technet.microsoft.com/en-us/library/cc786524(WS.10).aspx" href="http://technet.microsoft.com/en-us/library/cc786524(WS.10).aspx" target="_blank">TechNet: Designing a Group Policy Infrastructure</a></li>
</ul>
<h3>Change Log</h3>
<p>I plan for this to be a dynamic article that I will change over time and I am sure there will be a few errors along the way that will need correcting so below are the list of changes that I made to this article since it was originally published:</p>
<p>28/07/2010 – Add section for “Monolithic vs. Functional GPOs” from <a title="http://technet.microsoft.com/en-us/magazine/2008.01.gpperf.aspx" href="http://technet.microsoft.com/en-us/magazine/2008.01.gpperf.aspx">http://technet.microsoft.com/en-us/magazine/2008.01.gpperf.aspx</a> by Darren Mar-Elia via <a href="http://adisfun.blogspot.com/" target="_blank">Mike Kline</a></p>
<p>28/07/2010 – Corrected error in the WMI Filter sections that said they had been around since Windows 2000 (Should have said XP/2003). Thanks to <a href="http://blog.stealthpuppy.com" target="_blank">Aaron Parker</a></p>
<p>2/08/2010 – Added mention to “How to Link” that you can link to the domain. Added more references to Microsoft TechNet articles. Added “Create a Test OU Structure”</p>
<p>3/08/2010 – Added “Apply GPO to New Users and Computers OU” section.</p>
<p>24/10/2011 &#8211; Added refrencec to Best Practices for Defautl Domain policies&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2010/07/best-practice-group-policy-design-guidelines-part-2/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
		</item>
	</channel>
</rss>

