How can I start a Patch software update cycle from the command line?

Article:HOWTO4198  |  Created: 2006-07-07  |  Updated: 2013-02-12  |  Article URL
Article Type
How To


How can I manually start a software update cycle from the command line?


Patch Management Solution X.X installs with a utility called AexPatchUtil.exe, on the client, which will allow you to manually initiate Patch Management Solution processes via a command line:

The tool is located in C:\Program Files\Altiris\Altiris Agent\Agents\PatchMgmtAgent.
-Altiris (R) Software Update Agent
-Copyright (C) Altiris Corp. 2004-2005 - Symantec Incorporated. All rights reserved.

The command-line syntax are as follows:

Software Update Agent Command Line Interface

AeXPatchUtil [/i] [/Xa] [/reboot] [/C]
/I       Run All Inventory
/Xa      Start Software Update Cycle
/reboot  reboot only if the Software Update Agent requires a reboot
/C       Update agent policies
/q       Run in quiet mode. No user input required.
/?       Usage Screen
Press any key to continue . . .

NOTE: Tool runs these commands for all supported versions of Patch Management; however, if the AeXPatchUtil.exe /i (returning Patch Inventories) is needed for PM 7.1 SP1+; you may run the Windows System Assessment Scan to force that inventory back as detailed in troubleshooting Patch Inventories: HOWTO58971.

Advisory: There is a known bug regarding the use of the AeXPatchUtil.exe /xa CMD when a Software Update Cycle is running; detailed on KM: TECH202705  

Legacy ID


Article URL

Terms of use for this information are found in Legal Notices