<?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>Michael Phillips Blog &#187; Citrix</title>
	<atom:link href="http://nukeitmike.com/blog/tag/citrix/feed" rel="self" type="application/rss+xml" />
	<link>http://nukeitmike.com/blog</link>
	<description>My place to speak about things</description>
	<lastBuildDate>Thu, 29 Jul 2010 20:57:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>A fatal error occurred while trying to sysprep the machine.</title>
		<link>http://nukeitmike.com/blog/2010/06/03/a-fatal-error-occurred-while-trying-to-sysprep-the-machine/</link>
		<comments>http://nukeitmike.com/blog/2010/06/03/a-fatal-error-occurred-while-trying-to-sysprep-the-machine/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 01:08:22 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[imaging]]></category>
		<category><![CDATA[sysprep]]></category>

		<guid isPermaLink="false">http://nukeitmike.com/blog/2010/06/03/a-fatal-error-occurred-while-trying-to-sysprep-the-machine/</guid>
		<description><![CDATA[Today, while getting ready to deploy an updated Citrix farm for a set of Line of Business applications, I got an error during the sysprep process.&#160; The machine in question is a 2008 64 bit machine.&#160; It has Citrix and all the applications installed.&#160; It is also a Hyper-V VM.&#160; I created an answer file [...]]]></description>
			<content:encoded><![CDATA[<p>Today, while getting ready to deploy an updated Citrix farm for a set of Line of Business applications, I got an error during the sysprep process.&#160; The machine in question is a 2008 64 bit machine.&#160; It has Citrix and all the applications installed.&#160; It is also a Hyper-V VM.&#160; </p>
<p>I created an answer file and when I run Sysprep I get a popup that says:&#160; A fatal error occurred while trying to sysprep the machine.</p>
<p>Hmm..&#160; so I look at the logs and here is what I find:</p>
<blockquote><p>2010-06-03 10:42:33, Error&#160;&#160;&#160;&#160;&#160; [0x0f0085] SYSPRP LaunchDll:Could not load DLL drmv2clt.dll[gle=0x0000007e]     <br />2010-06-03 10:42:33, Error&#160;&#160;&#160;&#160;&#160; [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, halting sysprep execution. dwRet = 126[gle=0x0000007e]      <br />2010-06-03 10:42:33, Error&#160;&#160;&#160;&#160;&#160; [0x0f00a8] SYSPRP WinMain:Hit failure while processing sysprep cleanup providers; hr = 0x8007007e[gle=0x0000007e]</p>
</blockquote>
<p>I found lots of references to Windows Media Player, and that you can’t have sharing enabled.&#160; Not a problem on this machine.&#160; Not any help either.&#160; </p>
<p>I did find this article helpful: <a title="http://myit4u.wordpress.com/2010/03/17/launchdll-could-not-load-dll-drmv2clt-dll/" href="http://myit4u.wordpress.com/2010/03/17/launchdll-could-not-load-dll-drmv2clt-dll/">http://myit4u.wordpress.com/2010/03/17/launchdll-could-not-load-dll-drmv2clt-dll/</a></p>
<blockquote><p>Guess what?! Those aren’t shown in on a Windows Server 2008! Our workaround was to install the Desktop Experience feature on the server.</p>
</blockquote>
<p>I added the “Desktop Experience” feature did the sysprep and then uninstalled it on each of the new machines.&#160; Rather a pain, but I didn’t have a lot of time to work on figuring out a better answer.</p>
]]></content:encoded>
			<wfw:commentRss>http://nukeitmike.com/blog/2010/06/03/a-fatal-error-occurred-while-trying-to-sysprep-the-machine//feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;netvsc&#8221; error in Hyper-V guest</title>
		<link>http://nukeitmike.com/blog/2010/04/21/netvsc-error-in-hyper-v-guest/</link>
		<comments>http://nukeitmike.com/blog/2010/04/21/netvsc-error-in-hyper-v-guest/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 18:33:05 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Hotfix]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://nukeitmike.com/blog/2010/04/21/netvsc-error-in-hyper-v-guest/</guid>
		<description><![CDATA[We use Citrix Presentation Server for a number of applications, and lately we have had a significant increase in issues with one set of our Citrix servers.&#160; We have 3 main sets of Citrix servers and the problems have only been happening on one set.&#160; One of the sets doesn’t have this error, but wouldn’t [...]]]></description>
			<content:encoded><![CDATA[<p>We use Citrix Presentation Server for a number of applications, and lately we have had a significant increase in issues with one set of our Citrix servers.&#160; We have 3 main sets of Citrix servers and the problems have only been happening on one set.&#160; </p>
<p>One of the sets doesn’t have this error, but wouldn’t because they are physical servers.&#160; They have been in production a long time, and we have plans to virtualize them.&#160; </p>
<p>The second set doesn’t get the errors, but it is fewer servers and fewer users.</p>
<p>The third set:</p>
<ul>
<ul>
<li> is virtual</li>
<li>runs on 2008 R2 Hyper-V</li>
<li>has more servers (6 as opposed to 4 or 5 for the other two)</li>
<li>supports more users and more users per server (averages around 20 users per server during business hours)</li>
</ul>
</ul>
<p>Around November, we started upgrading our hosts from 2008 to 2008 R2.&#160; The problems have been getting progressively worse peaking in the last 2 months.&#160; Our last 2008 host was converted in March.&#160; </p>
<p>After some event log review, we were able to correlate some of the issues to the following error in the event log:</p>
<blockquote><p>Event Type:&#160;&#160;&#160; Warning     <br />Event Source:&#160;&#160;&#160; netvsc      <br />Event Category:&#160;&#160;&#160; None      <br />Event ID:&#160;&#160;&#160; 5      <br />Date:&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4/19/2010      <br />Time:&#160;&#160;&#160;&#160;&#160;&#160;&#160; 3:49:53 PM      <br />User:&#160;&#160;&#160;&#160;&#160;&#160;&#160; N/A      <br />Computer:&#160;&#160;&#160; &lt;ServerNameChangedToProtectTheGuilty&gt;      <br />Description:      <br />The miniport &#8216;Microsoft Virtual Machine Bus Network Adapter #4&#8242; hung. </p>
<p>For more information, see Help and Support Center at <a href="http://go.microsoft.com/fwlink/events.asp">http://go.microsoft.com/fwlink/events.asp</a>.      <br />Data:      <br />0000: 00 00 00 00 02 00 52 00&#160;&#160; &#8230;&#8230;R.      <br />0008: 00 00 00 00 05 00 00 80&#160;&#160; &#8230;&#8230;.      <br />0010: 00 00 00 00 00 00 00 00&#160;&#160; &#8230;&#8230;..      <br />0018: 00 00 00 00 00 00 00 00&#160;&#160; &#8230;&#8230;..      <br />0020: 00 00 00 00 00 00 00 00&#160;&#160; &#8230;&#8230;..</p>
</blockquote>
<p>and right behind that would be this message:</p>
<blockquote><p>Event Type:&#160;&#160;&#160; Information     <br />Event Source:&#160;&#160;&#160; netvsc      <br />Event Category:&#160;&#160;&#160; None      <br />Event ID:&#160;&#160;&#160; 4      <br />Date:&#160;&#160;&#160;&#160;&#160;&#160;&#160; 4/19/2010      <br />Time:&#160;&#160;&#160;&#160;&#160;&#160;&#160; 3:49:53 PM      <br />User:&#160;&#160;&#160;&#160;&#160;&#160;&#160; N/A      <br />Computer:&#160;&#160;&#160; &lt;ServerNameChangedToProtectTheGuilty&gt;      <br />Description:      <br />The miniport &#8216;Microsoft Virtual Machine Bus Network Adapter #4&#8242; reset. </p>
<p>For more information, see Help and Support Center at <a href="http://go.microsoft.com/fwlink/events.asp">http://go.microsoft.com/fwlink/events.asp</a>.      <br />Data:      <br />0000: 00 00 00 00 02 00 52 00&#160;&#160; &#8230;&#8230;R.      <br />0008: 00 00 00 00 04 00 00 40&#160;&#160; &#8230;&#8230;.@      <br />0010: 00 00 00 00 00 00 00 00&#160;&#160; &#8230;&#8230;..      <br />0018: 00 00 00 00 00 00 00 00&#160;&#160; &#8230;&#8230;..      <br />0020: 00 00 00 00 00 00 00 00&#160;&#160; &#8230;&#8230;..</p>
</blockquote>
<p>After doing a bit of searching and getting a lot of nothing, and doing some on site troubleshooting without much luck, I finally broke down and called Microsoft.&#160; I spent a day e-mailing back and forth with someone who was suggesting that I try all the things that I had already tried, so I contacted our TAM and had the case escalated.&#160; </p>
<p>The technician then informed me that there was an internal hotfix that had not been fully tested yet, that related to my issue.&#160; It seems that in 2008 R2 Hyper-V guests running Server 2003, the network adapter will hang and then reset under heavy load.&#160; The hotfix has to be applied to the host and then the integration services on the guest have to be updated.&#160; In my environment, when I updated, I had to remove the integration services from the guest before the updated NIC driver would install.&#160; I reported this behavior to the technician I was working with, but he said that he couldn’t reproduce that particular problem and that he had no issues updating his test environment.</p>
<p>It is my understanding that the hotfix will be released under KB981836.&#160; When you install this, it changes the integration services version from 6.1.7600.16385 to 6.1.7600.20683.&#160; You can see this if you look at the driver version on the guest NIC.</p>
]]></content:encoded>
			<wfw:commentRss>http://nukeitmike.com/blog/2010/04/21/netvsc-error-in-hyper-v-guest//feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Temporary Registry Profiles &#8211; Finally an answer</title>
		<link>http://nukeitmike.com/blog/2009/08/11/temporary-registry-profiles-finally-an-answer/</link>
		<comments>http://nukeitmike.com/blog/2009/08/11/temporary-registry-profiles-finally-an-answer/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 13:36:14 +0000</pubDate>
		<dc:creator>Michael</dc:creator>
				<category><![CDATA[General Info]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Process Monitor]]></category>
		<category><![CDATA[profiles]]></category>
		<category><![CDATA[registry]]></category>
		<category><![CDATA[Sysinternals]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://nukeitmike.com/blog/2009/08/11/temporary-registry-profiles-finally-an-answer/</guid>
		<description><![CDATA[We have been having issues at work for a while where a user gets “cannot load the locally stored profile” and a temporary profile is created.&#160; It gets to be quite frustrating for the users because each time they log in they lose any settings that they have made.&#160; Apparently, we arent’ the only company [...]]]></description>
			<content:encoded><![CDATA[<p>We have been having issues at work for a while where a user gets “cannot load the locally stored profile” and a temporary profile is created.&#160; It gets to be quite frustrating for the users because each time they log in they lose any settings that they have made.&#160; Apparently, we arent’ the only company that has been having this issue.&#160; The complete article has a very interesting discussion on the Windows Logical Prefetcher and what the cause of the problem was, but the gist of what you need to fix the problem is update your Citrix client or use the work arounds mentioned below:</p>
<blockquote><p>Now that the problem was understood, Microsoft and Citrix brainstormed on workarounds customers could apply while Citrix worked on an update to the ICA Client that would prevent the sharing violation. One workaround was to disable application prefetching and another was to write a logoff script that deletes the Ssonsvr.exe prefetch files. Citrix published the workarounds in this <a href="http://support.citrix.com/article/CTX118226">Citrix Knowledge Base</a> article and Microsoft in this <a href="http://support.microsoft.com/kb/969100/en-us">Microsoft Knowledge Base</a> article. The update to the ICA Client, which was made available a few days later, changed the network provider DLL to 10 seconds after Ssonsvr.exe launches before returning control to Mpnotify.exe. Because Winlogon waits for Mpnotify to exit before logging on a user, the Logical Prefetcher won’t associate Winlogon’s accesses of the user’s hive with Ssonsvr.exe’s startup. </p>
</blockquote>
<p><a href="http://blogs.technet.com/markrussinovich/archive/2009/08/10/3272210.aspx">Mark&#8217;s Blog : The Case of the Temporary Registry Profiles</a></p>
]]></content:encoded>
			<wfw:commentRss>http://nukeitmike.com/blog/2009/08/11/temporary-registry-profiles-finally-an-answer//feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
