<?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>ArchY.net &#187; XenApp 5</title>
	<atom:link href="http://www.archy.net/category/citrix/citrix-xenapp-5/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.archy.net</link>
	<description>Virtualization trend to the max</description>
	<lastBuildDate>Sun, 25 Jul 2010 05:00:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Remote Desktop published application &#8211; Double upper case issue</title>
		<link>http://www.archy.net/2010/06/30/remote-desktop-published-application-double-upper-case-issue/</link>
		<comments>http://www.archy.net/2010/06/30/remote-desktop-published-application-double-upper-case-issue/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 13:25:16 +0000</pubDate>
		<dc:creator>Stephane THIRION</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[EdgeSight]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Presentation Server 4.5]]></category>
		<category><![CDATA[Web Interface 5]]></category>
		<category><![CDATA[WebInterface]]></category>
		<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[XenApp]]></category>
		<category><![CDATA[XenApp 5]]></category>
		<category><![CDATA[double uppercase]]></category>
		<category><![CDATA[edgesight]]></category>
		<category><![CDATA[ICA session I/O]]></category>
		<category><![CDATA[ICA Session Traffic]]></category>
		<category><![CDATA[KeyboardTimer]]></category>
		<category><![CDATA[launch.ica]]></category>
		<category><![CDATA[mstsc.exe]]></category>
		<category><![CDATA[webinterface]]></category>

		<guid isPermaLink="false">http://www.archy.net/?p=1447</guid>
		<description><![CDATA[At one of my customer place, we need to publish mstsc.exe (RDP Client) through XenApp 4.5 on Windows 2008 x64. Users complained about a weird keyboard behaviour. While typing in their session, users stated using shift for the first letter, the second letter was upper case as well. I&#8217;va made a quick video to show [...]]]></description>
			<content:encoded><![CDATA[<p>At one of my customer place, we need to publish mstsc.exe (RDP Client) through XenApp 4.5 on Windows 2008 x64. Users complained about a weird keyboard behaviour. While typing in their session, users stated using shift for the first letter, the second letter was upper case as well. I&#8217;va made a quick video to show you this issue, you can watch it bellow :</p>
<p> <object style="width: 600px; height: 451px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="600" height="451" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.archy.net/wp-content/uploads/2010/06/DoucleUpperCase_controller.swf" /><embed style="width: 600px; height: 451px;" type="application/x-shockwave-flash" width="600" height="451" src="http://www.archy.net/wp-content/uploads/2010/06/DoucleUpperCase_controller.swf"></embed></object></p>
<p>On the Citrix Web Interface, one ICA file is used as a template for ICA file creation, default.ica. I edited this file to check what was in :</p>
<div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Code block</a></td><td align="right"><a  href="#codesyntax_1" onclick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a  href="#codesyntax_1" onclick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a  href="http://www.archy.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="ini" style="font-family:monospace;"><span class="re0"><span class="br0">&#91;</span>WFClient<span class="br0">&#93;</span></span>
<span class="re1">COMAllowed</span><span class="sy0">=</span><span class="re2">Off</span>
<span class="re1">CPMAllowed</span><span class="sy0">=</span><span class="re2">On</span>
<span class="re1">ClientName</span><span class="sy0">=</span>
<span class="re1">KeyboardTimer</span><span class="sy0">=</span><span class="re2">50</span>
<span class="re1">MouseTimer</span><span class="sy0">=</span><span class="re2">10</span>
<span class="re1">OutBufCountClient</span><span class="sy0">=</span><span class="re2">118</span>
<span class="re1">OutBufCountHost</span><span class="sy0">=</span><span class="re2">118</span>
<span class="re1">OutBufLength</span><span class="sy0">=</span><span class="re2">512</span>
<span class="re1">PersistentCacheEnabled</span><span class="sy0">=</span><span class="re2">On</span>
<span class="re1">ProxyFavorIEConnectionSetting</span><span class="sy0">=</span><span class="re2">Yes</span>
<span class="re1">ProxyTimeout</span><span class="sy0">=</span><span class="re2">30000</span>
<span class="re1">ProxyUseFQDN</span><span class="sy0">=</span><span class="re2">Off</span>
<span class="re1">RemoveICAFile</span><span class="sy0">=</span><span class="re2">yes</span>
<span class="re1">TransparentKeyPassthrough</span><span class="sy0">=</span><span class="re2">Local</span>
<span class="re1">TransportReconnectEnabled</span><span class="sy0">=</span><span class="re2">On</span>
<span class="re1">UpdatesAllowed</span><span class="sy0">=</span><span class="re2">Off</span>
<span class="re1">VSLAllowed</span><span class="sy0">=</span><span class="re2">On</span>
<span class="re1">Version</span><span class="sy0">=</span><span class="re2">2</span>
<span class="re1">VirtualCOMPortEmulation</span><span class="sy0">=</span><span class="re2">Off</span></pre></div></div>
<p>In the WFClient (section bellow) I found the line KeyboardTimer=50 which mean at the end of the specified time period the keyboard data are sent to the server. I didn&#8217;t wanted to modify this value without beeing able to test it before, so I right clicked on the published Remote Desktop icon to download the launch.ica file (generated with the defgault.ica and the 50ms value) saved it and the edited it changing the keyboardTimer value to 25 then 15 then 10 and finnaly 5. I had the issue until the last value 5ms tested.</p>
<p>Now I need to make some more test to check if the bandwith consumed is really highter compare with the 50ms default value. I will update this post with the statistics result (Edgesight)</p>
<p>Update : 1st July 2010</p>
<p>I&#8217;ve used Citrix Edgesight to check what&#8217;s going on while I run some test toward ICA Session Traffic and ICA Session I/O. To run this test I created a script which open notepad and type a text (about 30/40 lines) so the same text input will be use for all the tested values.</p>
<p>I made this test with KeyboardTimer=50 (default), KeyboardTimer=25 and KeyboardTimer=5 and here are the results :</p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/06/snap00681.png" class="thickbox no_icon" rel="gallery-1447" title="snap00681"><img class="size-medium wp-image-1462 alignnone" title="snap00681" src="http://www.archy.net/wp-content/uploads/2010/06/snap00681-300x267.png" alt="" width="300" height="267" /></a> <a  href="http://www.archy.net/wp-content/uploads/2010/06/snap00682.png" class="thickbox no_icon" rel="gallery-1447" title="snap00682"><img class="size-medium wp-image-1463 alignnone" title="snap00682" src="http://www.archy.net/wp-content/uploads/2010/06/snap00682-300x293.png" alt="" width="300" height="293" /></a></p>
<p>I did blank the &#8220;non needed&#8221; data to avoid confusion and as you might notice, there is not a huge difference between these different values. I decided to commit the change for wan users and I will check in deeper statistics will real usage on weeks/month, before/after the change.</p>
<p>I wanted to blog this issue because this is an annoying one and you might search a long time around the mstsc configuration, registry tips and tunning before finding out this was the KeyboardTimer value in the default.ica file on the Citrix WebInterface. <strong>You can also add the line KeyboardTimer=## (your value) to your WFCLIENT.INI file in your user profile directory, it should make the trick if you don&#8217;t want to commit this change for everyone using the WebInterface.</strong></p>
<p>Sources : <a  href="http://support.citrix.com/article/CTX103444" target="_blank">http://support.citrix.com/article/CTX103444</a></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a  href="http://www.archy.net/2009/11/10/citrix-xenclient-3-videos/" rel="bookmark" class="crp_title">Citrix XenClient, 3 videos</a></li><li><a  href="http://www.archy.net/2010/01/14/how-to-debug-java-website-publish-application/" rel="bookmark" class="crp_title">How to debug Java website publish application</a></li><li><a  href="http://www.archy.net/2010/03/18/citrix-edgesight-5-3/" rel="bookmark" class="crp_title">Citrix EdgeSight 5.3</a></li><li><a  href="http://www.archy.net/2010/03/23/citrix-edgesight-5-2-1-could-not-create-the-java-virtual-machine/" rel="bookmark" class="crp_title">Citrix Edgesight 5.2 SP1 : Could not create the Java Virtual Machine.</a></li><li><a  href="http://www.archy.net/2010/01/13/citrix-xenapp-6-tp-many-news-22/" rel="bookmark" class="crp_title">Citrix XenApp 6 TP : Many news 2/2</a></li></ul></div><span class="sfforumlink"><a  href="http://www.archy.net/forum/main-discussions/remote-desktop-published-application-double-upper-case-issue/"><hr />
<img src="http://www.archy.net/wp-content/plugins/simple-forum/styles/icons/default/bloglink.png" alt="" /> Join the forum discussion on this post</p>
</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.archy.net/2010/06/30/remote-desktop-published-application-double-upper-case-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Citrix Edgesight architecture scenario – part 2/2</title>
		<link>http://www.archy.net/2010/05/23/citrix-edgesight-architecture-scenario-%e2%80%93-part-22/</link>
		<comments>http://www.archy.net/2010/05/23/citrix-edgesight-architecture-scenario-%e2%80%93-part-22/#comments</comments>
		<pubDate>Sun, 23 May 2010 18:37:09 +0000</pubDate>
		<dc:creator>Stephane THIRION</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[EdgeSight]]></category>
		<category><![CDATA[XenApp 5]]></category>
		<category><![CDATA[XenApp 6]]></category>
		<category><![CDATA[XenDesktop]]></category>
		<category><![CDATA[Architecture]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[Database size]]></category>
		<category><![CDATA[edgesight]]></category>

		<guid isPermaLink="false">http://www.archy.net/?p=1289</guid>
		<description><![CDATA[If you need to build an EdgeSight architecture for more than 6000 agents, you need to know you will have to split your database and EdgeSight server (web server) associated with it. This next architecture doesn&#8217;t include Edgesight database broker you will need for XenDesktop VDI deployment. If some of you are looking forward a [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to build an EdgeSight architecture for more than 6000 agents, you need to know you will have to split your database and EdgeSight server (web server) associated with it. This next architecture doesn&#8217;t include Edgesight database broker you will need for XenDesktop VDI deployment. If some of you are looking forward a VDI deployment for EdgeSight just let me know, Twitter, Facebook, email, comment or phone, I can make it simple for you, and you won&#8217;t need to read the 300 documentation pages ! This is a slightly different approach with file share and database broker&#8230;</p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/04/Large-Deployments.png" class="thickbox no_icon" rel="gallery-1289" title="Large Deployments"><img class="size-medium wp-image-1307 alignleft" title="Large Deployments" src="http://www.archy.net/wp-content/uploads/2010/04/Large-Deployments-198x300.png" alt="" width="198" height="300" /></a></p>
<blockquote><p>A typical data upload size for an EdgeSight for Endpoints agent is 80KB. EdgeSight for XenApp agent data uploads are typically larger due to the greater amount of data collected and can reach 300KB. These data upload sizes depend on a number of factors such as the agent properties and the usage profile of the system hosting the agent.</p></blockquote>
<p>From Edgesight Admin guide page 22.</p>
<p>Of course it depend how your worker are configured and what data you need to collect. I&#8217;m still trying to figure our how to calculate the amount of data transferred from agents to the web server, this is a complex calculation and it take a lot of time for something Citrix should provide.</p>
<p>So architecture for large environment is the same as the one you could watch in the previous blog &#8211; <a  href="http://www.archy.net/2010/04/28/citrix-edgesight-architecture-scenario-part-12/" target="_self">Citrix Edgesight architecture scenario – part 1/2</a> &#8211; except you need to split database and EdgeSight server. Only one Citrix license server and you can also keep one SQL Reporting Services for both Edgesight servers.</p>
<p>This configuration means you need to configure agents with a different http address, for example, at one customer I had 4000 XenApp servers and 5000 Endpoint agents, so I choose to split Endpoint agents on one Edgesight server and all XenApp on the other. This is not very handy when you want to check from XenApp servers to the endpoint statistics, but this is the way it is for now.  By multiplying EdgeSight environment, complexity is getting stronger and find the good information is sometimes a matter of hours instead of minutes&#8230;</p>
<p>What Citrix should consider for the future of Edgesight :</p>
<ul>
<li>Stop to check Citrix licenses on the Edgesight Servers, only agents is enough I think, then we would be able to load balance Edgesight Servers and SQL Reporting Services servers, spliting wouldn&#8217;t be necessary.</li>
<li>Since we don&#8217;t have Resource manager anymore, consider to bring at least the same level of information in EdgeSight we had with RM with the Advanced license.</li>
<li>Make available a complete EdgeSight database diagram.</li>
<li>Provide a simple tool to build 1,2,3 custom report.</li>
<li>Correct these annoying bug : When a Desktop is publish, no statistics are recorded, this is the same for an application with an argument in the command line&#8230;</li>
</ul>
<p>Useful Links :<a  href="http://community.citrix.com/edgesight/" target="_blank"><br />
EdgeSight Wikipedia</a><a  href="http://forums.citrix.com/category.jspa?categoryID=33" target="_blank"><br />
EdgeSight Forums</a></p>
<p><a  href="http://edgesightunderthehood.com/" target="_blank">EdgeSight Under The Hood</a></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a  href="http://www.archy.net/2010/04/28/citrix-edgesight-architecture-scenario-part-12/" rel="bookmark" class="crp_title">Citrix Edgesight architecture scenario &#8211; part 1/2</a></li><li><a  href="http://www.archy.net/2010/03/18/citrix-edgesight-5-3/" rel="bookmark" class="crp_title">Citrix EdgeSight 5.3</a></li><li><a  href="http://www.archy.net/2008/12/08/update-citrix-edgesight-501-to-sp1/" rel="bookmark" class="crp_title">Update Citrix Edgesight 5.01 to SP1</a></li><li><a  href="http://www.archy.net/2009/10/16/citrix-edgesight-xenapp-agent-5-x-doesnt-start/" rel="bookmark" class="crp_title">Citrix Edgesight XenApp Agent 5.x doesn&#8217;t start</a></li><li><a  href="http://www.archy.net/2010/03/23/citrix-edgesight-5-2-1-could-not-create-the-java-virtual-machine/" rel="bookmark" class="crp_title">Citrix Edgesight 5.2 SP1 : Could not create the Java Virtual Machine.</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.archy.net/2010/05/23/citrix-edgesight-architecture-scenario-%e2%80%93-part-22/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Citrix Edgesight architecture scenario &#8211; part 1/2</title>
		<link>http://www.archy.net/2010/04/28/citrix-edgesight-architecture-scenario-part-12/</link>
		<comments>http://www.archy.net/2010/04/28/citrix-edgesight-architecture-scenario-part-12/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 22:04:42 +0000</pubDate>
		<dc:creator>Stephane THIRION</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[EdgeSight]]></category>
		<category><![CDATA[XenApp 5]]></category>
		<category><![CDATA[XenApp 6]]></category>
		<category><![CDATA[XenDesktop]]></category>
		<category><![CDATA[Architecture]]></category>
		<category><![CDATA[Database size]]></category>
		<category><![CDATA[edgesight]]></category>

		<guid isPermaLink="false">http://www.archy.net/?p=1270</guid>
		<description><![CDATA[During past years, I had to design and deploy several kind of Citrix Edgesight architectures, from the &#8220;POC&#8221; design to &#8220;Large deployment&#8221;. I had to consider what was the best way to use this product and handle the number of devices to monitor. One type of architecture I didn&#8217;t needed to use yet is with [...]]]></description>
			<content:encoded><![CDATA[<p>During past years, I had to design and deploy several kind of Citrix Edgesight architectures, from the &#8220;POC&#8221; design to &#8220;Large deployment&#8221;. I had to consider what was the best way to use this product and handle the number of devices to monitor. One type of architecture I didn&#8217;t needed to use yet is with Citrix XenDesktop Virtual Desktop Monitoring and Edgesight Agent Database Server.</p>
<p>Since Ressource Manager (RIP) disappear with Citrix XenApp 6, Edgesight became a mandatory tool to have the big picture of your XenApp farms health. It&#8217;s of course a lot more than that with Platinum licenses, this will be the subject for another blog. This blog focuses on Citrix Edgesight 5.3.</p>
<p>Important notes regarding supported database :</p>
<blockquote><p>SQL Server 2008 (Standard or better) or SQL Server 2005 SP2 or later (Standard or better). Note that SQL Server 2008 R2 is not supported,<br />
Important: Note the following configuration requirements:<br />
In SQL Server 2008, the Reporting Services Role called Manage Shared Schedules no longer exists as a stand-alone role; it is now part of the System Administrator Role. For more information, see Configuring Reporting Services for Citrix EdgeSight.<br />
SQL Server must be configured for case-insensitive collation. Case-sensitive collation is not currently supported for this release.<br />
SQL Server should be configured to use Windows Authentication or Mixed-Mode Authentication.<br />
Reporting Services is included with SQL Server 2008 and SQL Server 2005. Reporting Services can be installed on a separate machine from the data source.<br />
SQL Agent Service running and set to start automatically (if Reporting Services is installed on the machine)</p></blockquote>
<p>First when you need to practice and want to check out what is Citrix Edgesight, you can easily setup a VM with Microsoft Windows 2008 R2 x64, install SQL 2008 and its SP1 with Reporting Services. Then you can configure Internet Information Services (IIS) to host Edgesight&#8217;s website and install the Citrix License Server as well on the same machine. Keep in mind this is for Proof Of Concept only and shouldn&#8217;t be used in Production environment.</p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/04/poc_deployment2.png" class="thickbox no_icon" rel="gallery-1270" title="poc_deployment2"><img class="alignnone size-medium wp-image-1301" title="poc_deployment2" src="http://www.archy.net/wp-content/uploads/2010/04/poc_deployment2-300x190.png" alt="" width="300" height="190" /></a></p>
<p>Before going further you need to estimate the Edgesight SQL Database size regarding the number of agent deployed. Couple of year ago I had to request the mathematics law to Citrix support to know about that; now there is a tool<span id="more-1270"></span> <a  href="http://support.citrix.com/article/CTX122146" target="_blank">EdgeSight Database Size Estimation Tool</a> this is a Excel sheet witch estimate automatically the requested database size needed regarding the number of XenApp agent and Endpoint agent to deploy (See the screenshot bellow)</p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/04/Screen-shot-2010-04-27-at-10.33.09-PM.png" class="thickbox no_icon" rel="gallery-1270" title="Screen shot 2010-04-27 at 10.33.09 PM"><img class="size-thumbnail wp-image-1278 alignnone" title="Screen shot 2010-04-27 at 10.33.09 PM" src="http://www.archy.net/wp-content/uploads/2010/04/Screen-shot-2010-04-27-at-10.33.09-PM-150x150.png" alt="" width="150" height="150" /></a></p>
<p>For Small and Medium business, you can watch bellow, the typical architecture I choose to deliver. When you plan a deployment in Production,  you need to think about your DR and backup plan : Backing up the Database and custom reports stored on the Reporting Services are recommended. If you can restore the Database and upload your custom report back, it will be very fast to install the Citrix Edgesight Website and running Citrix Edgesight after a crash. Don&#8217;t think about deploying two Edgesight websites on two different servers with a DNS alias or NLB, the only result you will have is <em><strong>twice more licenses used.</strong></em></p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/04/Small-Deployments.png" class="thickbox no_icon" rel="gallery-1270" title="Small Deployments"><img class="alignnone size-medium wp-image-1299" title="Small Deployments" src="http://www.archy.net/wp-content/uploads/2010/04/Small-Deployments-300x216.png" alt="" width="300" height="216" /></a></p>
<p>With this scenario, I announce 1000 XenApp Agents and 500 Endpoint Agents can be handle very smoothly and Citrix announces beeing able to support 6000 agents with this architecture design.</p>
<p><a  href="http://www.archy.net/2010/05/23/citrix-edgesight-architecture-scenario-%e2%80%93-part-22/" target="_self">Part. 2, Citrix Edgesight for Large deployment and traffic generated understanding.</a></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a  href="http://www.archy.net/2010/05/23/citrix-edgesight-architecture-scenario-%e2%80%93-part-22/" rel="bookmark" class="crp_title">Citrix Edgesight architecture scenario – part 2/2</a></li><li><a  href="http://www.archy.net/2010/03/18/citrix-edgesight-5-3/" rel="bookmark" class="crp_title">Citrix EdgeSight 5.3</a></li><li><a  href="http://www.archy.net/2008/11/29/error-during-citrix-edgesight-501-setup/" rel="bookmark" class="crp_title">Error during Citrix Edgesight 5.01 setup</a></li><li><a  href="http://www.archy.net/2008/12/08/update-citrix-edgesight-501-to-sp1/" rel="bookmark" class="crp_title">Update Citrix Edgesight 5.01 to SP1</a></li><li><a  href="http://www.archy.net/2010/01/14/how-to-debug-java-website-publish-application/" rel="bookmark" class="crp_title">How to debug Java website publish application</a></li></ul></div><span class="sfforumlink"><a  href="http://www.archy.net/forum/main-discussions/citrix-edgesight-architecture-scenario-part-12/"><hr />
<img src="http://www.archy.net/wp-content/plugins/simple-forum/styles/icons/default/bloglink.png" alt="" /> Join the forum discussion on this post</p>
</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.archy.net/2010/04/28/citrix-edgesight-architecture-scenario-part-12/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Citrix XenApp – Hiding system drives part 2/2</title>
		<link>http://www.archy.net/2010/04/10/citrix-xenapp-%e2%80%93-hiding-system-drives-part-22/</link>
		<comments>http://www.archy.net/2010/04/10/citrix-xenapp-%e2%80%93-hiding-system-drives-part-22/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 21:58:31 +0000</pubDate>
		<dc:creator>Stephane THIRION</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Presentation Server 4]]></category>
		<category><![CDATA[Presentation Server 4.5]]></category>
		<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[XenApp 5]]></category>
		<category><![CDATA[XenApp 6]]></category>
		<category><![CDATA[GPO]]></category>
		<category><![CDATA[Hide drives]]></category>
		<category><![CDATA[hidedrives]]></category>
		<category><![CDATA[Loopback]]></category>

		<guid isPermaLink="false">http://www.archy.net/?p=1255</guid>
		<description><![CDATA[This is the second part, here is the link to the first part : Citrix XenApp – Hiding system drives part 1/2 If you read the first part, now you know how to apply the Microsoft Windows 2003/2008/R2 GPO to hide A,B,C or/and D drives. But what&#8217;s happening if you have a E: drive or [...]]]></description>
			<content:encoded><![CDATA[<p>This is the second part, here is the link to the first part : <a  href="http://www.archy.net/2010/04/10/citrix-xenapp-hiding-system-drives/" target="_blank">Citrix XenApp – Hiding system drives part 1/2</a></p>
<p>If you read the first part, now you know how to apply the Microsoft Windows 2003/2008/R2 GPO to hide A,B,C or/and D drives. But what&#8217;s happening if you have a E: drive or O: ? You cannot use this GPO anymore, you need to create your own. This is simple to understand how it works, just read what&#8217;s follow.</p>
<p>By default the Hide Drives part in the system.adm file look like this :</p>
<div id="wpshdo_2" class="wp-synhighlighter-outer"><div id="wpshdt_2" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_2"></a><a id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">Code block</a></td><td align="right"><a  href="#codesyntax_2" onclick="javascript:wpsh_code(2)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a  href="#codesyntax_2" onclick="javascript:wpsh_print(2)" title="Print code"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a  href="http://www.archy.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="text" style="font-family:monospace;">POLICY !!NoDrives
   EXPLAIN !!NoDrives_Help
      PART !!NoDrivesDropdown          DROPDOWNLIST NOSORT REQUIRED
         VALUENAME &quot;NoDrives&quot;
          ITEMLIST
                NAME !!ABOnly           VALUE NUMERIC 3
                NAME !!COnly            VALUE NUMERIC 4
                NAME !!DOnly            VALUE NUMERIC 8
                NAME !!ABConly          VALUE NUMERIC 7
                NAME !!ABCDOnly         VALUE NUMERIC 15
                NAME !!ALLDrives        VALUE NUMERIC 67108863
                ;low 26 bits on (1 bit per drive)
                NAME !!RestNoDrives     VALUE NUMERIC 0 (Default)
          END ITEMLIST
     END PART
   END POLICY
&nbsp;
[strings]
ABCDOnly=&quot;Restrict A, B, C and D drives only&quot;
ABConly=&quot;Restrict A, B and C drives only&quot;
ABOnly=&quot;Restrict A and B drives only&quot;
ALLDrives=&quot;Restrict all drives&quot;
COnly=&quot;Restrict C drive only&quot;
DOnly=&quot;Restrict D drive only&quot;
RestNoDrives=&quot;Do not restrict drives&quot;</pre></div></div><span id="more-1255"></span></p>
<p>Then if I explain you this policy displays only specified drives on the client computer. The  registry key that this policy affects uses a decimal number that  corresponds to a 26-bit binary string, with each bit representing a  drive letter:</p>
<p><div id="wpshdo_3" class="wp-synhighlighter-outer"><div id="wpshdt_3" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_3"></a><a id="wpshat_3" class="wp-synhighlighter-title" href="#codesyntax_3"  onClick="javascript:wpsh_toggleBlock(3)" title="Click to show/hide code block">Code block</a></td><td align="right"><a  href="#codesyntax_3" onclick="javascript:wpsh_code(3)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a  href="#codesyntax_3" onclick="javascript:wpsh_print(3)" title="Print code"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a  href="http://www.archy.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_3" class="wp-synhighlighter-inner" style="display: block;"><pre class="text" style="font-family:monospace;">11111111111111111111111111
ZYXWVUTSRQPONMLKJIHGFEDCBA</pre></div></div>
<p>I choose an example where I want to hide A,B,C,D and E drives :</p>
<div id="wpshdo_4" class="wp-synhighlighter-outer"><div id="wpshdt_4" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_4"></a><a id="wpshat_4" class="wp-synhighlighter-title" href="#codesyntax_4"  onClick="javascript:wpsh_toggleBlock(4)" title="Click to show/hide code block">Code block</a></td><td align="right"><a  href="#codesyntax_4" onclick="javascript:wpsh_code(4)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a  href="#codesyntax_4" onclick="javascript:wpsh_print(4)" title="Print code"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a  href="http://www.archy.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_4" class="wp-synhighlighter-inner" style="display: block;"><pre class="text" style="font-family:monospace;">00000000000000000000011111
ZYXWVUTSRQPONMLKJIHGFEDCBA</pre></div></div>
<p>Then convert to decimal. This binary string converts to 31 in decimal.  Add this line to the [strings] section in the new HideDrives.adm file:</p>
<div id="wpshdo_5" class="wp-synhighlighter-outer"><div id="wpshdt_5" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_5"></a><a id="wpshat_5" class="wp-synhighlighter-title" href="#codesyntax_5"  onClick="javascript:wpsh_toggleBlock(5)" title="Click to show/hide code block">Code block</a></td><td align="right"><a  href="#codesyntax_5" onclick="javascript:wpsh_code(5)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a  href="#codesyntax_5" onclick="javascript:wpsh_print(5)" title="Print code"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a  href="http://www.archy.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_5" class="wp-synhighlighter-inner" style="display: block;"><pre class="text" style="font-family:monospace;">ABCDEOnly=&quot;Restrict A,B,C,D and E drives only&quot;</pre></div></div>
<p>After add this entry in the ITEMLIST section above and save the HideDrives.adm  file.</p>
<div id="wpshdo_6" class="wp-synhighlighter-outer"><div id="wpshdt_6" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_6"></a><a id="wpshat_6" class="wp-synhighlighter-title" href="#codesyntax_6"  onClick="javascript:wpsh_toggleBlock(6)" title="Click to show/hide code block">Code block</a></td><td align="right"><a  href="#codesyntax_6" onclick="javascript:wpsh_code(6)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a  href="#codesyntax_6" onclick="javascript:wpsh_print(6)" title="Print code"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a  href="http://www.archy.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_6" class="wp-synhighlighter-inner" style="display: block;"><pre class="text" style="font-family:monospace;">NAME !!ABCDE_Only         VALUE NUMERIC 31</pre></div></div>
<p>So the whole ADM file must look like this :</p>
<div id="wpshdo_7" class="wp-synhighlighter-outer"><div id="wpshdt_7" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_7"></a><a id="wpshat_7" class="wp-synhighlighter-title" href="#codesyntax_7"  onClick="javascript:wpsh_toggleBlock(7)" title="Click to show/hide code block">Code block</a></td><td align="right"><a  href="#codesyntax_7" onclick="javascript:wpsh_code(7)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a  href="#codesyntax_7" onclick="javascript:wpsh_print(7)" title="Print code"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a  href="http://www.archy.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_7" class="wp-synhighlighter-inner" style="display: block;"><pre class="text" style="font-family:monospace;">CLASS USER
&nbsp;
CATEGORY  !!HideDrives
&nbsp;
KEYNAME Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
    POLICY !!HideDrives
&nbsp;
    PART !!HideDrivesDropdown    DROPDOWNLIST NOSORT REQUIRED
    VALUENAME &quot;NoDrives&quot;
    ITEMLIST
        NAME !!ABOnly           VALUE NUMERIC    3
        NAME !!COnly            VALUE NUMERIC    4
        NAME !!DOnly            VALUE NUMERIC    8
        NAME !!ABConly          VALUE NUMERIC    7
        NAME !!ABCDOnly         VALUE NUMERIC    15
        NAME !!HideABCDE        VALUE NUMERIC    31
        NAME !!ALLDrives        VALUE NUMERIC    67108863 DEFAULT
        NAME !!RestNoDrives     VALUE NUMERIC    0
    END ITEMLIST
    END PART
    END POLICY
&nbsp;
END CATEGORY;HideDrives
&nbsp;
[strings]
Blank=&quot; &quot;
ABCDOnly=&quot;Restrict A, B, C and D drives only&quot;
ABConly=&quot;Restrict A, B and C drives only&quot;
ABOnly=&quot;Restrict A and B drives only&quot;
ALLDrives=&quot;Restrict all drives&quot;
COnly=&quot;Restrict C drive only&quot;
DOnly=&quot;Restrict D drive only&quot;
HideABCDE=&quot;Restrict A,C,E,D and E drives only&quot;
HideDrives=&quot;Hide Drives&quot;
HideDrivesDropdown=&quot;Hide Drives Selection&quot;
MoveProfile=&quot;Move Profiles&quot;
MoveProfileDropdown=&quot;Move User Profile Location&quot;
MOVEPROFILETOD=&quot;Move Profile to D Drive&quot;
RestNoDrives=&quot;Restore Drives&quot;</pre></div></div>
<p>I think you&#8217;re good with this one, just import this ADM file and activate it following the part 1.</p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/04/snap00043.jpg" class="thickbox no_icon" rel="gallery-1255" title="snap00043"><img class="alignnone size-thumbnail wp-image-1260" title="snap00043" src="http://www.archy.net/wp-content/uploads/2010/04/snap00043-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>Links : <a  href="http://support.microsoft.com/?scid=kb%3Ben-us%3B231289&#038;x=17&#038;y=10" target="_blank">Microsoft KB</a> (thx to <a  href="http://www.ctxblog.fr/" target="_blank">CTXBlog.fr</a>)</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 1112px; width: 1px; height: 1px; overflow: hidden;">CLASS USER</p>
<p>CATEGORY  !!HideDrives</p>
<p>KEYNAME Software\Microsoft\Windows\CurrentVersion\Policies\Explorer<br />
POLICY !!HideDrives</p>
<p>PART !!HideDrivesDropdown    DROPDOWNLIST NOSORT REQUIRED<br />
VALUENAME &#8220;NoDrives&#8221;<br />
ITEMLIST<br />
NAME !!ABOnly           VALUE NUMERIC    3<br />
NAME !!COnly            VALUE NUMERIC    4<br />
NAME !!DOnly            VALUE NUMERIC    8<br />
NAME !!ABConly          VALUE NUMERIC    7<br />
NAME !!ABCDOnly         VALUE NUMERIC    15<br />
NAME !!HideABCDE        VALUE NUMERIC    31<br />
NAME !!ALLDrives        VALUE NUMERIC    67108863 DEFAULT<br />
NAME !!RestNoDrives     VALUE NUMERIC    0<br />
END ITEMLIST<br />
END PART<br />
END POLICY</p>
<p>END CATEGORY;HideDrives</p>
<p>[strings]<br />
Blank=&#8221; &#8221;<br />
ABCDOnly=&#8221;Restrict A, B, C and D drives only&#8221;<br />
ABConly=&#8221;Restrict A, B and C drives only&#8221;<br />
ABOnly=&#8221;Restrict A and B drives only&#8221;<br />
ALLDrives=&#8221;Restrict all drives&#8221;<br />
COnly=&#8221;Restrict C drive only&#8221;<br />
DOnly=&#8221;Restrict D drive only&#8221;<br />
HideABCDE=&#8221;Restrict A,C,E,D and E drives only&#8221;<br />
HideDrives=&#8221;Hide Drives&#8221;<br />
HideDrivesDropdown=&#8221;Hide Drives Selection&#8221;<br />
MoveProfile=&#8221;Move Profiles&#8221;<br />
MoveProfileDropdown=&#8221;Move User Profile Location&#8221;<br />
MOVEPROFILETOD=&#8221;Move Profile to D Drive&#8221;<br />
RestNoDrives=&#8221;Restore Drives&#8221;</p>
</div>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a  href="http://www.archy.net/2010/04/10/citrix-xenapp-hiding-system-drives/" rel="bookmark" class="crp_title">Citrix XenApp &#8211; Hiding system drives part 1/2</a></li><li><a  href="http://www.archy.net/2009/05/21/adding-local-storage-to-xenserver-55/" rel="bookmark" class="crp_title">Adding local storage to XenServer 5.5</a></li><li><a  href="http://www.archy.net/2010/04/15/2010-04-08-weekly-tweets/" rel="bookmark" class="crp_title">2010-04-08 weekly tweets</a></li><li><a  href="http://www.archy.net/2010/03/23/citrix-edgesight-5-2-1-could-not-create-the-java-virtual-machine/" rel="bookmark" class="crp_title">Citrix Edgesight 5.2 SP1 : Could not create the Java Virtual Machine.</a></li><li><a  href="http://www.archy.net/2010/04/01/citrix-web-interface-5-3/" rel="bookmark" class="crp_title">Citrix Web Interface 5.3</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.archy.net/2010/04/10/citrix-xenapp-%e2%80%93-hiding-system-drives-part-22/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Citrix XenApp &#8211; Hiding system drives part 1/2</title>
		<link>http://www.archy.net/2010/04/10/citrix-xenapp-hiding-system-drives/</link>
		<comments>http://www.archy.net/2010/04/10/citrix-xenapp-hiding-system-drives/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 15:59:17 +0000</pubDate>
		<dc:creator>Stephane THIRION</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Presentation Server 4]]></category>
		<category><![CDATA[Presentation Server 4.5]]></category>
		<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[XenApp 5]]></category>
		<category><![CDATA[XenApp 6]]></category>
		<category><![CDATA[GPO Loopback]]></category>
		<category><![CDATA[Hide drives]]></category>
		<category><![CDATA[XenApp]]></category>

		<guid isPermaLink="false">http://www.archy.net/?p=1244</guid>
		<description><![CDATA[Hiding system drives C, D, floppy if there is still one and CDRom seems to be easy but I saw many many time at some customer&#8217;s place administrator unable to complete this simple operation. The reason is in most of the case, the administrator doesn&#8217;t really know how to manage GPO and what is difference [...]]]></description>
			<content:encoded><![CDATA[<p>Hiding system drives C, D, floppy if there is still one and CDRom seems to be easy but I saw many many time at some customer&#8217;s place administrator unable to complete this simple operation. The reason is in most of the case, the administrator doesn&#8217;t really know how to manage GPO and what is difference between user and machine GPOs.</p>
<p>First you need to know there is a built-in GPO in Microsoft Windows 2003 / 2008 / R2 with these settings ready to be set.</p>
<p>To set it up, you need to create a new GPO or edit an existing one and find these two GPO bellow as follow :</p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/04/snap00040.jpg" class="thickbox no_icon" rel="gallery-1244" title="snap00040"><img class="alignnone size-medium wp-image-1248" title="snap00040" src="http://www.archy.net/wp-content/uploads/2010/04/snap00040-300x46.jpg" alt="" width="300" height="46" /></a></p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/04/snap00038.jpg" class="thickbox no_icon" rel="gallery-1244" title="snap00038"><img class="alignnone size-thumbnail wp-image-1246" title="snap00038" src="http://www.archy.net/wp-content/uploads/2010/04/snap00038-150x150.jpg" alt="" width="150" height="150" /></a> <a  href="http://www.archy.net/wp-content/uploads/2010/04/snap00039.jpg" class="thickbox no_icon" rel="gallery-1244" title="snap00039"><img class="alignnone size-thumbnail wp-image-1247" title="snap00039" src="http://www.archy.net/wp-content/uploads/2010/04/snap00039-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><span id="more-1244"></span>Most of the administrators I spoke with told me they&#8217;ve done that already, but it still doesn&#8217;t work, they rebooted XenApp servers, Domain controller, everything they could reboot&#8230; But they forgot the essential&#8230;</p>
<p>These GPO above are USER GPO and this GPO is place on the XenApp OU in the Active Directory where there is no user at all. The solution is very simple you need to activate the GPO loopback :</p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/04/snap00041.jpg" class="thickbox no_icon" rel="gallery-1244" title="snap00041"><img class="alignnone size-thumbnail wp-image-1249" title="snap00041" src="http://www.archy.net/wp-content/uploads/2010/04/snap00041-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/04/snap00042.jpg" class="thickbox no_icon" rel="gallery-1244" title="snap00042"><img class="alignnone size-medium wp-image-1250" title="snap00042" src="http://www.archy.net/wp-content/uploads/2010/04/snap00042-300x23.jpg" alt="" width="300" height="23" /></a></p>
<p>This setting directs the system to apply the set of Group Policy objects for the computer to any user who logs on to a computer affected by this setting. It is intended for special-use computers, such as those in public places, laboratories, and classrooms, where you must modify the user setting based on the computer that is being used.</p>
<p>Then with a gpupdate /enforce this hiding drives GPO is working ! Finally !</p>
<p>In the second part of this blog I will explain how you can go further and hide drives with other letters than A,B,C or D.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a  href="http://www.archy.net/2010/01/14/how-to-debug-java-website-publish-application/" rel="bookmark" class="crp_title">How to debug Java website publish application</a></li><li><a  href="http://www.archy.net/2010/04/10/citrix-xenapp-%e2%80%93-hiding-system-drives-part-22/" rel="bookmark" class="crp_title">Citrix XenApp – Hiding system drives part 2/2</a></li><li><a  href="http://www.archy.net/2010/05/15/citrix-synergy-2010-in-san/" rel="bookmark" class="crp_title">Citrix Synergy 2010 in San Francisco &#8211; Over</a></li><li><a  href="http://www.archy.net/2009/11/01/new-citrix-receiver-1-1-21803-0/" rel="bookmark" class="crp_title">New Citrix Receiver 1.1.21803.0</a></li><li><a  href="http://www.archy.net/2010/05/10/synergy-the-technology-behind-xenclient-sunchronizer-for-xenclient/" rel="bookmark" class="crp_title">Synergy : The Technology behind XenClient / Synchronizer for XenClient</a></li></ul></div><span class="sfforumlink"><a  href="http://www.archy.net/forum/main-discussions/citrix-xenapp-hiding-system-drives/"><hr />
<img src="http://www.archy.net/wp-content/plugins/simple-forum/styles/icons/default/bloglink.png" alt="" /> Join the forum discussion on this post</p>
</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.archy.net/2010/04/10/citrix-xenapp-hiding-system-drives/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Citrix EdgeSight 5.3</title>
		<link>http://www.archy.net/2010/03/18/citrix-edgesight-5-3/</link>
		<comments>http://www.archy.net/2010/03/18/citrix-edgesight-5-3/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 22:34:45 +0000</pubDate>
		<dc:creator>Stephane THIRION</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[EdgeSight]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[XenApp 5]]></category>
		<category><![CDATA[XenApp 6]]></category>
		<category><![CDATA[Citrix Edgesight]]></category>
		<category><![CDATA[edgesight]]></category>
		<category><![CDATA[VDI]]></category>
		<category><![CDATA[XenDesktop]]></category>

		<guid isPermaLink="false">http://www.archy.net/?p=1144</guid>
		<description><![CDATA[With this new version, Citrix give support to XenApp 6 and Microsoft Windows 2008 R2. Beware, the new Edgesight XenApp Client 5.3 is only made for Windows 2008 R2 and XenApp 6. For prior OS and XenApp version you must use the 5.2.1 version. There are a bunch of new reports available now, since Resource [...]]]></description>
			<content:encoded><![CDATA[<p>With this new version, Citrix give support to XenApp 6 and Microsoft Windows 2008 R2. Beware, the new Edgesight XenApp Client 5.3 is only made for Windows 2008 R2 and XenApp 6. For prior OS and XenApp version you must use the 5.2.1 version. There are a bunch of new reports available now, since Resource Manager is dead, Citrix needs to implement everything what we were use to find in RM. This is a small step but nothing big except for the licensing part, a brand new section is dedicated for licenses reporting.</p>
<p>What&#8217;s new ?</p>
<ul>
<li>Monitoring of Citrix License Servers and reporting on license usage by product group or individual products. The license servers to be monitored are specified at Configure &gt; License Monitor Configuration &gt; License Servers. License usage reports are available on the Track Usage tab.<span id="more-1144"></span></li>
<li>Monitoring of Published Applications and reporting on application launches and unique users. Published application reports are available on the Track Usage tab and the Browse tab.</li>
<li>Monitoring of session duration by farm or user group. Session duration reports are available on the Track Usage tab and the Browse tab.</li>
<li>EdgeSight Agent support for XenApp 6</li>
</ul>
<p>Warning : if you have a SQL 2000 database, you need to upgrade to SQL 2005 or SQL 2008 !</p>
<p>So here are some screen shot about the new tab with the two licenses nodes :</p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/03/snap00496.png" class="thickbox no_icon" rel="gallery-1144" title="snap00496"><img class="alignleft size-thumbnail wp-image-1150" title="snap00496" src="http://www.archy.net/wp-content/uploads/2010/03/snap00496-150x150.png" alt="" width="150" height="150" /></a></p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/03/snap00497.png" class="thickbox no_icon" rel="gallery-1144" title="snap00497"><img class="alignleft size-thumbnail wp-image-1151" title="snap00497" src="http://www.archy.net/wp-content/uploads/2010/03/snap00497-150x150.png" alt="" width="150" height="150" /></a></p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/03/snap00498.png" class="thickbox no_icon" rel="gallery-1144" title="snap00498"><img class="alignleft size-thumbnail wp-image-1152" title="snap00498" src="http://www.archy.net/wp-content/uploads/2010/03/snap00498-150x150.png" alt="" width="150" height="150" /></a></p>
<p>It looks very nice, but you cannot subscribe these license reports to generate an automatic email (yet)&#8230;</p>
<p>There still an annoying bug with the filter option on many pop-up pages&#8230; The problem is, if you don&#8217;t know there is a filter button outside the actual windows you can reach while playing with tab key, you cannot apply your filter&#8230; It has always been here in Edgesight 5.x versions&#8230; (I will post more detail about that tomorrow)</p>
<p>Next blog about Edgesight will be all architecture I&#8217;ve deployed for different customers</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a  href="http://www.archy.net/2010/04/28/citrix-edgesight-architecture-scenario-part-12/" rel="bookmark" class="crp_title">Citrix Edgesight architecture scenario &#8211; part 1/2</a></li><li><a  href="http://www.archy.net/2010/05/23/citrix-edgesight-architecture-scenario-%e2%80%93-part-22/" rel="bookmark" class="crp_title">Citrix Edgesight architecture scenario – part 2/2</a></li><li><a  href="http://www.archy.net/2010/01/14/how-to-debug-java-website-publish-application/" rel="bookmark" class="crp_title">How to debug Java website publish application</a></li><li><a  href="http://www.archy.net/2010/04/01/citrix-xenserver-5-6-beta-project-midnight-ride/" rel="bookmark" class="crp_title">Citrix XenServer 5.6 Beta Project Midnight Ride</a></li><li><a  href="http://www.archy.net/2010/04/01/citrix-web-interface-5-3/" rel="bookmark" class="crp_title">Citrix Web Interface 5.3</a></li></ul></div><span class="sfforumlink"><a  href="http://www.archy.net/forum/main-discussions/citrix-edgesight-5-3/"><hr />
<img src="http://www.archy.net/wp-content/plugins/simple-forum/styles/icons/default/bloglink.png" alt="" /> Join the forum discussion on this post</p>
</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.archy.net/2010/03/18/citrix-edgesight-5-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Citrix Online Plug-in for Mac, SSL Error 61: You have not chosen to trust&#8230;</title>
		<link>http://www.archy.net/2010/03/03/citrix-online-plug-in-ssl-error-61-you-have-not-chosen-to-trust/</link>
		<comments>http://www.archy.net/2010/03/03/citrix-online-plug-in-ssl-error-61-you-have-not-chosen-to-trust/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 13:30:40 +0000</pubDate>
		<dc:creator>Stephane THIRION</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Mac OSx Snow Leopard]]></category>
		<category><![CDATA[Secure Gateway VPX]]></category>
		<category><![CDATA[XenApp 5]]></category>
		<category><![CDATA[XenApp 6]]></category>
		<category><![CDATA[XenApp Plugin]]></category>
		<category><![CDATA[XenServer 5.5]]></category>
		<category><![CDATA[CAG]]></category>
		<category><![CDATA[Citrix Access Gateway]]></category>
		<category><![CDATA[Error 61]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mac OSx]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[SSL Error 61]]></category>
		<category><![CDATA[XenApp]]></category>

		<guid isPermaLink="false">http://www.archy.net/?p=1116</guid>
		<description><![CDATA[In this post I explain how I tried to troubleshoot this issue, if you need the solution, go at the end of this post. My company (Activlan) had to renew our certificate installed on our Citrix Secure Gateway 3.1.3. As you might know, Citrix has issued some virtual appliance and I had to chose between, [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #339966;"><strong>In this post I explain how I tried to troubleshoot this issue, if you need the solution, go at the end of this post.</strong></span></p>
<p>My company (Activlan) had to renew our certificate installed on our Citrix Secure Gateway 3.1.3. As you might know, Citrix has issued some virtual appliance and I had to chose between, Citrix Access Gateway 4.6.2 VPX and Netscaller VPX Express (<a  href="http://www.citrix.com/netscalervpxexpress" target="_blank">Free !</a>). My choice was to integrate a Citrix Access Gateway (CAG) mainly because we are using other product to manage VPN to all our customers and I wanted to install what I needed, nothing less, nothing more.</p>
<p>So here we go, I got my xva file from MyCitrix account and I just deploy it on our XenServer, very easy, very simple, just some clicks. Once installed and basics configuration set, I had to generate the CSR (<a  href="http://en.wikipedia.org/wiki/Certificate_signing_request" target="_blank">Certificate Signing Request</a>) and wait for Verisign to send me the certificate I had to use with the CAG. This was a big adventure and of course I should have read the manual before, and configuration isn&#8217;t so easy but I guess when you do it all day long you begin to know everything and I can say now, I know how to troubleshoot a CAG from the client side to the Web Interface.<span id="more-1116"></span></p>
<p>This error I got with my Mac didn&#8217;t show up on my Windows computers. In fact Apple doesn&#8217;t have a very big list of root certificate install on their OS compare to Windows. Here is the error message I got when I wanted to launch published application (XenApp). I was able to login in the CAG and the Web Interface as well, but not able to launch application.</p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/03/Screen-shot-2010-03-03-at-12.38.39-PM.png" class="thickbox no_icon" rel="gallery-1116" title="Screen shot 2010-03-03 at 12.38.39 PM"><img class="alignleft size-medium wp-image-1117" title="Screen shot 2010-03-03 at 12.38.39 PM" src="http://www.archy.net/wp-content/uploads/2010/03/Screen-shot-2010-03-03-at-12.38.39-PM-300x139.png" alt="" width="300" height="139" /></a>SSL Error 61: You have not chosen to trust &#8220;Verisign Class 3 Secure Server CA &#8211; G2&#8243;, the issuer of the server&#8217;s security certificate.</p>
<p>Error number: 183</p>
<p>Sexy message, isn&#8217;t it ?</p>
<p>After searching around a bit I found this thread on Citrix&#8217;s forums : <a  href="http://forums.citrix.com/message.jspa?messageID=447656" target="_blank">http://forums.citrix.com/message.jspa?messageID=447656</a> everything went clear, I didn&#8217;t had the root certificate on my computer to validate my brand new certificate from Verisign&#8230; So I tried to find how to get these root certificates, especially Verisign Class 3 Secure Server CA &#8211; G2, the one I needed. I found this Verisign address <a  href="http://www.verisign.com/repository/roots/pca_certificate.html" target="_blank">http://www.verisign.com/repository/roots/pca_certificate.html</a> where you just have to fill a form to get a zip with everything what you might need :</p>
<div id="wpshdo_8" class="wp-synhighlighter-outer"><div id="wpshdt_8" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_8"></a><a id="wpshat_8" class="wp-synhighlighter-title" href="#codesyntax_8"  onClick="javascript:wpsh_toggleBlock(8)" title="Click to show/hide code block">Code block</a></td><td align="right"><a  href="#codesyntax_8" onclick="javascript:wpsh_code(8)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a  href="#codesyntax_8" onclick="javascript:wpsh_print(8)" title="Print code"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a  href="http://www.archy.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_8" class="wp-synhighlighter-inner" style="display: block;"><pre class="text" style="font-family:monospace;">Stephane-THIRIONs-MacBook:VeriSign Root Certificates stephane$ ls ./*
./Roots ReadMe.txt	./SHA1 Thumbprints.txt	./Serial Numbers.txt
&nbsp;
./Generation 1 (G1) PCAs:
Class 1 Public Primary Certification Authority.cer	Class 2 Public Primary Certification Authority.cer	Class 3 Public Primary Certification Authority.cer
Class 1 Public Primary Certification Authority.pem	Class 2 Public Primary Certification Authority.pem	Class 3 Public Primary Certification Authority.pem
Class 1 Public Primary Certification Authority.txt	Class 2 Public Primary Certification Authority.txt	Class 3 Public Primary Certification Authority.txt
&nbsp;
./Generation 2 (G2) PCAs:
Class 1 Public Primary Certification Authority - G2.cer	Class 2 Public Primary Certification Authority - G2.pem	Class 3 Public Primary Certification Authority - G2.txt
Class 1 Public Primary Certification Authority - G2.pem	Class 2 Public Primary Certification Authority - G2.txt	Class 4 Public Primary Certification Authority - G2.cer
Class 1 Public Primary Certification Authority - G2.txt	Class 3 Public Primary Certification Authority - G2.cer	Class 4 Public Primary Certification Authority - G2.pem
Class 2 Public Primary Certification Authority - G2.cer	Class 3 Public Primary Certification Authority - G2.pem	Class 4 Public Primary Certification Authority - G2.txt
&nbsp;
./Generation 3 (G3) PCAs:
VeriSign Class 1 Public Primary Certification Authority - G3.cer	VeriSign Class 3 Public Primary Certification Authority - G3.cer
VeriSign Class 1 Public Primary Certification Authority - G3.pem	VeriSign Class 3 Public Primary Certification Authority - G3.pem
VeriSign Class 1 Public Primary Certification Authority - G3.txt	VeriSign Class 3 Public Primary Certification Authority - G3.txt
VeriSign Class 2 Public Primary Certification Authority - G3.cer	VeriSign Class 4 Public Primary Certification Authority - G3.cer
VeriSign Class 2 Public Primary Certification Authority - G3.pem	VeriSign Class 4 Public Primary Certification Authority - G3.pem
VeriSign Class 2 Public Primary Certification Authority - G3.txt	VeriSign Class 4 Public Primary Certification Authority - G3.txt
&nbsp;
./Generation 4 (G4) PCA:
VeriSign Class 3 Public Primary Certification Authority - G4.cer	VeriSign Class 3 Public Primary Certification Authority - G4.txt
VeriSign Class 3 Public Primary Certification Authority - G4.pem
&nbsp;
./Generation 5 (G5) PCA:
VeriSign Class 3 Public Primary Certification Authority - G5.cer	VeriSign Class 3 Public Primary Certification Authority - G5.txt
VeriSign Class 3 Public Primary Certification Authority - G5.pem
&nbsp;
./VeriSign Universal Root CA:
VeriSign Universal Root Certification Authority.cer	VeriSign Universal Root Certification Authority.pem	VeriSign Universal Root Certification Authority.txt
Stephane-THIRIONs-MacBook:VeriSign Root Certificates stephane$</pre></div></div>
<p>As you can see, the root certificate I&#8217;m looking for is here. I just find the good file and click on it, after validate this action with my password the certificate was install in the system Keychain Access in my Mac. You can go to check if the certificate is correctly installed, open Keychain Access in your Mac utilities folder (cmd+shift+U) :</p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/03/Screen-shot-2010-03-03-at-1.53.19-PM.png" class="thickbox no_icon" rel="gallery-1116" title="Screen shot 2010-03-03 at 1.53.19 PM"><img class="alignleft size-thumbnail wp-image-1120" title="Screen shot 2010-03-03 at 1.53.19 PM" src="http://www.archy.net/wp-content/uploads/2010/03/Screen-shot-2010-03-03-at-1.53.19-PM-150x150.png" alt="" width="150" height="150" /></a> Here it is. I though I was good to go and able to launch my applications, but no, not yet&#8230; I still got the same error message&#8230; My next step was to import our new certificate on my Mac as well following the same step as above. Importing the certificate didn&#8217;t work also, but importing the certificate with the intermediate certificate did the trick. A bit more explanation about <a  href="http://en.wikipedia.org/wiki/Intermediate_certificate_authorities" target="_blank">Intermediate Certificate here</a>.</p>
<p><strong>Question : Did our new certificate with the intermediate certificate without the root certificate update is enough to make it work ? The answer is <span style="color: #ff0000;">YES</span></strong></p>
<p><span style="color: #339966;"><strong>Conclusion: </strong></span>If you have this issue, don&#8217;t follow the error message on your screen, your computer might have everything needed about root certificate,. The only thing missing is your new certificate with the intermediate certificate. I don&#8217;t know why we need to import this certificate yet but I will find out. Certificate are not really my cup of tea with PKI, private key, public key etc&#8230; I need to dive again in this subject for a while to understand.</p>
<p><strong><span style="color: #339966;">Update :</span> </strong>Re issuing the certificate and importing it onto my Citrix Access Gateway with the intermediate certificate</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a  href="http://www.archy.net/2010/03/01/2010-02-23-tweets/" rel="bookmark" class="crp_title">2010-02-23 tweets</a></li><li><a  href="http://www.archy.net/2009/12/16/citrix-xenapp6-for-windows-2008-r2-tech-prev/" rel="bookmark" class="crp_title">Citrix XenApp 6 for Windows 2008 R2 Tech Prev.</a></li><li><a  href="http://www.archy.net/2010/05/15/citrix-synergy-2010-in-san/" rel="bookmark" class="crp_title">Citrix Synergy 2010 in San Francisco &#8211; Over</a></li><li><a  href="http://www.archy.net/2010/01/14/how-to-debug-java-website-publish-application/" rel="bookmark" class="crp_title">How to debug Java website publish application</a></li><li><a  href="http://www.archy.net/2010/04/10/citrix-xenapp-hiding-system-drives/" rel="bookmark" class="crp_title">Citrix XenApp &#8211; Hiding system drives part 1/2</a></li></ul></div><span class="sfforumlink"><a  href="http://www.archy.net/forum/main-discussions/citrix-online-plug-in-for-mac-ssl-error-61-you-have-not-chosen-to-trust/"><hr />
<img src="http://www.archy.net/wp-content/plugins/simple-forum/styles/icons/default/bloglink.png" alt="" /> Join the forum discussion on this post</p>
</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.archy.net/2010/03/03/citrix-online-plug-in-ssl-error-61-you-have-not-chosen-to-trust/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Citrix XenApp tuning tips</title>
		<link>http://www.archy.net/2010/02/21/citrix-xenapp-tuning-tips/</link>
		<comments>http://www.archy.net/2010/02/21/citrix-xenapp-tuning-tips/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 13:21:06 +0000</pubDate>
		<dc:creator>Stephane THIRION</dc:creator>
				<category><![CDATA[ArchY.net Site]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Presentation Server 4]]></category>
		<category><![CDATA[Presentation Server 4.5]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[XenApp 5]]></category>
		<category><![CDATA[XenApp 6]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Tuning Tips]]></category>
		<category><![CDATA[XenApp]]></category>

		<guid isPermaLink="false">http://www.archy.net/?p=1030</guid>
		<description><![CDATA[There are many post around to tune Citrix XenApp in many ways and there are even more to tune Microsoft Windows 2008 R2. I want to begin a new document as we had with Citrix Metaframe 1.8 tuning tips on Microsoft Windows NT4 TSE. This was a great document and very helpfull in many way. [...]]]></description>
			<content:encoded><![CDATA[<p>There are many post around to tune Citrix XenApp in many ways and  there are even more to tune Microsoft Windows 2008 R2.</p>
<p>I want to  begin a new document as we had with Citrix Metaframe 1.8 tuning tips on  Microsoft Windows NT4 TSE. This was a great document and very helpfull  in many way.</p>
<p>If you have any ideas, agree on what I will write or  disagree, I take everything to form a big document available online for  everyone.</p>
<p>First I would like to know if we should create a  wiki-like to let everyone working on the document and add/change at  will, what do you think ?</p>
Note: There is a poll embedded within this post, please visit the site to participate in this post's poll.
<p>If you choose other please add a comment bellow !</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a  href="http://www.archy.net/2008/11/29/install-citrix-xenapp5-on-windows-2008/" rel="bookmark" class="crp_title">Install Citrix XenApp5 on Windows 2008</a></li><li><a  href="http://www.archy.net/2009/01/21/quick-install-citrix-webinterface-501-on-windows-2003/" rel="bookmark" class="crp_title">Quick install Citrix WebInterface 5.0.1 on Windows 2003</a></li><li><a  href="http://www.archy.net/2009/09/06/weekly-twitts-for-2009-09-06/" rel="bookmark" class="crp_title">Weekly Twitts for 2009-09-06</a></li><li><a  href="http://www.archy.net/2009/02/01/windows-7-drivers-lifecam/" rel="bookmark" class="crp_title">Windows 7 drivers LifeCam</a></li><li><a  href="http://www.archy.net/2010/03/01/2010-02-23-tweets/" rel="bookmark" class="crp_title">2010-02-23 tweets</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>http://www.archy.net/2010/02/21/citrix-xenapp-tuning-tips/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>XenApp 4.5 / 5 unattended installation</title>
		<link>http://www.archy.net/2010/02/19/xenapp-4-5-5-unattended-installation/</link>
		<comments>http://www.archy.net/2010/02/19/xenapp-4-5-5-unattended-installation/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 09:32:39 +0000</pubDate>
		<dc:creator>Stephane THIRION</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Presentation Server 4.5]]></category>
		<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[XenApp 5]]></category>
		<category><![CDATA[Silent Install]]></category>
		<category><![CDATA[Unattended]]></category>
		<category><![CDATA[XenApp]]></category>

		<guid isPermaLink="false">http://www.archy.net/?p=1020</guid>
		<description><![CDATA[Unattended installation is very usefull in large XenApp farm, of course if you&#8217;re deploying one server per two month you might not be interessed by this process automation but this is always interresting to know this kind of tips. Scripts bellow are example I use every day in production to install servers, of course its [...]]]></description>
			<content:encoded><![CDATA[<p>Unattended installation is very usefull in large XenApp farm, of course if you&#8217;re deploying one server per two month you might not be interessed by this process automation but this is always interresting to know this kind of tips. Scripts bellow are example I use every day in production to install servers, of course its needs to be change and adapt to your own settings and of course if you have some ideas to share, I take it !</p>
<p><em>This unattended example assume you have only one network card enable, a local XenApp source installation file and IP address type 192.168.3 / 192.168.10 / 192.168.200 / 10.113 / 10.112. This file allow to join an existing farm named CTX_TEST with a datastore hosted on a SQL server. Finally, you need to create one folder per farm inside your XenApp source folder if you are automating multi farm setup.</em></p>
<p><em></em><span id="more-1020"></span></p>
<p>This is the UnattendedTemplate.txt you can find on your XenApp installation media, this file is very simple to fill and everything is comment and explain. This file example is for the XenApp zone named <strong><em>ZoneA</em></strong></p>
<p>I wanted to comment every option bellow but I think existing comments are very clear and you will understand everything. If you have any question, just ask on the forum.</p>
<div id="wpshdo_9" class="wp-synhighlighter-outer"><div id="wpshdt_9" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_9"></a><a id="wpshat_9" class="wp-synhighlighter-title" href="#codesyntax_9"  onClick="javascript:wpsh_toggleBlock(9)" title="Click to show/hide code block">Code block</a></td><td align="right"><a  href="#codesyntax_9" onclick="javascript:wpsh_code(9)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a  href="#codesyntax_9" onclick="javascript:wpsh_print(9)" title="Print code"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a  href="http://www.archy.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_9" class="wp-synhighlighter-inner" style="display: block;"><pre class="ini" style="font-family:monospace;">***************************************************************
* This is a sample answer file for unattended installations of
* Citrix XenApp 5.0.
*
* To run an unattended installation of XenApp,
* make a copy of this file and customize it for
* your needs.
*
* If you do not use an answer file or if you use an answer
* file but do not specify answers to some questions, default
* answers are used for those questions. The default answers
* in the installation are identical to the default answers
* listed in this sample answer file.
*
* This file installs only components contained in mps.msi.
* You must install prerequisites, including a Citrix XenApp
* Plugin for Hosted Apps from the XenAppHosted.msi, before
* installing XenApp. See the <span class="st0">&quot;Stage 4: Configure Pass-Through
* Client Authentication&quot;</span> section in the Citrix XenApp
* Installation Guide.
*
* Important: For security reasons, account passwords are not
* stored in this file and must be provided in the command-line
* when you run the answer file. For information about the
* msiexec commands used for providing credential information,
* see the “Setup Property Names and Values” section in the
* “XenApp Windows Installer Properties Reference” chapter of
* the Citrix XenApp Installation Guide.
*
* For information about installing XenApp, see the
* Citrix XenApp Installation Guide and the XenApp Installation
* Checklist. For information about Setup properties for
* other components, see their respective administrator's
* and installation guides.
*
***************************************************************
&nbsp;
***************************************************************
* Citrix License Agreement
*
* This section specifies your acceptance of the Citrix End-User
* License Agreement. Set this value to <span class="st0">&quot;Yes&quot;</span> to
* indicate your acceptance of the Citrix End-User License
* Agreement.
*
* The unattended installation fails if you use any value other
* than<span class="st0">&quot;Yes&quot;</span>.
***************************************************************
&nbsp;
<span class="re0"><span class="br0">&#91;</span>Citrix License Agreement<span class="br0">&#93;</span></span>
<span class="re1">AcceptLicense</span><span class="sy0">=</span><span class="re2">Yes</span>
&nbsp;
***************************************************************
* Data Store Configuration
*
* This section specifies whether you are creating or joining a
* farm and how to connect to the data store.
*
* Multiple options are available as follows:
*
* -&gt; To create a farm using an Oracle, Microsoft SQL Server, or
*    IBM DB2 database:
*    - Set CreateFarm to Yes
*    - Set DirectConnect to Yes
*    - Complete the Direct Connect Settings section
*    - Complete the Farm Settings section
*
* -&gt; To create a farm using an Access database:
*    &gt; Set CreateFarm to Yes
*    - Set LocalDBType to Access
*    - Set DirectConnect to No
*    - Complete the Farm Settings section
*
* -&gt; To create a farm using a SQL Server Express database:
*    - Set CreateFarm to Yes
*    - Set LocalDBType to SQL
*    - Set DirectConnect to No
*    - Complete the Farm Settings section
*
*
* -&gt; To join a farm using an Oracle, SQL Server, or DB2
*    database:
*    - Set CreateFarm to No
*    - Set DirectConnect to Yes
*    - Complete the Direct Connect Settings section
*
* -&gt; To join a farm by connecting to an Access or SQL Server Express
*    database stored on another server <span class="br0">&#40;</span>Indirect Connection<span class="br0">&#41;</span>:
*    - Set CreateFarm to No
*    - Set DirectConnect to No
*    - Complete the Indirect Connect Settings section
*
*
* Specify the name of the zone where this server will reside.
* If no zone name is specified, a default zone name is applied
* to the first server in a farm. If no zone name is specified
* for servers joining a farm, the servers are added to the zone
* of the first server in the farm.
*
* If you are using an Oracle, SQL Server, or DB2 database,
* manually create a .DSN file within the ODBC Data Source
* Administrator <span class="st0">&quot;File DSN&quot;</span> option before running the unattended
* installation process.
*
* IMPORTANT: Read the Citrix XenApp Installation
* Guide and the Citrix XenApp Administrator's
* Guide for information about data store configuration, supported
* databases, setting up a DSN file, moving servers within
* farms, and renaming zones.
***************************************************************
&nbsp;
<span class="re0"><span class="br0">&#91;</span>Data Store Configuration<span class="br0">&#93;</span></span>
<span class="re1">CreateFarm</span><span class="sy0">=</span><span class="re2">No</span>
<span class="re1">LocalDBType</span><span class="sy0">=</span>
<span class="re1">DirectConnect</span><span class="sy0">=</span><span class="re2">Yes</span>
<span class="co0">; Leave this blank to use the default zone name</span>
<span class="re1">ZoneName</span><span class="sy0">=</span><span class="re2">ZoneA</span>
&nbsp;
***************************************************************
* Direct Connect Settings
*
* This section specifies settings for an Oracle, SQL Server, or
* DB2 database.
*
* This section is used only if the value for DirectConnect is
* Yes in the Data Store Configuration section.
*
* In this section, specify the path to the DSN
* file for this database:
*    - If you are creating a farm, see the Citrix XenApp
*      Installation Guide for details on how to
*      create a DSN file to use here.
*    - If you are joining a farm, specify the path
*      to the DSN file created on the server where you
*      created the farm or a copy of it. For details, see the
*      Citrix XenApp Installation Guide.
*
* Note: Specifying passwords in the unattended answer file is
* not supported for security reasons. When you run the command
* to install XenApp using this answer file, add the
* CTX_MF_ODBC_PASSWORD Setup property to the command line.
*
* If Windows NT authentication is being used, include
* the domain in the user name in the form domain\username.
* This command is described in the Citrix XenApp
* Installation Guide.
* Note: Fully Qualified Domain Names are not supported.
***************************************************************
&nbsp;
<span class="re0"><span class="br0">&#91;</span>Direct Connect Settings<span class="br0">&#93;</span></span>
<span class="re1">DSNFilePath</span><span class="sy0">=</span><span class="re2">c:\Citrix\XenApp5\CTX_TEST\MF20.dsn</span>
<span class="re1">UserName</span><span class="sy0">=</span><span class="re2">CTXTEST_RW</span>
<span class="re1">Password</span><span class="sy0">=</span><span class="re2">password123654</span>
* To specify the password, use the CTX_MF_ODBC_PASSWORD Setup
* property.
*
*
***************************************************************
* SQL Server Express Settings
*
* This section specifies which SQL Server Express settings to use when
* connecting to the database.
*
* Use this section if you set CreateFarm to Yes and
* LocalDBType to SQL
*
* In this section, specify the name of the SQL Server Express
* instance to use when connecting to the data store. The
* default is CITRIX_METAFRAME.
*
*
***************************************************************
&nbsp;
<span class="re0"><span class="br0">&#91;</span>SQL Server Express Settings<span class="br0">&#93;</span></span>
<span class="re1">InstanceName</span><span class="sy0">=</span><span class="re2">CTX_TEST</span>
&nbsp;
***************************************************************
* Indirect Connect Settings
*
* This section specifies settings for connecting indirectly to
* an Access or SQL Server Express database on another server.
*
* This section is used only if CreateFarm is No AND
* DirectConnect is No.
*
* In this section, specify:
*
* 1. The name of the server you want to indirectly connect to
*    and the port number to use.
*
* 2. The username and domain of the farm administrator account
*    that can access the first server in the farm.
*
* Note: Specifying passwords in the unattended answer file is
* not supported for security reasons. When you run the command to
* install XenApp using this answer file, add the
* CTX_MF_INDIRECT_JOIN_PASSWORD Setup property to the command line.
* This property is described in the Citrix XenApp
* Installation Guide.
*
* Note: When using the indirect connect settings, you must specify
* the domain name and the user name since both fields are required.
* Fully Qualified Domain Names are not supported.
***************************************************************
&nbsp;
<span class="re0"><span class="br0">&#91;</span>Indirect Connect Settings<span class="br0">&#93;</span></span>
<span class="re1">IndirectServerName</span><span class="sy0">=</span>
<span class="re1">IndirectServerPort</span><span class="sy0">=</span><span class="re2">2512</span>
<span class="re1">UserName</span><span class="sy0">=</span>
<span class="re1">DomainName</span><span class="sy0">=</span>
&nbsp;
*To specify the password, use the CTX_MF_INDIRECT_JOIN_PASSWORD Setup
*property in the command line.
&nbsp;
***************************************************************
* Farm Settings
*
* This section specifies the settings for creating a farm.
*
* This section is used only if CreateFarm is Yes in the Data
* Store Configuration section.
*
* In this section, specify:
*
* 1. The name of the farm you are creating.
*
* 2. A Windows NT user <span class="br0">&#40;</span>user name and domain<span class="br0">&#41;</span> who will be the
*    administrator of this farm. This user can later designate
*    other users as administrators of the farm using the
*    XenApp Advanced Configuration tool.
***************************************************************
&nbsp;
<span class="re0"><span class="br0">&#91;</span>Farm Settings<span class="br0">&#93;</span></span>
<span class="re1">FarmName</span><span class="sy0">=</span><span class="re2">CTX_TEST</span>
<span class="re1">FarmAdministratorUsername</span><span class="sy0">=</span>
<span class="re1">FarmAdministratorDomain</span><span class="sy0">=</span>
&nbsp;
***************************************************************
* Shadowing Restrictions
*
* This section specifies whether or not shadowing is enabled. If
* shadowing is enabled, this section specifies shadowing
* restrictions.
***************************************************************
&nbsp;
<span class="re0"><span class="br0">&#91;</span>Shadowing Restrictions<span class="br0">&#93;</span></span>
<span class="re1">AllowShadowing</span><span class="sy0">=</span><span class="re2">Yes</span>
<span class="re1">ProhibitRemoteControl</span><span class="sy0">=</span><span class="re2">No</span>
<span class="re1">ProhibitNotificationOff</span><span class="sy0">=</span><span class="re2">No</span>
<span class="re1">ProhibitLoggingOff</span><span class="sy0">=</span><span class="re2">No</span>
&nbsp;
***************************************************************
* Citrix XML Service
*
* This section lets you specify if you want the XML Service to use
* a dedicated port or share a port with IIS.
*
* The default port is 80 for the XML service. If IIS is installed,
* you can share port 80 between IIS and the XML service,
* or you can dedicate a different port to the XML Service.
*
*
* If ExtendIIS is set to No, the specified port is used for the
* Citrix XML Service, and EnableVirtualScripts is ignored.
* If ExtendIIS is set to No and IIS is installed <span class="br0">&#40;</span>or any
* service is already using port 80<span class="br0">&#41;</span>, Citrix XML Service takes the
* secondary default port as 8080.
*
* If ExtendIIS is set to Yes, DedicatedPortNumber is ignored
* and EnableVirtualScripts is used to decide if the virtual scripts
* directory will be created. It will be created ONLY if
* Virtual Scripts Directory does not yet exist on the system. If it exists,
* EnableVirtualScripts has no effect on the installation.
*
* If you do set ExtendIIS to Yes and IIS is not available, the
* dedicated port number is used.
*
* If you do set ExtendIIS to Yes and IIS exists and
* VirtualScriptsDirectory does not yet exist on the system but
* EnableVirtualScripts is set to No, installation fails.
*
* If you do not use the default port 80, all XenApp plugins
* using TCP/IP with HTTP server location must be configured to
* make requests to the specified port number.
*
* If ExtendIIS is set to Yes and you are installing on Windows
* Server 2008 x64 Edition, the ExtendIIS setting
* will be disregarded and ExtendIIS set to No.
***************************************************************
&nbsp;
<span class="re0"><span class="br0">&#91;</span>Citrix XML Service<span class="br0">&#93;</span></span>
<span class="re1">ExtendIIS</span><span class="sy0">=</span><span class="re2">No</span>
<span class="co0">; This setting applies only if ExtendIIS is No</span>
<span class="re1">DedicatedPortNumber</span><span class="sy0">=</span><span class="re2">80</span>
<span class="co0">; This setting applies only if ExtendIIS is Yes</span>
<span class="re1">EnableVirtualScripts</span><span class="sy0">=</span><span class="re2">Yes</span>
&nbsp;
***************************************************************
* Options
*
* This section contains additional options for unattended
* installation.
*
* - RebootOnFinish -
*
* RebootOnFinish specifies whether Setup shuts down and restarts
* the server after the installation completes.
*
* If you set RebootOnFinish to No, manually restart the server
* before using XenApp.
*
* - LogLevel -
*
* LogLevel specifies the granularity of Windows Installer logging in
* the log file.
*
* To disable Windows Installer logging, set LogLevel to No.
*
* To configure Windows Installer logging, set LogLevel to one of the
* following values:
*
* 	*	everything <span class="br0">&#40;</span>the same as using all options listed
*               below for voicewarmup<span class="br0">&#41;</span>
* 	v	verbose
* 	o	out of disk space
* 	i	informational messages
* 	c	command line parameters
* 	e	error messages
* 	w	warning messages
* 	a	action execution messages
* 	r	informational messages for the currently
*               running action
* 	m	out of memory errors
* 	u	user request messages
* 	p	property values
* 	+	append to an existing log file
* 	!	flush each line to the log
*
*
* Logfile specifies the path to the log file for the
* installation.
*
* - UILevel -
*
* UILevel specifies how much appears on the screen during
* the silent installation. Default is BASIC_UI_NO_MODAL.
* You can set UILevel according to one of the following:
*
* NO_UI
* BASIC_UI
* BASIC_UI_NO_MODAL
* BASIC_UI_MODAL
* REDUCED_UI
*
* NO_UI is equivalent to the msiexec q option. Setup
* displays no UI.
*
* BASIC_UI is equivalent to the msiexec qb option. Setup
* displays basic UI, but hides Cancel buttons.
*
* BASIC_UI_NO_MODAL is equivalent to the msiexec qb-
* option. Setup displays no modal dialog boxes.
*
* BASIC_UI_MODAL is equivalent to the msiexec qb+ option.
* Setup displays no UI except for a modal dialog box
* at the end of the installation.
*
* REDUCED_UI is equivalent to the msiexec qr option.
* Setup displays a reduced UI without a modal dialog box
* at the end of the installation.
*
*
***************************************************************
&nbsp;
<span class="re0"><span class="br0">&#91;</span>Options<span class="br0">&#93;</span></span>
<span class="re1">RebootOnFinish</span><span class="sy0">=</span><span class="re2">No</span>
<span class="re1">LogLevel</span><span class="sy0">=</span><span class="re2">*v</span>
<span class="re1">LogFile</span><span class="sy0">=</span><span class="re2">c:\XENAPPCTX_PROD.log</span>
&nbsp;
<span class="re1">IgnoreMCM</span><span class="sy0">=</span><span class="re2">No</span>
<span class="re1">RemoveWITurnkey</span><span class="sy0">=</span><span class="re2">No</span>
&nbsp;
***************************************************************
&nbsp;
* XenApp
*
* ServerType specifies the edition of XenApp that you
* are installing.
*
* Supported values:
*      Platinum <span class="br0">&#40;</span>Platinum Edition<span class="br0">&#41;</span>
*      Enterprise  <span class="br0">&#40;</span>Enterprise Edition<span class="br0">&#41;</span>
*      Advanced  <span class="br0">&#40;</span>Advanced Edition<span class="br0">&#41;</span>
*
***************************************************************
&nbsp;
<span class="re0"><span class="br0">&#91;</span>PresentationServer<span class="br0">&#93;</span></span>
<span class="re1">ServerType</span><span class="sy0">=</span><span class="re2">Enterprise</span>
&nbsp;
***************************************************************
* Citrix License Server
*
* This section describes the Citrix License Server settings.
*
* If CreateFarm is set to Yes, supported values for
* LicenseServerChoice are:
*
* - <span class="st0">&quot;Point&quot;</span>
* - <span class="st0">&quot;DontKnow&quot;</span>
*
* If CreateFarm is set to No, supported values for LicenseServerChoice
* are:
*
* - <span class="st0">&quot;Point&quot;</span>
* - <span class="st0">&quot;UseFarmSettings&quot;</span>
* - <span class="st0">&quot;DontKnow&quot;</span>
*
* If you set LicenseServerChoice to <span class="st0">&quot;Point,&quot;</span> set
* LicenseServerName to either the name of the license server
* or its IP address.
*
* If you want to set a different license server port from the
* default value, you must set both LicenseServerPortDefault<span class="sy0">=</span><span class="re2">No and</span>
* LicenseServerPort. For example:
*
* LicenseServerPortDefault<span class="sy0">=</span><span class="re2">No</span>
* LicenseServerPort<span class="sy0">=</span><span class="re2">27009</span>
*
***************************************************************
&nbsp;
<span class="re0"><span class="br0">&#91;</span>LicenseServer<span class="br0">&#93;</span></span>
<span class="re1">LicenseServerChoice</span><span class="sy0">=</span><span class="re2">UseFarmSettings</span>
&nbsp;
<span class="re1">LicenseServerPortDefault</span><span class="sy0">=</span><span class="re2">Yes</span>
<span class="re1">LicenseServerPort</span><span class="sy0">=</span><span class="re2">27000</span>
&nbsp;
***************************************************************
*
* MFRDP <span class="br0">&#40;</span>Remote Desktop Protocol<span class="br0">&#41;</span>
*
* Set DisableRDPPrompForPassword to <span class="st0">&quot;Yes&quot;</span> if you enable
* Terminal Services to accept credentials directly from the
* Remote Desktop Windows Client.
*
* If you set DisableRDPPrompForPassword to <span class="st0">&quot;No&quot;</span> users are
* prompted for credentials each time they connect using
* Remote Desktop Protocol.
*
***************************************************************
&nbsp;
<span class="re0"><span class="br0">&#91;</span>MFRDP<span class="br0">&#93;</span></span>
<span class="re1">DisableRDPPromptForPassword</span><span class="sy0">=</span><span class="re2">Yes</span>
&nbsp;
***************************************************************
*
* IMA Encryption
*
* Setting EncryptionEnable to <span class="nu0">1</span> instructs Setup to enable IMA
* Encryption for the farm during a Create Farm server installation.
*
* This option is only relevant for a Create Farm installation. If you
* need to enable encryption on a join, use the console. The default
* is <span class="nu0">0</span>.
*
* Set KeyType to <span class="st0">&quot;generate,&quot;</span> <span class="st0">&quot;file,&quot;</span> or <span class="st0">&quot;existing&quot;</span> to indicate how
* Setup will receive the IMA Encryption settings. The default is <span class="st0">&quot;file.&quot;</span>
*
* Set NewKeyPath to the complete path where you want the generated key to
* be saved. This option is only available when using KeyType<span class="sy0">=</span><span class="re2">generate.</span>
*
* Set KeyPath to the location where an already-generated key will be loaded.
* This option is only available when using KeyType<span class="sy0">=</span><span class="re2">file.</span>
*
* The KeyPath, NewKeyPath, and KeyType attributes are useful only when they
* are used in conjunction. Setting one of the options and not the other will
* result in the encryption key not being loaded.
*
***************************************************************
&nbsp;
<span class="re0"><span class="br0">&#91;</span>IMAEncryption<span class="br0">&#93;</span></span>
<span class="re1">EncryptionEnable</span><span class="sy0">=</span><span class="re2">0</span>
<span class="re1">KeyType</span><span class="sy0">=</span><span class="re2">file</span>
<span class="re1">NewKeyPath</span><span class="sy0">=</span>
<span class="re1">KeyPath</span><span class="sy0">=</span></pre></div></div>
<p>And if you want to go further, you can create one file per zone and use a script to deploy your XenApp server to the right zone while checking the machine IP address. This script needs XenApp installation files locally on your server (c:\Citrix\XenApp5).</p>
<div id="wpshdo_10" class="wp-synhighlighter-outer"><div id="wpshdt_10" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_10"></a><a id="wpshat_10" class="wp-synhighlighter-title" href="#codesyntax_10"  onClick="javascript:wpsh_toggleBlock(10)" title="Click to show/hide code block">Code block</a></td><td align="right"><a  href="#codesyntax_10" onclick="javascript:wpsh_code(10)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a  href="#codesyntax_10" onclick="javascript:wpsh_print(10)" title="Print code"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a  href="http://www.archy.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_10" class="wp-synhighlighter-inner" style="display: block;"><pre class="vb" style="font-family:monospace;"><span class="kw1">On</span> <span class="kw1">Error</span> <span class="kw1">Resume</span> <span class="kw1">Next</span>
&nbsp;
<span class="kw1">Dim</span> objShell
<span class="kw1">Dim</span> WshNetwork
<span class="kw1">Dim</span> INSTMF
<span class="kw1">Dim</span> objFSO
&nbsp;
<span class="kw1">Set</span> WshNetwork = CreateObject(<span class="st0">&quot;WScript.Network&quot;</span>)
<span class="kw1">Set</span> objShell = CreateObject(<span class="st0">&quot;WScript.Shell&quot;</span>)
<span class="kw1">Set</span> objFSO = CreateObject(<span class="st0">&quot;Scripting.FileSystemObject&quot;</span>)
&nbsp;
<span class="co1">' ---------------------------------------------------------------------
</span><span class="co1">' ---------------------------------------------------------------------
</span><span class="co1">' ------------------------ Zoning XenApp ------------------------------
</span>
<span class="kw1">Dim</span> objWMIService, IPConfigSet, IPConfig, IPAddr, TabloIP, SrvSite
&nbsp;
<span class="kw1">Set</span> objWMIService = GetObject(<span class="st0">&quot;winmgmts:&quot;</span> _
    &amp; <span class="st0">&quot;{impersonationLevel=impersonate}!\\.\root\cimv2&quot;</span>)
&nbsp;
<span class="kw1">Set</span> IPConfigSet = objWMIService.ExecQuery _
    (<span class="st0">&quot;Select * from Win32_NetworkAdapterConfiguration Where IPEnabled=TRUE&quot;</span>)
&nbsp;
<span class="co1">' This part check if more than one network card is enable
</span><span class="kw1">If</span> IPConfigSet.count &lt;&gt; 1 <span class="kw1">Then</span>
	Err.Raise <span class="st0">&quot;666&quot;</span>,<span class="st0">&quot;Network card check&quot;</span>,<span class="st0">&quot;Two network card are enable, XenApp zoning will now stop&quot;</span>
	wscript.echo <span class="st0">&quot;Error : &quot;</span> &amp; err.number &amp; <span class="st0">&quot; \ &quot;</span> &amp; err.description
	WScript.Quit(Err.Number)
<span class="kw1">Else</span>
	IPAddr = <span class="st0">&quot;&quot;</span>
	<span class="kw1">For</span> <span class="kw1">Each</span> IPConfig <span class="kw1">in</span> IPConfigSet
	    <span class="kw1">If</span> <span class="kw1">Not</span> IsNull(IPConfig.IPAddress) <span class="kw1">Then</span>
        	<span class="kw1">For</span> i=<span class="kw1">LBound</span>(IPConfig.IPAddress) <span class="kw1">to</span> <span class="kw1">UBound</span>(IPConfig.IPAddress)
	            IPAddr = IPConfig.IPAddress(i)
        	<span class="kw1">Next</span>
    	<span class="kw1">End</span> <span class="kw1">If</span>
	<span class="kw1">Next</span>
	TabloIP=split(IPAddr,<span class="st0">&quot;.&quot;</span>)
	<span class="kw1">If</span> TabloIP(0) &amp; <span class="st0">&quot;.&quot;</span> &amp; TabloIP(1) = <span class="st0">&quot;10.113&quot;</span> <span class="kw1">Or</span> TabloIP(0) &amp; <span class="st0">&quot;.&quot;</span> &amp; TabloIP(1) = <span class="st0">&quot;10.112&quot;</span> <span class="kw1">Then</span>
		SrvSite = <span class="st0">&quot;ZoneD&quot;</span>
	<span class="kw1">Else</span>
		<span class="kw1">Select</span> <span class="kw1">Case</span> TabloIP(0) &amp; <span class="st0">&quot;.&quot;</span> &amp; TabloIP(1) &amp; <span class="st0">&quot;.&quot;</span> &amp; TabloIP(2)
			<span class="kw1">Case</span> <span class="st0">&quot;192.168.3&quot;</span>
				SrvSite = <span class="st0">&quot;ZoneA&quot;</span>
			<span class="kw1">Case</span> <span class="st0">&quot;192.168.10&quot;</span>
				SrvSite = <span class="st0">&quot;ZoneB&quot;</span>
			<span class="kw1">Case</span> <span class="st0">&quot;192.168.200&quot;</span>
				SrvSite = <span class="st0">&quot;ZoneC&quot;</span>
			<span class="kw1">Case</span> <span class="kw1">Else</span>
				SrvSite = <span class="st0">&quot;UNKNOW&quot;</span>
				Err.Raise <span class="st0">&quot;666&quot;</span>,<span class="st0">&quot;UNKNOW IP&quot;</span>,<span class="st0">&quot;This zone isn't setup in the installation process&quot;</span>
				wscript.echo <span class="st0">&quot;Erreur : &quot;</span> &amp; err.number &amp; <span class="st0">&quot; &quot;</span> &amp; err.description
				WScript.Quit(Err.Number)
		<span class="kw1">End</span> <span class="kw1">Select</span>
	<span class="kw1">End</span> <span class="kw1">If</span>
<span class="kw1">End</span> <span class="kw1">If</span>
<span class="co1">' ---------------------------------------------------------------------
</span>
objShell.CurrentDirectory = <span class="st0">&quot;C:\Citrix\XenApp5&quot;</span>
<span class="co1">' This is the command line installation
</span>INSTMF = objShell.Run(<span class="st0">&quot;&quot;</span><span class="st0">&quot;CTX_TEST\UnattendedInstall.exe&quot;</span><span class="st0">&quot; &quot;</span><span class="st0">&quot;XenApp Server\w2k8x64\mps.msi&quot;</span><span class="st0">&quot; &quot;</span> &amp; Chr(34) &amp; <span class="st0">&quot;CTX_TEST\CTX_TEST-&quot;</span> &amp; SrvSite &amp; <span class="st0">&quot;.txt&quot;</span><span class="st0">&quot; &quot;</span> &amp; Chr(34) &amp; <span class="st0">&quot;CTX_MF_ODBC_PASSWORD=passwors123654 /qb-&quot;</span>,9,<span class="kw1">true</span>)
&nbsp;
<span class="kw1">If</span> Err.Number &lt;&gt; 0 <span class="kw1">Then</span> WScript.Quit(Err.Number)</pre></div></div>
<p>This unatended installation generate a verbose log file on c:\XENAPPCTX_PROD.log , don&#8217;t under estimate this part, it can be very usefull to troubleshoot your silent installation.</p>
<p>One last thing before you go, don&#8217;t forget to use a valid MF20.dsn :</p>
<div id="wpshdo_11" class="wp-synhighlighter-outer"><div id="wpshdt_11" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_11"></a><a id="wpshat_11" class="wp-synhighlighter-title" href="#codesyntax_11"  onClick="javascript:wpsh_toggleBlock(11)" title="Click to show/hide code block">Code block</a></td><td align="right"><a  href="#codesyntax_11" onclick="javascript:wpsh_code(11)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a  href="#codesyntax_11" onclick="javascript:wpsh_print(11)" title="Print code"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a  href="http://www.archy.net/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.archy.net/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_11" class="wp-synhighlighter-inner" style="display: block;"><pre class="ini" style="font-family:monospace;"><span class="re0"><span class="br0">&#91;</span>ODBC<span class="br0">&#93;</span></span>
<span class="re1">DRIVER</span><span class="sy0">=</span><span class="re2">SQL Server</span>
<span class="re1">UID</span><span class="sy0">=</span><span class="re2">CTXTEST_RW</span>
<span class="re1">Network</span><span class="sy0">=</span><span class="re2">DBMSSOCN</span>
<span class="re1">DATABASE</span><span class="sy0">=</span><span class="re2">CTX_TEST</span>
<span class="re1">APP</span><span class="sy0">=</span><span class="re2">Citrix IMA</span>
<span class="re1">SERVER</span><span class="sy0">=</span><span class="re2">DBINSTANCE_NAME</span></pre></div></div>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a  href="http://www.archy.net/2008/11/29/install-citrix-xenapp5-on-windows-2008/" rel="bookmark" class="crp_title">Install Citrix XenApp5 on Windows 2008</a></li><li><a  href="http://www.archy.net/2010/06/11/eventlog-parser-wmi-and-export-to-excel-vbscript/" rel="bookmark" class="crp_title">EventLog parser (WMI) and export to Excel vbscript</a></li><li><a  href="http://www.archy.net/2010/04/01/citrix-web-interface-5-3/" rel="bookmark" class="crp_title">Citrix Web Interface 5.3</a></li><li><a  href="http://www.archy.net/2009/12/16/citrix-xenapp6-for-windows-2008-r2-tech-prev/" rel="bookmark" class="crp_title">Citrix XenApp 6 for Windows 2008 R2 Tech Prev.</a></li><li><a  href="http://www.archy.net/2010/05/23/citrix-edgesight-architecture-scenario-%e2%80%93-part-22/" rel="bookmark" class="crp_title">Citrix Edgesight architecture scenario – part 2/2</a></li></ul></div><span class="sfforumlink"><a  href="http://www.archy.net/forum/main-discussions/xenapp-4-5-5-unattended-installation/"><hr />
<img src="http://www.archy.net/wp-content/plugins/simple-forum/styles/icons/default/bloglink.png" alt="" /> Join the forum discussion on this post</p>
</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.archy.net/2010/02/19/xenapp-4-5-5-unattended-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to debug Java website publish application</title>
		<link>http://www.archy.net/2010/01/14/how-to-debug-java-website-publish-application/</link>
		<comments>http://www.archy.net/2010/01/14/how-to-debug-java-website-publish-application/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 09:49:34 +0000</pubDate>
		<dc:creator>Stephane THIRION</dc:creator>
				<category><![CDATA[Presentation Server 4]]></category>
		<category><![CDATA[Presentation Server 4.5]]></category>
		<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[XenApp 5]]></category>
		<category><![CDATA[XenApp 6]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[debug]]></category>
		<category><![CDATA[extranet]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Java Exception]]></category>
		<category><![CDATA[JRE 1.6]]></category>
		<category><![CDATA[Published application]]></category>
		<category><![CDATA[Runtimes]]></category>
		<category><![CDATA[XenApp]]></category>

		<guid isPermaLink="false">http://www.archy.net/?p=974</guid>
		<description><![CDATA[These last days I had to find out what was wrong with an extranet publish through XenApp. This extranet is using java and the issue users reported was random disconnection with a java popup. Find out what is wrong with extranet application is very hard because this is just a published browser with an URL [...]]]></description>
			<content:encoded><![CDATA[<p>These last days I had to find out what was wrong with an extranet publish through XenApp. This extranet is using java and the issue users reported was random disconnection with a java popup. Find out what is wrong with extranet application is very hard because this is just a published browser with an URL pointing to a website in another company, everything works well until one day&#8230; My goal was to bring as much information and details as possible to the extranet&#8217;s support team and I needed to use the java console and grab the most verbose log possible.</p>
<p>First you need to publish the Java Control Panel, <span id="more-974"></span>you can do it easily by make a new publish application and using the executable file called javacpl.exe in the java/bin directory of your Java JRE installation directory. Look the next screenshot for details about published application :</p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/01/Screen-shot-2010-01-14-at-10.27.17.png" class="thickbox no_icon" rel="gallery-974" title="Screen shot 2010-01-14 at 10.27.17"><img class="alignnone size-thumbnail wp-image-976" title="Screen shot 2010-01-14 at 10.27.17" src="http://www.archy.net/wp-content/uploads/2010/01/Screen-shot-2010-01-14-at-10.27.17-150x150.png" alt="" width="150" height="150" /></a></p>
<p>Once you Java Control Panel is published you need to grant access to this publish application to the target account and launch it. Then you need to go to the advanced tab and use the same configuration as above :</p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/01/Screen-shot-2010-01-14-at-10.31.27.png" class="thickbox no_icon" rel="gallery-974" title="Screen shot 2010-01-14 at 10.31.27"><img class="alignnone size-medium wp-image-977" title="Screen shot 2010-01-14 at 10.31.27" src="http://www.archy.net/wp-content/uploads/2010/01/Screen-shot-2010-01-14-at-10.31.27-271x300.png" alt="" width="271" height="300" /></a></p>
<p>Next, you need to go to Java tab and view to add this command line after the javaw.exe path</p>
<p>-Djavaplugin.trace=true<br />
-Djavaplugin.trace.option=basic|net|security|ext|liveconnect<br />
-Djavax.net.debug=all</p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/01/Screen-shot-2010-01-14-at-10.34.10.png" class="thickbox no_icon" rel="gallery-974" title="Screen shot 2010-01-14 at 10.34.10"><img class="alignnone size-thumbnail wp-image-978" title="Screen shot 2010-01-14 at 10.34.10" src="http://www.archy.net/wp-content/uploads/2010/01/Screen-shot-2010-01-14-at-10.34.10-150x150.png" alt="" width="150" height="150" /></a> <a  href="http://www.archy.net/wp-content/uploads/2010/01/Screen-shot-2010-01-14-at-10.35.23.png" class="thickbox no_icon" rel="gallery-974" title="Screen shot 2010-01-14 at 10.35.23"><img class="alignnone size-thumbnail wp-image-979" title="Screen shot 2010-01-14 at 10.35.23" src="http://www.archy.net/wp-content/uploads/2010/01/Screen-shot-2010-01-14-at-10.35.23-150x150.png" alt="" width="150" height="150" /></a></p>
<p>The click on Apply the OK to close everything.</p>
<p>The setup to trap all the information in the java console is done, now you can open you publish browser and go the the website and get all the debug information you will need to send the the dev of the problematic website.</p>
<p>You can test you console/debug mode with this url : <a  href="http://java.com/en/download/help/testvm.xml" target="_blank">http://java.com/en/download/help/testvm.xml</a> it should give you something like that :</p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/01/Screen-shot-2010-01-14-at-10.45.15.png" class="thickbox no_icon" rel="gallery-974" title="Screen shot 2010-01-14 at 10.45.15"><img class="alignnone size-thumbnail wp-image-981" title="Screen shot 2010-01-14 at 10.45.15" src="http://www.archy.net/wp-content/uploads/2010/01/Screen-shot-2010-01-14-at-10.45.15-150x150.png" alt="" width="150" height="150" /></a> <a  href="http://www.archy.net/wp-content/uploads/2010/01/Screen-shot-2010-01-14-at-10.46.05.png" class="thickbox no_icon" rel="gallery-974" title="Screen shot 2010-01-14 at 10.46.05"><img class="alignnone size-thumbnail wp-image-982" title="Screen shot 2010-01-14 at 10.46.05" src="http://www.archy.net/wp-content/uploads/2010/01/Screen-shot-2010-01-14-at-10.46.05-150x150.png" alt="" width="150" height="150" /></a></p>
<p>The word &lt;DEBUG&gt; should appear in the console.</p>
<p>If you have any request or detail to ask, just go on the forum and ask.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a  href="http://www.archy.net/2009/11/01/new-citrix-receiver-1-1-21803-0/" rel="bookmark" class="crp_title">New Citrix Receiver 1.1.21803.0</a></li><li><a  href="http://www.archy.net/2010/04/01/citrix-xenserver-5-6-beta-project-midnight-ride/" rel="bookmark" class="crp_title">Citrix XenServer 5.6 Beta Project Midnight Ride</a></li><li><a  href="http://www.archy.net/2010/03/18/citrix-edgesight-5-3/" rel="bookmark" class="crp_title">Citrix EdgeSight 5.3</a></li><li><a  href="http://www.archy.net/2010/04/28/citrix-edgesight-architecture-scenario-part-12/" rel="bookmark" class="crp_title">Citrix Edgesight architecture scenario &#8211; part 1/2</a></li><li><a  href="http://www.archy.net/2010/03/03/citrix-online-plug-in-ssl-error-61-you-have-not-chosen-to-trust/" rel="bookmark" class="crp_title">Citrix Online Plug-in for Mac, SSL Error 61: You have not chosen to trust&#8230;</a></li></ul></div><span class="sfforumlink"><a  href="http://www.archy.net/forum/main-discussions/how-to-debug-java-website-publish-application/"><hr />
<img src="http://www.archy.net/wp-content/plugins/simple-forum/styles/icons/default/bloglink.png" alt="" /> Join the forum discussion on this post</p>
</a></span>]]></content:encoded>
			<wfw:commentRss>http://www.archy.net/2010/01/14/how-to-debug-java-website-publish-application/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
