text
stringlengths
0
4.23k
Parameter
Description
job
The job's display name or GUID.
display_name
Text used as the displayed name for the specific job.
Examples
To set the display name for the job to myDownloadJob:
bitsadmin /setdisplayname myDownloadJob
bitsadmin sethelpertoken
Sets the current command prompt's primary token (or an arbitrary local user account's token, if specified) as a BITS transfer job's helper token.
Note
This command isn't supported by BITS 3.0 and earlier.
Syntax
bitsadmin /sethelpertoken <job> [<user_name@domain> <password>]
Parameters
Parameter
Description
job
The job's display name or GUID.
<username@domain> <password>
Optional. The local user account credentials for which token to use.
<username@domain>
<password>
bitsadmin sethelpertokenflags
Sets the usage flags for a helper token that is associated with a BITS transfer job.
Note
This command isn't supported by BITS 3.0 and earlier.
Syntax
bitsadmin /sethelpertokenflags <job> <flags>
Parameters
Parameter
Description
job
The job's display name or GUID.
flags
Possible helper token values, including:0x0001. Used to open the local file of an upload job, to create or rename the temporary file of a download job, or to create or rename the reply file of an upload-reply job.0x0002. Used to open the remote file of a Server Message Block (SMB) upload or download job, or in response to an HTTP server or proxy challenge for implicit NTLM or Kerberos credentials.You must call /setcredentialsjob targetscheme null null to send the credentials over HTTP.
/setcredentialsjob targetscheme null null
bitsadmin sethttpmethod
Sets the HTTP verb to use.
Syntax
bitsadmin /sethttpmethod <job> <httpmethod>
Parameters
Parameter
Description
job
The job's display name or GUID.
httpmethod
The HTTP verb to use. For information about available verbs, see Method Definitions.
bitsadmin setmaxdownloadtime
Sets the download timeout in seconds.
Syntax
bitsadmin /setmaxdownloadtime <job> <timeout>
Parameters
Parameter
Description