Keeping up to date on all Recommend Citrix and Microsoft Hotfixes for XenApp 6 can be a time consuming job. A perfect way to get notified is to add CTX129229 to Google Alerts.
We’ve just released a complete Downloadable ZIP file with all the current recommended Citrix and Microsoft hotfixes as well as an unattended installation script. If you get any WUSA errors in the Eventlog this just means that the Windows Update doesn’t apply or are already installed on your system.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
@echo off set AppHotfixesPath="%XA%\Applications\XA6_2008R2_ML\Hotfixes" for %%i in (%AppHotfixesPath%\*.msp) do start /wait msiexec.exe /update %%i /qn /norestart start /wait msiexec /i "ServerConfigurationInstall.msi" /qn /norestart start /wait msiexec /i "XenAppGpmx_x64.msi" /qn /norestart echo. echo Enable and Start Windows Update Service sc config wuauserv start= auto net start wuauserv for %%i in (%AppHotfixesPath%\*.msu) do start /wait wusa.exe %%i /quiet /norestart echo Recommended CTX & MS Hotfixes - http://support.citrix.com/article/CTX129229 echo XA600W2K8R2X64012 - http://support.citrix.com/article/CTX126679 echo XA600W2K8R2X64017 - http://support.citrix.com/article/CTX126958 echo XA600W2K8R2X64021 - http://support.citrix.com/article/CTX127036 echo XA600W2K8R2X64029 - http://support.citrix.com/article/CTX127405 echo XA600W2K8R2X64046 - http://support.citrix.com/article/CTX128342 echo XA600W2K8R2X64058 - http://support.citrix.com/article/CTX129131 echo XA600W2K8R2X64060 - http://support.citrix.com/article/CTX129224 echo XA600W2K8R2X64062 - http://support.citrix.com/article/CTX129278 echo XA600W2K8R2X64063 - http://support.citrix.com/article/CTX129375 echo XA600W2K8R2X64068 - http://support.citrix.com/article/CTX129741 echo XA600W2K8R2X64077 - http://support.citrix.com/article/CTX130236 echo XA600W2K8R2X64079 - http://support.citrix.com/article/CTX130333 echo XA600W2K8R2X64089 - http://support.citrix.com/article/CTX130828 echo XASCTW2K8R2X64003 - http://support.citrix.com/article/CTX130279 echo DSCXAGPMX100WX64001 - http://support.citrix.com/article/CTX126656 echo KB979530 - http://support.microsoft.com/kb/979530 echo KB975777 - http://support.microsoft.com/kb/975777 echo KB980663 - http://support.microsoft.com/kb/980663 echo KB2265716 - http://support.microsoft.com/kb/2265716 echo KB2465772 - http://support.microsoft.com/kb/2465772 echo KB917607 - http://support.microsoft.com/kb/917607 echo KB2383928 - http://support.microsoft.com/kb/2383928 echo KB983460 - http://support.microsoft.com/default.aspx?scid=kb;en-US;983460 echo KB2388142 - http://support.microsoft.com/default.aspx?scid=kb;en-US;2388142 echo KB2444328 - http://support.microsoft.com/kb/2444328 echo KB2551503 - http://support.microsoft.com/kb/2551503 echo KB2578159 - http://support.microsoft.com/kb/2578159 |
Hi Trond,
Nice blog. You’re missing KB2561285, which is not in the Citrix list.
Cheers,
Jeremy.
Thx Jeremy, will add it to the list when it’s official, I hate private hotfixes, but the KB2561285 is a good one if people are using GPO item-level targeting.
I forgot to mention that it’s a good practice to use the System Update Readiness Tool found here: KB947821
Here’s a simplified version of the script that doesn’t require an update each time there’s a new hotfix – just drop the hotfix into the folder with the rest
—–
@echo off
set AppHotfixesPath=”%XA%\Applications\XA6_2008R2_ML\Hotfixes”
for %%i in (%AppHotfixesPath%\*.msp) do start /wait msiexec.exe /update %%i /qn /norestart
start /wait msiexec /i “ServerConfigurationInstall.msi” /qn /norestart
start /wait msiexec /i “XenAppGpmx_x64.msi” /qn /norestart
echo.
echo Enable and Start Windows Update Service
sc config wuauserv start= auto
net start wuauserv
for %%i in (%AppHotfixesPath%\*.msu) do start /wait wusa.exe %%i /quiet /norestart
———-
Thanks Aaron, you’re THE scripting guru 🙂 I’ll update the script.
A couple of Hotfixes included in Windows Server 2008 R2 SP1 already:
Hotfixes and Security Updates included in Windows Server 2008 R2 SP1
SP1 – KB979530 – http://support.microsoft.com/kb/979530
SP1 – KB975777 – http://support.microsoft.com/kb/975777
SP1 – KB980663 – http://support.microsoft.com/kb/980663
SP1 – KB2265716 – http://support.microsoft.com/kb/2265716
SP1 – KB2383928 – http://support.microsoft.com/kb/2383928
SP1 – KB983460 – http://support.microsoft.com/default.aspx?scid=kb;en-US;983460
SP1 – KB2388142 – http://support.microsoft.com/default.aspx?scid=kb;en-US;2388142
This Hotfixes not included Windows Server 2008 R2 SP1
KB2465772 – http://support.microsoft.com/kb/2465772
KB917607 – http://support.microsoft.com/kb/917607
KB2444328 – http://support.microsoft.com/kb/2444328
KB2551503 – http://support.microsoft.com/kb/2551503
KB2578159 – http://support.microsoft.com/kb/2578159
Thx Andreas
I like the approach to install each hotfix w/o a subsequent restart, it’s common practice, but do you know if hard facts exist about the suppression of required restarts? Is this really failsafe? Customers always ask this, and so far I haven’t found an official statement saying that it’s OK to install all hotfixes at one blow followed by a single restart.
Hi Frank,
It’s bulletproof, people all over the world have been doing this for many years, even Microsoft does it with most packages via Windows Update. Just remember not telling support 🙂 It’s the same with custom MSI packages, if you tell support the won’t help you.
Great script…..
Was wondering , in what order does it install the Citrix Hotfixes ? Are you doing this in a specific order for any reason? or is it just in numerical order?
Is this to be ran on a base XA6 install….
Cheers,
Andy
Hi Andy, the script starts to install from the lowest hotfix number first. So this script is normally run after the base XA6 installation is finished.
Hi Trond thanks for the reply….I have a query about citrix hotfixes but rather than post on this thread I will email you seperately about it…
Great BLOG by the way ..
LOVING your work 🙂 !!!
Thanks! That’s what I was looking for. Kind of self-made rollup pack 🙂
I’m getting and error when I tried to run the batch file from a Windows 2008 R2 SP1 server with XA6 base installed.
” is not recognized as an internal or external command
Inside the quote is a special character that looks ‘a’ but with a tilda on it. I can’t copy nor paste to show you.
Hi David, I’ll look into it, but I can confirm that everything installs just fine. You can check hotfix details in AppCenter.
Thanks. The batch file did run successfully and I do see them in the hotfix details. Should I assume that output error is a non-critical?
I may be missing something here. I cant get this script to work at all. I have tried admin rights command line and still no go. Where should the script and files be placed to get this to start? Any help would be greatly appreciated as I am doing MS updates manually and its taking forever!
This is the path that should be change to reflect your file server.
%XA%\Applications\XA6_2008R2_ML\Hotfixes
Trond, thank you for quick reply. (If you cant tell, I am not the scripting guru.) I will modify that line and try once more.
Hey,
Thanks for this however I am looking for XA600R01W2K8R2X64005 which is superseded by HRP3. I do not want to install the entire Rollup pack just to get the error message language changed. By any chance, can I get this HF ? Thanks!
I am trying to fix this –
When attempting to launch an additional instance of a published desktop configured to be limited to a single instance per user, the following, incorrect error message appears:
“Connection Error: The Citrix server has reached its concurrent application limit for this application. Please contact your system administrator.”
After installing this fix, the following, correct message appears in such scenarios:
“Connection Error: You already have an instance of this application open and are not allowed to run more than one instance. Please contact your system administrator.”
[From XA600R01W2K8R2X64005][#LA0675]
I don’t think you can get hold of that fixed, if it’s removed and replaced by HFRP. A HFRP is recommended anyway since it contains many other hotfixes. I don’t have that old fix laying around, sorry.
Alright, thanks Trond