<?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>Techibee.com &#187; Group Policies</title>
	<atom:link href="http://techibee.com/category/group-policies/feed" rel="self" type="application/rss+xml" />
	<link>http://techibee.com</link>
	<description>A System Administrator&#039;s Blog</description>
	<lastBuildDate>Mon, 06 Feb 2012 09:40:40 +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 get Group Policy permissions using powershell</title>
		<link>http://techibee.com/active-directory/how-to-get-group-policy-permissions-using-powershell/1259</link>
		<comments>http://techibee.com/active-directory/how-to-get-group-policy-permissions-using-powershell/1259#comments</comments>
		<pubDate>Tue, 20 Dec 2011 19:08:09 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Group Policies]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[activedirectory]]></category>
		<category><![CDATA[gpo]]></category>
		<category><![CDATA[group policy]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[query gpo permissions using powershell]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=1259</guid>
		<description><![CDATA[Using PowerShell, we can query who has permissions to a given GPO or a list of GPOs. We can do this either using Quest Active Roles cmdlets or by using native cmdlets that comes along with Windows 7 installation. In this post, I am going to demonstrate and show you the native method. To use [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-12600"></div></div><p>Using PowerShell, we can query who has permissions to a given GPO or a list of GPOs. We can do this either using Quest Active Roles cmdlets or by using native cmdlets that comes along with Windows 7 installation. In this post, I am going to demonstrate and show you the native method. To use the native method, you must be running one of the following:</p>
<ul>
<li>Windows Server 2008 R2 on a domain controller</li>
<li>Windows Server 2008 R2 on a member server that has the GPMC installed</li>
<li>Windows® 7 with Remote Server Administration Tools (RSAT) installed. (RSAT includes the GPMC and the Group Policy cmdlets)</li>
</ul>
<p>GPMC(or RSAT) installation also installs a powershell module called <strong>grouppolicy</strong> using which we can query the GPOs. Before start dealing with GPOs, we should import this module by using <strong>import-module GroupPolicy</strong> command.</p>
<p>Below is the sample code that helps you get permissions of a give a GPO.</p>
<pre class="PowerShellColorizedScript"><span style="color: #00008b;">function</span> <span style="color: #8a2be2;">Get-GPOPermissions</span> <span style="color: #000000;">{</span>            

<span style="color: #00008b;">param</span><span style="color: #000000;">(</span><span style="color: #ff4500;">$GpoName</span><span style="color: #000000;">)</span>
<span style="color: #0000ff;">import-module</span> <span style="color: #8a2be2;">GroupPolicy</span>            

<span style="color: #ff4500;">$permsobj</span> <span style="color: #a9a9a9;">=</span> <span style="color: #0000ff;">Get-GPPermissions</span> <span style="color: #000080;">-Name</span> <span style="color: #ff4500;">$GPOName</span> <span style="color: #000080;">-All</span>
<span style="color: #00008b;">foreach</span> <span style="color: #000000;">(</span><span style="color: #ff4500;">$perm</span> <span style="color: #00008b;">in</span> <span style="color: #ff4500;">$permsobj</span><span style="color: #000000;">)</span> <span style="color: #000000;">{</span>            

    <span style="color: #ff4500;">$obj</span> <span style="color: #a9a9a9;">=</span> <span style="color: #0000ff;">New-Object</span> <span style="color: #000080;">-TypeName</span> <span style="color: #8a2be2;">PSObject</span> <span style="color: #000080;">-Property</span> <span style="color: #000000;">@{</span>
   <span style="color: #000000;">GPOName</span>  <span style="color: #a9a9a9;">=</span> <span style="color: #ff4500;">$GPOName</span>
   <span style="color: #000000;">AccountName</span> <span style="color: #a9a9a9;">=</span> <span style="color: #000000;">$(</span><span style="color: #ff4500;">$perm</span><span style="color: #a9a9a9;">.</span><span style="color: #000000;">trustee</span><span style="color: #a9a9a9;">.</span><span style="color: #000000;">name</span><span style="color: #000000;">)</span>
        <span style="color: #000000;">AccountType</span> <span style="color: #a9a9a9;">=</span> <span style="color: #000000;">$(</span><span style="color: #ff4500;">$perm</span><span style="color: #a9a9a9;">.</span><span style="color: #000000;">trustee</span><span style="color: #a9a9a9;">.</span><span style="color: #000000;">sidtype</span><span style="color: #a9a9a9;">.</span><span style="color: #000000;">tostring</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><span style="color: #000000;">)</span>
        <span style="color: #000000;">Permissions</span> <span style="color: #a9a9a9;">=</span> <span style="color: #000000;">$(</span><span style="color: #ff4500;">$perm</span><span style="color: #a9a9a9;">.</span><span style="color: #000000;">permission</span><span style="color: #000000;">)</span>
 <span style="color: #000000;">}</span>
<span style="color: #ff4500;">$obj</span> <span style="color: #a9a9a9;">|</span> <span style="color: #0000ff;">Select</span> <span style="color: #8a2be2;">GPOName</span><span style="color: #a9a9a9;">,</span> <span style="color: #8a2be2;">AccountName</span><span style="color: #a9a9a9;">,</span> <span style="color: #8a2be2;">AccountType</span><span style="color: #a9a9a9;">,</span> <span style="color: #8a2be2;">Permissions</span>            

<span style="color: #000000;">}</span>
<span style="color: #000000;">}</span></pre>
<p><strong>Below is the sample output:</strong></p>
<p><a href="http://techibee.com/wp-content/uploads/2011/12/gpo-permissions.png"><img class="aligncenter size-full wp-image-1268" title="gpo permissions" src="http://techibee.com/wp-content/uploads/2011/12/gpo-permissions.png" alt="" width="752" height="157" /></a></p>
<p>Hope this helps. I will continue writing some GPO related scripts in coming days.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/active-directory/how-to-get-group-policy-permissions-using-powershell/1259/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slow login issues due to Group Policy Preferences</title>
		<link>http://techibee.com/active-directory/slow-login-issues-due-to-group-policy-preferences/1096</link>
		<comments>http://techibee.com/active-directory/slow-login-issues-due-to-group-policy-preferences/1096#comments</comments>
		<pubDate>Thu, 08 Sep 2011 18:05:12 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Group Policies]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=1096</guid>
		<description><![CDATA[Have you started using Group Policy Preferences lately to manage your Windows 7 and Windows 2008 computers? It is possible that Group Policy Preferences can cause increase in login times in your environment if security groups are used for targeting preferences. For example, you may be mapping drives based on user security group membership(ex: sales, [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-10970"></div></div><p>Have you started using Group Policy Preferences lately to manage your Windows 7 and Windows 2008 computers? It is possible that Group Policy Preferences can cause increase in login times in your environment if security groups are used for targeting preferences. For example, you may be mapping drives based on user security group membership(ex: sales, finance, etc). Per <a href="http://blogs.technet.com/b/askds/archive/2011/06/13/target-group-policy-preferences-by-container-not-but-group.aspx">AskDS</a>, when a security group is used for targeting a group policy preference setting, the computer has to make several round trips to domain controllers to verify the user group membership. This trip time depends on the kind of connectivity you have to domain controllers and the load of DC. If you are on a Wan link, the trip time may be even more. The windows 7/2008 computer won’t allow you to complete the login until this preference setting is evaluated and applied. In such graces the logon time will increase drastically which is a very bad experience for end users.</p>
<p>The AskDS team suggested using Organization Units instead of security groups for targeting. Usage of OUs will reduce the trips to domain controllers as the GPPs have to just parse the DN text of computer/user account to verify if a setting is applicable or not.</p>
<p>After reading the AskDS article, I wondered why they(MS) didn’t use security tokens for evaluating computer/user group membership at the time of processing the target. It is very easy and less traffic to domain controllers. It makes sense. Isn’t it?</p>
<p>I question was answered in very short time in the form of another<a href="http://blogs.technet.com/b/askds/archive/2011/08/18/improved-group-policy-preference-targeting-by-computer-group-membership.aspx"> AskDS article</a>.  They exactly implemented what I felt. MS release hotfix(<a href="http://support.microsoft.com/kb/2561285">http://support.microsoft.com/kb/2561285</a>) which injects this nice feature into Group Policy Preferences which can reduce the user logon times and computer startup times(if you are using security group targeting in computer GPPs).</p>
<p>So, if you are using Group Policy Preferences in your organization, then make sure that all your Windows 7/2008 computers have this hotfix. Otherwise one or other day you will end up looking for it when you users keep complaining about slow login issues.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/active-directory/slow-login-issues-due-to-group-policy-preferences/1096/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Group Policy Guide for Beginners</title>
		<link>http://techibee.com/group-policies/group-policy-guide-for-beginners/1008</link>
		<comments>http://techibee.com/group-policies/group-policy-guide-for-beginners/1008#comments</comments>
		<pubDate>Fri, 10 Jun 2011 16:14:48 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Group Policies]]></category>
		<category><![CDATA[GPO basics document]]></category>
		<category><![CDATA[Group Policy documentation]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=1008</guid>
		<description><![CDATA[Are you new to Group policies? Looking for a document to get basics? Well Microsoft has recently released a document which helps beginners to understand basics of GPOs. This document explains various components of GPOs and their usage. You can download this document from here]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-10090"></div></div><p>Are you new to Group policies? Looking for a document to get basics? Well Microsoft has recently released a document which helps beginners to understand basics of GPOs. This document explains various components of GPOs and their usage.</p>
<p>You can download this document from <a href="http://www.microsoft.com/download/en/confirmation.aspx?id=20092" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/group-policies/group-policy-guide-for-beginners/1008/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Group Policy Settings Reference for Windows 7/vista/2008/2003</title>
		<link>http://techibee.com/group-policies/group-policy-settings-reference-for-windows-7vista20082003/1006</link>
		<comments>http://techibee.com/group-policies/group-policy-settings-reference-for-windows-7vista20082003/1006#comments</comments>
		<pubDate>Thu, 09 Jun 2011 18:30:07 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Group Policies]]></category>
		<category><![CDATA[GPO reference guide]]></category>
		<category><![CDATA[Group policies reference excel sheets]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=1006</guid>
		<description><![CDATA[Windows 7 and Windows 2008 R2 are having real good amount of new GPO settings that IT administrators can manage on their Client and server computers. These includes, controlling the USB devices, configuring firewall rules, and many more. One can go through gpedit to get a understanding of all the settings but that is time [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-10070"></div></div><p>Windows 7 and Windows 2008 R2 are having real good amount of new GPO settings that IT administrators can manage on their Client and server computers. These includes, controlling the USB devices, configuring firewall rules, and many more. One can go through gpedit to get a understanding of all the settings but that is time consuming.</p>
<p>I came across these nice downloads from Microsoft which describes significance of each settings, their options, and the corresponding registry keys if any. Using this sheet you can quickly search for a policy and understand its functionality.</p>
<p><strong>Download these reference guides from </strong><a href="http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&amp;FamilyID=18c90c80-8b0a-4906-a4f5-ff24cc2030fb" target="_blank"><strong>MS download center</strong></a></p>
<p>Happy Learning&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/group-policies/group-policy-settings-reference-for-windows-7vista20082003/1006/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Allow normal/domain users to add network printers in Windows 7</title>
		<link>http://techibee.com/group-policies/allow-normaldomain-users-to-add-network-printers-in-windows-7/457</link>
		<comments>http://techibee.com/group-policies/allow-normaldomain-users-to-add-network-printers-in-windows-7/457#comments</comments>
		<pubDate>Tue, 27 Apr 2010 16:02:20 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Group Policies]]></category>
		<category><![CDATA[normal users unable to add printers in windows 7]]></category>
		<category><![CDATA[revoke print restrictions for normal users in windows 7]]></category>
		<category><![CDATA[Windows needs to download and install a software driver from the \ computer print to . Proceed only if you trust the \ compuer and the network.]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=457</guid>
		<description><![CDATA[Windows needs to download and install a software driver from the \&#60;servername&#62; computer print to &#60;printer-name&#62;. Proceed only if you trust the \&#60;servername&#62; compuer and the network. You might see above message with &#8220;UAC&#8221; prompt to install drivers while adding network printers from a windows 7 computer. This behavior is expected as normal users are not [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-4580"></div></div><blockquote><p><span style="color: #0000ff;">Windows needs to download and install a software driver from the \&lt;servername&gt; computer print to &lt;printer-name&gt;. Proceed only if you trust the \&lt;servername&gt; compuer and the network.</span></p></blockquote>
<p>You might see above message with &#8220;UAC&#8221; prompt<a href="http://techibee.com/wp-content/uploads/2010/04/install-drivers.png"><img class="aligncenter size-full wp-image-461" title="install-drivers" src="http://techibee.com/wp-content/uploads/2010/04/install-drivers.png" alt="" width="118" height="48" /></a> to install drivers while adding network printers from a windows 7 computer. This behavior is expected as normal users are not allowed to add network printers(drivers installation requires admin rights) in a Windows 7 environment.</p>
<p>To fix this, you need to enable below group policies with described settings.</p>
<p><strong>Computer Configuration</strong> -&gt; <strong>Administrative Templates</strong> -&gt; <strong>Printers</strong> -&gt; <strong>Point and Print Restrictions</strong> and it&#8217;s settings should look like below.</p>
<p style="text-align: center;"><a href="http://techibee.com/wp-content/uploads/2010/04/gpo-settings.png"><img class="size-medium wp-image-458  aligncenter" title="gpo settings" src="http://techibee.com/wp-content/uploads/2010/04/gpo-settings-300x287.png" alt="" width="300" height="287" /></a></p>
<p>Before reaching this policy setting, I have gone through the options to allow device and class ID/GUIDs through GPOs(<a href="http://msdn.microsoft.com/en-us/library/bb530324.aspx" target="_blank">click here for details</a>) but in vain as they are not fully developed for printers.</p>
<p>Happy learning..,<br />
Sitaram Pamarthi</p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/group-policies/allow-normaldomain-users-to-add-network-printers-in-windows-7/457/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Now you can search for GPO settings easily</title>
		<link>http://techibee.com/group-policies/now-you-can-search-for-gpo-settings-easily/454</link>
		<comments>http://techibee.com/group-policies/now-you-can-search-for-gpo-settings-easily/454#comments</comments>
		<pubDate>Sat, 24 Apr 2010 16:04:24 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Group Policies]]></category>
		<category><![CDATA[easy GPO search]]></category>
		<category><![CDATA[Group policies online]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=454</guid>
		<description><![CDATA[German AD team has announced a sweet online tool(http://gps.cloudapp.net/default.aspx) which helps windows administrators in easily locating their GPO settings. It&#8217;s pretty useful tool in case if you want to refer a setting, regkey, path, description of a particular GPO to a friend or forum member. I like it for two major reasons&#8230; 1) The easy [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-4550"></div></div><p>German AD team has announced a sweet online tool(<a href="http://gps.cloudapp.net/default.aspx" target="_self">http://gps.cloudapp.net/default.aspx</a>) which helps windows administrators in easily locating their GPO settings. It&#8217;s pretty useful tool in case if you want to refer a setting, regkey, path, description of a particular GPO to a friend or forum member.</p>
<p>I like it for two major reasons&#8230;</p>
<p>1) The easy access of registry key name/path of a particular GPO setting</p>
<p>2) It&#8217;s online and accessable for everywhere.</p>
<p>But I have seen that copy option in this tool is not consistently working. I am thinking that it is problem my browser(tried with IE and FF). Let me know if you also see this issue.</p>
<p>Thanks,<br />
Sitaram</p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/group-policies/now-you-can-search-for-gpo-settings-easily/454/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Note the change in Group Policies start/logon scripts behavior in Windows 7</title>
		<link>http://techibee.com/group-policies/note-the-change-in-group-policies-startlogon-scripts-behavior-in-windows-7/409</link>
		<comments>http://techibee.com/group-policies/note-the-change-in-group-policies-startlogon-scripts-behavior-in-windows-7/409#comments</comments>
		<pubDate>Mon, 29 Mar 2010 20:10:36 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Group Policies]]></category>
		<category><![CDATA[logon script changes in windows 7/2008]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=409</guid>
		<description><![CDATA[I recently read a article in Microsoft DS blog about the change in the way GPOs processes startup/logon scripts in Windows 7 and Windows 2008. The thing here is that, till XP/2003 days, computer startup/user logon scrips used to get executed in synchronous manner. That means, if you have more than a script configured in [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-4100"></div></div><p>I recently read a article in Microsoft DS blog about the change in the way GPOs processes startup/logon scripts in Windows 7 and Windows 2008. The thing here is that, till XP/2003 days, computer startup/user logon scrips used to get executed in synchronous manner. That means, if you have more than a script configured in computer startup/user logon via GPOs, those scripts will get executed one after another. This behavior is changed in Windows 7/2008. In these latest operating systems, computer startup/logon scrips are asynchronous&#8230;means, execution of scripts starts at the same time. The big advantage I am seeing with this approach is, faster start/logon times in Windows 7/2008. Considering the hardware that we use to run Windows 7/2008, running scripts simultaniously will not tamper any of the computer resources and it&#8217;s a good move by Microsoft to increase the logon/startup speeds.</p>
<p>However, for some customers, running scripts synchronously might be a requirement. Output of one script might become inout to next script. In such a cases, you can always make Windows 7/2008 to process startup/logon scripts synchrounouly by altering registry key values.</p>
<p>Logoff/shutdown scripts are always Asynchronous and there is no tweak available for it to make synchronous.</p>
<p>Registry keys to create are&#8230;</p>
<p><strong>Computer Preference<br />
</strong>Key: HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionWinlogon<br />
ValueName: RunStartupScriptSync</p>
<p><strong>Computer Policy Key: </strong>HKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrentVersionPoliciesSystem<br />
ValueName: RunStartupScriptSync</p>
<p><strong>User Preference<br />
</strong>Key: HKEY_CURRENT_USERSoftwareMicrosoftWindows NTCurrentVersionWinlogon<br />
ValueName: RunLogonScriptSync</p>
<p><strong>User Policy Key: </strong>HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesSystem<br />
ValueName: RunLogonScriptSync</p>
<p>[<a href="http://blogs.technet.com/askds/archive/2010/03/23/group-policy-script-processing-behavior.aspx" target="_blank"> Source:ASKDS Blog</a>] </p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/group-policies/note-the-change-in-group-policies-startlogon-scripts-behavior-in-windows-7/409/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>GPOs and it&#8217;s enhancements (PPT)</title>
		<link>http://techibee.com/group-policies/gpos-and-its-enhancements-ppt/253</link>
		<comments>http://techibee.com/group-policies/gpos-and-its-enhancements-ppt/253#comments</comments>
		<pubDate>Fri, 22 Jan 2010 11:39:10 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Group Policies]]></category>
		<category><![CDATA[PPT on GPOs]]></category>
		<category><![CDATA[PPT on GPPs]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=253</guid>
		<description><![CDATA[I came across nice PPT which is explaining about today and tomorrows of Group policy infrastructure. It gives a general over view of what you can do with GPOs/GPPs in Windows 7/2008 and I felt it is useful to my blog readers; hence writing this post. You can get this presentation from this download link. [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-2540"></div></div><p>I came across nice PPT which is explaining about today and tomorrows of Group policy infrastructure. It gives a general over view of what you can do with GPOs/GPPs in Windows 7/2008 and I felt it is useful to my blog readers; hence writing this post. You can get this presentation from <a title="Download link" href="http://download.microsoft.com/download/2/F/3/2F3ABBCF-E3BD-4FC0-85CA-134763E7A129/2009-03-12_TechDays_TechNet_031.pptx" target="_blank">this download link</a>.</p>
<p>Happy Learning..,<br />
Sitaram Pamarthi</p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/group-policies/gpos-and-its-enhancements-ppt/253/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>All about Drive mapping in Group Policy Preferences</title>
		<link>http://techibee.com/group-policies/all-about-drive-mapping-in-group-policy-preferences/202</link>
		<comments>http://techibee.com/group-policies/all-about-drive-mapping-in-group-policy-preferences/202#comments</comments>
		<pubDate>Fri, 08 Jan 2010 13:23:53 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Group Policies]]></category>
		<category><![CDATA[enable debug logging for drive mapping]]></category>
		<category><![CDATA[troubleshooting drive mapping in GPPs]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=202</guid>
		<description><![CDATA[ I had spent real huge amount of time in dealing with drive mapping in Group Policy preferences in last week. It’s easy as you see, but very difficult when you want to troubleshooting. So, I decided to write this post to help my blog visitors by providing as much as information I have gathered/learnt in [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-2030"></div></div><p> I had spent real huge amount of time in dealing with drive mapping in Group Policy preferences in last week. It’s easy as you see, but very difficult when you want to troubleshooting. So, I decided to write this post to help my blog visitors by providing as much as information I have gathered/learnt in Drive mapping related things. </p>
<p>As said before, things are really smooth when you configure drive mapping preference for the first time.  If you start playing with it to satisfy different kind of situations, then you are caught.  What I did to make my life tough is, I deleted the mapped drives after login and did a “gpupdate /force” no drives were mapped L. Again, what I did is, I re-logged into the machine and found that they are not in place still. I surprised and made relogin again, this time they mapped. Finally after applying multiple tests like this, I came to a conclusion that, I have below two problems&#8230; </p>
<ol>
<li>Drive mapping is not happening at every attempt</li>
<li>Background processing of drive mapping is not working</li>
</ol>
<p> The very big mistake I did to resolve above is, trying to resolve both the problems at same attempt and really mixed up the things and made myself confused.  After taking a break, I followed the divide and conquer method. </p>
<p><strong><span style="text-decoration: underline;">Problem#1:</span></strong> Drive mapping not happening at every login</p>
<p>Initially I am not sure why the drive mapping is not happening at every login. I ran rsop and there drive mapping processing time is not updated. This made me to realize that drive mapping CSE didn’t triggered at all. Well, now I enabled GPO debug logging on my Windows 7 machine and started looking at the logs. They are clearly saying that drive mapping CSE processing skipped as there is no change in version number. Hmm, whatever it is doing is right and I have enabled “Process even if the Group Policy objects have not changed” option in “Drive maps preference extension policy processing” policy which is located at [Computer Configuration | Policies | Administrative Templates | System | Group Policy] and restarted my PC. Things started working and drive mapping is happening every time I re-login.</p>
<p>First problem is solved. Let’s move on to the second problem.</p>
<p><strong>Problem#2</strong>: Background processing of drive mapping is not working.</p>
<p>After login, if I delete mapped drives and initiate a “gpupdate /force” command, my drives are not coming back. I again relied on GPO logs and realized that drive mapping CSE refresh is happening as part of background processing. I STRONGLY recommend to not to follow the description of Drive mapping CSE; it is really contradicting with its behavior. As per the policy description, drive mapping refresh should work during the background processing by default &#8212; but it is not the case. Now I went to the registry key, HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonGPExtensions{5794DAFD-BE60-433f-88A2-1A31939AC01F} and changed the value of “NoBackgroundPolicy” to “0”. This did the trick and background refresh of drive mapping started working fine.</p>
<p>Hurry…I resolved both my problems and trying to figure out a new problem I observed just now.  I will blog it as soon as I resolve it. </p>
<p><strong><span style="text-decoration: underline;">To Summarize:</span></strong></p>
<p><strong>How to make GPO to process Drive mapping at every login:</strong></p>
<ol>
<li>Edit the GPO which is applicable to your computers and navigate to [Computer Configuration | Policies | Administrative Templates | System | Group Policy]</li>
<li>Now go the properties of “Drive maps preference extension policy processing” policy and enable the option “Process even if the Group Policy objects have not changed”</li>
<li>Save you GPO and reboot your machine</li>
</ol>
<p> <strong>How to enable background processing for drive mapping CSE:</strong></p>
<ol>
<li>Go to regedit and navigate to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWinlogonGPExtensions{5794DAFD-BE60-433f-88A2-1A31939AC01F}</li>
<li>Locate “NoBackgroundPolicy” value and change it to “0” from “1”</li>
<li>Now try doing a background refresh by issuing the command “gpupdate /force” and it should work</li>
</ol>
<p>Thanks for reading the log story and happy learning,<br />
Sitaram Pamarthi</p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/group-policies/all-about-drive-mapping-in-group-policy-preferences/202/feed</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>Enable Group Policy Debugging on Windows 7</title>
		<link>http://techibee.com/group-policies/enable-group-policy-debugging-on-windows-7/191</link>
		<comments>http://techibee.com/group-policies/enable-group-policy-debugging-on-windows-7/191#comments</comments>
		<pubDate>Thu, 07 Jan 2010 15:51:59 +0000</pubDate>
		<dc:creator>Sitaram Pamarthi</dc:creator>
				<category><![CDATA[Group Policies]]></category>
		<category><![CDATA[GPO debugging on Windows 2008]]></category>
		<category><![CDATA[GPO debugging on Windows 7]]></category>
		<category><![CDATA[Troubleshooting GPOs on Windows 2008]]></category>
		<category><![CDATA[Troubleshooting GPOs on Windows 7]]></category>

		<guid isPermaLink="false">http://techibee.com/?p=191</guid>
		<description><![CDATA[People familiar with UseEnv logging for GPO debugging on Windows XP can forget that procedure if you started looking into Windows 7 operating Systems. Things have really changed and you should follow the below procedure enable debug logging on Windows 7 Computer. I guess this procedure works straight away with Windows 2008 hosts as well(I [...]]]></description>
			<content:encoded><![CDATA[<div class="rw-right"><div class="rw-ui-container rw-class-blog-post rw-urid-1920"></div></div><p>People familiar with UseEnv logging for GPO debugging on Windows XP can forget that procedure if you started looking into Windows 7 operating Systems. Things have really changed and you should follow the below procedure enable debug logging on Windows 7 Computer. I guess this procedure works straight away with Windows 2008 hosts as well(I didn&#8217;t tested it).</p>
<ol>
<li>Logon to the Windows 7 Computer as local administrator</li>
<li>Save the below few lines as .reg file and execute it on the Windows 7 computer.</li>
</ol>
<blockquote><p>Windows Registry Editor Version 5.00</p>
<p>[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionDiagnostics]<br />
&#8220;GPSvcDebugLevel&#8221;=dword:00030002</p></blockquote>
<p> Now time to restart your Windows 7 PC to make changes come into effect.</p>
<p>The debug log file will be available under &#8220;%systemroot%debugUserMode&#8221; folder and the file name is &#8220;<strong>gpsvc.log&#8221;</strong>.  If you want a nice view of this log file for easy reading, I prefer you download the policy reporter tool from <a href="http://www.sysprosoft.com/policyreporter.shtml" target="_blank">SysPro Software</a>. This tool allows you to analyse the time taken for each policy detection and processing.</p>
<p>Let me know you are in doubt anywhere&#8230;</p>
<p>Happy Learning..,<br />
Sitaram Pamarthi</p>
]]></content:encoded>
			<wfw:commentRss>http://techibee.com/group-policies/enable-group-policy-debugging-on-windows-7/191/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

