<?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>JasonSamuel.com &#187; Jason Samuel</title>
	<atom:link href="http://www.jasonsamuel.com/author/Jason/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jasonsamuel.com</link>
	<description>Cool stuff I see in the IT world</description>
	<lastBuildDate>Wed, 25 Jan 2012 21:05:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Changing SQL account name, password, or database server name in XenApp 6.5</title>
		<link>http://www.jasonsamuel.com/2012/01/25/changing-sql-account-name-password-or-database-server-name-in-xenapp-6-5/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=changing-sql-account-name-password-or-database-server-name-in-xenapp-6-5</link>
		<comments>http://www.jasonsamuel.com/2012/01/25/changing-sql-account-name-password-or-database-server-name-in-xenapp-6-5/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 21:03:16 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[Citrix XenApp]]></category>
		<category><![CDATA[citrix xenapp]]></category>
		<category><![CDATA[dsmaint]]></category>
		<category><![CDATA[ima service]]></category>
		<category><![CDATA[sql server]]></category>
		<category><![CDATA[xenapp sql datastore]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=1552</guid>
		<description><![CDATA[If you have a Citrix XenApp environment and change your SQL server, you will need to edit your mf20.dsn with the new server name. Located at: C:\Program Files (x86)\Citrix\Independent Management Architecture\mf20.dsn If you changed your SQL credentials, you will need to specify the new user name as well here. If you just change the password [...]<p><a href="http://www.jasonsamuel.com/2012/01/25/changing-sql-account-name-password-or-database-server-name-in-xenapp-6-5/">Changing SQL account name, password, or database server name in XenApp 6.5</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>

More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2011/08/09/getting-admin-access-on-a-sql-server-when-you-dont-know-the-sa-account-password/' rel='bookmark' title='Getting admin access on a SQL Server when you don&#8217;t know the SA account password'>Getting admin access on a SQL Server when you don&#8217;t know the SA account password</a></li>
<li><a href='http://www.jasonsamuel.com/2009/12/02/how-to-reset-the-root-user-account-for-a-mysql-database/' rel='bookmark' title='How to reset the root user account for a MySQL database'>How to reset the root user account for a MySQL database</a></li>
<li><a href='http://www.jasonsamuel.com/2009/08/11/changing-the-host-header-for-an-already-existing-sharepoint-site-application/' rel='bookmark' title='Changing the host header for an already existing Sharepoint site/application'>Changing the host header for an already existing Sharepoint site/application</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you have a Citrix XenApp environment and change your SQL server, you will need to edit your mf20.dsn with the new server name.  Located at:</p>
<p><code>C:\Program Files (x86)\Citrix\Independent Management Architecture\mf20.dsn</code></p>
<p>If you changed your SQL credentials, you will need to specify the new user name as well here.  If you just change the password only and nothing else, you don&#8217;t need to edit your mf20.dsn file.  But you will still need to set the new password or the IMA Service won&#8217;t start.  </p>
<p>Once you make whatever changes you need to the mf20.dsn or not if it&#8217;s just a password change, do the following:</p>
<p>1. Go to Services and stop the IMA service (Citrix Independent Management Architecture) if it is still running.</p>
<p>2. Open command line and Navigate to:</p>
<p><code>C:\Program Files (x86)\Citrix\Independent Management Architecture</code></p>
<p>3. Type:</p>
<p><code>dsmaint config /user:yourdomain\youraccount /pwd:yourpassword /dsn:&quot;C:\Program Files (x86)\Citrix\Independent Management Architecture\mf20.dsn&quot;</code></p>
<p>4. Restart the IMA Service</p>
<p>5. You can also recreate the local host cache database (LHC database) if you have issues starting the IMA service after this.  Type:</p>
<p><code>dsmaint recreatelhc</code></p>
<p>then restart the IMA Service.  It will populate the cache immediately with info from the datastore.</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2012/01/dsmaint-config-citrix.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2012/01/dsmaint-config-citrix.jpg" alt="" title="dsmaint-config-citrix" width="667" height="163" class="aligncenter size-full wp-image-1553" /></a></p>
<p><a href="http://www.jasonsamuel.com/2012/01/25/changing-sql-account-name-password-or-database-server-name-in-xenapp-6-5/">Changing SQL account name, password, or database server name in XenApp 6.5</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>
<p>More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2011/08/09/getting-admin-access-on-a-sql-server-when-you-dont-know-the-sa-account-password/' rel='bookmark' title='Getting admin access on a SQL Server when you don&#8217;t know the SA account password'>Getting admin access on a SQL Server when you don&#8217;t know the SA account password</a></li>
<li><a href='http://www.jasonsamuel.com/2009/12/02/how-to-reset-the-root-user-account-for-a-mysql-database/' rel='bookmark' title='How to reset the root user account for a MySQL database'>How to reset the root user account for a MySQL database</a></li>
<li><a href='http://www.jasonsamuel.com/2009/08/11/changing-the-host-header-for-an-already-existing-sharepoint-site-application/' rel='bookmark' title='Changing the host header for an already existing Sharepoint site/application'>Changing the host header for an already existing Sharepoint site/application</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2012/01/25/changing-sql-account-name-password-or-database-server-name-in-xenapp-6-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Citrix XenServer and StorageLink SSL cert error caused by expired SSL certificate</title>
		<link>http://www.jasonsamuel.com/2012/01/19/citrix-xenserver-and-storagelink-ssl-cert-error-caused-by-expired-ssl-certificate/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=citrix-xenserver-and-storagelink-ssl-cert-error-caused-by-expired-ssl-certificate</link>
		<comments>http://www.jasonsamuel.com/2012/01/19/citrix-xenserver-and-storagelink-ssl-cert-error-caused-by-expired-ssl-certificate/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 03:30:54 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[Citrix XenApp]]></category>
		<category><![CDATA[Citrix XenDesktop]]></category>
		<category><![CDATA[Citrix XenServer]]></category>
		<category><![CDATA[certificate verify failed]]></category>
		<category><![CDATA[citrix storagelink]]></category>
		<category><![CDATA[citrix storagelink gateway]]></category>
		<category><![CDATA[citrix xencenter]]></category>
		<category><![CDATA[citrix xenserver]]></category>
		<category><![CDATA[SSL certificate]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=1512</guid>
		<description><![CDATA[When you try to start a VM in XenServer that talks to a StorageLink Gateway server, you get: 1/19/2012 x:xx:xx PM Error: Starting VM &#039;xxxxxx&#039; - Storage assignment failed (SSL_ERROR_SSL error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed) in the XenCenter log. You can verify the SSL cert by opening up the following in a browser window and replacing [...]<p><a href="http://www.jasonsamuel.com/2012/01/19/citrix-xenserver-and-storagelink-ssl-cert-error-caused-by-expired-ssl-certificate/">Citrix XenServer and StorageLink SSL cert error caused by expired SSL certificate</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>

More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2010/08/05/how-to-create-and-link-an-ssl-certificate-chain-for-a-citrix-netscaler/' rel='bookmark' title='How to create and link an SSL certificate chain for a Citrix Netscaler'>How to create and link an SSL certificate chain for a Citrix Netscaler</a></li>
<li><a href='http://www.jasonsamuel.com/2011/03/07/how-to-properly-use-ssl-redirects-without-getting-certificate-error-messages/' rel='bookmark' title='How to properly use SSL redirects without getting certificate error messages'>How to properly use SSL redirects without getting certificate error messages</a></li>
<li><a href='http://www.jasonsamuel.com/2009/03/12/ssl-certificate-chains-explained/' rel='bookmark' title='SSL certificate chains explained'>SSL certificate chains explained</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>When you try to start a VM in XenServer that talks to a StorageLink Gateway server, you get:</p>
<p><pre><code>1/19/2012 x:xx:xx PM Error: Starting VM &#039;xxxxxx&#039; - Storage assignment failed
(SSL_ERROR_SSL error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate
verify failed)</code></pre></p>
<p>in the XenCenter log.  You can verify the SSL cert by opening up the following in a browser window and replacing the x&#8217;s below with your StorageLink server&#8217;s IP address:</p>
<p>https://xxx.xxx.xxx.xxx:21605</p>
<p>You will get a cert error message in your browser.  Notice the Citrix CVSM SSL certificate issued on 1/19/2009 has expired today 1/19/2012 at 20:25:53 PM (GMT) which is 2:25 PM Central Standard Time.  So basically any VM you try to turn on, reboot, or migrate after the cert expired will not work and return the SSL error above in the XenCenter log.  Yeah, big problem.</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2012/01/citrix-storagelink-ssl-certificate-expired-verify-error.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2012/01/citrix-storagelink-ssl-certificate-expired-verify-error.jpg" alt="" title="citrix-storagelink-ssl-certificate-expired-verify-error" width="408" height="504" class="aligncenter size-full wp-image-1532" /></a></p>
<p>I was the first to call in about this issue soon after the cert expired apparently.  As I was on the phone troubleshooting this with the support engineer, others began calling in with the same problem.  We have escalated it to the highest level at Citrix support and have been assured a workaround and a new cert are both being worked on and something should be available tomorrow morning.  This is going to impact pretty much all StorageLink customers globally so trust me, they are working on it.  Over the past several hours, I have tried numerous workarounds myself but been unable to get a full fix yet.  I&#8217;ve tried self signed certs using OpenSSL, IIS &#038; SelfSSL, etc. but to no avail so far.  The StorageLink Gateway does not use a web server such as lighttpd, Apache, Tomcat, etc.  either so I can&#8217;t force it to use another set of certs on that end.  Apparently it uses API calls.  When you restart the services, you will notice it copies the following SSL certs which are the culprits (into memory I&#8217;m guessing).  I used Process Monitor to verify:</p>
<p><pre><code>D:\Program Files (x86)\Citrix\StorageLink\Server\cacert.pem

D:\Program Files (x86)\Citrix\StorageLink\Server\server.pem</code></pre></p>
<p>I actually did manage to get a little further than I thought on the handful of workarounds I tried, but nothing completely successful yet to regain functionality while we wait for a hotfix.  If you want to try playing with the certs yourself, just remember to restart the StorageLink services after you swap out the certs each time so it pulls them in.  XenCenter should see the SSL cert change and prompt you almost immediately with a warning message.  </p>
<p>I will keep this post updated with the latest developments.  Please post if you are having the same issue or come up with a temporary fix.  In the meantime, call Citrix and open a case so you are in the loop when the fix is released.</p>
<p><strong>UPDATE January, 24th, 2012</strong> &#8211; Citrix has published the fix:</p>
<p><a href="http://support.citrix.com/article/CTX131994">http://support.citrix.com/article/CTX131994</a></p>
<p>Apply the certs using the instructions in the KB.  Shouldn&#8217;t take long at all.</p>
<p><a href="http://www.jasonsamuel.com/2012/01/19/citrix-xenserver-and-storagelink-ssl-cert-error-caused-by-expired-ssl-certificate/">Citrix XenServer and StorageLink SSL cert error caused by expired SSL certificate</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>
<p>More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2010/08/05/how-to-create-and-link-an-ssl-certificate-chain-for-a-citrix-netscaler/' rel='bookmark' title='How to create and link an SSL certificate chain for a Citrix Netscaler'>How to create and link an SSL certificate chain for a Citrix Netscaler</a></li>
<li><a href='http://www.jasonsamuel.com/2011/03/07/how-to-properly-use-ssl-redirects-without-getting-certificate-error-messages/' rel='bookmark' title='How to properly use SSL redirects without getting certificate error messages'>How to properly use SSL redirects without getting certificate error messages</a></li>
<li><a href='http://www.jasonsamuel.com/2009/03/12/ssl-certificate-chains-explained/' rel='bookmark' title='SSL certificate chains explained'>SSL certificate chains explained</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2012/01/19/citrix-xenserver-and-storagelink-ssl-cert-error-caused-by-expired-ssl-certificate/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>How to fix the Error 30105 Citrix servers do not trust the server message in XenDesktop 5.5</title>
		<link>http://www.jasonsamuel.com/2012/01/17/how-to-fix-the-error-30105-citrix-servers-do-not-trust-the-server-message-in-xendesktop-5-5/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-fix-the-error-30105-citrix-servers-do-not-trust-the-server-message-in-xendesktop-5-5</link>
		<comments>http://www.jasonsamuel.com/2012/01/17/how-to-fix-the-error-30105-citrix-servers-do-not-trust-the-server-message-in-xendesktop-5-5/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 18:29:48 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[Citrix XenApp]]></category>
		<category><![CDATA[Citrix XenDesktop]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[xenapp]]></category>
		<category><![CDATA[xendesktop]]></category>
		<category><![CDATA[xml service trust]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=1493</guid>
		<description><![CDATA[When you login to your web interface and launch a new desktop, it might not launch and you might get this error in the application event log on the server: Source: Citrix Web Interface Event ID: 30105&#160;&#160; The Citrix servers do not trust the server. This message was reported from the XML Service at address [...]<p><a href="http://www.jasonsamuel.com/2012/01/17/how-to-fix-the-error-30105-citrix-servers-do-not-trust-the-server-message-in-xendesktop-5-5/">How to fix the Error 30105 Citrix servers do not trust the server message in XenDesktop 5.5</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>

More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2011/11/21/how-to-fix-the-tabctl32-ocx-is-not-registered-error-when-using-the-citrix-quick-launch-tool/' rel='bookmark' title='How to fix the TABCTL32.OCX is not registered error when using the Citrix Quick Launch tool'>How to fix the TABCTL32.OCX is not registered error when using the Citrix Quick Launch tool</a></li>
<li><a href='http://www.jasonsamuel.com/2011/10/26/how-to-force-an-uninstall-of-citrix-xenapp-or-presentation-server-via-command-line/' rel='bookmark' title='How to force an uninstall of Citrix XenApp or Presentation Server via command line'>How to force an uninstall of Citrix XenApp or Presentation Server via command line</a></li>
<li><a href='http://www.jasonsamuel.com/2012/01/05/how-to-fix-pass-through-authentication-the-windows-2008-logon-screen-on-xenapp-6-5web-interface-5-4-using-citrix-receiver/' rel='bookmark' title='How to fix pass-through authentication &amp; the Windows 2008 logon screen on XenApp 6.5/Web Interface 5.4 using Citrix Receiver'>How to fix pass-through authentication &#038; the Windows 2008 logon screen on XenApp 6.5/Web Interface 5.4 using Citrix Receiver</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>When you login to your web interface and launch a new desktop, it might not launch and you might get this error in the application event log on the server:</p>
<p><pre><code>
Source: Citrix Web Interface
Event ID: 30105&nbsp;&nbsp;
The Citrix servers do not trust the server. This message was reported from
the XML Service at address http://localhost/scripts/wpnbr.dll
[com.citrix.xml.NFuseProtocol.RequestAddress].
&nbsp;&nbsp;[Unique Log ID: xxxxxxxx]
</code></pre></p>
<p>In previous versions of Presentation Server, the way to set the XML Trust was to go to your Access Management Console and edit the Properties of the each server.  There would be an &#8220;XML Service&#8221; property near the bottom in the left navigation you could click on.  Check the &#8220;Trust XML requests sent to the XML Service&#8221; box and hit OK.  For the whole farm, open up the farm Properties and go to Farm-wide > XenApp > General and check the &#8220;XML Service DNS address resolution&#8221; check box and hit OK.</p>
<p>In previous versions of XenDesktop, you could go to your DDC and open up the Delivery Services console, right click on the farm properties go to Farm-wide > Desktop Delivery Controller > General and check the &#8220;XML Service DNS address resolution&#8221; and hit OK.</p>
<p>In XenApp 6.0, 6.5, etc. you need to open Delivery Services Console or AppCenter and go to Policies and hit the Computer tab.  Edit the Unfiltered policy and find the XML Service near the bottom in the left hand navigation.  When you click it, you will see &#8220;Trust XML requests&#8221;. Hit Add and set it to &#8220;Enabled&#8221; so the Citrix XML Service will trust requests sent to it and hit OK.  </p>
<p>All this is from memory so if I missed something, let me know.  I don&#8217;t have any consoles in front of me for the different environments at the moment except Desktop Studio or I would post screenshots for you.  Let me know if you need them and I&#8217;ll take some screenshots this evening when I have a bit more time.</p>
<p>And now for the whole reason for this blog post.  In XenDesktop 5.0, 5.5, etc., the Desktop Studio console does not have this option if you look in the Unfiltered policy under HDX Policy.  That&#8217;s a totally different policy.  You have to set the XML Trust via PowerShell now. So to set an XML Trusts policy, open up PowerShell and if you haven&#8217;t already, add the Citrix snapin which will give you the ability to use the Citrix cmdlets:</p>
<p><code>asnp citrix.*</code></p>
<p>Now enable the XML Trust:</p>
<p><code>Set-BrokerSite -TrustRequestsSentToTheXmlServicePort $true</code></p>
<p>Done, if everything goes well, you should see no confirmation or error messages like this:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2012/01/citrix-trust-requests-xml-service-xendesktop.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2012/01/citrix-trust-requests-xml-service-xendesktop-300x27.jpg" alt="" title="citrix-trust-requests-xml-service-xendesktop" width="300" height="27" class="aligncenter size-medium wp-image-1495" /></a></p>
<p>Now if you logout of your web interface, log back in, then attempt to launch the desktop, it should come right up and there are no more errors in your application event log.</p>
<p><a href="http://www.jasonsamuel.com/2012/01/17/how-to-fix-the-error-30105-citrix-servers-do-not-trust-the-server-message-in-xendesktop-5-5/">How to fix the Error 30105 Citrix servers do not trust the server message in XenDesktop 5.5</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>
<p>More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2011/11/21/how-to-fix-the-tabctl32-ocx-is-not-registered-error-when-using-the-citrix-quick-launch-tool/' rel='bookmark' title='How to fix the TABCTL32.OCX is not registered error when using the Citrix Quick Launch tool'>How to fix the TABCTL32.OCX is not registered error when using the Citrix Quick Launch tool</a></li>
<li><a href='http://www.jasonsamuel.com/2011/10/26/how-to-force-an-uninstall-of-citrix-xenapp-or-presentation-server-via-command-line/' rel='bookmark' title='How to force an uninstall of Citrix XenApp or Presentation Server via command line'>How to force an uninstall of Citrix XenApp or Presentation Server via command line</a></li>
<li><a href='http://www.jasonsamuel.com/2012/01/05/how-to-fix-pass-through-authentication-the-windows-2008-logon-screen-on-xenapp-6-5web-interface-5-4-using-citrix-receiver/' rel='bookmark' title='How to fix pass-through authentication &amp; the Windows 2008 logon screen on XenApp 6.5/Web Interface 5.4 using Citrix Receiver'>How to fix pass-through authentication &#038; the Windows 2008 logon screen on XenApp 6.5/Web Interface 5.4 using Citrix Receiver</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2012/01/17/how-to-fix-the-error-30105-citrix-servers-do-not-trust-the-server-message-in-xendesktop-5-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to fix pass-through authentication &amp; the Windows 2008 logon screen on XenApp 6.5/Web Interface 5.4 using Citrix Receiver</title>
		<link>http://www.jasonsamuel.com/2012/01/05/how-to-fix-pass-through-authentication-the-windows-2008-logon-screen-on-xenapp-6-5web-interface-5-4-using-citrix-receiver/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-fix-pass-through-authentication-the-windows-2008-logon-screen-on-xenapp-6-5web-interface-5-4-using-citrix-receiver</link>
		<comments>http://www.jasonsamuel.com/2012/01/05/how-to-fix-pass-through-authentication-the-windows-2008-logon-screen-on-xenapp-6-5web-interface-5-4-using-citrix-receiver/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 18:00:01 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[Citrix XenApp]]></category>
		<category><![CDATA[Citrix XenDesktop]]></category>
		<category><![CDATA[citrix receiver]]></category>
		<category><![CDATA[citrix xenapp]]></category>
		<category><![CDATA[citrix xendesktop]]></category>
		<category><![CDATA[icaclient.adm]]></category>
		<category><![CDATA[pass-through authentication]]></category>
		<category><![CDATA[passthrough authentication]]></category>
		<category><![CDATA[single sign on]]></category>
		<category><![CDATA[SSO]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=1453</guid>
		<description><![CDATA[When you launch Internet Explorer and open your Citrix web interface page, you want it to pass through the user&#8217;s credentials and see all the available apps. When the user clicks on an app, it should launch immediately with no further prompts. Plain and simple. But this is not always the case unfortunately. Sometimes pass-through [...]<p><a href="http://www.jasonsamuel.com/2012/01/05/how-to-fix-pass-through-authentication-the-windows-2008-logon-screen-on-xenapp-6-5web-interface-5-4-using-citrix-receiver/">How to fix pass-through authentication &#038; the Windows 2008 logon screen on XenApp 6.5/Web Interface 5.4 using Citrix Receiver</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>

More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2011/08/29/how-to-deploy-citrix-receiver-or-online-web-plugin-for-xenapp-6-5-on-web-interface-5-4/' rel='bookmark' title='How to Deploy Citrix Receiver or Online Web Plugin for XenApp 6.5 on Web Interface 5.4'>How to Deploy Citrix Receiver or Online Web Plugin for XenApp 6.5 on Web Interface 5.4</a></li>
<li><a href='http://www.jasonsamuel.com/2011/09/13/how-to-deploy-edgesight-5-4-xenapp-agents-using-install-scripts-to-all-your-citrix-farms/' rel='bookmark' title='How to deploy EdgeSight 5.4 XenApp agents using install scripts to all your Citrix Farms'>How to deploy EdgeSight 5.4 XenApp agents using install scripts to all your Citrix Farms</a></li>
<li><a href='http://www.jasonsamuel.com/2011/11/28/getting-java-web-applications-to-work-on-citrix-xenapp/' rel='bookmark' title='Getting Java web applications to work on Citrix XenApp'>Getting Java web applications to work on Citrix XenApp</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>When you launch Internet Explorer and open your Citrix web interface page, you want it to pass through the user&#8217;s credentials and see all the available apps.  When the user clicks on an app, it should launch immediately with no further prompts.  Plain and simple.</p>
<p>But this is not always the case unfortunately.  Sometimes pass-through authentication breaks.  Symptoms I have seen are:</p>
<p>1. You get prompted for credentials at the Web Interface logon (an authentication error occurred error message) like this:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2012/01/0.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2012/01/0-300x190.jpg" alt="" title="0" width="300" height="190" class="aligncenter size-medium wp-image-1466" /></a></p>
<p>2. Passthrough at the web interface works fine but when launching an app, you get a Windows 2008 R2 logon screen from the XenApp server like this:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2012/01/1.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2012/01/1-300x178.jpg" alt="" title="1" width="300" height="178" class="aligncenter size-medium wp-image-1467" /></a></p>
<p>3. You get a combination of both issues above.</p>
<p>Don&#8217;t worry, there are a number of things you need to check that can resolve these issues for you.  One or more of these factors may be the cause of errors in your environment.  Just run through the bullet points below and verify everything:</p>
<p><strong>1.</strong> You need to be using Citrix Receiver Enterprise if possible and not just the plain Citrix Receiver.  The latest Citrix Receiver is 3.1 but 3.0 behaves the same way.  It comes with Online Plugin 13.1.0.89 enabled out of the box.  You can go to the &#8220;Receiver for Windows 3.1 &#8211; Admins&#8221; download page here: </p>
<p><a href="https://www.citrix.com/English/ss/downloads/details.asp?downloadId=2319945&#038;productId=1689163" title="https://www.citrix.com/English/ss/downloads/details.asp?downloadId=2319945&#038;productId=1689163">https://www.citrix.com/English/ss/downloads/details.asp?downloadId=2319945&#038;productId=1689163</a></p>
<p>You will need to download the 55.1 MB zip file.  Inside you will see both &#8220;CitrixReceiver.exe&#8221; and &#8220;CitrixReceiverEnterprise.exe&#8221;.  The one you want to install is the Enterprise version.  This version will install with pass-through authentication support automatically for you as well as Single Sign On (SSO).  You can always install and enable SSO with the standard Receiver using the &#8220;/includeSSON&#8221; and &#8220;ENABLE_SSON=Yes&#8221; command line switches and this actually will give you pass-through authentication features (more on this in bullet point 7 below).  Receiver Enteprise will require administrator access to install on PCs unlike the standard/regular Citrix Receiver.  The difference between the two versions is described here:</p>
<p><a href="http://support.citrix.com/proddocs/topic/receiver-31-windows/ica-clients-deciding-v2.html" title="http://support.citrix.com/proddocs/topic/receiver-31-windows/ica-clients-deciding-v2.html">http://support.citrix.com/proddocs/topic/receiver-31-windows/ica-clients-deciding-v2.html</a></p>
<p>Note how Enterprise has &#8220;Single sign-on/pass-through authentication&#8221; but standard only has &#8220;Single sign-on&#8221;?</p>
<p>Now here&#8217;s a big problem.  When an end user tries to download the Receiver off the Citrix website, it will not show Enterprise:</p>
<p><a href="http://www.citrix.com/receiver" title="http://www.citrix.com/receiver">http://www.citrix.com/receiver</a></p>
<p>Go ahead and choose Windows in the drop down.  The next page will show the download for Receiver.  It does not specify if it is Standard or Enterprise.  If you download the executable, it is just CitrixReceiver.exe which is the Standard version you had downloaded above.</p>
<p>So if you are troubleshooting pass-through authentication, the first thing you want to make sure of is go to Add/Remove programs on the user&#8217;s PC and verify it says &#8220;Citrix Receiver (Enterprise)&#8221; like below and not just &#8220;Citrix Receiver&#8221;:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2012/01/2.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2012/01/2-300x217.jpg" alt="" title="2" width="300" height="217" class="aligncenter size-medium wp-image-1454" /></a></p>
<p>I&#8217;m guessing Citrix only offers the standard version to end users so they are not confused on which one to download.  The problem is if you are in an environment where Receiver Enterprise is not deployed centrally or if users take it upon themselves to install the latest Receiver from Citrix&#8217;s website (which does not require admin rights btw), they can cause a big mess and you are stuck troubleshooting it.</p>
<p>Another tip, you need to restart your PC for the pass-through authentication to work after you finish installing Receiver Enterprise 3.1.  It will sometimes not start the Single Sign On process until you restart your PC.  Or it will start it but it still not correctly passthrough credentials for whatever reason.  So your best bet is to restart your PC to make sure everything is working correctly.  Once you restart your PC, open Task Manager and verify &#8220;ssonsvr.exe&#8221; is running like below:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2012/01/3.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2012/01/3-271x300.jpg" alt="" title="3" width="271" height="300" class="aligncenter size-medium wp-image-1455" /></a></p>
<p>Here is another screenshot from Process Explorer which shows the dependency a bit better:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2012/01/7.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2012/01/7-300x27.jpg" alt="" title="7" width="300" height="27" class="aligncenter size-medium wp-image-1462" /></a></p>
<p>You can also go to the registry and under &#8220;<code>HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ICA Client\SSON</code>&#8221; it should have a string value called &#8220;Enable&#8221; with a value data of &#8220;True&#8221; like this.  This means SSO was installed. This key will be there if you installed Enterprise or forced the SSO install using Standard.  Here is a Windows XP example:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2012/01/3a.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2012/01/3a-293x300.jpg" alt="" title="3a" width="293" height="300" class="aligncenter size-medium wp-image-1456" /></a></p>
<p>Another thing you can do, and I&#8217;m on an XP 32 bit box right now, is navigate to &#8220;<code>C:\Program Files\Citrix\ICA Client</code>&#8221; and open up appsrv.ini in Notepad.  You should see &#8220;<code>SSOnUserSetting=On</code>&#8221; at the very bottom which means that single signon is enabled.</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2012/01/3b.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2012/01/3b-300x218.jpg" alt="" title="3b" width="300" height="218" class="aligncenter size-medium wp-image-1457" /></a></p>
<p>Another check to verify for Enterprise installation, go to &#8220;<code>HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\PNAgent</code>&#8221; in the registry and look for the DWORD value &#8220;<code>EnablePassThrough</code>&#8221;.  It should have a value of &#8220;1&#8243; meaning it is enabled.  Standard Receiver doesn&#8217;t include the PNA plugin so you won&#8217;t even have this key if you were using it.</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2012/01/3c.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2012/01/3c-292x300.jpg" alt="" title="3c" width="292" height="300" class="aligncenter size-medium wp-image-1458" /></a></p>
<p><strong>2. </strong>You need to verify the Citrix Receiver group policy allowing pass-through authentication has been applied to the PC you are working on.  If you are just working on a test machine, you can apply this policy to just that PC for testing purposes instead of through AD.  Just open up gpedit.msc on the PC, right click on &#8220;Administrative Templates&#8221; and then click &#8220;Add/Remove Templates&#8230;&#8221;.  Click Add and choose the following file:</p>
<p><code>C:\Program Files\Citrix\ICA Client\Configuration\icaclient.adm</code></p>
<p>Once you have added it, navigate down to Computer Configuration > Administrative Templates > Citrix Components > Citrix Receiver > Authentication and you will see an option called &#8220;Local user name and password&#8221;.  Double click on it and set it to Enabled.  You need to have &#8220;Enable pass-through authentication&#8221; and &#8220;Allow pass-through authentication for all ICA connections&#8221; enabled.  So it will look like this:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2012/01/4.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2012/01/4-300x211.jpg" alt="" title="4" width="300" height="211" class="aligncenter size-medium wp-image-1459" /></a></p>
<p>If you expand the User Configuration section, you will see the same settings under there as well.  I usually have it set there as well but it is not necessary.  In my testing, you can leave it enabled at the computer level and it will work.  The changes should be instant from my testing but if they don&#8217;t take, try doing a &#8220;<code>gpupdate /force</code>&#8221;, restarting your browser, and/or rebooting your machine.</p>
<p><strong>3. </strong>There is a  known issue with XenApp 6.5 where pass-through authentication will not work.  You need to apply Hotfix XA650W2K8R2X64001 to all your XenApp servers.  You can get it here:</p>
<p><a href="http://support.citrix.com/article/CTX130794" title="http://support.citrix.com/article/CTX130794">http://support.citrix.com/article/CTX130794</a></p>
<p>This will update your <code>ccticket.dlls</code> among other files that will fix the issue.</p>
<p><strong>4. </strong>Verify on your XenApp servers that the RDP connection is set to not prompt for passwords.  Under the Remote Desktop Session Host Configuration console, doubleclick on RDP-Tcp, then click the Log on Settings tab.  Verify &#8220;Use client-provided log on information&#8221; is selected and &#8220;Always prompt for password&#8221; is NOT checked:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2012/01/5.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2012/01/5-300x281.jpg" alt="" title="5" width="300" height="281" class="aligncenter size-medium wp-image-1460" /></a></p>
<p><strong>5. </strong>Verify in the Web Interface console that you have specified pass-through authentication for the XenApp site.  Just open the Web Interface Management console, right click on your site, and click Authentication Methods.  Pass-through should be checked here:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2012/01/6.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2012/01/6-300x216.jpg" alt="" title="6" width="300" height="216" class="aligncenter size-medium wp-image-1461" /></a></p>
<p>It should also be done on the XenApp Services site if you need it.</p>
<p><strong>6. </strong>Pass-through authentication will not work in Firefox.  I&#8217;ve added my web interface to the Trusted URIs config in FireFox but it won&#8217;t work.  NTLM Passthrough authentication works fine on the web interface, but it won&#8217;t carry to the XenApp server when launching an app.  You can add your WI to the list by typing this in the address bar in FireFox:</p>
<p><strong><code>about:config</code></strong></p>
<p>Then just type &#8220;NTLM&#8221; in the filter box.  Add the URL (without the <code>http:\\</code>) in the &#8220;<code>network.automatic-ntlm-auth.trusted-uris</code>&#8221; box.  If you do manage to somehow getting pass-through authentication to work in Firefox, please leave a comment below.  I&#8217;m not a huge IE fan. <img src='http://www.jasonsamuel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Quick note in IE, you do not need to add your WI URL to the Trusted Sites security zone for passthrough to work.  Local Intranet is all you need from my experience.  Sometimes you may get prompted at the web interface for credentials.  Just make sure the site appears in Local Intranet and not Internet.  I&#8217;ve seen issues where NTLM passthrough may not work in this scenario.</p>
<p><strong>7.</strong> One final note, I did some additional testing using the Standard Receiver and command line installation.  If you install Standard Receiver using command line with the following:</p>
<p><strong><code>CitrixReceiver.exe /includeSSON ENABLE_SSON=Yes</code></strong></p>
<p>You will see in Process Explorer or Task Manager that &#8220;ssonsvr.exe&#8221; is indeed running after the install.  In my testing I was able to get it to actually pass-through but on certain XenApp 6.5 servers only.  They had the pass-through hotfix I talk about below in bullet point 3 above applied.  This was the only exception.  And it only worked immediately after the Citrix Receiver install without rebooting the system.  After rebooting the PC, it behaved like all other regular unpatched XenApp 6.5 and below farms.  I would get the Server 2008 logon.  </p>
<p>I then added the .adm template and configured it as described in bullet point 2 above and pass-through authentication worked fine with both patched and unpatched XenApp 6.5 servers.  It even worked on XenApp 5 Feature Pack 3 farms with Web Interface 5.3 just fine.  </p>
<p>If you check Process Explorer as you launch an app, the whole chain is there from the single sign on service to the connection manager down to the ICA client/Online Plugin:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2012/01/8.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2012/01/8-300x21.jpg" alt="" title="8" width="300" height="21" class="aligncenter size-medium wp-image-1482" /></a></p>
<p>So bottom line, you can get standard Receiver to work with passthrough but only if using these command line switches during install.  I would just deploy Receiver Enterprise to begin with to avoid having issues down the road.  It just seems to make more sense to me.</p>
<p><a href="http://www.jasonsamuel.com/2012/01/05/how-to-fix-pass-through-authentication-the-windows-2008-logon-screen-on-xenapp-6-5web-interface-5-4-using-citrix-receiver/">How to fix pass-through authentication &#038; the Windows 2008 logon screen on XenApp 6.5/Web Interface 5.4 using Citrix Receiver</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>
<p>More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2011/08/29/how-to-deploy-citrix-receiver-or-online-web-plugin-for-xenapp-6-5-on-web-interface-5-4/' rel='bookmark' title='How to Deploy Citrix Receiver or Online Web Plugin for XenApp 6.5 on Web Interface 5.4'>How to Deploy Citrix Receiver or Online Web Plugin for XenApp 6.5 on Web Interface 5.4</a></li>
<li><a href='http://www.jasonsamuel.com/2011/09/13/how-to-deploy-edgesight-5-4-xenapp-agents-using-install-scripts-to-all-your-citrix-farms/' rel='bookmark' title='How to deploy EdgeSight 5.4 XenApp agents using install scripts to all your Citrix Farms'>How to deploy EdgeSight 5.4 XenApp agents using install scripts to all your Citrix Farms</a></li>
<li><a href='http://www.jasonsamuel.com/2011/11/28/getting-java-web-applications-to-work-on-citrix-xenapp/' rel='bookmark' title='Getting Java web applications to work on Citrix XenApp'>Getting Java web applications to work on Citrix XenApp</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2012/01/05/how-to-fix-pass-through-authentication-the-windows-2008-logon-screen-on-xenapp-6-5web-interface-5-4-using-citrix-receiver/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Can&#8217;t console to frozen XenServer host but VMs are still running</title>
		<link>http://www.jasonsamuel.com/2011/12/13/cant-console-to-frozen-xenserver-host-but-vms-are-still-running/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=cant-console-to-frozen-xenserver-host-but-vms-are-still-running</link>
		<comments>http://www.jasonsamuel.com/2011/12/13/cant-console-to-frozen-xenserver-host-but-vms-are-still-running/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 22:19:09 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[Citrix XenServer]]></category>
		<category><![CDATA[citrix xenserver]]></category>
		<category><![CDATA[disable ha]]></category>
		<category><![CDATA[dom0]]></category>
		<category><![CDATA[logrotate]]></category>
		<category><![CDATA[logrotate.conf]]></category>
		<category><![CDATA[restart toolstack]]></category>
		<category><![CDATA[xapi]]></category>
		<category><![CDATA[xe commands]]></category>
		<category><![CDATA[xenserver]]></category>
		<category><![CDATA[xenserver logs]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=1419</guid>
		<description><![CDATA[Let&#8217;s say a host in your pool won&#8217;t restart a VM and freezes half way (that wonderful yellow icon). If you hit the console tab, it might be blank. If you hit the console tab of the host, it might also be blank. If you SSH in it may connect, but you can&#8217;t pass any [...]<p><a href="http://www.jasonsamuel.com/2011/12/13/cant-console-to-frozen-xenserver-host-but-vms-are-still-running/">Can&#8217;t console to frozen XenServer host but VMs are still running</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>

More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2009/09/21/running-open-solaris-on-citrix-xenserver-5-5-shows-no-ip-address-associated-with-the-vm/' rel='bookmark' title='Running Open Solaris on Citrix XenServer 5.5 shows no IP address associated with the VM'>Running Open Solaris on Citrix XenServer 5.5 shows no IP address associated with the VM</a></li>
<li><a href='http://www.jasonsamuel.com/2011/07/14/how-to-use-an-external-usb-drive-as-a-storage-repository-in-xenserver-5-6/' rel='bookmark' title='How to use an external USB drive as a storage repository in XenServer 5.6'>How to use an external USB drive as a storage repository in XenServer 5.6</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s say a host in your pool won&#8217;t restart a VM and freezes half way (that wonderful yellow icon).  If you hit the console tab, it might be blank.  If you hit the console tab of the host, it might also be blank.  If you SSH in it may connect, but you can&#8217;t pass any xe commands.  It just sits.  If you attempt to migrate or stop a VM, it hangs.  The host is essentially frozen but VMs are still running on it just fine.</p>
<p>This is all a pretty good sign the XAPI service on the host is hung up.  XAPI is the XenServer management toolstack which pretty much controls everything on the XenServer host.  If the &#8220;XenAPI&#8221; toolstack is hosed, XenCenter can&#8217;t talk to the host and you probably won&#8217;t be able to pass any xe commands. The Xen API is what controls everything at the host layer.  Quick way to troubleshoot this:</p>
<p>1. SSH into the host with the issue.</p>
<p>2. Type:</p>
<p><strong><code>df -h</code></strong></p>
<p>which will show the disk space usage on the file system.  The &#8220;<code>-h</code>&#8221; switch will display it in gigabytes.  Much easier to read.  We need to check the root partition and see if it is full.  This is typically 4 GB and can be filled up by logs which may cause the XAPI service to stop.  If the XenServer root disk is full, you will probably see it drop out of XenCenter because XAPI is stopped.  You won&#8217;t be able to restart the XAPI service until you free up some space.  Here is an example of the root being 100% full:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/12/xapi1.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/12/xapi1-300x113.jpg" alt="" title="xapi1" width="300" height="113" class="aligncenter size-medium wp-image-1425" /></a></p>
<p>Extra tip, once you log in to one XenServer host, you can check other hosts remotely without having to SSH into each one in a different terminal.  Just type:</p>
<p><strong><code>ssh &lt;RemoteXenServerIPorName&gt; df -h</code></strong></p>
<p>3.  If the root is full like above, type:</p>
<p><strong><code>cd /var/log</code></strong></p>
<p>then</p>
<p><strong><code>ls</code></strong></p>
<p>to list the logs.  Type:</p>
<p><strong><code>du –ksh *.*</code></strong></p>
<p>to list the logs with the sizes.  If you find one that is too big, delete it:</p>
<p><strong><code>rm &lt;logname&gt;.log</code></strong></p>
<p>From here you can skip ahead below to step 6 and try restarting XAPI.</p>
<p>Also, you might want to consider moving your logs off to a different volume.  If you fill your dom0 root, you&#8217;re basically hosing the XenServer.  Citrix has a good article on how to move the <code>/var/log</code> directory to a different volume here:</p>
<p><a href="http://support.citrix.com/article/CTX130245">http://support.citrix.com/article/CTX130245</a></p>
<p>or retain fewer logs by editing logrotate.conf here:</p>
<p><a href="http://support.citrix.com/article/CTX131619">http://support.citrix.com/article/CTX131619</a></p>
<p>4. If your root is not full, the next thing you probably want to do is disable HA.  You can do this in the XenCenter console or you can just type:</p>
<p><strong><code>xe pool-ha-disable</code></strong></p>
<p>or if you want to disable HA on a host (you&#8217;ll have to run this on each host though):</p>
<p><strong><code>host-emergency-ha-disable force=true</code></strong></p>
<p>5. After disabling HA, restart the toolstack:</p>
<p><strong><code>xe-toolstack-restart</code></strong></p>
<p>This will disconnect all the hosts in the pool in XenCenter but don&#8217;t panic.  Give it 10-20 seconds, once the toolstack is restarted the hosts will all reconnect to XenCenter.  All pending actions like reboots, migrations, etc. will all stop when restarting the tool stack so you have a clean slate.</p>
<p>6. You should be able to console into your host with the issues now.  Type:</p>
<p><strong><code>service xapi status</code></strong></p>
<p>and see if it is running.  If you want to see how taxed XAPI is, type:</p>
<p><strong><code>top</code></strong></p>
<p>to see all the running processing.  If XAPI is taking up 40% CPU or more, that is a good indication something is hung up on it.</p>
<p>If XAPI is not running or is very taxed, type:</p>
<p><strong><code>service xapi restart</code></strong></p>
<p>if it hangs at &#8220;Stopping xapi&#8221; or &#8220;Starting xapi&#8221;, you may need to kill the process.</p>
<p>Type:</p>
<p><strong><code>kill &lt;pid&gt;</code></strong></p>
<p>using the process ID from when you ran &#8220;service xapi status&#8221; or &#8220;top&#8221;.  Then service xapi status to verify all xapi processes have stopped.  Then you can type:</p>
<p><strong><code>service xapi restart</code></strong></p>
<p>again if it didn&#8217;t automatically try and start already.  Eventually it will say:</p>
<p><strong><code>Starting xapi: ....start-of-day complete.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[&nbsp;&nbsp;OK&nbsp;&nbsp;]</code></strong></p>
<p>and you should see the host pop back in your XenCenter console.  If you go back and run top, xapi should be taking up around 1% or less CPU.  </p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/12/xapi2.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/12/xapi2-300x186.jpg" alt="" title="xapi2" width="300" height="186" class="aligncenter size-medium wp-image-1421" /></a></p>
<p>You can type:</p>
<p><strong><code>xe task-list</code></strong></p>
<p>to see all the running tasks which shouldn&#8217;t be much at this point.  Don&#8217;t forget to re-enable HA after you&#8217;re done.  Hope this helps someone.</p>
<p><a href="http://www.jasonsamuel.com/2011/12/13/cant-console-to-frozen-xenserver-host-but-vms-are-still-running/">Can&#8217;t console to frozen XenServer host but VMs are still running</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>
<p>More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2009/09/21/running-open-solaris-on-citrix-xenserver-5-5-shows-no-ip-address-associated-with-the-vm/' rel='bookmark' title='Running Open Solaris on Citrix XenServer 5.5 shows no IP address associated with the VM'>Running Open Solaris on Citrix XenServer 5.5 shows no IP address associated with the VM</a></li>
<li><a href='http://www.jasonsamuel.com/2011/07/14/how-to-use-an-external-usb-drive-as-a-storage-repository-in-xenserver-5-6/' rel='bookmark' title='How to use an external USB drive as a storage repository in XenServer 5.6'>How to use an external USB drive as a storage repository in XenServer 5.6</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2011/12/13/cant-console-to-frozen-xenserver-host-but-vms-are-still-running/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Getting Java web applications to work on Citrix XenApp</title>
		<link>http://www.jasonsamuel.com/2011/11/28/getting-java-web-applications-to-work-on-citrix-xenapp/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=getting-java-web-applications-to-work-on-citrix-xenapp</link>
		<comments>http://www.jasonsamuel.com/2011/11/28/getting-java-web-applications-to-work-on-citrix-xenapp/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 21:59:35 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[Citrix XenApp]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[citrix xenapp]]></category>
		<category><![CDATA[internet explorer]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[java web applets]]></category>
		<category><![CDATA[jre]]></category>
		<category><![CDATA[publish IE]]></category>
		<category><![CDATA[publish URL]]></category>
		<category><![CDATA[xenapp]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=1383</guid>
		<description><![CDATA[You might get a request to to publish an Internet Explorer URL/link in XenApp for whatever reason. Web applications that use Java Runtime Environment (JRE)/Java applets do not play nicely with Citrix XenApp. The main problem is the Java cache. It wants to write its cache to: C:\Program Files\Java\Cache\username\Sun\Java\Deployment\cache by default during a XenApp session [...]<p><a href="http://www.jasonsamuel.com/2011/11/28/getting-java-web-applications-to-work-on-citrix-xenapp/">Getting Java web applications to work on Citrix XenApp</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>

More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2011/08/29/how-to-deploy-citrix-receiver-or-online-web-plugin-for-xenapp-6-5-on-web-interface-5-4/' rel='bookmark' title='How to Deploy Citrix Receiver or Online Web Plugin for XenApp 6.5 on Web Interface 5.4'>How to Deploy Citrix Receiver or Online Web Plugin for XenApp 6.5 on Web Interface 5.4</a></li>
<li><a href='http://www.jasonsamuel.com/2011/10/26/how-to-force-an-uninstall-of-citrix-xenapp-or-presentation-server-via-command-line/' rel='bookmark' title='How to force an uninstall of Citrix XenApp or Presentation Server via command line'>How to force an uninstall of Citrix XenApp or Presentation Server via command line</a></li>
<li><a href='http://www.jasonsamuel.com/2011/09/13/how-to-deploy-edgesight-5-4-xenapp-agents-using-install-scripts-to-all-your-citrix-farms/' rel='bookmark' title='How to deploy EdgeSight 5.4 XenApp agents using install scripts to all your Citrix Farms'>How to deploy EdgeSight 5.4 XenApp agents using install scripts to all your Citrix Farms</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>You might get a request to to publish an Internet Explorer URL/link in XenApp for whatever reason.  Web applications that use Java Runtime Environment (JRE)/Java applets do not play nicely with Citrix XenApp.  The main problem is the Java cache.  It wants to write its cache to:</p>
<p><code>C:\Program Files\Java\Cache\username\Sun\Java\Deployment\cache</code></p>
<p>by default during a XenApp session but nothing ever gets populated past the &#8220;username&#8221; part.  The directory underneath will be blank and your web application will never load the Java applet.</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/11/21.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/11/21.jpg" alt="" title="2" width="472" height="347" class="aligncenter size-full wp-image-1388" /></a></p>
<p>I&#8217;m not a Java expert and I&#8217;m not even going to claim the following is any kind of best practice.  But this is what I have done in my environments to make the web apps work using XenApp.  If you have a better way of doing it, please do comment in this post.</p>
<p>So a little background, I am using Windows Server 2008 R2 with IE9 with Java (JRE) 6 Update 26 installed because my web app requires that specific version of Java.</p>
<p>1. Go to &#8220;<code>C:\WINDOWS\Sun\Java\Deployment</code>&#8221; and create a file called &#8220;<code>deployment.config</code>&#8221; with the following:</p>
<p><code>deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties </code></p>
<p>2. Now create a file called &#8220;<code>deployment.properties</code>&#8221; in the same folder with your custom properties.  What I do is generate a deployment file and then copy it over to this directory.  To do this, open up Internet Explorer and go to your web app.  Once Java is invoked, you will notice the Java icon in the notification bar in the bottom right.  </p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/11/11.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/11/11.jpg" alt="" title="1" width="154" height="27" class="aligncenter size-full wp-image-1387" /></a></p>
<p>Right click on it > Open Control Panel > Settings and you will see a path where temporary files are kept.  </p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/11/0.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/11/0.jpg" alt="" title="0" width="474" height="348" class="aligncenter size-full wp-image-1406" /></a></p>
<p>This is the default Java cache and will look like:</p>
<p><code>C:\Users\username\AppData\LocalLow\Sun\Java\Deployment\cache</code></p>
<p>Navigate to:</p>
<p><code>C:\Users\username\AppData\LocalLow\Sun\Java\Deployment\</code></p>
<p>and there will be a file called &#8220;<code>deployment.properties</code>&#8221; that was just generated for you.  Just copy it over to the &#8220;<code>C:\WINDOWS\Sun\Java\Deployment</code>&#8221; folder as is.</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/11/31.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/11/31-300x169.jpg" alt="" title="3" width="300" height="169" class="aligncenter size-medium wp-image-1391" /></a></p>
<p>Now you need to edit this file and specify the Java cache to be somewhere else.  In my case, I want it to go to a folder on my D: drive called JavaCache.  So all I add is this line (make sure the slashes are just like this, I know it&#8217;s a little odd):</p>
<p><code>deployment.user.cachedir=D\:\\JavaCache</code></p>
<p>So now my &#8220;<code>deployment.properties</code>&#8221; file will look like this:</p>
<p><pre><code>#deployment.properties
#Mon Nov 28 13:17:40 CST 2011
deployment.javaws.cache.update=true
deployment.version=6.0
deployment.user.cachedir=D\:\\JavaCache
deployment.capture.mime.types=true
deployment.javapi.cache.update=true
deployment.browser.path=C\:\\Program Files (x86)\\Internet Explorer\\iexplore.exe
#Java Web Start jre&#039;s
#Mon Nov 28 13:17:40 CST 2011
deployment.javaws.jre.0.registered=true
deployment.javaws.jre.0.platform=1.6
deployment.javaws.jre.0.osname=Windows
deployment.javaws.jre.0.path=C\:\\Program Files (x86)\\Java\\jre6\\bin\\javaw.exe
deployment.javaws.jre.0.product=1.6.0_26
deployment.javaws.jre.0.osarch=x86
deployment.javaws.jre.0.location=http\://java.sun.com/products/autodl/j2se
deployment.javaws.jre.0.enabled=true
deployment.javaws.jre.0.args=</code></pre></p>
<p>Yours will probably look different than mine depending on which version of JRE you have installed.</p>
<p>3. Make sure to create the location you specified above.  It can be a blank folder and will be populated the first time someone invokes Java.  So in my case, I created:</p>
<p><code>D:\JavaCache</code></p>
<p>4. Now publish IE and the URL like you normally would in the XenApp console.  <strong>IMPORTANT NOTE:</strong>  If you are using 32 bit IE and installed 32 bit Java, <strong>DO NOT</strong> publish 64 bit IE by accident.  It will not be able to use the 32 bit Java.  You will need to install 64 bit Java if you intend to use 64 bit IE.</p>
<p>Here is an example of how 32 bit IE should be published on Server 2008 R2 in XenApp 6.5:</p>
<p>Command line:<br />
<code>&quot;C:\Program Files (x86)\Internet Explorer\iexplore.exe&quot; &quot;http://www.google.com&quot;</code></p>
<p>Working directory:<br />
<code>C:\Program Files (x86)\Internet Explorer</code></p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/11/4.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/11/4-300x233.jpg" alt="" title="4" width="300" height="233" class="aligncenter size-medium wp-image-1394" /></a></p>
<p>5. That&#8217;s it, now launch your published IE web app from your desktop via the WI and it should load just fine.  Once Java is invoked, verify your Java cache is pointed at the new location.  Just look in your notification area for the Java icon, right click on it > Open Control Panel > Settings and you should see &#8220;<code>D:\JavaCache</code>&#8221;.</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/11/5.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/11/5.jpg" alt="" title="5" width="473" height="347" class="aligncenter size-full wp-image-1398" /></a></p>
<p>One interesting thing to note, older versions of Java pull their deployment configuration from a different location.  So if putting everything in: </p>
<p><code>C:\WINDOWS\Sun\Java\Deployment</code></p>
<p>does not work for you, try copying them to:</p>
<p><code>C:\Program Files (x86)\Java\jre6\lib</code></p>
<p>and everything should work.  Just make sure to edit your &#8220;<code>deployment.config</code>&#8221; accordingly with the new path to &#8220;<code>deployment.properties</code>&#8221;.  An example, I have a web app that requires JRE 6 Update 11 and it pulls the deployment info from the lib folder and completely ignores the one in the Windows folder:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/11/6.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/11/6-300x275.jpg" alt="" title="6" width="300" height="275" class="aligncenter size-medium wp-image-1400" /></a></p>
<p>I also want to note that Oracle has pretty good documentation on configuring the deployment configuration file to your liking here:</p>
<p><a href="http://docs.oracle.com/javase/1.5.0/docs/guide/deployment/deployment-guide/properties.html">http://docs.oracle.com/javase/1.5.0/docs/guide/deployment/deployment-guide/properties.html</a></p>
<p>You can do quite a bit of customization to it.  Some of my web apps require certain things to be configured in Java such as suppressing certain warning messages and I have used this article to set those switches.  Again, I&#8217;m not a Java expert so there may be an easier way of doing this but this is how I have been able to get my Java web apps to work with XenApp.  Let me know of your experiences.</p>
<p><a href="http://www.jasonsamuel.com/2011/11/28/getting-java-web-applications-to-work-on-citrix-xenapp/">Getting Java web applications to work on Citrix XenApp</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>
<p>More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2011/08/29/how-to-deploy-citrix-receiver-or-online-web-plugin-for-xenapp-6-5-on-web-interface-5-4/' rel='bookmark' title='How to Deploy Citrix Receiver or Online Web Plugin for XenApp 6.5 on Web Interface 5.4'>How to Deploy Citrix Receiver or Online Web Plugin for XenApp 6.5 on Web Interface 5.4</a></li>
<li><a href='http://www.jasonsamuel.com/2011/10/26/how-to-force-an-uninstall-of-citrix-xenapp-or-presentation-server-via-command-line/' rel='bookmark' title='How to force an uninstall of Citrix XenApp or Presentation Server via command line'>How to force an uninstall of Citrix XenApp or Presentation Server via command line</a></li>
<li><a href='http://www.jasonsamuel.com/2011/09/13/how-to-deploy-edgesight-5-4-xenapp-agents-using-install-scripts-to-all-your-citrix-farms/' rel='bookmark' title='How to deploy EdgeSight 5.4 XenApp agents using install scripts to all your Citrix Farms'>How to deploy EdgeSight 5.4 XenApp agents using install scripts to all your Citrix Farms</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2011/11/28/getting-java-web-applications-to-work-on-citrix-xenapp/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to fix the TABCTL32.OCX is not registered error when using the Citrix Quick Launch tool</title>
		<link>http://www.jasonsamuel.com/2011/11/21/how-to-fix-the-tabctl32-ocx-is-not-registered-error-when-using-the-citrix-quick-launch-tool/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-fix-the-tabctl32-ocx-is-not-registered-error-when-using-the-citrix-quick-launch-tool</link>
		<comments>http://www.jasonsamuel.com/2011/11/21/how-to-fix-the-tabctl32-ocx-is-not-registered-error-when-using-the-citrix-quick-launch-tool/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 22:49:34 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[Citrix XenApp]]></category>
		<category><![CDATA[citrix ica file creator]]></category>
		<category><![CDATA[citrix quicklaunch]]></category>
		<category><![CDATA[citrix xenapp]]></category>
		<category><![CDATA[create ica file]]></category>
		<category><![CDATA[create ica icon]]></category>
		<category><![CDATA[ica creator]]></category>
		<category><![CDATA[ica file]]></category>
		<category><![CDATA[ica file creator]]></category>
		<category><![CDATA[quick launch tool]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=1366</guid>
		<description><![CDATA[Citrix provides and awesome tool called Citrix QuickLaunch that can do many things including creating ICA files for your newer XenApp 6.5, XenApp 6, XenApp 5 farms, etc. It works great as an ICA file creator for XenApp 6.5 or any versions below it through PS 4.0. You can download it here: http://support.citrix.com/article/CTX122536 I like [...]<p><a href="http://www.jasonsamuel.com/2011/11/21/how-to-fix-the-tabctl32-ocx-is-not-registered-error-when-using-the-citrix-quick-launch-tool/">How to fix the TABCTL32.OCX is not registered error when using the Citrix Quick Launch tool</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>

More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2009/04/02/sharepoint-warmup-tool-speed-up-your-sharepoint-loading-time/' rel='bookmark' title='Sharepoint Warmup Tool &#8211; Speed up your Sharepoint loading time'>Sharepoint Warmup Tool &#8211; Speed up your Sharepoint loading time</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Citrix provides and awesome tool called Citrix QuickLaunch that can do many things including creating ICA files for your newer XenApp 6.5, XenApp 6, XenApp 5 farms, etc.  It works great as an ICA file creator for XenApp 6.5 or any versions below it through PS 4.0.  You can download it here:</p>
<p><a href="http://support.citrix.com/article/CTX122536">http://support.citrix.com/article/CTX122536</a></p>
<p>I like the fact it talks about the TABCTL32.OCX not being registered error in the documentation:</p>
<p><pre><code>
“Run-time error ‘339’:
Component ‘tabctl32.ocx’ or one of its dependencies not
correctly registered: a file is missing or invalid”
</code></pre></p>
<p>Unfortunately it doesn&#8217;t tell you exactly where you can acquire the missing file.  Instead of running around trying to fix it, I&#8217;ve hosted the TABCTL32.OCX here in zip format so you can download it and register it easily:</p>
<p><a href='http://www.jasonsamuel.com/wp-content/uploads/2011/11/TABCTL32.zip'>http://www.jasonsamuel.com/wp-content/uploads/2011/11/TABCTL32.zip</a></p>
<p>On an XP box, just unzip into <code>c:\windows\system32</code> and then open command prompt.  Type:</p>
<p><code>regsvr32 system32\TABCTL32.OCX</code></p>
<p>and it should pop up with a box saying &#8220;<code>DllRegisterServer in system32\TABCTL32.OCX succeeded</code>&#8221;.</p>
<p>Now you can launch CitrixQuickLaunch.exe and it will load right up.  Weird thing I noticed today, the tool says &#8220;Citrix QuickLaunch Tool&#8221; but the CTX documentation says &#8220;Citrix Quick Launch&#8221;.  So which is correct? <img src='http://www.jasonsamuel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The screenshots in the article are very good.  If you are using it just to create an ICA icon, make sure to click the &#8220;Options&#8221; button to expands the options and select &#8220;to a Published App&#8221;.  Don&#8217;t forget to change the XML service port to 8080 instead of the default 80 or it will fail to connect to the XML Broker (granted you are using port 8080).  Then just click &#8220;Write ICA File&#8221; and choose a location to save your ICA file.</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/11/citrix-quick-launch-tool-create-ica-file.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/11/citrix-quick-launch-tool-create-ica-file.jpg" alt="" title="citrix-quick-launch-tool-create-ica-file" width="486" height="474" class="aligncenter size-full wp-image-1370" /></a></p>
<p>Done!  Double click your brand new ICA file and it should work fine.  If you need to make any changes, use the tool to generate a new ICA icon or you can just open it in Notepad and edit by hand.  You can remove the user name, password, and domain if you want.  I typically just leave the domain only.  I would NOT recommend storing passwords in plain text.  Hope this helps.</p>
<p><a href="http://www.jasonsamuel.com/2011/11/21/how-to-fix-the-tabctl32-ocx-is-not-registered-error-when-using-the-citrix-quick-launch-tool/">How to fix the TABCTL32.OCX is not registered error when using the Citrix Quick Launch tool</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>
<p>More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2009/04/02/sharepoint-warmup-tool-speed-up-your-sharepoint-loading-time/' rel='bookmark' title='Sharepoint Warmup Tool &#8211; Speed up your Sharepoint loading time'>Sharepoint Warmup Tool &#8211; Speed up your Sharepoint loading time</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2011/11/21/how-to-fix-the-tabctl32-ocx-is-not-registered-error-when-using-the-citrix-quick-launch-tool/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Thoughts on Desktop Virtualization seminar with Brian Madden</title>
		<link>http://www.jasonsamuel.com/2011/11/18/thoughts-on-desktop-virtualization-seminar-with-brian-madden/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=thoughts-on-desktop-virtualization-seminar-with-brian-madden</link>
		<comments>http://www.jasonsamuel.com/2011/11/18/thoughts-on-desktop-virtualization-seminar-with-brian-madden/#comments</comments>
		<pubDate>Fri, 18 Nov 2011 21:16:20 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[Citrix XenApp]]></category>
		<category><![CDATA[Citrix XenDesktop]]></category>
		<category><![CDATA[Citrix XenServer]]></category>
		<category><![CDATA[VMware View]]></category>
		<category><![CDATA[VMware vSphere]]></category>
		<category><![CDATA[terminal server]]></category>
		<category><![CDATA[vdi]]></category>
		<category><![CDATA[vmware view]]></category>
		<category><![CDATA[xendesktop]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=1358</guid>
		<description><![CDATA[I was able to attend a Desktop Virtualization seminar by Brian Madden several weeks ago. It was a small group of attendees so it was great to interact at a personal level with him and some of the other speakers and get some questions answered. What I loved the most about this seminar was that [...]<p><a href="http://www.jasonsamuel.com/2011/11/18/thoughts-on-desktop-virtualization-seminar-with-brian-madden/">Thoughts on Desktop Virtualization seminar with Brian Madden</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>

More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2011/08/02/using-firefox-in-an-environment-with-roaming-profiles/' rel='bookmark' title='Using Firefox in an environment with roaming profiles'>Using Firefox in an environment with roaming profiles</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I was able to attend a Desktop Virtualization seminar by Brian Madden several weeks ago.  It was a small group of attendees so it was great to interact at a personal level with him and some of the other speakers and get some questions answered.  What I loved the most about this seminar was that a lot of the discussion was vendor agnostic, so I didn&#8217;t have a ton of marketing pushed at me.  That&#8217;s a welcome change because I don&#8217;t want to hear sales talk, I want to hear the raw facts from other engineers on what works, what doesn&#8217;t, and why.</p>
<p>A lot of what was covered is stuff most everyone working with VDI may already know. I&#8217;m not going to transcribe all my notes from the seminar. But some key takeaways that I felt were important were the following:</p>
<p>1. VDI projects and hardware refreshes are driven by different factors than last year this time.  April 8, 2014 (End of Support, patches, hotfixes, etc. for Windows XP) is looming and many IT departments are concentrating more on hardware/Windows 7 migrations than they are on VDI projects.  Last year many companies were trying to do both since these projects usually go hand in hand.  Many companies that are still doing POCs or extending their testing phases are now starting to feel a time crunch.  Because of this, many companies are giving priority to the refreshes and letting the VDI projects become a secondary project.  That’s not to say VDI is not important, it&#8217;s just that many companies need to prioritize resources and personnel and choosing to allocate these at the refreshes.  It&#8217;s funny because this has been happening all around me and to friends at their companies but I didn&#8217;t fully realize how industry wide this shift of priorities was until Brian said it out loud.  So the takeaway is, get your refreshes completed first if you don&#8217;t have enough resources to handle both.  You DO NOT want to get caught in 2014 with any XP machines on your network or something seriously needs to be reevaluated at your company.  And it may end up being your job if you don&#8217;t drive the initiative to get your refreshes done well ahead of this date.</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/11/Windows-XP-on-Dell.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/11/Windows-XP-on-Dell-300x245.jpg" alt="" title="Windows-XP-on-Dell" width="300" height="245" class="aligncenter size-medium wp-image-1359" /></a></p>
<p>2. With all the different types of desktop technologies out there now:</p>
<p>DATA CENTER BASED INFRASTRUCTURE<br />
-Remote Desktop Session Host (Terminal Server)<br />
-VDI (Citrix XenDesktop, VMware View, etc)</p>
<p>CLIENT BASED INFRASTRUCTURE<br />
-Client VM &#8211; Hypervisor on baremetal client (Citrix XenClient, VMware View Local Mode, Virtual Computer NxTop, MokaFive, Virtual Bridges VERDE, etc)<br />
-Client VM &#8211; Hypervisor on existing OS (VMware Workstation, Virtual PC, Fusion, Parallels, XP Mode, etc.)<br />
-OS Streaming<br />
-Traditional desktops</p>
<p>Companies are having a hard time trying to decide what is best for their users.  One of the slides shown showed the enumeration of these technologies into the environment and I swear, it was like a pack of Skittles. There are so many directions to go and for many different reasons but you really have to factor everything or you are going to have end up with one of these Skittles environments over time.  The biggest take away here is that there is no ONE solution that is the BEST.  Your infrastructure might be a few of these.  But don&#8217;t let it run away from you, plan it well from the get go.  Pretty much common sense to anyone working with VDI already.</p>
<p>3.  So my co-worker asked how do you plan your VDI environment?  How do you know what is best?  Brian recommended a couple of products that can help you:</p>
<p>-LakeSide Solutions VMP &#8211; pulls stats on your environment and spits out a report that tells you which users are good candidates for VDI vs. Terminal Server vs. staying on a traditional desktop.</p>
<p><a href="http://www.lakesidesoftware.com/systrack_vmp.aspx">http://www.lakesidesoftware.com/systrack_vmp.aspx</a></p>
<p>-Liquidware Labs &#8211; does a lot of the same and comes with 30 day trial</p>
<p><a href="http://liquidwarelabs.com/products/stratuspherefit.asp">http://liquidwarelabs.com/products/stratuspherefit.asp</a></p>
<p>Another really good tool he suggested that was good for looking at the app compatibility and testing closer was App-DNA AppTitude.  It does automated testing against 68,000 data points.  They were acquired by Citrix just a couple of weeks ago:</p>
<p><a href="http://www.app-dna.com/about-apptitude/automated-application-testing/">http://www.app-dna.com/about-apptitude/automated-application-testing/</a></p>
<p>ChangeBase offers something similar and they were acquired by Quest just a few weeks ago:</p>
<p><a href="http://www.changebase.com/">http://www.changebase.com/</a></p>
<p>4. User workspace management.  Let&#8217;s face it, any large VDI deployment across all the different infrastructure technologies above + across all the different OSes is going to be a nightmare if you don&#8217;t have some way of managing the user workspace.  Brian talked about the concept of layering hardware, OS, application, and users.  Not unfamiliar to anyone that has worked with VDI.  He talked about 3rd parties like AppSense, RES, LiquidWare Labs, etc. vs. what&#8217;s being offered from Citrix, Microsoft, and VMware.  I&#8217;m not going to go too much into this because I plan on writing an article about user workspace management and a comparison of the different options soon.  But just know that this is a big point that will break or make your VDI project.</p>
<p>These were some of my main takeaways from the seminar without going into too much detail.  There was a lot of information covered and I have to thank Brian &#038; TechTarget for putting this on.  Doesn&#8217;t matter if you&#8217;re just in the planning stages of your VDI project or if it&#8217;s been running great for years, I guarantee you will learn something new or what&#8217;s coming down the pipe in the VDI world at one of these seminars.  You can sign up for one in your city here:</p>
<p><a href="http://events.techtarget.com/desktopvirtualization/">http://events.techtarget.com/desktopvirtualization/</a></p>
<p><a href="http://www.jasonsamuel.com/2011/11/18/thoughts-on-desktop-virtualization-seminar-with-brian-madden/">Thoughts on Desktop Virtualization seminar with Brian Madden</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>
<p>More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2011/08/02/using-firefox-in-an-environment-with-roaming-profiles/' rel='bookmark' title='Using Firefox in an environment with roaming profiles'>Using Firefox in an environment with roaming profiles</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2011/11/18/thoughts-on-desktop-virtualization-seminar-with-brian-madden/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using LogParser to create a report of who has been hitting a web page or URL</title>
		<link>http://www.jasonsamuel.com/2011/11/14/using-logparser-to-create-a-report-of-who-has-been-hitting-a-web-page-or-url/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-logparser-to-create-a-report-of-who-has-been-hitting-a-web-page-or-url</link>
		<comments>http://www.jasonsamuel.com/2011/11/14/using-logparser-to-create-a-report-of-who-has-been-hitting-a-web-page-or-url/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 22:46:19 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[IIS]]></category>
		<category><![CDATA[logparser]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=1345</guid>
		<description><![CDATA[I received a request today to gather all the IPs of users that have been hitting a specific URL on an IIS web server for the last several months. Naturally, I turn to LogParser which I have blogged about quite a bit in the past. I copied the required IIS logs to the same path [...]<p><a href="http://www.jasonsamuel.com/2011/11/14/using-logparser-to-create-a-report-of-who-has-been-hitting-a-web-page-or-url/">Using LogParser to create a report of who has been hitting a web page or URL</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>

More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2010/09/17/using-the-datagrid-output-option-in-logparser-to-see-error-500-iis-issues/' rel='bookmark' title='Using the DATAGRID output option in LogParser to see error 500 IIS issues'>Using the DATAGRID output option in LogParser to see error 500 IIS issues</a></li>
<li><a href='http://www.jasonsamuel.com/2011/03/01/how-to-automatically-put-up-a-maintenance-page-on-a-netscaler-when-all-your-websites-are-down/' rel='bookmark' title='How to automatically put up a maintenance page on a Netscaler when all your websites are down'>How to automatically put up a maintenance page on a Netscaler when all your websites are down</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I received a request today to gather all the IPs of users that have been hitting a specific URL on an IIS web server for the last several months.  Naturally, I turn to LogParser which I have blogged about quite a bit in the past.  I copied the required IIS logs to the same path as LogParser since I was going to archive them anyway but you can just specify the path to your IIS logs just as easily.  Then I wrote this query to quickly show the date, time, and IP for the URL I&#8217;m web page I am looking for, in this case test.htm:</p>
<p><code>logparser &quot;SELECT [date], [time], [c-ip] as UserIP, [cs-uri-stem] as URL FROM ex*.log WHERE [cs-uri-stem] like &#039;%test.htm%&#039;&quot; -rtp:-1 -i:iisw3c</code></p>
<p>This gives me a nice report of every hit in chronological order.  I chose to use like statement above because sometimes there might be other URLs buried deep in your website structure and if you are not familiar with it, you might miss these hits from being calculated.  It helps identify users who might be using a URL they really shouldn&#8217;t be using anymore and no one is aware they are still using these legacy hyperlinks.  You can export the report to a txt file by just adding &#8220;<code>&gt;&gt; IPs.txt</code>&#8221; to the end of the string and it will drop the screen output into a file called IPs.txt for you.  </p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/11/1.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/11/1-227x300.jpg" alt="" title="1" width="227" height="300" class="aligncenter size-medium wp-image-1347" /></a></p>
<p>Or you can use the datagrid option which I have blogged about before, just search for LogParser in the search box in the top right corner of this site.  </p>
<p>From here, I want to find only unique IPs.  So I wrote another query that did a GROUP BY on the IP:</p>
<p><code>logparser &quot;SELECT [c-ip] as UserIP FROM ex*.log WHERE [cs-uri-stem] like &#039;%test.htm%&#039; GROUP BY [c-ip]&quot; -rtp:-1 -i:iisw3c</code></p>
<p>Even gives you a nice total count at the bottom:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/11/2.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/11/2-157x300.jpg" alt="" title="2" width="157" height="300" class="aligncenter size-medium wp-image-1348" /></a></p>
<p>So now I have a list of unique IPs but I want to find if these IPs are still alive and talking on my network and if so, what their machine name is.  For that, I turn to nmap (with the Zenmap GUI if you are using Windows).  Just copy and paste all your IPs from before into the Target field and change the scan profile to &#8220;Ping scan&#8221;.  Yes, you can copy and paste your whole list at once into that little Target window, it will take them all.  In this example, I copied and pasted 3 IPs at once and it parsed the carriage returns just fine:  </p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/11/3.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/11/3-262x300.jpg" alt="" title="3" width="262" height="300" class="aligncenter size-medium wp-image-1349" /></a></p>
<p>Once you begin the scan, it will ping sweep the IPs and do a reverse DNS lookup all at the same time.</p>
<p>If you want to take it one step further and find the currently logged in user, you could use PsLoggedOn from Sysinternals to accomplish this or even WMIC to pull the info via WMI.  </p>
<p>PsLoggedOn info: <a href="http://technet.microsoft.com/en-us/sysinternals/bb897545">http://technet.microsoft.com/en-us/sysinternals/bb897545</a></p>
<p>WMIC info:  <a href="http://technet.microsoft.com/en-us/library/bb742610.aspx">http://technet.microsoft.com/en-us/library/bb742610.aspx</a></p>
<p>WMIC syntax would be something like:</p>
<p><code>wmic /node: machinename get username</code></p>
<p>Very easy!  Let me know if you have any questions or come up with a better way. <img src='http://www.jasonsamuel.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.jasonsamuel.com/2011/11/14/using-logparser-to-create-a-report-of-who-has-been-hitting-a-web-page-or-url/">Using LogParser to create a report of who has been hitting a web page or URL</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>
<p>More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2010/09/17/using-the-datagrid-output-option-in-logparser-to-see-error-500-iis-issues/' rel='bookmark' title='Using the DATAGRID output option in LogParser to see error 500 IIS issues'>Using the DATAGRID output option in LogParser to see error 500 IIS issues</a></li>
<li><a href='http://www.jasonsamuel.com/2011/03/01/how-to-automatically-put-up-a-maintenance-page-on-a-netscaler-when-all-your-websites-are-down/' rel='bookmark' title='How to automatically put up a maintenance page on a Netscaler when all your websites are down'>How to automatically put up a maintenance page on a Netscaler when all your websites are down</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2011/11/14/using-logparser-to-create-a-report-of-who-has-been-hitting-a-web-page-or-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to force an uninstall of Citrix XenApp or Presentation Server via command line</title>
		<link>http://www.jasonsamuel.com/2011/10/26/how-to-force-an-uninstall-of-citrix-xenapp-or-presentation-server-via-command-line/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-force-an-uninstall-of-citrix-xenapp-or-presentation-server-via-command-line</link>
		<comments>http://www.jasonsamuel.com/2011/10/26/how-to-force-an-uninstall-of-citrix-xenapp-or-presentation-server-via-command-line/#comments</comments>
		<pubDate>Wed, 26 Oct 2011 19:20:28 +0000</pubDate>
		<dc:creator>Jason Samuel</dc:creator>
				<category><![CDATA[Citrix XenApp]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[presentation server]]></category>
		<category><![CDATA[xenapp]]></category>

		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=1333</guid>
		<description><![CDATA[If you ever wanted to force an uninstall of XenApp or Presentation Server, you can do it with just one command. There are many scenarios where you might have to do this. Forcing an uninstall should always be a last resort though. You just navigate to your setup files to where mps.msi is located and [...]<p><a href="http://www.jasonsamuel.com/2011/10/26/how-to-force-an-uninstall-of-citrix-xenapp-or-presentation-server-via-command-line/">How to force an uninstall of Citrix XenApp or Presentation Server via command line</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>

More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2009/07/22/how-to-install-and-configure-snmp-via-command-line-on-your-servers/' rel='bookmark' title='How to install and configure SNMP via command line on your servers'>How to install and configure SNMP via command line on your servers</a></li>
<li><a href='http://www.jasonsamuel.com/2011/09/13/how-to-deploy-edgesight-5-4-xenapp-agents-using-install-scripts-to-all-your-citrix-farms/' rel='bookmark' title='How to deploy EdgeSight 5.4 XenApp agents using install scripts to all your Citrix Farms'>How to deploy EdgeSight 5.4 XenApp agents using install scripts to all your Citrix Farms</a></li>
<li><a href='http://www.jasonsamuel.com/2011/08/29/how-to-deploy-citrix-receiver-or-online-web-plugin-for-xenapp-6-5-on-web-interface-5-4/' rel='bookmark' title='How to Deploy Citrix Receiver or Online Web Plugin for XenApp 6.5 on Web Interface 5.4'>How to Deploy Citrix Receiver or Online Web Plugin for XenApp 6.5 on Web Interface 5.4</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>If you ever wanted to force an uninstall of XenApp or Presentation Server, you can do it with just one command.  There are many scenarios where you might have to do this.  Forcing an uninstall should always be a last resort though.  You just navigate to your setup files to where mps.msi is located and run the following.  In this example, I have copied the XenApp 6.5 install files to my D: drive:</p>
<p><code>D:\InstallFiles\XenApp6.5\XenApp Server\w2k8x64</code></p>
<p>and type the following command:</p>
<p><code>msiexec /x MPS.msi CTX_MF_FORCE_SUBSYSTEM_UNINSTALL=YES</code></p>
<p>This will bring up the following prompt:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/10/21.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/10/21.jpg" alt="" title="2" width="315" height="137" class="aligncenter size-full wp-image-1334" /></a></p>
<p>and then you just run through the uninstaller and reboot when it prompts you.</p>
<p>Now if you don&#8217;t have mps.msi on your server and don&#8217;t have time to find the media and copy the install files over, here is a nice trick.  Open regedit to edit your registry and navigate to:</p>
<p><code>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall</code></p>
<p>Now find the key with the Display Name of Citrix Presentation Server or XenApp, here is a screenshot from a Presentation Server 4.5 box for example:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/10/32.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/10/32.jpg" alt="" title="3" width="798" height="574" class="aligncenter size-full wp-image-1335" /></a></p>
<p>Right on the key and copy the key name:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/10/44.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/10/44.jpg" alt="" title="4" width="303" height="245" class="aligncenter size-full wp-image-1336" /></a></p>
<p>Paste it into Notepad.  It will be the full path of the key but just copy the key part only:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/10/51.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/10/51.jpg" alt="" title="5" width="479" height="177" class="aligncenter size-full wp-image-1337" /></a></p>
<p>Then open up a command prompt and type the following but with the key you saw on your server.  Here is mine for example::</p>
<p><code>msiexec /x {44412985-02EE-4824-9EA5-B2AF6D98924E} CTX_MF_FORCE_SUBSYSTEM_UNINSTALL=YES</code></p>
<p>Once you hit enter, it will pop up with the uninstall dialog and you can run through it to complete your uninstall:</p>
<p><a href="http://www.jasonsamuel.com/wp-content/uploads/2011/10/62.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/10/62.jpg" alt="" title="6" width="666" height="332" class="aligncenter size-full wp-image-1338" /></a></p>
<p>Just keep in mind that the force uninstall switch only uninstalls XenApp/Presentation Server.  It will not uninstall all of the little plugins and other modules that were install when you original setup your Citrix server:</p>
<p><strong>BEFORE:</strong><br />
<a href="http://www.jasonsamuel.com/wp-content/uploads/2011/10/11.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/10/11.jpg" alt="" title="1" width="603" height="354" class="aligncenter size-full wp-image-1339" /></a></p>
<p><strong>AFTER:</strong><br />
<a href="http://www.jasonsamuel.com/wp-content/uploads/2011/10/71.jpg"><img src="http://www.jasonsamuel.com/wp-content/uploads/2011/10/71.jpg" alt="" title="7" width="623" height="268" class="aligncenter size-full wp-image-1340" /></a></p>
<p><a href="http://www.jasonsamuel.com/2011/10/26/how-to-force-an-uninstall-of-citrix-xenapp-or-presentation-server-via-command-line/">How to force an uninstall of Citrix XenApp or Presentation Server via command line</a> is a post from: <a href="http://www.jasonsamuel.com">JasonSamuel.com</a></p>
<p>More of my posts you might like:<ol>
<li><a href='http://www.jasonsamuel.com/2009/07/22/how-to-install-and-configure-snmp-via-command-line-on-your-servers/' rel='bookmark' title='How to install and configure SNMP via command line on your servers'>How to install and configure SNMP via command line on your servers</a></li>
<li><a href='http://www.jasonsamuel.com/2011/09/13/how-to-deploy-edgesight-5-4-xenapp-agents-using-install-scripts-to-all-your-citrix-farms/' rel='bookmark' title='How to deploy EdgeSight 5.4 XenApp agents using install scripts to all your Citrix Farms'>How to deploy EdgeSight 5.4 XenApp agents using install scripts to all your Citrix Farms</a></li>
<li><a href='http://www.jasonsamuel.com/2011/08/29/how-to-deploy-citrix-receiver-or-online-web-plugin-for-xenapp-6-5-on-web-interface-5-4/' rel='bookmark' title='How to Deploy Citrix Receiver or Online Web Plugin for XenApp 6.5 on Web Interface 5.4'>How to Deploy Citrix Receiver or Online Web Plugin for XenApp 6.5 on Web Interface 5.4</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.jasonsamuel.com/2011/10/26/how-to-force-an-uninstall-of-citrix-xenapp-or-presentation-server-via-command-line/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Served from: www.jasonsamuel.com @ 2012-02-06 17:22:53 -->
