Citrix: CPSUpdate script

Thomas Koetzing van heeft zijn CPSUpdate script voorzien van een update.

I have now extended the update script to automatically download ALL currently available Hotfixes/Rollups for the xenApp (Presentation Server) I have set. This is done with the Windows version of the unix command "wget". Wget also supports proxy settings and can be set in the script as well.

Right now xenApp 5.x is not supported because the is no fix available and I have to check what Citrix is doing there…This is the 1.8 release with the download option, so let me know of any bug etc.
Please leave your comment at the bottom of the article how to patch Presentation Server.

Download het script hier:


Event ID 1003: Error Code 00000019, parameter1 00000020

Vandaag klapte er een Citrix Terminal server uit ons farm met een BSOD als gevolg. Na een herstart van de server vond ik de onderstaande eventlog entry:


Nadat de server opnieuw was opgestart kwam er ook een melding, dat er een mini-dump was aangemaakt. Deze wilde ik gaan debuggen en kwam toen uit op de volgende site:

Op de pagina staan ook de download links voor de debug tools. Je kunt ze ook hier vinden:

Nadat je de software hebt geïnstalleerd, open  een commandprompt en blader naar de onderstaande directory:

C:\Program Files\Debugging Tools for Windows (x86)>

Voer daarna het volgende commando uit:

windbg -y srv*c:\symbols* -i c:\windows\i386
-z C:\dump11112008_1150\Mini111108-01.dmp achter de –z optie zet je het pad naar je dmp file.

Het volgende scherm word gestart:


Even later zie je de Bugcheck Analysis:


Uit CTX115626 haal ik de volgende quote:

This hotfix rollup pack also contains all fixes included in Hotfix Rollup Pack 1, Hotfix Rollup Pack 2 , plus the following fixes that shipped since the release of Hotfix Rollup Pack 2:

  1. Servers might experience a fatal exception on vdtw30.dll.

    [From PSE450R02W2K3001][#170153]

Dat word dus Hotfix Rollup pack 3 installeren. Nu hopen dat dit zonder al te grote gevolgen blijft.

Event ID: 1505

Gisteren kreeg ik de melding binnen dat het inloggen op de Citrix XenApp / Terminal Server niet meer lukte. Tijdens het inloggen verscheen de volgende error:

Windows cannot load the user’s profile but has logged you on with the default profile for the system. Detail: Insufficient system resources exist to complete the requested service.

In de Applicationlog van de server stond de onderstaande Event gelogt:


Nadat ik deze in google had geschoten kwam KB935649 naar voren en daar stond de volgende oplossing:

To resolve this problem, modify the registry to increase the PoolUsageMaximum value and the PagedPoolSize value. To do this, follow these steps:

1. Click Start, click Run, type regedit, and then click OK.

2. Locate and then click the following registry subkey:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

3. On the Edit menu, point to New, and then click DWORD Value.

4. In the New Value #1 box, type PoolUsageMaximum, and then press ENTER.

5. Right-click PoolUsageMaximum, and then click Modify.

6. In the Value data box, type 60, and then click OK.

7. If the PagedPoolSize registry entry exists, go to step 8. If the PagedPoolSize registry entry does not exist, create it. To do this, follow these steps:

a.  On the Edit menu, point to New, and then click DWORD Value.

b. In the New Value #1 box, type PagedPoolSize, and then press ENTER.

8. Right-click PagedPoolSize, and then click Modify.

9. In the Value data box, type ffffffff, and then click OK.

10. Exit Registry Editor, and then restart the computer.

Je kunt ook de volgende regkey importeren op de terminal server KB935649.reg:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]

Helaas zijn de nieuwe settings pas van kracht nadat de server opnieuw is opgestart. De error heeft geen invloed op de bestaande sessies. Ik heb daarom op de Server de logins tijdelijk uitgeschakeld en deze na het herstarten van de server weer ingeschakeld. Daarna was het probleem ook verholpen.

Citrix: Antivirus Strategy for Symantec Antivirus

De volgende processen kun je het beste uit de HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run verwijderen.  Zodra dit is gedaan worden deze processen niet meer in elke user sessie gestart en dat scheelt weer in het resource verbruik.

Process Info
ccApp Symantec Common Client User Session Process. ccApp calls the different program features in the Symantec products and makes sure that those programs are running, such as the Auto-Protect and E-mail Scanning mechanisms.
vptray Symantec Gold Shield Tray Icon. This is the Taskbar Icon and User Interface.

De poster op geeft nog de volgende tips mee

Tip Description
1 Scan local drives only. DO NOT scan network drives.
2 Only scan "Incoming" files (ie. write events).
3 Exclude the pagefile(s) from being scanned.
4 Exclude the "%ProgramFiles%\Citrix" folder from being scanned (the heavily accessed local host cache and Resource Manager local database are contained inside this folder).
5 We would recommend excluding the Profiles ("%SystemDrive%\Documents and Settings") folder, as well as the Print Spooler (%SystemRoot%\System32\spool\PRINTERS) folder.
6 If you do not exclude the Profiles, then exclude the user‘s Presentation Server Client bitmap cache ("%UserProfile%\Application Data\ICAClient\Cache" or "%AppData%\ICAClient\Cache") used for ICA pass-through connections by the locally installed PNClassic and PNAgent.

De bovenstaande tips kun je het beste instellen op een los staande antivirus group in Symantec System Center


Daarna kun je bij Exclusions de verschillende folders excluden.


Mocht je de Citrix Edgesite Agent op de Citrix server draaien, dan kun je het beste het volgende document nog even na te lopen: CTX111062



Citrix: Hotfix Rollup 03 for XenApp 4.5 and XenApp 5.0

Meer informatie en de download vind je hier: CTX115626

Tomas Koetzing schrijft het volgende:

Citrix recently released Hotfix Rollup 03 for Citrix Presentation Server 4.5, xenApp 5.0 for Windows 2003. Pay attention BEFORE installing the Rollup 03 because it has some important requirements.

  • The Citrix License Server must be at version 11.5 to install this hotfix rollup pack.
  • The Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) must be installed on all servers before installing this hotfix rollup pack. This can be obtained from the Microsoft Web site.

  • With CPS4.5 R02/CPS4.0 R05 Citrix introduced the Commandline Parameter Validation for XenApp, see Knowledge Center articles CTX117316 and CTX115245.

  • The Suite Monitoring and Alerting (SMA) service used by the Access Management Console might not start after installing Hotfix Rollup Pack 3 and restarting the system. In order to fix this problem, you must upgrade the .NET version on the system to .NET 2.0 SP1.

  • Before installing this hotfix rollup pack on servers licensed for Standard Edition, you must migrate those servers to Advanced Edition. Standard Edition was discontinued on Citrix Presentation Server 4.5; installing this hotfix rollup pack on servers licensed for Standard Edition might cause error message to appear.

  • After you install this hotfix rollup pack, Presentation Server 4.5 licensing will be enforced for the Application Streaming feature available in the Enterprise and Platinum editions. As a result, this feature will start to consume Presentation Server licenses.

Citrix: XenApp 5 RTM!


Citrix XenApp 5 – the new name for Citrix Presentation Server – is the most complete application virtualization system that offers both client-side and server-side application virtualization for optimal application performance and flexible delivery options. XenApp brings world-class application delivery to the Microsoft Windows Server and Terminal Services platform with added flexibility, manageability, security and performance, making application delivery the premier choice in providing Windows applications to users.

Key benefits of adopting XenApp 5

  1. Reduce cost
    1. Reduce the cost of patching/updating applications with the new Inter-isolation communication feature of Application Virtualization
    2. Use the new Active Application Monitoring feature of EdgeSight to cut support costs by making it easy for IT to proactively detect and prevent potential performance issues even before they occur
    3. Be IPv6 compliant without rewriting applications
    4. Use the new Installation Manager for Windows Server 2008 to quickly distribute applications, service packs, software patches, and simple command-line script tasks to servers
  2. Improve Performance
    1. Dramatically improve application startup time for streamed applications
    2. Ensure fast and secure delivery of applications with HTTP(S) support for application streaming
    3. Improve Performance for Users and Apps with Preferential Load Balancing (PLB)
    4. Enhance XenApp resource monitoring with updated Resource Manager (based on EdgeSight technology)
  3. Enhance User Experience
    1. Use the completely redesigned Web Interface to enhance user productivity via the intuitive and compelling interface
    2. Streamline End User Experience with new icons
  4. Transition to Windows Server 2008
    1. Leverage the security and stability of Windows Server 2008 platform
    2. Enhance usability with Special Folder Redirection and ClearType font smoothing
    3. Enhance printing with XPS Universal Print Driver
    4. Enable smooth transition to Windows Server 2008 with mixed farm support


Download XenApp 5 vanaf hier: je hebt wel een account nodig!


Documents to download

  1. Installation Checklist for XenApp 5 for Windows Server® 2008
  2. Readme for XenApp 5 for Windows Server 2008
  3. Citrix XenApp Installation Guide
  4. Getting Started with XenApp
  5. Technical Guide for Upgrading or Migrating to Citrix XenApp 5
  6. Product Documentation link


De website is een verzamelplaats van verschillende, meestal gratis tools voor XenApp en andere Citrix applicaties. Hieronder vind je een klein overzicht van de verschillende tools.

  • XenApp Load Evaluators Manager
  • XenApp Servers Logon Manager
  • XenApp Sessions Cleaner
  • Modded Web Interface 4.6
  • XenApp App Manager
  • etc.

Klik op het plaatje om naar de website te gaan.