Citrix: XA6 and SP1 for Windows 2008 R2 CtxAltStr Filter Driver issues
I recently update some Citrix servers at a customer site with SP1 for Windows 2008 R2 and ran into some problems which I blogged about earlier but I forgot one of the problems I ran into untill this morging when I saw a tweet from CitrixReadiness with the CTX129241 article:
When XenApp 6.0 production version (RTW) is installed on Windows Server 2008 R2 Service Pack 1, CtxAltStr.sys is deployed in C:WindowsSysWOW64drivers.
In Windows Server 2008 R2 RTM, CtxAltStr.sys was deployed in C:WindowsSystem32drivers.
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesctxaltstr ImagePath still points to “system32DRIVERSCtxAltStr.sys”, therefore CtxAltStr.sys cannot be found in the Service Pack 1 environment.
Caution! The workaround for this problem had been originally introduced in this article; modifying the pointer in the registry to the correct path in:
From system32DRIVERSCtxAltStr.sys to SysWOW64driversCtxAltStr.sys
If you are using this workaround, it is necessary to reset the registry value with the original path and reboot server, before you use the new resolution. If you apply the new resolution without doing that, the system may be corrupt.
Running the following command copies CtxAltStr.sys into the correct path:
c:WindowsSysWOW64rundll32.exe SETUPAPI.DLL,InstallHinfSection DefaultUninstall 128 c:Program Files (x86)CitrixServer Resource ManagementMemory Optimization ManagementSystem32Driversctxaltstr.inf
c:WindowsSystem32rundll32.exe SETUPAPI.DLL,InstallHinfSection DefaultInstall 128 c:Program Files (x86)CitrixServer Resource ManagementMemory Optimization ManagementSystem32Driversctxaltstr.inf
Hotfix XA600W2K8R2X64064 and later address this issue (available for download upon request). Note that the reason why the hotfix is not publicly available is that it has not undergone the amount of regression testing required to make it publicly available.
As of now, XA600W2K8R2X64068 is publicly available for download CTX129741 – Hotfix XA600W2K8R2X64068 – For Citrix XenApp 6.0 for Windows Server 2008 R2 – English
While the issue occurs on W2k8R2 SP1, there are cases where the same issue has been observed on non SP1 environments, particularly ifKB2393802 had been applied, which seems to be causing the problem and is included in SP1. However, the Microsoft hotfix 2393802 might not be the only hotfix that exclusively causes the behavior.
I copied the file and altered the registry path to resolve this issue but Citrix now has a formal KB article so I would advise to follow one of the two explained solutions.