<?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>My Virtual Environment</title>
	<atom:link href="http://myve.nl/feed/" rel="self" type="application/rss+xml" />
	<link>http://myve.nl</link>
	<description>Tips for reducing the userprofile size</description>
	<lastBuildDate>Wed, 11 Apr 2012 06:34:48 +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>Ifcfg-eth0.bak causing troubles in cloned CentOS vm</title>
		<link>http://myve.nl/ifcfg-eth0-bak-causing-troubles-in-cloned-centos-vm/</link>
		<comments>http://myve.nl/ifcfg-eth0-bak-causing-troubles-in-cloned-centos-vm/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 06:34:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>

		<guid isPermaLink="false">http://myve.nl/?p=56</guid>
		<description><![CDATA[Sometimes we do things like we should do and say, he why reinstall an operating system again when we are able to make a clone? So i made a clone...]]></description>
			<content:encoded><![CDATA[<p>Sometimes we do things like we should do and say, he why reinstall an operating system again when we are able to make a clone?</p>
<p>So i made a clone of a CentOS vm and imported it in another environment of me and it looked great until i tried to configure my nic. Somehow i ended up with two eth0 files.</p>
<p>After zooming in on this issue i saw that i had an ifcfg-eth0 and an ifcfg-eth0.bak file in /etc/sysconfig/network-scripts!! Why?</p>
<p>The only difference between both files was the MAC address, hmm maybe this was causing the recreation of this file?</p>
<p>Well i did a little search on the internet and found all kinds of articles but couldn&#8217;t find a simple solution for this problem.</p>
<p>VMware has a nice article explaining howto avoid MAC changes and / or manually assign a MAC addres, http://www.vmware.com/support/ws55/doc/ws_net_advanced_mac_address.html, but this is not what i want. Because this cloned vm will be installed in different environments and this will have a MAC change. Setting a static MAC isn&#8217;t the solution either.</p>
<p>When i found some articles about Kudzu i felt that i was going in the right direction.</p>
<p>During boot Kudzu detects a MAC address change and creates the ifcfg-eth0.bak file! This behaviour is normal because in my case VMware Workstation gives the NIC a new MAC address.</p>
<p>Some articles describe a way to disable Kudzu but i don&#8217;t think that&#8217;s the solution because Kudzu detects new hardware and hardware changes en CentOS (and Redhat). In newer versions Kudzu is removed by the way.</p>
<p>Removing the ifcfg-eth0.bak by typing rm -f /etc/sysconfig/network-scripts/ifcfg-eth0 is an option but the file is recreated the next boot by Kudzu.</p>
<p>It&#8217;s also possible to reconfigure the ifcfg-eth0 and the /etc/hosts, /etc/resolv.conf to get everything working again but why do all this when there is an easy solution to solve it.</p>
<p>If we look at the /etc/sysconfig/network-scripts/ifcfg-eth0 we can see the HWADDR line which holds our MAC address.</p>
<p><a href="http://myve.nl/wp-content/uploads/2012/04/HWADDR.jpg"><img class="alignnone size-medium wp-image-57" title="HWADDR" src="http://myve.nl/wp-content/uploads/2012/04/HWADDR-300x169.jpg" alt="" width="300" height="169" /></a></p>
<p>If we remove the complete HWADDR line just before shutting the vm down and exporting it we won&#8217;t end up in having an ifcfg-eth0.bak file in a different environment.</p>
<p>This easy workaround solved this issue in my environment.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://myve.nl/ifcfg-eth0-bak-causing-troubles-in-cloned-centos-vm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dealing with 32bits and 64bits clients with RES Workspace Manager</title>
		<link>http://myve.nl/dealing-with-32bits-and-64bits-client-with-res-workspace-manager/</link>
		<comments>http://myve.nl/dealing-with-32bits-and-64bits-client-with-res-workspace-manager/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 13:56:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[RES Workspace Manager]]></category>
		<category><![CDATA[32bits]]></category>
		<category><![CDATA[64bits]]></category>
		<category><![CDATA[Managed Applications]]></category>
		<category><![CDATA[Microsoft Office 2010]]></category>

		<guid isPermaLink="false">http://myve.nl/?p=26</guid>
		<description><![CDATA[If you have an environment in which you have a mix of 32bits and 64bits clients, you are dealing with different installation paths for your 32bits applications. Instead of creating...]]></description>
			<content:encoded><![CDATA[<p><a href="http://myve.nl/wp-content/uploads/2012/01/word2010.jpg"><img class="alignleft size-thumbnail wp-image-48" title="word2010" src="http://myve.nl/wp-content/uploads/2012/01/word2010-150x150.jpg" alt="" width="150" height="150" /></a>If you have an environment in which you have a mix of 32bits and 64bits clients, you are dealing with different installation paths for your 32bits applications.</p>
<p>Instead of creating two different Microsoft Word 2010 applications with both the 32bits and 64bits installation path i will describe how to create only one application which changes the installation path automatically for you.</p>
<p>This automatically change will be based on a Zone which checks the client on Operating system bit version and changes the installation path with an Environment Variable.</p>
<p>Let&#8217;s look at the different installation paths we are dealing with.</p>
<p>The 32bits Windows 7 has Microsoft Office 2010 installed in the c:\Program Files\Microsoft Office\Office 14 directory:</p>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/office1432bits.jpg"><img class="aligncenter size-medium wp-image-27" title="office1432bits" src="http://myve.nl/wp-content/uploads/2012/01/office1432bits-300x174.jpg" alt="" width="300" height="174" /></a></p>
<p>And the 64bits Windows 7 has Microsoft Office 2010 installed in the C:\Program Files(x86)\Microsoft Office\Office14 directory:</p>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/office1464bits.jpg"><img class="aligncenter size-medium wp-image-28" title="office1464bits" src="http://myve.nl/wp-content/uploads/2012/01/office1464bits-300x175.jpg" alt="" width="300" height="175" /></a></p>
<p>Because the major difference is the Operating system bit versions, we start with creating a zone which is able to detect the Operating system bit version of the client.</p>
<blockquote>
<p style="text-align: left;"><em>In this step by step guide we use this Zone to place an Environment Variable in the application path of an application but this Zone can also be used for other settings based on Operating system bit version.</em></p>
</blockquote>
<p>In the RES Workspace Manager console just go to Context and then to Locations and Devices and click on Add. When the Add/Change Zone screen is shown give the Zone a name like on the following picture:</p>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/ZoneAdd2.jpg"><img class="aligncenter size-medium wp-image-33" title="ZoneAdd" src="http://myve.nl/wp-content/uploads/2012/01/ZoneAdd2-300x249.jpg" alt="" width="300" height="249" /></a></p>
<p>Now click on the Rules tab and create a Rule by clicking on Add. Now choose Operating system and then click on Bit version like on the following picture:</p>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/bitversion.jpg"><img class="aligncenter size-medium wp-image-34" title="bitversion" src="http://myve.nl/wp-content/uploads/2012/01/bitversion-300x232.jpg" alt="" width="300" height="232" /></a></p>
<p>On the next screen leave the Operator on = and change the Filter to 32-bit Version, like on the following picture:</p>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/operatingsystembit.jpg"><img class="aligncenter size-medium wp-image-35" title="operatingsystembit" src="http://myve.nl/wp-content/uploads/2012/01/operatingsystembit-300x247.jpg" alt="" width="300" height="247" /></a></p>
<p>Now just click on OK and again on OK and we will end up with a Zone which is able to sort clients on Operating system bit version.</p>
<p>The next step is to create the Microsoft Word 2010 application.</p>
<blockquote>
<p style="text-align: left;"><em>It doesn&#8217;t matter on which Operating System you create it because in this guide the application path will be changed to a variable.</em></p>
</blockquote>
<p>In the RES Workspace Manager console go to Composition and then go to Managed Applications and click on Add. Now choose application because we are creating an application.</p>
<blockquote>
<p style="text-align: left;"><em>It&#8217;s also possible to import an application but in this article we will describe the manual creation of a new application.</em></p>
</blockquote>
<p>Now click on Command line field and a browse button will appear on the right and click on the browse button to find the Microsoft Word 2010 executable.</p>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/NewApplication1.jpg"><img class="aligncenter size-medium wp-image-37" title="NewApplication" src="http://myve.nl/wp-content/uploads/2012/01/NewApplication1-300x222.jpg" alt="" width="300" height="222" /></a></p>
<p>The default installation path of Microsoft Word 2010 on a Windows 7 64bits client is C:\Program Files(x86)\Microsoft Office\Office 14\ , please browse to this location and select WINWORD.EXE.</p>
<blockquote>
<p style="text-align: left;"><em>RES Workspace Manager will fill in some fields automatically for you.</em></p>
</blockquote>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/MicrosoftWordDefault.jpg"><img class="aligncenter size-medium wp-image-38" title="MicrosoftWordDefault" src="http://myve.nl/wp-content/uploads/2012/01/MicrosoftWordDefault-300x223.jpg" alt="" width="300" height="223" /></a></p>
<p>Now we have Microsoft Word 2010 in the RES Workspace Manager console we immediately add the variable name. Change the Command line and Working directory to the shown values on the following picture:</p>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/MicrosoftWordVariable.jpg"><img class="aligncenter size-medium wp-image-39" title="MicrosoftWordVariable" src="http://myve.nl/wp-content/uploads/2012/01/MicrosoftWordVariable-300x223.jpg" alt="" width="300" height="223" /></a></p>
<p>Now click on Access Control and change it from Administrative Roles to All users and press OK.</p>
<blockquote>
<p style="text-align: left;"><em>By default the Access Control of a new application is set to Administrative Roles. This prevents you from publishing an unconfigured application directly to your users.</em></p>
</blockquote>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/AllUsers.jpg"><img class="aligncenter size-medium wp-image-40" title="AllUsers" src="http://myve.nl/wp-content/uploads/2012/01/AllUsers-300x223.jpg" alt="" width="300" height="223" /></a></p>
<p>The last step is to create the variable. Go to Composition, Other and then to Environment Variables. Click on Add to create a new Environment Variable.</p>
<p>On the Change environment variable screen add the values shown on the following picture:</p>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/EnvironmentVariable.jpg"><img class="aligncenter size-medium wp-image-41" title="EnvironmentVariable" src="http://myve.nl/wp-content/uploads/2012/01/EnvironmentVariable-300x247.jpg" alt="" width="300" height="247" /></a></p>
<p>This will look for the %ProgramFiles(x86)% variable and change it to the %ProgramFiles% value. But because we only want this to happen for our Windows 7 32bits clients we need to point it to the Zone which we created earlier. Do this by clicking on Access Control and Add the 32Bits Zone like on the following picture:</p>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/32bitsZone.jpg"><img class="aligncenter size-medium wp-image-42" title="32bitsZone" src="http://myve.nl/wp-content/uploads/2012/01/32bitsZone-300x247.jpg" alt="" width="300" height="247" /></a></p>
<p>Now click on OK and try to start Microsoft Word 2010 on both the Windows 7 32bits and Windows 7 64bits client.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://myve.nl/dealing-with-32bits-and-64bits-client-with-res-workspace-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Chrome and Roaming Profiles</title>
		<link>http://myve.nl/google-chrome-and-roaming-profiles/</link>
		<comments>http://myve.nl/google-chrome-and-roaming-profiles/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 09:50:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[Google Chrome]]></category>
		<category><![CDATA[Roaming Profile]]></category>

		<guid isPermaLink="false">http://myve.nl/?p=19</guid>
		<description><![CDATA[Google Chrome is a very populair internet browser because it&#8217;s very fast and easy to use. But something strange happens when Google Chrome is installed. Where is Google Chrome installed...]]></description>
			<content:encoded><![CDATA[<p><a href="http://myve.nl/wp-content/uploads/2012/01/Chrome.jpg"><img class="alignleft size-thumbnail wp-image-20" title="Chrome" src="http://myve.nl/wp-content/uploads/2012/01/Chrome-150x150.jpg" alt="" width="150" height="150" /></a>Google Chrome is a very populair internet browser because it&#8217;s very fast and easy to use.</p>
<p>But something strange happens when Google Chrome is installed. Where is Google Chrome installed exactly?</p>
<p>Nothing can be found in the %ProgramFiles% or %ProgramFiles(x86)%, neither in the %AppData% directory.</p>
<p>Google Chrome installs itself in the Local AppData of the userprofile. Google could have a good explanation for it but this makes it very difficult to use Google Chrome in an environment with roaming userprofiles.</p>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/googlechrome.jpg"><img class="aligncenter size-medium wp-image-21" title="googlechrome" src="http://myve.nl/wp-content/uploads/2012/01/googlechrome-300x121.jpg" alt="" width="300" height="121" /></a></p>
<p>There are several hacks floating around on the web to make Google Chrome work with roaming userprofiles but aren&#8217;t easy to perform and could cause troubles.</p>
<p>The best solution for this is to use the Google Chrome standalone installation msi, which is a bit hard to find but can be downloaded from <a title="Google Chrome Enterprise" href="https://www.google.com/intl/en/chrome/business/browser/#utm_campaign=c4b&amp;utm_medium=link&amp;utm_source=apps" target="_blank">here</a>.</p>
<p>When this version of Google Chrome is installed the executable can be found in the &#8221;C:\Program Files (x86)\Google\Chrome\Application\chrome.exe&#8221; directory, like shown on the following picture:</p>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/googlechromeenterprise.jpg"><img class="aligncenter size-medium wp-image-22" title="googlechromeenterprise" src="http://myve.nl/wp-content/uploads/2012/01/googlechromeenterprise-300x120.jpg" alt="" width="300" height="120" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://myve.nl/google-chrome-and-roaming-profiles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Huge reduction in Firefox profile size with RES Workspace Manager</title>
		<link>http://myve.nl/huge-reduction-in-firefox-profile-size-with-res-workspace-manager/</link>
		<comments>http://myve.nl/huge-reduction-in-firefox-profile-size-with-res-workspace-manager/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 09:21:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[RES Workspace Manager]]></category>
		<category><![CDATA[Mandatory Profile]]></category>
		<category><![CDATA[Mozilla Firefox]]></category>
		<category><![CDATA[Roaming Profile]]></category>
		<category><![CDATA[User Settings]]></category>

		<guid isPermaLink="false">http://myve.nl/?p=6</guid>
		<description><![CDATA[Mozilla Firefox is a very populair internet browser and even when Internet Explorer is installed by default, most people still prefer Mozilla Firefox for browsing the web. Therefore it&#8217;s very...]]></description>
			<content:encoded><![CDATA[<p><a href="http://myve.nl/wp-content/uploads/2012/01/firefox.jpg"><img class="alignleft size-thumbnail wp-image-8" title="firefox" src="http://myve.nl/wp-content/uploads/2012/01/firefox-150x150.jpg" alt="" width="150" height="150" /></a>Mozilla Firefox is a very populair internet browser and even when Internet Explorer is installed by default, most people still prefer Mozilla Firefox for browsing the web. Therefore it&#8217;s very interesting to also have Mozilla Firefox at work.</p>
<p>Before we publish this application we are going to focus on what Mozilla Firefox does exactly in the userprofile and registry.</p>
<p>Like any other application Mozilla Firefox creates some user specified registry settings and profile directory&#8217;s. After starting Mozilla Firefox for the first time the %AppData%\Roaming\Mozilla directory is created which has the most important data in it for Mozilla Firefox.</p>
<p>The default size of this directory is around 13MB which is quite large and could cause some  troubles in large environments when Roaming Profiles are used.</p>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/MozillaFirefoxProfile.jpg"><img class="aligncenter size-medium wp-image-9" title="MozillaFirefoxProfile" src="http://myve.nl/wp-content/uploads/2012/01/MozillaFirefoxProfile-300x198.jpg" alt="" width="300" height="198" /></a></p>
<p>Imagine that aside from the profile size of the user which could be very large, the 13MB of the Mozilla Firefox profile will also be roamed when logging on and off which could cause a delay for all the users during logon.</p>
<p>A good workaround for this issue could be the user of a Mandatory Profile, but with the use of a Mandatory Profile the profile will start from zero after a new login. So all the personal settings of your users will be forgot after a new logon and could cause your users to get upset.</p>
<p>In this article i will describe how to publish Mozilla Firefox with RES Workspace Manager and have the personal settings saved using User Settings Templates.</p>
<p>RES Workspace Manager provides a set of pre-defined templates for the most populair applications. This list gets updated very often and therefore At the moment RES Workspace Manager has User Settings Templates for the most used applications and the list gets updated very often.</p>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/usersettingstemplates.jpg"><img class="aligncenter size-medium wp-image-10" title="usersettingstemplates" src="http://myve.nl/wp-content/uploads/2012/01/usersettingstemplates-300x267.jpg" alt="" width="300" height="267" /></a></p>
<p>It&#8217;s also possible to create User Settings Templates yourself but i will describe this in another post.</p>
<p>So if we choose the User Settings Template for Mozilla Firefox and zoom in on it we can see that the %AppData%\Mozilla\Firefox\profiles.ini and the %AppData%\Mozilla\Firefox\Profiles are pre-defined. This is enough to remember the user specified settings for Mozilla Firefox.</p>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/mozillafirefoxtemplate.jpg"><img class="aligncenter size-medium wp-image-11" title="mozillafirefoxtemplate" src="http://myve.nl/wp-content/uploads/2012/01/mozillafirefoxtemplate-300x226.jpg" alt="" width="300" height="226" /></a></p>
<p>As you can see you are free to add registry locations or folders to this template to expand the scope of this template. You can do this by clicking on Add, for this article it isn&#8217;t needed to add extra settings to this template.</p>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/addusersettings.jpg"><img class="aligncenter size-medium wp-image-12" title="addusersettings" src="http://myve.nl/wp-content/uploads/2012/01/addusersettings-300x185.jpg" alt="" width="300" height="185" /></a></p>
<p>If we add the User Setting Template to Mozilla Firefox we will be sure that all the user specific settings will be remembered for the users who have access to Mozilla Firefox.</p>
<p>In the beginning of this article we saw that the default Mozilla Firefox profile is quite large, around 13MB. After enabling this User Setting Template the size of the Mozilla Firefox profile is reduced to around 80KB! which is a very large reduction in size making the Mozilla Firefox profile usable in any environment!</p>
<p><a href="http://myve.nl/wp-content/uploads/2012/01/UserSettingsSize.jpg"><img class="aligncenter size-medium wp-image-13" title="UserSettingsSize" src="http://myve.nl/wp-content/uploads/2012/01/UserSettingsSize-300x83.jpg" alt="" width="300" height="83" /></a></p>
<p>&nbsp;</p>
<p>In the next article we will describe how to create a custom User Settings Template for an application.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://myve.nl/huge-reduction-in-firefox-profile-size-with-res-workspace-manager/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

