Bitsadmin /setnotifyflags

 

Updated: April 17, 2012

Applies To: Windows Vista, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows 8

Sets the event notification flags for the specified job.

bitsadmin /SetNotifyFlags <Job> <NotifyFlags>

Parameter

Description

Job

The job's display name or GUID

NotifyFlags

See Remarks

The NotfiyFlags parameter can contain one or more of the following notification flags.

1

Generate an event when all files in the job have been transferred.

2

Generate an event when an error occurs.

4

Disable notifications.

The following example sets the notify flags for transferred and error events job for job named myDownloadJob.

C:\>bitsadmin /SetNotifyFlags myDownloadJob 3
Show: