Screencasts - Hilfsvideos
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Task: Patch Management Update Cycle NS 7.1

Created: 05 Juli 2012 | 7 Kommentare
das Bild der tocas
+2 2 Stimmen
Bitte loggen Sie sich ein, um abzustimmen

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

Kommentare KommentareZum neuesten Kommentar

das Bild der burndtjammers

Would it be possible to do this for Software Management?

0
Bitte loggen Sie sich ein, um abzustimmen
das Bild der Mohammad Bamyas

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

Mohammad Bamya

0
Bitte loggen Sie sich ein, um abzustimmen
das Bild der Mohammad Bamyas

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

Mohammad Bamya

0
Bitte loggen Sie sich ein, um abzustimmen
das Bild der ManelRs

Hello,

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.

Thanks.

IT Systems Manager
LCFIB - Computing Lab
Barcelona School of Informatics
Universitat Politècnica de Catalunya - Barcelona Tech
0
Bitte loggen Sie sich ein, um abzustimmen
das Bild der Roman Vassiljevs

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.

Thanks,
Roman

0
Bitte loggen Sie sich ein, um abzustimmen
das Bild der shafiq1s

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]]>

0
Bitte loggen Sie sich ein, um abzustimmen
das Bild der rene.piuks

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.

0
Bitte loggen Sie sich ein, um abzustimmen