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 about the CtxAltStr Filter Driver:
When XenApp 6.0 production version (RTW) is installed on Windows Server 2008 R2 Service Pack 1, CtxAltStr.sys is deployed in C:\Windows\SysWOW64\drivers.
In Windows Server 2008 R2 RTM, CtxAltStr.sys was deployed in C:\Windows\System32\drivers.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\ctxaltstr ImagePath still points to “system32\DRIVERS\CtxAltStr.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 system32\DRIVERS\CtxAltStr.sys to SysWOW64\drivers\CtxAltStr.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:\Windows\SysWOW64\rundll32.exe SETUPAPI.DLL,InstallHinfSection DefaultUninstall 128 c:\Program Files (x86)\Citrix\Server Resource Management\Memory Optimization Management\System32\Drivers\ctxaltstr.inf
c:\Windows\System32\rundll32.exe SETUPAPI.DLL,InstallHinfSection DefaultInstall 128 c:\Program Files (x86)\Citrix\Server Resource Management\Memory Optimization Management\System32\Drivers\ctxaltstr.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.
Latest posts by Kees Baggerman (see all)
- Nutanix AHV and Citrix MCS: Adding a persistent disk via Powershell – v2 - November 19, 2019
- Recovering a Protection Domain snapshot to a VM - September 13, 2019
- Checking power settings on VMs using powershell - September 11, 2019
- Updated: VM Reporting Script for Nutanix with Powershell - July 3, 2019
- Updated (again!): VM Reporting Script for Nutanix AHV/vSphere with Powershell - June 17, 2019