<?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>RES Software User Group &#187; Mandatory Profile</title>
	<atom:link href="http://www.resug.com/tag/mandatory-profile/feed" rel="self" type="application/rss+xml" />
	<link>http://www.resug.com</link>
	<description>automators &#38; workspacers unite!</description>
	<lastBuildDate>Tue, 19 Apr 2011 06:58:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>RU003: Retaining explorer view-settings with UPR&#8217;s</title>
		<link>http://www.resug.com/retaining-explorer-settings-using-mandatory-profiles</link>
		<comments>http://www.resug.com/retaining-explorer-settings-using-mandatory-profiles#comments</comments>
		<pubDate>Tue, 16 Jun 2009 17:43:26 +0000</pubDate>
		<dc:creator>Yuri Haak</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Explorer settings]]></category>
		<category><![CDATA[Mandatory Profile]]></category>
		<category><![CDATA[User Preferences]]></category>

		<guid isPermaLink="false">http://www.resug.com/?p=1389</guid>
		<description><![CDATA[From the Fun-With-User-Preferences-dept. By now, you may have worked with the User Preferences (UPR&#8217;s) in PowerFuse 2008. If not, don&#8217;t worry &#8211; here&#8217;s a brief recap of what they are: User Preferences is essentially RES&#8217;s implementation of what used to be know in the business as Hybrid Profiles or Flex. They will let you carry [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-1297" title="gears4" src="http://www.resug.com/wp-content/uploads/2009/05/gears4.gif" alt="gears4" width="50" height="35" />From the Fun-With-User-Preferences-dept. By now, you may have worked with the User Preferences (UPR&#8217;s) in PowerFuse 2008. If not, don&#8217;t worry &#8211; here&#8217;s a brief recap of what they are: User Preferences is essentially RES&#8217;s implementation of what used to be know in the business as Hybrid Profiles or Flex. They will let you carry settings across multiple computing platforms (laptops, workstations, ts, etc), regardless of profiles and Windows OS flavor. It&#8217;s all well to have containers to retain settings in, but times again, the real issue is knowing <em>what</em> to store in them in the first place. This technote will show you a good example on what to use UP&#8217;s for. Buildingblock included!<span id="more-1389"></span></p>
<p>The idea with User Preferences, is to use a mandatory profile for the users and combine it with some nifty storage and retreival. What happens is that settings (files/folders in the profile and/or hkcu registry settings) are scooped up just before logoff, stored in the user&#8217;s homedrive and then re-applied once the user logs in again some other place.</p>
<p>So &#8211; the name of the game is obviously to catch the relevant things to store in the User Preferences. Save for the obvious things such as the Favorites, Cookies etc folders in the profile, there are other things which may be a bit obscure. One of these is the explorer settings for views. For example, every time I start up an new user account somewhere I have to deal with the default way which Microsoft thinks my folder views should be. Okay, I know, I know &#8211; 100 monkeys in a focus group, hopped up on crack can&#8217;t be wrong. Never mind. If you change it, you would as a user expect the view state to remain the way you left it.</p>
<p><span id="ctl00_Content_SolutionTreeViewn5" class="ctl00_Content_SolutionTreeView_0">To make sure that the user changes in the Explorer view settings are saved configure the following items:</span></p>
<p>Create the following registry key in the RES PowerFuse &gt; Powerlaunch &gt; User Registry:</p>
<pre>User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam]
Value Name: (Default)
Data Type: REG_SZ (String Value)
Value Data: %computername%</pre>
<p>This value needs to change every time a user hits a new computer as these settings are otherwise bound to each computer! The above reghack will take care of this.</p>
<p>After that, create the following settings in the RES PowerFuse User Preferences:</p>
<pre>Registry Tree: HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\Bags
Registry Tree: HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\BagMRU
Registry Value: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams -&gt; Settings</pre>
<p>If the user changes the Explorer view settings, this will be saved in the User Preferences. The next time the user logs on to a computer, the settings will be loaded. Below is a buildingblock which will help you implement these UP&#8217;s + the mentioned PowerLaunch setting. Also,  a sample regfile, which you can try and import into PowerLaunch, UserRegistry, should remove the training wheels on the Windows XP explorer. Note the mentioned regfile has <span style="text-decoration: underline;">not</span> been fully tested in all situations, so please take proper precautions.</p>
<p>Buildingblock for retaining explorer view settings: <a href="http://resguru.com/wp-content/uploads/2009/06/ExplorerViewSettings1.XML" target="_blank"><img class="alignnone size-full wp-image-1312" title="legobrick_red-50x35" src="http://www.resug.com/wp-content/uploads/2009/05/legobrick_red-50x35.jpg" alt="legobrick_red-50x35" width="50" height="35" /></a></p>
<p>PowerLaunch Regfile for setting default view settings (rename to .reg after dl): <a href="http://resguru.com/wp-content/uploads/2009/06/ExplorerViewDefaultSettingsXP.re" target="_blank"><img class="alignnone" title="Reg file icon" src="http://resguru.com/wp-content/uploads/2009/01/regfile.jpg" alt="" width="34" height="35" /></a></p>
<p>Thanks to Paulina and Martin for digging up the info</p>
<p>/Max</p>
]]></content:encoded>
			<wfw:commentRss>http://www.resug.com/retaining-explorer-settings-using-mandatory-profiles/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Preconfigured voluntary settings in a mandatory profile</title>
		<link>http://www.resug.com/preconfigured-voluntary-settings-in-a-mandatory-profile</link>
		<comments>http://www.resug.com/preconfigured-voluntary-settings-in-a-mandatory-profile#comments</comments>
		<pubDate>Thu, 26 Feb 2009 23:57:00 +0000</pubDate>
		<dc:creator>Yuri Haak</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Building Blocks]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[Mandatory Profile]]></category>
		<category><![CDATA[PowerLaunch]]></category>
		<category><![CDATA[User Preferences]]></category>

		<guid isPermaLink="false">http://resguru.com/?p=796</guid>
		<description><![CDATA[This little blurb was inspired by an email to a partner, explaning the differences between PoweFuse&#8217;s PowerLaunch and the UserPreferences. This lead to an example on how you can combine these two parts of PowerFuse. The goal is to be able to provide the user with preconfigured, voluntary settings &#8211; in a mandatory profile environment. Let&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-253" title="Animated, Gears, box" src="http://resguru.com/wp-content/uploads/2009/01/gears4.gif" alt="Animated, Gears, box" width="50" height="35" />This little blurb was inspired by an email to a partner, explaning the differences between PoweFuse&#8217;s PowerLaunch and the UserPreferences. This lead to an example on how you can combine these two parts of PowerFuse. The goal is to be able to provide the user with preconfigured, voluntary settings &#8211; in a mandatory profile environment. Let&#8217;s take a real-world example on this:</p>
<p>We have some users which share a mandatory profile, where the default webpage for IE has been set to about:blank or something else long ago. This setting coded into the .man profile and we don&#8217;t want to bother hacking into it since our goal would be to have it changed dynamically, according to group membership.</p>
<p>For example: We want to have users in <em>group1</em> initially having <a href="http://www.batman.com">www.batman.com</a> as their homepage and <em>group2</em> should have <a href="http://www.superman.com">www.superman.com</a> as their homepage. To make the entire thing a bit more interesting, we want to provide the user with the option to change their homepage to something else if they prefer to do so.</p>
<p>To summarize we are talking about creating a dynamic, group assigned voulentary user registry setting on top of a mandatory profile. Sounds iffy? Not at all. This example is easy to follow, but you can of course just download the PowerFuse buildingblock at the end of the article. The registry key we use for this example is HKCUSoftwareMicrosoftInternet ExplorerMain<em>Start Page</em> (REG_SZ)</p>
<ol>
<li>If you haven&#8217;t already done so, create a PowerFuse application for Internet Explorer (other browsers can be used, but you&#8217;ll have to figure out the registrysettings then for yourself)</li>
<li>Edit the IE app and go to the Configuration | PowerLaunch tab, click Add.</li>
<li><img class="alignright size-full wp-image-797" title="run-once" src="http://resguru.com/wp-content/uploads/2009/02/run-once.jpg" alt="run-once" width="318" height="71" />Create a powerlaunch user registry setting for the IE startup page <a href="http://www.batman.com">www.batman.com</a>. using the HKCU registry path above. Make sure to mark the reghack with the <strong><span style="color: #ff0000;">Run-Once</span></strong> checkmark.</li>
<li><img class="alignright size-full wp-image-798" title="group1" src="http://resguru.com/wp-content/uploads/2009/02/group1.jpg" alt="group1" width="158" height="74" />Go to the Access Control tab of the reghack, assign it to group1.</li>
<li>Export the newly created reghack to a temporary file. This done in the <em>&#8220;Registry|Export registry file&#8230;&#8221;</em> menu inside the PowerFuse <img class="alignright size-full wp-image-805" title="export-reg" src="http://resguru.com/wp-content/uploads/2009/02/export-reg.jpg" alt="export-reg" width="215" height="120" />registry buffer editor. We are going to use this export one steap further ahead.</li>
<li>Save the reghack and return to the PowerLaunch tab of the application</li>
<li><a href="http://resguru.com/wp-content/uploads/2009/02/group1.jpg" rel="lightbox[796]"></a><a href="http://resguru.com/wp-content/uploads/2009/02/export-reg.jpg" rel="lightbox[796]"></a>Repeat step 2 above, then go to the<em> Registry|Import registry file&#8230;</em> and pull the temporary regfile in again (it can safely be deleted after this btw).  In the new reghack, change the startup page to <a href="http://www.superman.com">www.superman.com</a> and assign this one to <em>group2. </em>Notice that the name and any comments you added before was preserved in the regfile. Once you&#8217;ve configured the reghacks for both groups it should look like this: <img class="alignnone size-full wp-image-808" title="app-registry" src="http://resguru.com/wp-content/uploads/2009/02/app-registry.jpg" alt="app-registry" width="485" height="57" /></li>
<li>Let&#8217;s setup the User Preferences. Go to <em>Properties|User Preferences</em>, while still editing the app. Here we can specify one or more seperate items which should be saved before the logoff destroys the mandatory profle. Using the Add button, you can choose to add:
<ol>
<li>A single registry value (like we are using here)</li>
<li>A registry key (containing multiple values)</li>
<li>A registry tree (a branch containing multiple registry keys)</li>
<li>A single file in the profile (such as normal.dot for office)</li>
<li>A folder in the profile (such as cookies or favorites)</li>
</ol>
</li>
<li>Fashion the user preference so it looks something like this (remember, you can download the buildingblock below if you want to make sure you build it right). Click on the image to zoom.<a href="http://resguru.com/wp-content/uploads/2009/02/userpref-ie.jpg" target="_blank" rel="lightbox[796]"><img class="alignnone size-full wp-image-809" title="userpref-ie" src="http://resguru.com/wp-content/uploads/2009/02/userpref-ie.jpg" alt="userpref-ie" width="410" height="300" /></a></li>
</ol>
<p>When the app has been saved and the user sessions refreshed, PowerFuse will write the correct IE startup page to the registry uppon first time user launch of IE. During the session, the user may perhaps change the homepage of IE to something completely different. Regardless of this, User Preferences will capture the current value of the IE startpage key at logoff and save it, just before the mandatory profile is tossed into <a href="http://en.wikipedia.org/wiki/Mount_Doom" target="_blank">Mount Doom</a>. To try all this out for yourself, download the BuildingBlock:</p>
<p>Rightclick and save-target-as here: <a href="http://resguru.com/wp-content/uploads/2009/02/start_internet-exploder-6.xml" target="_blank"><img class="alignnone size-thumbnail wp-image-429" title="legobrick_red" src="http://resguru.com/wp-content/uploads/2009/01/legobrick_red-50x35.jpg" alt="legobrick_red" width="50" height="35" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.resug.com/preconfigured-voluntary-settings-in-a-mandatory-profile/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wisdom BuildingBlock: Mandatory Profile Path</title>
		<link>http://www.resug.com/wisdom-buildingblock-mandatory-profile-path</link>
		<comments>http://www.resug.com/wisdom-buildingblock-mandatory-profile-path#comments</comments>
		<pubDate>Fri, 13 Feb 2009 02:23:30 +0000</pubDate>
		<dc:creator>Yuri Haak</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Building Blocks]]></category>
		<category><![CDATA[Hybrid Profile]]></category>
		<category><![CDATA[Mandatory Profile]]></category>
		<category><![CDATA[Network Traffic]]></category>
		<category><![CDATA[PowerFuse]]></category>
		<category><![CDATA[User Preferences]]></category>
		<category><![CDATA[Wisdom]]></category>

		<guid isPermaLink="false">http://resguru.com/?p=626</guid>
		<description><![CDATA[Here is another Wisdom BuildingBlock for your consideration. This one will help you correctly set an environment variable across all your different computers in your organization, which will point to the local path of a mandatory profile, which should be used for the given operating system. This may at first sound like utter nonsense, but [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-thumbnail wp-image-429" title="legobrick_red" src="http://resguru.com/wp-content/uploads/2009/01/legobrick_red-50x35.jpg" alt="legobrick_red" width="50" height="35" />Here is another Wisdom BuildingBlock for your consideration. This one will help you correctly set an environment variable across all your different computers in your organization, which will point to the <em>local </em>path of a mandatory profile, which should be used for the given operating system.</p>
<p>This may at first sound like utter nonsense, but think of it like this: Let&#8217;s say that you want to enable users to have the same profile across different systems, say Vista, XP and Terminal Services 2003. Impossible you say? Nope, this can be done.  There is a nifty whitepaper from RES, available here which describes the entire procedure: <a href="http://resguru.com/wp-content/uploads/2009/02/streamlining-user-settings-in-a-windows-environment.pdf" target="_blank"><img class="alignnone size-full wp-image-219" title="Icon, PDF file" src="http://resguru.com/wp-content/uploads/2009/01/pdffile.jpg" alt="Icon, PDF file" width="21" height="19" /></a> </p>
<p>To sum up the whitepaper, you can:<img class="size-full wp-image-628 alignright" title="custom-resources" src="http://resguru.com/wp-content/uploads/2009/02/custom-resources.jpg" alt="custom-resources" width="173" height="304" /></p>
<ul>
<li>Create a mandatory profile for each of the operating systems which require it</li>
<li>Upload these profiles to PowerFuse Custom Resources, which will automagically replicate them out locally to the %programfiles%\res powerfuse\data\dbcache \resources\customresources folder on all machines running PowerFuse. Make a structure in PowerFuse Custom Ressources as seen here on the right (note you do not have to create all the folders etc. just point to the root folder of an existing mandatory profile and the RES console will import it with all subdirectories)</li>
<li><strong>Run the module on all target machines where users will be logging in.</strong></li>
<li>Configure User Preferences to grab the stuff which you want to store for the users uppon logout.</li>
<li>Modify the User records in AD, change the user profile path of the users to the variable, say %manprofile% (remember, this can be done in Wisdom too! &#8211; perhaps a subject for another buildingblock)</li>
</ul>
<p>This result is quite spectacular:  All users share one singular profile path (which is dynamic).  The user session will be loading the right mandator profile, as it will be specified by the variable. The path will be local, resulting in zero network traffic as result of loading the profile locally.</p>
<p>The Wisdom module has been designed with module parameters, so you can customize your own paths etc, making it quite easy to use.</p>
<p>Click here to download the module:  <a href="http://s5.histats.com/stats/r.php?581624&amp;100&amp;1&amp;urlr=&amp;resguru.com/wp-content/uploads/2009/02/module_config-mandatory-profile-path.rar"><img class="alignnone size-full wp-image-24" title="Icon, RarFile" src="http://resguru.com/wp-content/uploads/2009/01/rarfile.jpg" alt="Icon, RarFile" width="22" height="21" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.resug.com/wisdom-buildingblock-mandatory-profile-path/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

