Sets the event notification flags for the specified job.
Syntax
bitsadmin /setnotifyflags <job> <notifyflags>
Parameters
| Parameter | Description |
|---|---|
| job | The job's display name or GUID. |
| notifyflags | Can include one or more of the following notification flags, including:<ul><li>1. Generates an event when all files in the job have been transferred.</li><li>2. Generates an event when an error occurs.</li><li>3. Generates an event when all files have completed transfer or when an error occurs.</li><li>4. Disables notifications.</li></ul> |
Examples
To set the notification flags to generate an event when an error occurs, for a job named myDownloadJob:
bitsadmin /setnotifyflags myDownloadJob 2
Related links
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
