Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

Task: Patch Management Update Cycle NS 7.1

Created: 05 Jul 2012 | 7 comments
toca's picture
+2 2 Votes
Login to vote

Ever need to immediately kick off a patch management update cycle on a machine or group of machine for testing or an emergency patch?

This task will do that for you.

Just import the job into your "jobs and tasks" console

Comments 7 CommentsJump to latest comment

burndtjammer's picture

Would it be possible to do this for Software Management?

Login to vote
Mohammad Bamya's picture

Once you restart the agent service it will check new policies targeting that PC.

Mohammad Bamya

Login to vote
Mohammad Bamya's picture

as long as the policy is targetting that machine, the agent restart will force an update

Mohammad Bamya

Login to vote
ManelR's picture


I've imported this task and executed it (quick run) against a computer. I get a "failed" in the console and, in the management agent, I see an error with a return code of 1.

I can execute the command in the computer from an administrator command line:

"C:\Program Files\Altiris\Altiris Agent\Agents\PatchMgmtAgent\AeXPatchUtil.exe" /I /Xa /q /C

without problems and I get in the management agent console the list of new updates ready for deploying (in a pending state).

Why I can't execute it as a task? (I'm using the Symantec Management Agent credentials so it is supposed of being executed as SYSTEM)

Any idea about how to debug what's happening would be very appreciated because this command line is very helpful in force a patch distribution.


IT Systems Manager
LCFIB - Computing Lab
Barcelona School of Informatics
Universitat Politècnica de Catalunya - Barcelona Tech
Login to vote
Roman Vassiljev's picture

Hi ManelR,

Is this issue reproducible on all targeted machines?
What OS is installed on affected machine?
Could you please provide us with Agent logs from affected machine captured when task is executed?
Agent logs usually are located at C:\ProgramData\Symantec\Symantec Agent\Logs.


Login to vote
shafiq1's picture

I have this same problem, i get return code 1 from the agent when executing as a task from the console. when i look at the alog on the target system  i get   <![CDATA[CClientTaskStatusCollector::Task: Execute Software Update Cycle has finished]]>

Login to vote
rene.piuk's picture

thanks for this Task.

But if the Altiris Agent is not installed on C Drive or not in the default directory it will fail.

you can find the path in the registry. I changed the script to get the install path from regestry.

:: delims is a TAB followed by a space

FOR /F "tokens=3* delims=  " %%A IN ('REG QUERY "HKLM\SOFTWARE\Altiris\Altiris Agent\Plugin Objects\Agents\Altiris Software Update Agent" /v "Install Path"') DO SET SUA_InstallPath=%%B

"%SUA_InstallPath%\AeXPatchUtil.exe" /I /Xa /q /C

work fine for me.

Login to vote