Task: Patch Management Update Cycle NS 7.1
Created: 05 Jul 2012 | 6 comments
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
Download Filed Under:
Comments 6 Comments • Jump to latest comment
Would it be possible to do this for Software Management?
Once you restart the agent service it will check new policies targeting that PC.
Mohammad Bamya
as long as the policy is targetting that machine, the agent restart will force an update
Mohammad Bamya
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.
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
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.
Would you like to reply?
Login or Register to post your comment.