<?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; Microsoft</title>
	<atom:link href="http://www.archy.net/category/microsoft/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>EventLog parser (WMI) and export to Excel vbscript</title>
		<link>http://www.archy.net/2010/06/11/eventlog-parser-wmi-and-export-to-excel-vbscript/</link>
		<comments>http://www.archy.net/2010/06/11/eventlog-parser-wmi-and-export-to-excel-vbscript/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 17:12:52 +0000</pubDate>
		<dc:creator>Stephane THIRION</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[XenApp]]></category>
		<category><![CDATA[eventlog]]></category>
		<category><![CDATA[excel]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[parser]]></category>
		<category><![CDATA[vbscript]]></category>
		<category><![CDATA[wmi]]></category>

		<guid isPermaLink="false">http://www.archy.net/?p=1413</guid>
		<description><![CDATA[Today my need was very simple, I needed to build a script to collect logs in application event log on many XenApp servers. The goal with the following script it to use MFCom to get the target XenApp server list and export everything from the last 7 days and a specific keyword to an Excel [...]]]></description>
			<content:encoded><![CDATA[<p>Today my need was very simple, I needed to build a script to collect logs in application event log on many XenApp servers. The goal with the following script it to use MFCom to get the target XenApp server list and export everything from the last 7 days and a specific keyword to an Excel file. This is very far to be perfect but it works and it did the job I needed <img src='http://www.archy.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Let&#8217;s share !</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="vb" style="font-family:monospace;"><span class="kw1">Set</span> objFSO = CreateObject(<span class="st0">&quot;Scripting.FileSystemObject&quot;</span>)
&nbsp;
<span class="co1">'Path and name of the Excel file
</span>FileExport = <span class="st0">&quot;d:\temp\yourfile.xls&quot;</span>
<span class="co1">'Name of your management Server (Must have MFCOM SDK if not a XenApp Server
</span>CtxFarms = Array(<span class="st0">&quot;XenappManagementserver.domain.inc&quot;</span>)
<span class="co1">'Folder in the XenApp Management Console, must begin with Servers/ ex : Servers/APPLICATION1
</span>TargetPool = <span class="st0">&quot;Servers/ApplicatioForlder&quot;</span>
&nbsp;
<span class="kw1">If</span> (objFSO.FileExists(FileExport)) <span class="kw1">Then</span>
	objFSO.DeleteFile(FileExport)
<span class="kw1">End</span> <span class="kw1">If</span>
&nbsp;
<span class="kw1">Const</span> CONVERT_TO_LOCAL_TIME = <span class="kw1">False</span>
<span class="kw1">Set</span> dtmStartDate = CreateObject(<span class="st0">&quot;WbemScripting.SWbemDateTime&quot;</span>)
<span class="kw1">Set</span> dtmEndDate = CreateObject(<span class="st0">&quot;WbemScripting.SWbemDateTime&quot;</span>)
DateToCheck = <span class="kw1">CDate</span>(<span class="kw1">Date</span>)
<span class="co1">'Number of day back to check here 7
</span>dtmStartDate.SetVarDate DateToCheck - 7, CONVERT_TO_LOCAL_TIME
dtmEndDate.SetVarDate DateToCheck, CONVERT_TO_LOCAL_TIME
&nbsp;
<span class="kw1">Set</span> objExcel = CreateObject(<span class="st0">&quot;Excel.Application&quot;</span>)
objExcel.Visible = <span class="kw1">True</span>
<span class="kw1">Set</span> objWorkbook = objExcel.Workbooks.Add
<span class="kw1">Set</span> objRange = objExcel.Range(<span class="st0">&quot;A1&quot;</span>,<span class="st0">&quot;Z1&quot;</span>)
objRange.Font.Size = 12
objRange.Font.Bold = <span class="kw1">True</span>  
&nbsp;
objExcel.Cells(1, 1).Value = <span class="st0">&quot;Server&quot;</span>
objExcel.Cells(1, 2).Value = <span class="st0">&quot;Event Source&quot;</span>
objExcel.Cells(1, 3).Value = <span class="st0">&quot;Event Type&quot;</span>
objExcel.Cells(1, 4).Value = <span class="st0">&quot;Event ID&quot;</span>
objExcel.Cells(1, 5).Value = <span class="st0">&quot;Event Message&quot;</span>
objExcel.Cells(1, 6).Value = <span class="st0">&quot;Event Date&quot;</span>
&nbsp;
lign = 2
&nbsp;
<span class="kw1">For</span> i = 0 <span class="kw1">To</span> <span class="kw1">UBound</span>(CtxFarms)
	<span class="kw1">Set</span> theFarm = CreateObject(<span class="st0">&quot;MetaFrameCOM.MetaFrameFarm&quot;</span>, <span class="st0">&quot;\\&quot;</span> &amp; CtxFarms(i))
	theFarm.Initialize 1
&nbsp;
	<span class="kw1">For</span> <span class="kw1">Each</span> aServer <span class="kw1">In</span> theFarm.Servers
		<span class="kw1">If</span> aServer.ParentFolderDN = TargetPool <span class="kw1">Then</span>
			objExcel.Cells(lign, 1).Value = aServer.ServerName
			TargetSource = <span class="st0">&quot;Application&quot;</span>
			<span class="kw1">Set</span> objWMIService = GetObject(<span class="st0">&quot;winmgmts:{impersonationLevel=impersonate}!\\&quot;</span> &amp; aServer.ServerName &amp; <span class="st0">&quot;\root\cimv2&quot;</span>)
&nbsp;
<span class="co1">'This line is to query the Security event log
</span><span class="co1">'			Set colLoggedEvents = objWMIService.ExecQuery(&quot;Select * from Win32_NTLogEvent Where Logfile = 'Security' and SourceName = '&quot; &amp; TargetSource &amp; &quot;' and Type = 'Error' and TimeGenerated &gt;= '&quot; &amp; dtmStartDate &amp; &quot;' and TimeGenerated &lt; '&quot; &amp; dtmEndDate &amp; &quot;'&quot;)	
</span>
<span class="co1">'This line is to query the System event log
</span><span class="co1">'			Set colLoggedEvents = objWMIService.ExecQuery(&quot;Select * from Win32_NTLogEvent Where Logfile = 'System' and SourceName = '&quot; &amp; TargetSource &amp; &quot;' and Type = 'Error' and TimeGenerated &gt;= '&quot; &amp; dtmStartDate &amp; &quot;' and TimeGenerated &lt; '&quot; &amp; dtmEndDate &amp; &quot;'&quot;)	
</span>
<span class="co1">'This line is to query the Application event log
</span>			<span class="kw1">Set</span> colLoggedEvents = objWMIService.ExecQuery(<span class="st0">&quot;Select * from Win32_NTLogEvent Where Logfile = 'Application' and SourceName = '&quot;</span> &amp; TargetSource &amp; <span class="st0">&quot;' and Type = 'Error' and TimeGenerated &gt;= '&quot;</span> &amp; dtmStartDate &amp; <span class="st0">&quot;' and TimeGenerated &lt; '&quot;</span> &amp; dtmEndDate &amp; <span class="st0">&quot;'&quot;</span>)
						<span class="kw1">For</span> <span class="kw1">Each</span> objEvent <span class="kw1">in</span> colLoggedEvents
<span class="co1">'                                   Change here to find event using a keyword in the main message
</span>				MyPos = Instr(1, ucase(objEvent.Message), UCase(<span class="st0">&quot;KeyWord&quot;</span>))
				<span class="kw1">If</span> MyPos &gt; 0 <span class="kw1">Then</span>
					objExcel.Cells(lign, 1).Value = aServer.ServerName
					objExcel.Cells(lign, 2).Value = objEvent.SourceName
					objExcel.Cells(lign, 3).Value = objEvent.<span class="kw1">Type</span>
					objExcel.Cells(lign, 4).Value = objEvent.EventCode
					objExcel.Cells(lign, 5).Value = objEvent.Message
					objExcel.Cells(lign, 6).Value = WMIDateStringToDate(objEvent.TimeGenerated)
					lign = lign + 1
				<span class="kw1">End</span> <span class="kw1">If</span>
			<span class="kw1">Next</span>
		<span class="kw1">End</span> <span class="kw1">If</span>
	<span class="kw1">Next</span>
<span class="kw1">Next</span>
&nbsp;
objExcel.ActiveWorkbook.SaveAs FileExport
objExcel.Quit
&nbsp;
EnvoiMail()
&nbsp;
Wscript.Quit
&nbsp;
<span class="kw1">Function</span> WMIDateStringToDate(dtmInstallDate)
    WMIDateStringToDate = <span class="kw1">CDate</span>(Mid(dtmInstallDate, 5, 2) &amp; <span class="st0">&quot;/&quot;</span> &amp; Mid(dtmInstallDate, 7, 2) &amp; <span class="st0">&quot;/&quot;</span> &amp; Left(dtmInstallDate, 4) _
            &amp; <span class="st0">&quot; &quot;</span> &amp; Mid (dtmInstallDate, 9, 2) &amp; <span class="st0">&quot;:&quot;</span> &amp; Mid(dtmInstallDate, 11, 2) &amp; <span class="st0">&quot;:&quot;</span> &amp; Mid(dtmInstallDate, 13, 2))
<span class="kw1">End</span> <span class="kw1">Function</span>
&nbsp;
<span class="kw1">Function</span> EnvoiMail()
	<span class="kw1">Const</span> SendUsingPort = 2
&nbsp;
	<span class="co1">' Set the variables used to send the message
</span>	SMTPServer = <span class="st0">&quot;smtp.server.com&quot;</span>
	FromName = <span class="st0">&quot;administrator@admin.com&quot;</span>
	ToName = <span class="st0">&quot;me@admin.com&quot;</span> 
&nbsp;
	<span class="co1">' Setup the configuration for the message to use
</span>	<span class="kw1">Set</span> Conf = CreateObject(<span class="st0">&quot;CDO.Configuration&quot;</span>)
	<span class="kw1">With</span> Conf.Fields
	    .Item(<span class="st0">&quot;http://schemas.microsoft.com/cdo/configuration/sendusing&quot;</span>) = SendUsingPort
	    .Item(<span class="st0">&quot;http://schemas.microsoft.com/cdo/configuration/smtpserver&quot;</span>) = SMTPServer
	    .Update
	<span class="kw1">End</span> <span class="kw1">With</span>
&nbsp;
	<span class="co1">'Setup the message
</span>	<span class="kw1">Set</span> Message = CreateObject(<span class="st0">&quot;CDO.Message&quot;</span>)
	<span class="kw1">With</span> Message
	<span class="kw1">Set</span> .Configuration = Conf
&nbsp;
    <span class="co1">'Set email adress, subject And body
</span>    	.<span class="kw1">To</span> = ToName
    	.Subject = <span class="st0">&quot;Email Subject&quot;</span>
    	.TextBody = <span class="st0">&quot;Hello World !&quot;</span>
    	.From = FromName
    	.AddAttachment FileExport
    	.Send
	<span class="kw1">End</span> <span class="kw1">With</span>
&nbsp;
<span class="kw1">End</span> <span class="kw1">Function</span></pre></div></div>
<p>At the end I added a function to send this Excel file by email so I can schedule this check and genrerate this report.</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><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/02/19/xenapp-4-5-5-unattended-installation/" rel="bookmark" class="crp_title">XenApp 4.5 / 5 unattended installation</a></li><li><a  href="http://www.archy.net/2009/01/16/cannot-connect-to-the-citrix-xenapp-server/" rel="bookmark" class="crp_title">Cannot connect to the Citrix XenApp Server</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><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></ul></div><span class="sfforumlink"><a  href="http://www.archy.net/forum/main-discussions/eventlog-parser-wmi-and-export-to-excel-vbscript/"><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/11/eventlog-parser-wmi-and-export-to-excel-vbscript/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_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;">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_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;">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_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;">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_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;">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_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;">NAME !!ABCDE_Only         VALUE NUMERIC 31</pre></div></div>
<p>So the whole ADM file must look like this :</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;">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.2 SP1 : Could not create the Java Virtual Machine.</title>
		<link>http://www.archy.net/2010/03/23/citrix-edgesight-5-2-1-could-not-create-the-java-virtual-machine/</link>
		<comments>http://www.archy.net/2010/03/23/citrix-edgesight-5-2-1-could-not-create-the-java-virtual-machine/#comments</comments>
		<pubDate>Tue, 23 Mar 2010 09:26:13 +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]]></category>
		<category><![CDATA[Windows 2003]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[crash]]></category>
		<category><![CDATA[edgesight]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Visual Studio 2008]]></category>

		<guid isPermaLink="false">http://www.archy.net/?p=1158</guid>
		<description><![CDATA[This issue appear on my Presentation Server 4 HR5, 32bit only, x64 servers (Windows 2003 &#38; 2008) were fine after deploying Citrix Edgesight Agent for XenApp 5.2 SP1. (build 5.2.3012.0) Impacted applications : All java applications using more than 706mb of reserved memory, command line example :  c:\Progra~1\Java\jre1.5.0_07\bin\javaw -Xms8m -Xmx1024m -Dcai.starter.jvm.options=&#8221;-Xms8m -Xmx1024m&#8221; -classpath d:\xxxxxxxxxxxxx Visual [...]]]></description>
			<content:encoded><![CDATA[<p>This issue appear on my Presentation Server 4 HR5, 32bit only, x64 servers (Windows 2003 &amp; 2008) were fine after deploying Citrix Edgesight Agent for XenApp 5.2 SP1. (build 5.2.3012.0)</p>
<p><strong><span style="text-decoration: underline;">Impacted applications :</span></strong></p>
<p>All java applications using more than 706mb of reserved memory, command line example :</p>
<blockquote><p> c:\Progra~1\Java\jre1.5.0_07\bin\javaw -Xms8m <strong>-Xmx1024m</strong> -Dcai.starter.jvm.options=&#8221;-Xms8m -Xmx1024m&#8221; -classpath d:\xxxxxxxxxxxxx</p></blockquote>
<p>Visual Studio 2008 Pro SP1 x64 crashes when Citrix Edgesight 5.2SP1 is installed, process CL.exe.</p>
<p><span style="text-decoration: underline;"><strong>Reminder :</strong></span></p>
<p>-Xms<em>n </em><br />
Specify the initial size, in bytes, of the memory allocation pool. This value must be a multiple of 1024 greater than 1MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is 2MB.      </p>
<p>-Xmx<em>n</em><br />
Specify the maximum size, in bytes, of the memory allocation pool. This value must a multiple of 1024 greater than 2MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is 64MB. </p>
<p>Affected system : Microsoft Windows 2003 R2 Sp2 x32 with Citrix Presentation Server 4 HR5<span id="more-1158"></span></p>
<p><strong><span style="text-decoration: underline;">Error message :</span></strong></p>
<p><a  href="http://www.archy.net/wp-content/uploads/2010/03/snap00502.png" class="thickbox no_icon" rel="gallery-1158" title="snap00502"><img class="alignleft size-full wp-image-1157" title="snap00502" src="http://www.archy.net/wp-content/uploads/2010/03/snap00502.png" alt="" /></a></p>
<p>Or</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="dos" style="font-family:monospace;">C:\Program Files\Java\jre1.5.0_07\bin&gt;java.exe -Xmx1024M -version
Error occurred during initialization of VM
Could <a  href="http://www.ss64.com/nt/not.html"><span class="kw2">not</span></a> reserve enough space <a  href="http://www.ss64.com/nt/for.html"><span class="kw1">for</span></a> object heap
Could <a  href="http://www.ss64.com/nt/not.html"><span class="kw2">not</span></a> create the Java virtual machine.</pre></div></div>
<p>Even if the Presentation Server all have 4Gb of ram,  and freshly rebooted (567mb memory occupation) the java application doesn&#8217;t want to start. I first uninstall Citrix Edgesight, and checked everything was fine, it was fine with prior Edgesight for XenApp&#8217;s version.</p>
<p>Someone had the same issue, only one person posted this issue with a java application on Citrix&#8217;s forums : <a  href="http://forums.citrix.com/thread.jspa?threadID=261266&#038;tstart=0" target="_blank">http://forums.citrix.com/thread.jspa?threadID=261266&amp;tstart=0</a> </p>
<p>About the Visual Studio 2008 SP1 x64 the process CL.exe seems the one to exclude to make it work.</p>
<p><span style="text-decoration: underline;"><strong>Workaround :</strong></span></p>
<p>To avoid EdgeSight for XenApp agent &#8220;blocking&#8221; a process, you need to hade the executable program to the following registry key :</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="reg" style="font-family:monospace;"><span class="kw3">HKLM</span>\SYSTEM\CurrentControlSet\Services\rskcore 
&nbsp;
Key : UviProcessExcludes
&nbsp;
Value : &quot;rotatelogs.exe<span class="co1">;java.exe;javaw.exe;cl.exe&quot; (for my case)</span></pre></div></div>
<p>You need to keep in mind, adding file to this registry key excluding them from statistics (information to confirm)</p>
<p>Update 30 march 2010 : There is no fix yet for this issue, Edgesight for XenApp 5.3 next version should include the fix, but not before Q2 2010&#8230;</p>
<div id="crp_related"><h3>Related Posts:</h3><ul><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/2009/05/14/vmware-workstation-nat-problem-on-windows-7-rc-build-7100/" rel="bookmark" class="crp_title">Vmware Workstation NAT problem on Windows 7 RC Build 7100</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/2008/11/23/citrix-edgesight-5-quick-installation-windows-2003/" rel="bookmark" class="crp_title">Citrix Edgesight 5 quick installation Windows 2003</a></li><li><a  href="http://www.archy.net/2009/10/01/ctxhide-look-and-feel-has-stopped-working/" rel="bookmark" class="crp_title">Ctxhide Look and Feel has stopped working</a></li></ul></div><span class="sfforumlink"><a  href="http://www.archy.net/forum/main-discussions/citrix-edgesight-5-2-sp1-could-not-create-the-java-virtual-machine/"><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/23/citrix-edgesight-5-2-1-could-not-create-the-java-virtual-machine/feed/</wfw:commentRss>
		<slash:comments>3</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_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;">***************************************************************
* 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_12" class="wp-synhighlighter-outer"><div id="wpshdt_12" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_12"></a><a id="wpshat_12" class="wp-synhighlighter-title" href="#codesyntax_12"  onClick="javascript:wpsh_toggleBlock(12)" title="Click to show/hide code block">Code block</a></td><td align="right"><a  href="#codesyntax_12" onclick="javascript:wpsh_code(12)" 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_12" onclick="javascript:wpsh_print(12)" 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_12" 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_13" class="wp-synhighlighter-outer"><div id="wpshdt_13" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_13"></a><a id="wpshat_13" class="wp-synhighlighter-title" href="#codesyntax_13"  onClick="javascript:wpsh_toggleBlock(13)" title="Click to show/hide code block">Code block</a></td><td align="right"><a  href="#codesyntax_13" onclick="javascript:wpsh_code(13)" 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_13" onclick="javascript:wpsh_print(13)" 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_13" 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>Citrix XenServer 5.5 Update 2</title>
		<link>http://www.archy.net/2010/01/29/citrix-xenserver-5-5-update-2/</link>
		<comments>http://www.archy.net/2010/01/29/citrix-xenserver-5-5-update-2/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 13:32:08 +0000</pubDate>
		<dc:creator>Stephane THIRION</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[XenServer 5.5]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://www.archy.net/?p=992</guid>
		<description><![CDATA[Update 2 is already here and is double size vompare to the first one, here is some more informations : This update resolves the network connectivity issues that affected customers with both IPv4 and IPv6 network interfaces enabled who installed Update 1. This issue is described in XenServer 5.5 Update 1 Upgrade Causes Virtual Machines [...]]]></description>
			<content:encoded><![CDATA[<p>Update 2 is already here and is double size vompare to the first one, here is some more informations :</p>
<p>This update resolves the network connectivity issues that affected customers with both IPv4 and IPv6 network interfaces enabled who installed Update 1. This issue is described in XenServer 5.5 Update 1 Upgrade Causes Virtual Machines to Lose Network Connectivity.</p>
<p>Additional Changes in Update 2<br />
Addressed an issue where the system was falsely reporting lost access to the HA metadata disk.<br />
Fixed issues upgrading from XenServer 5.0 to the roll-up ISO for XenServer 5.5.<br />
In addition, the XenServer 5.5 documentation was rereleased to coincide with Update 2. While the changes in the documentation are not significant, there are some differences between XenServer 5.5 and XenServer 5.5, Update 2.</p>
<p>You can download it here : <a  href="http://support.citrix.com/article/CTX124027" target="_blank">http://support.citrix.com/article/CTX124027</a></p>
<p>You can download the updated ISO files here : <a  href="http://downloadns.citrix.com.edgesuite.net/4701/XenServer-5.5.0-Update2-install-cd.iso" target="_blank">http://downloadns.citrix.com.edgesuite.net/4701/XenServer-5.5.0-Update2-install-cd.iso</a></p>
<div id="crp_related"><h3>Related Posts:</h3><ul><li><a  href="http://www.archy.net/2010/02/01/2010-01-26-tweets/" rel="bookmark" class="crp_title">2010-01-26 tweets</a></li><li><a  href="http://www.archy.net/2009/12/16/citrix-xenserver-5-5-update-1/" rel="bookmark" class="crp_title">Citrix XenServer 5.5 Update 1</a></li><li><a  href="http://www.archy.net/2009/05/17/citrix-xenserver-55-beta-1/" rel="bookmark" class="crp_title">Citrix XenServer 5.5 Beta 1</a></li><li><a  href="http://www.archy.net/2009/06/14/upgrade-xenserver-5-5-beta-1-to-5-5/" rel="bookmark" class="crp_title">Upgrade XenServer 5.5 beta 1 to 5.5</a></li><li><a  href="http://www.archy.net/2010/06/02/27-05-2010-weekly-tweets/" rel="bookmark" class="crp_title">27-05-2010 weekly tweets</a></li></ul></div><span class="sfforumlink"><a  href="http://www.archy.net/forum/main-discussions/citrix-xenserver-5-5-update-2/"><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/29/citrix-xenserver-5-5-update-2/feed/</wfw:commentRss>
		<slash:comments>5</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>
		<item>
		<title>Citrix XenApp 6 TP : Many news 1/2</title>
		<link>http://www.archy.net/2009/12/22/citrix-xenapp-6-tp-many-news-12/</link>
		<comments>http://www.archy.net/2009/12/22/citrix-xenapp-6-tp-many-news-12/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 21:27:05 +0000</pubDate>
		<dc:creator>Stephane THIRION</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Merchandising Server]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Password Manager]]></category>
		<category><![CDATA[WebInterface 5.x]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[XenApp 6]]></category>
		<category><![CDATA[Citrix Merchandising Server]]></category>
		<category><![CDATA[Single Sign On]]></category>
		<category><![CDATA[UPM]]></category>
		<category><![CDATA[User Profile Manager 3.x]]></category>
		<category><![CDATA[webinterface 5]]></category>
		<category><![CDATA[WebInterface 5.3]]></category>

		<guid isPermaLink="false">http://www.archy.net/?p=854</guid>
		<description><![CDATA[The Citrix XenApp 6 Technical Preview is now available and works fine, even if there are some &#8220;bugs&#8221; I haven&#8217;t notice yet a BIG problem. Anyways, XenApp 6 is the most important component of this new release because it goes along with Microsoft Windows 2008 R2, but there are many other new stuff like WebInterface [...]]]></description>
			<content:encoded><![CDATA[<p>The Citrix XenApp 6 Technical Preview is now available and works fine, even if there are some &#8220;bugs&#8221; I haven&#8217;t notice yet a BIG problem. Anyways, XenApp 6 is the most important component of this new release because it goes along with Microsoft Windows 2008 R2, but there are many other new stuff like WebInterface 5.3, Single Sign On 4.8, User Profile Manager 3, unified administration console (Yes !), Merchandising Server 1.2 and many other things Sridhar Mullapudi list in his post here : <a  href="http://community.citrix.com/display/ocb/2009/12/15/XENAPP+SNEAK+PEEK+-+XenApp+for+Windows+Server+2008+R2">http://community.citrix.com/display/ocb/2009/12/15/XENAPP+SNEAK+PEEK+-+XenApp+for+Windows+Server+2008+R2</a></p>
<p>I will bring some lights about what you can find in the 2,5Gb iso file and compare what&#8217;s new and different with what we are use to administrating every day.</p>
<blockquote><p><strong>More users, faster logons</strong>- Get up to 20% more users per server with XenApp on the R2 platform and faster logons with new Profile management streaming technology that improves user profile load times by up to 80%.</p>
<p><strong><span id="more-854"></span>Seamless management integration</strong>- Role-based installation wizards, a new unified application management console, management through Active Directory group policies and support for PowerShell 2.0 help you deploy, configure and automate XenApp faster and easier than ever before.</p>
<p><strong>More apps in HDX</strong>- HDX RealTime now delivers high quality audio using up to 90% less bandwidth and enables video conferencing using Microsoft Office Communicator or teleconferencing using VoIP softphones. New HDX Plug-n-Play support for Windows portable USB devices lets users connect more of the devices they need to the applications they use including point-of-sale, webcams, scanners, digital cameras and more.</p>
<p><strong>Self-service application delivery</strong>- Citrix Dazzle, the first self-service &#8220;storefront&#8221; for the enterprise, gives corporate employees 24&#215;7 access to the applications they need to work. Citrix Streaming technology with Windows service isolation and Microsoft App-V integration provide new options for delivering more applications to your users.</p>
<p><strong>Complete mobility</strong> &#8211; New plug-ins as well as updated Receivers for Mac, iPhone, Android, and Windows Mobile, keep business moving by enabling complete mobility and freedom to access enterprise applications from anywhere.</p></blockquote>
<p>More users and faster logons are mostly due by Windows 2008 R2 performance enhancement, I think Citrix did, of course, some work to bring more performance as well but mostly the Operating System is the base of everything. I haven&#8217;t done any load test yet but I am very satisfy with basic use (Desktop + Office 2010).</p>
<p>Role-based installation wizards will repair what should have been done a long time ago by Citrix, we will have XenApp Datacollector dedicated with only one role and a lot less server network &#8220;noise&#8221; for  a basic operation (ex : enable / disable logon)</p>
<p>The very very long waited unified application management console is here :</p>
<p><a  href="http://www.archy.net/wp-content/uploads/2009/12/snap00239.jpg" class="thickbox no_icon" rel="gallery-854" title="snap00239"><img class="alignnone size-thumbnail wp-image-862" title="snap00239" src="http://www.archy.net/wp-content/uploads/2009/12/snap00239-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>As you can see, we can now manage in a single console, XenApp Administrators, Publish and Streamed applications, Load Balancing policies, Load Evaluators, Policies, a new feature to groupe your server the way you want despite the classic Servers node and the Zones node. The node to manage the Web Interface doesn&#8217;t exist anymore, now this is a full dedicated interface, check it out :</p>
<p><a  href="http://www.archy.net/wp-content/uploads/2009/12/snap00245.jpg" class="thickbox no_icon" rel="gallery-854" title="snap00245"><img class="alignnone size-thumbnail wp-image-863" title="snap00245" src="http://www.archy.net/wp-content/uploads/2009/12/snap00245-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>There is also a new License Server web interface design, it&#8217;s a bit fancy compare to the good old one where we were use to see only some color changing <img src='http://www.archy.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I like it !</p>
<p><a  href="http://www.archy.net/wp-content/uploads/2009/12/snap00246.jpg" class="thickbox no_icon" rel="gallery-854" title="snap00246"><img class="alignnone size-thumbnail wp-image-865" title="snap00246" src="http://www.archy.net/wp-content/uploads/2009/12/snap00246-150x150.jpg" alt="" width="150" height="150" /></a> <a  href="http://www.archy.net/wp-content/uploads/2009/12/snap00247.jpg" class="thickbox no_icon" rel="gallery-854" title="snap00247"><img class="alignnone size-thumbnail wp-image-866" title="snap00247" src="http://www.archy.net/wp-content/uploads/2009/12/snap00247-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><a  href="http://www.archy.net/wp-content/uploads/2009/12/snap00248.jpg" class="thickbox no_icon" rel="gallery-854" title="snap00248"><img class="alignnone size-thumbnail wp-image-867" title="snap00248" src="http://www.archy.net/wp-content/uploads/2009/12/snap00248-150x150.jpg" alt="" width="150" height="150" /></a> <a  href="http://www.archy.net/wp-content/uploads/2009/12/snap00249.jpg" class="thickbox no_icon" rel="gallery-854" title="snap00249"><img class="alignnone size-thumbnail wp-image-868" title="snap00249" src="http://www.archy.net/wp-content/uploads/2009/12/snap00249-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><a  href="http://www.archy.net/wp-content/uploads/2009/12/snap00250.jpg" class="thickbox no_icon" rel="gallery-854" title="snap00250"><img class="alignnone size-thumbnail wp-image-869" title="snap00250" src="http://www.archy.net/wp-content/uploads/2009/12/snap00250-150x150.jpg" alt="" width="150" height="150" /></a> <a  href="http://www.archy.net/wp-content/uploads/2009/12/snap00251.jpg" class="thickbox no_icon" rel="gallery-854" title="snap00251"><img class="alignnone size-thumbnail wp-image-870" title="snap00251" src="http://www.archy.net/wp-content/uploads/2009/12/snap00251-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><a  href="http://www.archy.net/wp-content/uploads/2009/12/snap00252.jpg" class="thickbox no_icon" rel="gallery-854" title="snap00252"><img class="alignnone size-thumbnail wp-image-871" title="snap00252" src="http://www.archy.net/wp-content/uploads/2009/12/snap00252-150x150.jpg" alt="" width="150" height="150" /></a> <a  href="http://www.archy.net/wp-content/uploads/2009/12/snap00253.jpg" class="thickbox no_icon" rel="gallery-854" title="snap00253"><img class="alignnone size-thumbnail wp-image-872" title="snap00253" src="http://www.archy.net/wp-content/uploads/2009/12/snap00253-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><a  href="http://www.archy.net/wp-content/uploads/2009/12/snap00254.jpg" class="thickbox no_icon" rel="gallery-854" title="snap00254"><img class="alignnone size-thumbnail wp-image-873" title="snap00254" src="http://www.archy.net/wp-content/uploads/2009/12/snap00254-150x150.jpg" alt="" width="150" height="150" /></a> <a  href="http://www.archy.net/wp-content/uploads/2009/12/snap00255.jpg" class="thickbox no_icon" rel="gallery-854" title="snap00255"><img class="alignnone size-thumbnail wp-image-874" title="snap00255" src="http://www.archy.net/wp-content/uploads/2009/12/snap00255-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p><a  href="http://www.archy.net/wp-content/uploads/2009/12/snap00256.jpg" class="thickbox no_icon" rel="gallery-854" title="snap00256"><img class="alignnone size-thumbnail wp-image-864" title="snap00256" src="http://www.archy.net/wp-content/uploads/2009/12/snap00256-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>Coming next,  part 2 with UPM3, Merchandising Server 1.2, Single Sign On 4.8, WebInterface 5.3</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/2009/08/10/citrix-beta-online-plug-in-full-version-11-2/" rel="bookmark" class="crp_title">Citrix Beta Online Plug-in Full version 11.2 &#8211; Overview</a></li><li><a  href="http://www.archy.net/2009/08/10/vmware-workstation-nat-problem-on-windows-7-rtm/" rel="bookmark" class="crp_title">Vmware Workstation NAT problem on Windows 7 RTM</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/2008/11/25/xensepia-v09-theme/" rel="bookmark" class="crp_title">XenSepia v0.9 Theme</a></li></ul></div><span class="sfforumlink"><a  href="http://www.archy.net/forum/main-discussions/citrix-xenapp-6-tp-many-news-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/2009/12/22/citrix-xenapp-6-tp-many-news-12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
