bitsadmin setmaxdownloadtime

Sets the download timeout in seconds.

Syntax

bitsadmin /setmaxdownloadtime <job> <timeout>

Parameters

Parameter Description
job The job's display name or GUID.
timeout The length for the download timeout, in seconds.

Examples

To set the timeout for the job named myDownloadJob to 10 seconds.

bitsadmin /setmaxdownloadtime myDownloadJob 10