Citrix: XenApp 4.5 / 5 Hotfix Rollup pack 4


image

Citrix has released Hotfix Rollup pack 4 for XenApp 4.5 and XenApp 5.0. You can download your version here:

The version information of the License Server can be found in the version information of C:\Program Files\Citrix\Licensing\LS\CITRIX.exe

image

Read the CTX documents mentioned above,  so you’re ready to install this hotfix rollup pack. If you’re doing an unattended installation of the rollup pack, please be sure you use the /qb- switch. When you use the /qb switch, setup fails to complete.

Before You Install This Release (Prerequisites)

  • Your Citrix License Server must be at Version 11.6.1 to install this hotfix rollup pack. Using your MyCitrix credentials, download this update from the Citrix Web site. [#206510]

  • 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 the following error message to appear:

    Citrix Presentation Server is unable to retrieve the product edition. Check to see if the Citrix Independent Management Architecture service is running without errors. Citrix Presentation Server cannot request licenses until it can obtain the product edition – no client devices can connect. If necessary, set the product edition in the Access Management Console. The product must be set to the same edition as your licenses.

    To migrate your servers to Advanced Edition, you must obtain an Advanced Edition license and then change the server edition in the Access Management Console from Standard to Advanced. For information about obtaining an Advanced Edition license, visit your My Citrix account or contact your reseller.

  • 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 Visual C++ 2005 SP1 Redistributable Package download page, or visit the Microsoft Web site and search for Microsoft Visual C++ 2005 SP1 Redistributable Package (x86).

    Note: Even on 64-bit systems, you must install the x86 package. The x86 package is required and supported on 64-bit systems even if the x64 package is installed as well.

Citrix: Event ID 1116 – AddPrinter() failed


 

Since a couple of days, I got the following error in my event logs when a user wants to connect to a local printer at home.

image

Citrix released a couple of documents about this issue.

I have tried all the solutions described in the CTX documents, but the only solution, what works for me was changing the Log On account of the service to the Local system account.

image

After restarting the Citrix Print Manager Service, everything works fine again :-S

Tool: TSTaskman


image

Ctrl-Alt-Del IT Consultancy zijn bekent van de volgende gratis tools: TSLogoff – TSPasschg – TSReboot – TSWhereis – TSMsg – TSLogins – TSBackdrop en vele andere tools.

Sinds kort is de tool TSTaskman uit. Deze tool maakt het voor gebruikers mogelijk om processen af te sluiten.

Hieronder tref je een screenshot van de tool.

image

TSTaskman is a standalone Windows GUI tool designed to show a user the list of processes running in their Terminal Server session only. Processes can then be terminated by the user by selecting the process and pressing the terminate button.

This utility was written for the purpose of allowing users to terminate frozen programs or processes that exist only in the Terminal Server Session of the currently logged in user. The GUI lists all the running processes in the Terminal Session of the logged on user, and does not display any other user or system processes. This allows TSTaskman to be presented as an application on the user desktop or as a published application, giving the user the ability to manage frozen applications within a Terminal Server session, should they occur. After correct user training of TSTaskman, help desk calls can be significantly reduced by allowing users to terminate unresponsive applications, without the concerns that the user can terminate other processes not running in their session.

Although written for Terminal Server and Citrix environments, this application will function on non-TS/Citrix workstations and servers. This application has been tested on the following platforms:

Windows 2003 Server SP1
Windows 2003 Server SP1 w/ Citrix PS 4.0
Windows 2003  Server SP1 (Terminal Server Application Mode)
Windows 2000  Server SP4
Windows 2000  Server SP4 w/ Citrix MF XP
Windows 2000  Server SP4 (Terminal Server Application Mode)
Windows 2000  Server SP4 w/ Citrix MF 1.8
Windows XP Professional (domain member)

This utility is FREEWARE and was written by Warren Simondson of
Ctrl-Alt-Del IT Consultancy, Australia. http://www.ctrl-alt-del.com.au

The freeware version is offered AS IS. Ctrl-Alt-Del IT Consultancy has made every effort possible to ensure that TSTaskman is free of any bugs or errors, however in no way is TSTaskman to be considered error or bug free. You assume all responsibility for any damages or lost data that may result from any errors or bugs in TSTaskman.

IN NO EVENT WILL CTRL-ALT-DEL IT CONSULTANCY BE LIABLE TO YOU FOR ANY GENERAL,SPECIAL, INDIRECT, CONSEQUENTIAL,
INCIDENTAL OR OTHER DAMAGES ARISING OUT OF THIS PRODUCT.

Je kunt TSTaskman en de andere tools hier downloaden: http://www.ctrl-alt-del.com.au/CAD_TSUtils.htm

Citrix: CPSUpdate script


Thomas Koetzing van http://www.thomaskoetzing.de 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: CPSUpdate-v1.8.zip

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:

image

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: http://www.microsoft.com/whdc/devtools/debugging/debugstart.mspx

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*http://msdl.microsoft.com/download/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:

image

Even later zie je de Bugcheck Analysis:

image

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.

Citrix: Before installing Hotfix Rollup pack 3


image

 

Voordat je Hotfix Rollup pack 3 installeerd lees je eerst CTX115626. Ik heb daar de volgende punten uit gehaald:

  • Als eerste check je CTX118771 voor bekende bugs tijdens het installeren en de oplossingen voor deze bugs.
  • Daarna upgrade je de Licentie server naar versie 11.5. Deze verzie kun je hier downloaden: Citrix Web site je hebt hier wel een MyCitrix account voor nodig.
  • Installeer daarna op alle Citrix Servers de Microsoft Visual C++ SP1 Redistributable. Deze kun je hier downloaden: Microsoft Web site.
  • Als je de Hotfix Rollup pack via een batch script unattended installeerd, kan deze setup sluiten met een foutmelding. Dit kun je omzeilen door niet de /qb switch te gebruiken maar de /qb- of de /qn switch.

 

Nadat je Hotfix Rollup pack 3 hebt geïnstalleerd.

  • Het kan zijn dat na de installatie van de Hotfix Rollup pack de Suite Monitoring and Alerting (SMA) service, die gebruikt wordt door het Access Management Console niet meer start. Dit kun je oplossen door Microsoft .Net 2.0 bij te werken naar SP1.

 

Voordat je de hotfix rolluppack gaat installeren is het ook nog verstandig om even in het Citrix forum te kijken: http://forums.citrix.com/category.jspa?categoryID=36

Citrix: SideBySide error


Het kan zijn dat je de onderstaande errors in het eventlog van een Citrix client PC krijgt. Dit is een know error van Citrix en staat beschreven in: CTX116550.

image

Tevens krijg je de volgende meldingen in het eventlog:

Event Type:     Error
Event Source:    SideBySide
Event Category:    None
Event ID:    59
Description:    Generate Activation Context failed for
C:\PROGRA~1\Citrix\ICACLI~1\MFC80.DLL.Reference error message:
The operation completed successfully.

Event Type:     Error
Event Source:   SideBySide
Event Category: None
Event ID:       34
Description:    Component identity found in manifest does not match the identity
of the component requested

Event Type:    Error
Event Source:    SideBySide
Event Category:    None
Event ID:    58
Description:    Syntax error in manifest or policy file
“C:\PROGRA~1\Citrix\ICACLI~1\Microsoft.VC80.MFCLOC.MANIFEST” on line 5.

Deze errors kun je oplossen door de Visual C++ 2005 Redistributable Package te installeren. Je kunt de package hier downloaden.

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:

image

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]
“PagedPoolSize”=dword:ffffffff
“PoolUsageMaximum”=dword:00000060

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 http://www.jhouseconsulting.com 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

image

Daarna kun je bij Exclusions de verschillende folders excluden.

image

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

 

Bron: http://www.jhouseconsulting.com/articles/antivirus_strategy_for_citrix_servers.html

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.

http://www.thomaskoetzing.de/