<?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; roaming profile</title>
	<atom:link href="http://www.grouppolicy.biz/tag/roaming-profile/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 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>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>Group Policy Setting of the Week 19 – Set roaming profile path for all users logging onto this computer</title>
		<link>http://www.grouppolicy.biz/2010/03/setting-of-the-week-19-set-roaming-profile-path-for-all-users-logging-onto-this-computer/</link>
		<comments>http://www.grouppolicy.biz/2010/03/setting-of-the-week-19-set-roaming-profile-path-for-all-users-logging-onto-this-computer/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 10:04:43 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Setting of the Week]]></category>
		<category><![CDATA[Basic]]></category>
		<category><![CDATA[roaming profile]]></category>
		<category><![CDATA[SOE]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2010/03/setting-of-the-week-19-set-roaming-profile-path-for-all-users-logging-onto-this-computer/</guid>
		<description><![CDATA[Back to another profile setting this week and this one can save any organisation using Windows Vista or greater a lot of time if you manual provision your accounts. The setting is called “Set roaming profile path for all users logging onto this computer” and it configures the users roaming profile path that is normally [...]]]></description>
			<content:encoded><![CDATA[<p>Back to another profile setting this week and this one can save any organisation using Windows Vista or greater a lot of time if you manual provision your accounts. The setting is called “Set roaming profile path for all users logging onto this computer” and it configures the users roaming profile path that is normally configured on a per account basis in Active Directory Users and Computers (see below). Being able to apply this setting via Group Policy means it is one more user attribute that you no longer need to configure on the users account. This of course makes provisioning users account just that little bit simple which should save both time and the possibility for human errors.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/03/image56.png"><img style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/03/image_thumb56.png" border="0" alt="image" width="428" height="571" /></a></p>
<p>This setting can be found under Computer Configuration &gt; Policies &gt; Administrative Templates &gt; System &gt; User Profiles but as its a computer based setting this also means that you need to be careful how you apply this setting. Applying this setting to laptop could be undesired as they may try to log into a remote location with a slow WAN link to the profile server. So if you do apply this to the laptop you might want to configured it to point to a DFS namespace path or a DNS alias (if you have subnet masking filtering enabled) which can help point them to a faster more local path. This of course means it would be really useful to have a OU structure that separate your laptops from your desktop computer.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/03/image57.png"><img style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/03/image_thumb57.png" border="0" alt="image" width="529" height="484" /></a></p>
<p>But I would definitely recommend use this setting if you are using Windows Vista or Windows 7 in your SOE.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2010/03/setting-of-the-week-19-set-roaming-profile-path-for-all-users-logging-onto-this-computer/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Group Policy Setting of the Week 17 – Background upload of a roaming user profile’s registry file while user is logged on</title>
		<link>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/</link>
		<comments>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/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 16:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Setting of the Week]]></category>
		<category><![CDATA[Background]]></category>
		<category><![CDATA[Basic]]></category>
		<category><![CDATA[Profile]]></category>
		<category><![CDATA[roaming profile]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">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/</guid>
		<description><![CDATA[Another one…? yes… Another roaming profiles group policy for this weeks setting of the week. But this is a really super cool policy I found while reading the “What&#8217;s New in Folder Redirection and User Profiles” (via @stealthpuppy ) document that Microsoft recently published. This document mainly goes through the new features with folder redirections [...]]]></description>
			<content:encoded><![CDATA[<p>Another one…? yes… Another roaming profiles group policy for this weeks setting of the week. But this is a really super cool policy I found while reading the “<a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=7ffc1f61-f63b-4250-9d30-e44ca824b651" target="_blank">What&#8217;s New in Folder Redirection and User Profiles</a>” (via <a href="http://www.twitter.com/stealthpuppy" target="_blank">@stealthpuppy</a> ) document that Microsoft recently published. This document mainly goes through the new features with folder redirections in Windows 7 however it also mentions the new group policy/feature called “Background upload of a roaming users profile’s registry file while user is logged on”.</p>
<p>This setting can be found under Computer Configuration &gt; Administrative Templates &gt; System &gt; User Profiles and is specific to Windows 7 or Windows Server 2008 R2.</p>
<p><a href="http://www.grouppolicy.biz/wp-content/uploads/2010/03/image13.png"><img style="display: inline; border-width: 0px;" title="image" src="http://www.grouppolicy.biz/wp-content/uploads/2010/03/image_thumb13.png" border="0" alt="image" width="738" height="644" /></a></p>
<p>This policy setting would be very useful as a way to ensure that at least part of a users profile is save to the network if they are they type that never like to log off their computer at night.</p>
<p>There are a few points about this policy which I have summarised below:</p>
<ul>
<li>Only synchronises the users registry profile (ntuser.dat) so things like desktop icons and favourites wont sync. (This is what folder redirection is for any way).</li>
<li>There are two modes of scheduling the update
<ul>
<li>Run at set interval – Between 1 hour and 720 hours (30 days).</li>
<li>Run at specified time of day – useful if you only want to run this at 3am so that it only applies to users who stay logged on over night.</li>
</ul>
</li>
<li>The schedule will run randomly any time up to an hour after it is supposed to run so to not load the file server with a large number of concurrent requests.</li>
<li>If you choose one method of scheduling then it will ignore the set value of the other schedule.</li>
</ul>
<p>I also have a very strong suspicion that this setting is only compatible if you have Windows 2008 (or later) as the file server so that it can handle the copying of the locked file (ntuser.dat). Please ping me if you can confirm this.</p>
]]></content:encoded>
			<wfw:commentRss>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/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to use Group Policy Preferences to dynamically map printers with Roaming Profiles</title>
		<link>http://www.grouppolicy.biz/2010/01/how-to-use-group-policy-preferences-to-dynamically-map-printers-with-roaming-profiles/</link>
		<comments>http://www.grouppolicy.biz/2010/01/how-to-use-group-policy-preferences-to-dynamically-map-printers-with-roaming-profiles/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 21:00:00 +0000</pubDate>
		<dc:creator>Alan Burchill</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Advanced]]></category>
		<category><![CDATA[Group Policy Preferences]]></category>
		<category><![CDATA[Printer]]></category>
		<category><![CDATA[roaming profile]]></category>

		<guid isPermaLink="false">http://www.grouppolicy.biz/2010/01/how-to-use-group-policy-preferences-to-dynamically-map-printers-with-roaming-profiles/</guid>
		<description><![CDATA[One of the great new feature with Group Policy Preferences is the ability to map printers based on a various number of criteria such as group membership, AD Site or even IP Address range. This allows for some powerful options such as being able to map all the printers physically near a user based on the computer IP address. This of course assumes that the networking team allocates the same subnets to certain computers near each other (e.g. a building or floor) but I have found this is often the case. 

One of the problems that occur when you map printers with Group Policy Preferences is that if the user has a roaming profile configured and they then logon to a computer that is located in another area they will automatically get all the printers from the previous area they were in and the new area. These printer mapping can build up over time as users logon to computers in different areas they can soon amass a large number of printer mappings that can make their computer run slow especially during logon.

Normal Group Policies are applied via IP address (AD Site) are not a problem as the new computer they are logging on to has no idea of what the previous setting were or the policy falls out of scope so the setting revert back to their original values. But as the printer mapping (and all preference settings) for a user are stored in their profile then this printer mapping will follow them if they are setup with a roaming profile.

Question? So how do you map all the printers in one location but not have them follow you to another location if you are using a roaming profile? 

Answer? Is a two step solution which I will go through below. There is also an optional third step that address the problem maintaining default printer mappings once a user gets back to their normal location.

Step 1. The first part is just to create a simple printer mapping that maps the printer targeted by the IP address of the users current computer.



Figure1. Create New Shared Printer



Figure 2. Target setting to only be mapped for computers between 10.1.1.0 to 10.1.1.255



Figure 3. Resulting printer mapping

The images above shows the printer “\\server\printer1” being mapped for the users that logon to a computer that is in the 10.1.1.0/24 subnet. It is important to note that we are talking about the IP address range of the computer that you want to map the printer on not the IP address range of the printer server or the printer itself.

Step 2. The second step is to delete the printer mapping if the IP address of the printer does not fall within the IP address range that you want the printer to be mapped. To do this we start by copying the existing printer mapping that we made in step 1. This avoids making any typo’s in either the printer queue name of the IP addresses.



Figure 4. Copying the existing printer mapping made in step 1.







Figure 5. Paste the setting into an unused part of the pane



Figure 6. Both printer mapping entries 

Now we make the changes to the second printer mapping to change the action type and the targeting so that it will remove the printer mapping if the user logs onto a computer that is not in the subnet that we want the printer to be mapped.



Figure 7. Open the properties of the second printer



Figure 8. Change the Action to “Delete”



Figure 9. Go back to the targeting and change it to an “Is Not” between “10.1.1.0” and “10.1.1.255”



Figure 10. New target rule











Figure 11. Two printer entries to map and then clean up the printer queues for a user based on their location.

Step 3. Maintaining Default Printer Mappings

You have now configured dynamic printer mapping for your user based on location of the user. However this solution does have one problem, user normally like to set a default printer and if a user was to logon to a workstation in another location then return to their normal desk their default printer will have been reset. To get around this problem we have to change the targeting on the Delete printer option so it does NOT delete if the printer is configured as the default printer. To do this we need to look at the registry location that the default printer is saved and test to see if the printer we are deleting is the default printer and if so then do nothing. 

So let take a look go back to the targeting setting for the Delete printer action and add another test that will check to see if the printer is the default printer.



Figure 12. Add a new Item of type “Registry Match”



Figure 13. Configured Registry Match Setting



Change the Match Type to “Match value data” and the Value data match type to “Substring match” as the value we are looking for will contain other information as well that we don’t care about. Make sure the Hive is set to “HKEY_CURRENT_USER” and the Key Path is set to “Software\Microsoft\Windows NT\CurrentVersion\Windows”. The Value name “Device” is where in the registry the default printer information is saved". We then set the Substring to “\\server\printer1” which is the UNC path to the printer queue. The substring value should be set to the same value as in the Path for the printer mapping and delete under the main properties for the setting.

There, now you know how to use Group Policy Preferences to map and remove printer queues for users based on their physical location to the printer even if you have user configured with a roaming profile. The default printer mapping will still follow the user no matter where they logon to however as we are limiting this to only one printer this will not have a large affect on the users logon speed nor will it result in the collection of printer mappings from multiple areas.



Technorati Tags: Group Policy Preferences,Printer,Roaming Profiles,Tutorial,How to]]></description>
			<content:encoded><![CDATA[<p>One of the great new feature with Group Policy Preferences is the ability to map printers based on a various number of criteria such as group membership, AD Site or even IP Address range to name a few. This allows for some powerful senarios such as being able to map all the printers physically near a user based on the computers IP address. Note: This assumes that the networking team allocates the same subnets to certain computers near each other (e.g. a building or floor) but I have found this is often the case.</p>
<p>One of the problems that occur when you map printers with Group Policy Preferences is that if the user has a roaming profile configured and they then logon to a computer that is located in another area they will have all also have their old printers from the previous area. Now user might not really notice these printer mapping building up over time but they can soon amass a large number of mappings that makes their computer run slow to logon.</p>
<p><strong>Question?</strong> So how do you map all the printers in one location but not have them follow you to another location if you are using a roaming profile?</p>
<p><strong>Answer?</strong> Is a two step solution which I will go through below. There is also an optional third step that address the problem maintaining default printer mappings once a user gets back to their normal location.</p>
<p>Step 1. The first part is just to create a simple printer mapping that maps the printer targeted by the IP address of the users current computer.</p>
<p><a rel="WLPP" href="https://zohmpa.blu.livefilestore.com/y1mONKCFd4j_Qp4iu7U9QKmfWZsy9bl_BHZ1yPr5VZYi_vFf81yKD_SqxhqzRsbnjUq_QdZwcWH0kIALDTJ9M-RqAZwUTyLkGPQLGof-q8pXRGXx7WrPUwooMiLjkflpGEcqOGtqVr3GMZsT0tug68ZPg/image[14] 12F98665.png"><img style="display: inline; border-width: 0px;" title="New Shared Printer" src="https://zohmpa.blu.livefilestore.com/y1mZE01kVUSqyKutgZeujP3Q8Tzbzv01B2hTA9lCxusQvYF1e0L-wTFAVUM5kxK2_nzpVgXctjK15Lrf0RA-4ynp67hFmi6dm4VINYZ5Pr2bOJTbIc5xRrR81n6vAsVt8PsDl35mVnEi9132SsqCyZGZg/image_thumb[6] 5C0BB9F9.png" border="0" alt="New Shared Printer" width="412" height="457" /></a></p>
<p><strong>Figure1. Create New Shared Printer</strong></p>
<p>The images belo shows the printer “\\server\printer1” being mapped for the users that logon to a computer that is in the 10.1.1.0/24 subnet. It is important to note that we are talking about the IP address range of the computer that you want to map the printer not the IP address range of the printer server or the printer NIC itself.</p>
<p><a rel="WLPP" href="https://zohmpa.blu.livefilestore.com/y1mMb-riuNpHLuniIJkmIr9--uXSDK-H02PzZOBm2WZ2Vi9XNhM_J3DkTNGLSfyEPRm2Ay3pmPiO1FIRplHpB2IdsGrF5QE322nT1m2a2c56gNXjbfNYO8IrbvIuYMqV0cCDVeEkhIOlfPpTqgdT6kdLQ/image[7] 4D604C6D.png"><img style="display: inline; border-width: 0px;" title="Target setting" src="https://zohmpa.blu.livefilestore.com/y1mjCnNKViYPcNz-HtF3jMOtj_Y7iwTaOgghxmySw3bK6QDKMwNS9h_oEZvuOnWT_P33_w_J_nMTRmcUhYh5nf5_NPmxpxFiJpK3J4BskhvG5vYrlYw69EFapqsTE7g9zEgB4BIYuxeOKs7MGOEWwI69A/image_thumb[3].png" border="0" alt="Target setting" width="545" height="426" /></a></p>
<p><strong>Figure 2. Target setting to only be mapped for computers between 10.1.1.0 to 10.1.1.255</strong></p>
<p><a rel="WLPP" href="https://zohmpa.blu.livefilestore.com/y1m3DTmxiL8DBYxpE30mo69emgHioYb0T5A1FiAMT7KUHREhzNDoCRAHf7EFSfjCb-fuxY0ks1xXNtiZOsCN9ztekUc0rIpvhh8vp5sg8567rrVchs6oSRziKbjJqzusTXmOBhxdsmcmpY2q3tc00bunQ/image[18] 316B0376.png"><img style="display: inline; border-width: 0px;" title="image" src="https://zohmpa.blu.livefilestore.com/y1mXZCAMzWRRmDqlLHpTBg3Y4ad1FPosrW5JZ0SB1-Rsw0nv8e-Sug_lM7EjFZagx7bA7Kqh-0SuV6DhRqH5FotG-YAd1U3aV3_q6fUo1pazggHk1GkoLHJuD0-bU3Quvw5C-EHQuPTjGwDj3R415_CMg/image_thumb[8] 44A867BD.png" border="0" alt="image" width="542" height="177" /></a></p>
<p><strong>Figure 3. Resulting printer mapping</strong></p>
<p>Step 2. The second step is to delete the printer mapping if the IP address of the printer does not fall within the IP address range that you want the printer to be mapped. To do this we start by copying the existing printer mapping that we made in step 1. This avoids making any typo’s in either the printer queue name of the IP addresses.</p>
<p><a rel="WLPP" href="https://zohmpa.blu.livefilestore.com/y1m9oAjKrXQo16Cl3beQCVbsRtClGm3yVy2NKZHEkpSarguk-j46G0mNxEghlZlgUqwoRur9yuosJBjCD0Z1X87QwrBQVC1CRy-AE8q5hoMDQkPQBjujPACp938dGxeJvdRMao1nKzizO3Tzt5csbJaOQ/image[22].png"><img style="display: inline; border-width: 0px;" title="image" src="https://zohmpa.blu.livefilestore.com/y1mEgUhE4LvbDQU8eYB4E7KsBqb5PrIHIV9zR-e03nhATZ-wFvZw_74eO-47eTJ6CvPf9S5FVDQwaN_SxN-4Q6_0YAmWMNax86mw3fLgoNRUDzWwXHiW8rRNDwfZFYSvrWbFNnetEZKc1CpPCKAnXgLsw/image_thumb[10] 013C525C.png" border="0" alt="image" width="536" height="237" /></a></p>
<p><strong>Figure 4. Copying the existing printer mapping made in step 1.</strong></p>
<p><a rel="WLPP" href="https://zohmpa.blu.livefilestore.com/y1mJ5X06LSA-bhR4JXv9bhRJXLjBVGe8gDCKvTsJoSOf5XD9fLnt4iB6jA2Met0-yIEay7dY_WQ9esZc8odeggqTUv7zEa3u2YeChGpygf6ZU_7SDS8GnZYHUJcgweAdTHVVSWFozTtvtYP1tDp938bcA/image[35].png"><img style="display: inline; border-width: 0px;" title="image" src="https://zohmpa.blu.livefilestore.com/y1mWlfPCDtWzDl02-JI3NO51YGIqgFqc20k1idodmIC0soSNm2G98j1FwnZrUeRTGZh3iIRaDQBUcuYBjYGkIbtuiiWl6zYM1rWyroB0bJzcB22AzdRU5YIiuvsIkQwxHgqgmC7fzcLzDPOYJo9n_84DA/image_thumb[17] 58B95C48.png" border="0" alt="image" width="535" height="254" /></a></p>
<p><strong>Figure 5. Paste the setting into an unused part of the pane</strong></p>
<p><a rel="WLPP" href="https://zohmpa.blu.livefilestore.com/y1mmM3V1lmRBy8iHYA7okmOXy8V0klwmv7Ut0RwAADf9E22IwrAMT1q3HWkeY5SPvqa-bjjYhfS6597-zQlcIJSf5qzi6rhLQTg3nWtSyp0z5Z9j4puL7E5gr_IJeJAyIyj3NILWPJQFRc-MJdNQ1Bi5w/image[37].png"><img style="display: inline; border-width: 0px;" title="image" src="https://zohmpa.blu.livefilestore.com/y1mVIMdwEhrR7qwsHNU9QxJ7KT61GkoC-PHUzRbyiD5UQXZun-RSJ6CEw-hTzcqflTpuIsEOzo-eQEuDSGLVqHjY-op6rlsM9PbyJI1DPeTlRqrPLPCxWNu24nr2GWLjxbO0y0Xl_NxtSAtknEpNqCSyQ/image_thumb[19] 389A3B8C.png" border="0" alt="image" width="536" height="91" /></a></p>
<p><strong>Figure 6. Both printer mapping entries </strong></p>
<p>Now we make the changes to the action on the second printer mapping targeting so that it will remove the printer mapping when the user logs onto a computer in another area.</p>
<p><a rel="WLPP" href="https://zohmpa.blu.livefilestore.com/y1mTaxKG5ig3-1PS2UAPVnq30wQeSz6Bf0_JzOD0mgyd9g4AeGfNFCNXp9yYPYgGNvqT4C1u_dspCNqrh01ihrvZWyrtLQNx9XWwl8SFoclHb9n8tAHLVDlcnqvSur8EOnKpOmu1d6lgRqEdjYjGgVFxQ/image[41].png"><img style="display: inline; border-width: 0px;" title="image" src="https://zohmpa.blu.livefilestore.com/y1mdd0XnKTV3UlgpLEpkElMiu1LoVgn6XwMwXm4XDij_yeVNK810ed7PvYWTZUcaAzNskjD_sLhrE0rM36p9B-nuwap4n0KS6coIclgKzeII5esQpLPW_uKAixmCJgjoR4BBaVcWPci-zIbXGkuSjBoFQ/image_thumb[21] 04155545.png" border="0" alt="image" width="533" height="198" /></a></p>
<p><strong>Figure 7. Open the properties of the second printer</strong></p>
<p><a rel="WLPP" href="https://zohmpa.blu.livefilestore.com/y1mw7pbtDsda77saiJSauw-oyZ2y7v8R4f8A4arawQoAz8J4YKsA-yWdE274S6raEAfQk1pk15SHD6pvd8XggFEX9XAbkPDGvkCauW7ki0vrWTrY3zdi32Rn-undwDcsBQL1LFdxBjzDM7dNjGpoc7hDg/image[48].png"><img style="display: inline; border-width: 0px;" title="image" src="https://zohmpa.blu.livefilestore.com/y1mUrnUvc95RCW-zHaLbxK41BKRDHe461fOknwakKRWcvlu86scRMHZEQBv2IraSfqsD-ejEJSGINW-3a8WMsaPMxYl3vssU5PWf15qzZtxV2TvVfYbNeKYFaBPhEm31EHhOVHK_Scm22ajJiCooH8bjA/image_thumb[24] 5B262C3C.png" border="0" alt="image" width="358" height="397" /></a></p>
<p><strong>Figure 8. Change the Action to “Delete”</strong></p>
<p><a rel="WLPP" href="https://zohmpa.blu.livefilestore.com/y1m7qupEpI1BFauJ7Mj5759fsCtWR0UISOmnDj4G9xRHlKOo2c5ydNnNumxMe8s_rboij3hv8qq62EMMqQm_FM7sfzceZd9j6pZ9_WDb-skCwH6kFccq9CcA-kH2VEqDV2BM16xPOCw6NU2qfF-XwM_aw/image[49].png"><img style="display: inline; border-width: 0px;" title="image" src="https://zohmpa.blu.livefilestore.com/y1mRqaAt2dYwDE6Kav5VfRmGCNiC4Tk_x7StbPmLVLC6l9C4BQQturdU_HRSaVP0e4r--NS22o0F8ekh2AnxrHH8VQ9yaAmk_THRMgrxzMTh-NBY4iwXByILQysEfDiEVjLzhwrZsCvuw-FrRU-1dOL_w/image_thumb[25] 5990D65C.png" border="0" alt="image" width="525" height="410" /></a></p>
<p><strong>Figure 9. Go back to the targeting and change it to an “Is Not” between “10.1.1.0” and “10.1.1.255”</strong></p>
<p><a rel="WLPP" href="https://zohmpa.blu.livefilestore.com/y1mxY9DngrK49ayuSGG3DHblv3uhjz7V0qBVuFgU3NJ1yLr-7TWZvRrlQtJteetEIXPhT0Bm2LOcEEc0joXWgXPxvZEK_IWQohqAyvolliTUEqVH3nY9pb__LbiI6bxCYzjRTKoWNSAM0YYLaBY5Fsxdw/image[54].png"><img style="display: inline; border-width: 0px;" title="image" src="https://zohmpa.blu.livefilestore.com/y1mBgQJjwMwIV8eboMg5zuWaAl-yZ7XGzjKDGfQHzxQBG_8CXslvtTkxCTAPLsbudEitTsZH-1Q6B5q5C9Lh8Q8Eyis5n-bX1LcemKYOjaesgLi53pUUR2X1GLvk6ENgyJan5Y-lTIG5a_kdllW4emRjQ/image_thumb[28] 22633464.png" border="0" alt="image" width="522" height="101" /></a></p>
<p><strong>Figure 10. New target rule</strong></p>
<p><a rel="WLPP" href="https://zohmpa.blu.livefilestore.com/y1m1D7whY4T4JyLU9g267fHC3sDo5ePuFggPau1ejFYt2eXsdn0RZ6r96t3dEin5ioPMadnswXVsqZkVuPvUtZfo1UOqZz4yx6VlWqgeMRCaC5VMnt8ZN3wsUV5aCFF52o-k75ueemzSzbXUiaioS49RQ/image[58].png"><img style="display: inline; border-width: 0px;" title="image" src="https://zohmpa.blu.livefilestore.com/y1mrdkXcEHmqjDg56VkhJ50qjP0ezv834LJcio_I3bcwx6s-sCe1-6JPV1SNoNQvnD2_zutgrkZdSSjsmtTG5GVfGuzISLzzJsHywFSqVa-Cf5BDx-MqNzLdvIITNc1X3CUbx4WCg_CJ9uiNDsAjf_atA/image_thumb[30].png" border="0" alt="image" width="687" height="118" /></a></p>
<p><strong>Figure 11. Two printer entries to map and then clean up the printer queues for a user based on their location.</strong></p>
<p>Step 3. Maintaining Default Printer Mappings</p>
<p>You have now configured dynamic printer mapping for your user based on location of the user. However this solution does have one problem/annoyance, user normally like to set a default printer. If a user was to logon to a workstation in another location then return to their normal desk their default printer will have been reset as it will have been removed. To get around this problem we have to add another rult to the targeting on the Delete printer option so it does NOT delete if the printer is configured as the default printer. To do this we check the registry location that the default printer is saved and test to see if the printer we are deleting is the default printer.</p>
<p>So go back to the targeting option for the Delete printer action and add another test that will check to see if the printer is the default printer.</p>
<p><a rel="WLPP" href="https://zohmpa.blu.livefilestore.com/y1mPq2UFjcq2gGw7jLR8sGyJIX2GhusmMh24D-1g6d9QUf8XhK1STIHqEomnTEPbKytoMZUXFrh7XhCaIR2IJJtAjWIuLU6eo6vHQLp1PByAk7ylrBe-ULMdTi7LRKk-D1EgXIMGk4zz4AW-gjng6U8zQ/image[62].png"><img style="display: inline; border-width: 0px;" title="image" src="https://zohmpa.blu.livefilestore.com/y1mIlFGSGUjmZ_l141LIripNdmk9Iloc2gOkNQ9MVLAERTRaomEdq4QV-OPmvbRNhohZ5lq1BKdH25DDRgY72UEEWV_BLWntk-jNiYf__9-3SSewcj8a0Vk_UiYvUzikf5K1lHz_-yNKVFs8RkUFl4Feg/image_thumb[32].png" border="0" alt="image" width="501" height="499" /></a></p>
<p><strong>Figure 12. Add a new Item of type “Registry Match”</strong></p>
<p><a rel="WLPP" href="https://zohmpa.blu.livefilestore.com/y1m1B22IZtgsp1W8vW9-Ya4YEiUCKUrJuPalRN6aYpWRr2FDFat9x3M7LpBquwaRhSP8KagON3VHhEWshSRZGsEVnFgHN2ta9B70hpshBp86Az7qWwswe53cDiS_g6TDE2GR06ulLkrIf2JopKjZM2nbw/image[66].png"><img style="display: inline; border-width: 0px;" title="image" src="https://zohmpa.blu.livefilestore.com/y1mqk_wE2HDiw9hnes3YAU_HC_efwOYcM_apXWz4ggDDbQoNbOJem9k1c7qKgI2SM4RM4KIE68q-JhCOUbRmpY2vIlPSTgP9ObMFx4ztwDt67gp1ED4OYO6G4-njvrLHr3Cu8L_N6heuNR4f2lAAr-hoQ/image_thumb[34].png" border="0" alt="image" width="745" height="381" /></a></p>
<p><strong>Figure 13. Configured Registry Match Setting</strong></p>
<p>Change the Match Type to “Match value data” and the Value data match type to “Substring match” as the value we are looking for will contain other information as well that we don’t care about. Make sure the Hive is set to “HKEY_CURRENT_USER” and the Key Path is set to “Software\Microsoft\Windows NT\CurrentVersion\Windows”. The Value name “Device” is where in the registry the default printer information is saved. We then set the Substring to “\\server\printer1” which is the UNC path to the printer queue. Note: The substring value has to be exactly the same as the value set in the Path for the printer mapping.</p>
<p>There, now you know how to use Group Policy Preferences to map and remove network for users based on their physical location while avoiding the build up of mapping if your user have roaming profiles while still preserving their default printer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.grouppolicy.biz/2010/01/how-to-use-group-policy-preferences-to-dynamically-map-printers-with-roaming-profiles/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
	</channel>
</rss>

