Waclaw Chrabaszcz
... there is no spoon ...


XenApp and XenDesktop 7.6 - connection leasing under the hood

Some time ago Citrix introduced XenDedexktop and XenApp version 7.6. One of key improvements, and the best one for me is the Connection Leasing. Lastly Citrix delivered any replacement for good old LHC (Local Host Cache). Since XD 7.0 to XenDasktop&XenApp 7.5 many admins refused to migrate into the most resent version due to lack of session sharing (all your apps within one ICA channel), session pre-launching ( 2000 users tries to logon at 9:00 AM J ) and lack of any database resilience mechanism. ......

How to install XenApp 7.5

Ha!Ha! XenApp is back! ... Not exactly ... For me XenApp that's IMA architecture, here we have XenDesktop's FMA. Is it better, that's very good question. For me it is just different. Of course I like Broker-Agent concept, but where's my QFARM command? Based of rumors, not confirmed so far by myself, sessions prelaunching, support for retired Citrix streaming and of course Web Interface is back. Let's check it. Hmm .. Looking into official documentation it is not so sweet, sessions prelaunching for ......

App-V 5.0 How to clean up Client cache

Another small and simple script

Import-Module appVclient
$packages = Get-AppvClientPackage
foreach ( $package in $packages)
Remove-AppvClientPackage -PackageId $package.PackageId -VersionId $package.VersionId

App-V 5.0 – How to install App-V client

Today's post will be very short and simple


XenDesktop 7 – The QFARM /LOAD case

For XenApp admin live without QFARM is like live without right hand. Of course you can obtain required information using the PowerShell, but XenDesktop 7's command line is too long to remember and type. Let's make some sweet alias. Add-PSSnapin citrix.*set-alias qfarm Qfarm-Loadfunction Qfarm-Load {Get-BrokerMachine -SessionSupport MultiSession -Property dnsName,loadIndex,SessionCo... Of course you'll need to update your personal ENV to start this alias automatically ......

XenApp 6.5 – How to create and set a Policy using PowerShell

Here is my homework Add-PSSnapin -name Citrix.Common.* -ErrorAction SilentlyContinueNew-Item LocalFarmGpo:\User\MyPolicycd LocalFarmGpo:\User\MyPolicy... .\MinimumEncryptionLevel State EnabledSet-ItemProperty .\MinimumEncryptionLevel Value Bits128cd LocalFarmGpo:\User\MyPolicy... -Name "All Servers" -Value "All Servers"Set-ItemProperty LocalFarmGpo:\User\MyPolicy -Name Priority -Value 2 So cute … ......

CMD – how to install apps from UNC path

There is a very old and useful command: pushd. Take a look how to use it.

pushd \\fileserver\AppShare\Installers\Software
change user /install
15186-AdbeRdr11000_en_US.exe /sPB /rs
"Firefox Setup 16.0.1.exe" -ms
change user /execute

SCOM 2012 SP1 – XenApp monitoring

If you have to manage many XenApp farm, or just one but really big - it will be worth to have good robust tool for it. As a Citrix guy I should prefer EdgeSight, hopefully I am Microsoft victim and I am going choose SCOM. Why, because SCOM offers active monitoring, it is not only checking the health of my servers it can recover them in many situations. To start monitoring we have to: Deploy SCOM agents on Citrix boxes Mark them as a proxy to forward XenApp events (in my opinion SCOM run as account ......

SCCM 2012 SP1 – How to install Remote Desktop Service role within a Task Sequence

It is very simple: use the standard command line: and the command line will be: … but there must be one more thing …. and it is … ServerManagerCMD exit codes: Message Exit code Text string Success, no need to restart0Success: Installation succeeded.Success: Removal succeeded.Success, restart is required3010Success: Installation succeeded. A restart is required.Success: Removal succeeded. A restart is required.Argument not valid4ArgumentNotValid: Argument not valid {argument}ArgumentNotValid: Missing ......

Full XenApp Archive