CmdID

CmdID / Commands / bitsadmin

bitsadmin setnotifyflags

Sets the event notification flags for the specified job. Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0
bitsadmin /setnotifyflags <job> <notifyflags>

To set the notification flags to generate an event when an error occurs, for a job named myDownloadJob

bitsadmin /setnotifyflags myDownloadJob 2Identify
jobThe job's display name or GUID.
notifyflagsCan include one or more of the following notification flags, including: - 1. Generates an event when all files in the job have been transferred. - 2. Generates an event when an error occurs. - 3. Generates an event when all files have completed transfer or when an error occurs. - 4. Disables notifications.