Video Screencast Help
Symantec Appoints Michael A. Brown CEO. Learn more.
Endpoint Management Community Blog

Patch Management and Citrix Servers - Patching Office 2003

Created: 11 Dec 2006 • Updated: 25 Jul 2007 • 3 comments
BRING's picture
0 0 Votes
Login to vote

Office 2003 patches w/ batch files on Citrix Servers are failing. A 9009 error appears in the log files. As the batch file executes, it seems to not be able to find the executable file for the patch. Essentially, it is attempting to call the file from a folder where the file is not located.

Environment

Patch Management 6.1 and 6.2

Cause

An entry in the HKLM\Software\Microsoft\CommandProcessor\Autorun subkey was executing prior to the contents of the batch file. The Autorun value was 'CD\'. This, or any entry takes precedence and executes. In this case, because the patch was opening a separate command processor (CMD.exe), the HKLM Autorun entry executed prior to the batch file running, and changed the directory back to the root of the current drive, in thie case 'N:' Normally this should have been 'N:\Temp\cache or %temp%\cache.

For further information, see this information page.

Resolution

Removing the 'CD\' value from the Autorun reg key resolved the problem.

Comments 3 CommentsJump to latest comment

apascucci's picture

I'm a bit surprised to see the votes, only 9. Well even if your mod is not the mod of the year - it's still a good tip.
Thanks for posting it, I copy/paste it in my personal database.

-3
Login to vote
riva11's picture

First of all thanks for sharing your tip, I have copied in my KB this info really interesting.

Thanks

+1
Login to vote
KSchroeder's picture

It looks like the Patch Management configuration will be updated from here on out to properly work around this per AKB50099.  There were other forum posts but I'm having trouble finding them which reference the 9009 error because the .bat file is executing directly on the package server via UNC which isn't supported if all the command lines aren't explicitly provided.

Thanks,
Kyle
Symantec Trusted Advisor

For Forum threads, please click "Mark as Solution" if answered.
For all content, please give a thumbs up if you agree with or support the post.

-1
Login to vote