search cancel

How to add custom exit code as success code for Patch

book

Article ID: 174630

calendar_today

Updated On:

Products

Patch Management Solution for Windows

Issue/Introduction

Need to add custom exit code for example exit code=1073807364 to success code.

Environment

ITMS 

Resolution

To add custom return code to success code for patches, please follow below steps:

  1. Browse to Manage > Policies > Software >Software Update Policies >Windows.
  2. Select any created patch policies and click on "Advanced" tab on the right pane.
  3. In advanced tab you for specific patch click on package option as shown below:
  4. After clicking the package a new window will open where you will get option to add custom exit code under success code. Please refer below snippet:
  5. Save the changes.