text
stringlengths
0
4.23k
The job's display name or GUID.
Examples
To retrieve error count information for the job named myDownloadJob:
bitsadmin /geterrorcount myDownloadJob
bitsadmin getfilestotal
Retrieves the number of files in the specified job.
Syntax
bitsadmin /getfilestotal <job>
Parameters
Parameter
Description
job
The job's display name or GUID.
Examples
To retrieve the number of files included in the job named myDownloadJob:
bitsadmin /getfilestotal myDownloadJob
See Also
Command-Line Syntax Key
bitsadmin command
bitsadmin getfilestransferred
Retrieves the number of files transferred for the specified job.
Syntax
bitsadmin /getfilestransferred <job>
Parameters
Parameter
Description
job
The job's display name or GUID.
Examples
To retrieve the number of files transferred in the job named myDownloadJob:
bitsadmin /getfilestransferred myDownloadJob
bitsadmin gethelpertokenflags
Returns 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 /gethelpertokenflags <job>
Parameters
Parameter
Description
job
The job's display name or GUID.
Remarks
Possible return values, including:
0x0001. The helper token is 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. The helper token is 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 allow the credentials to be sent over HTTP.
/SetCredentialsJob TargetScheme NULL NULL
Examples
To retrieve the usage flags for a helper token associated with a BITS transfer job named myDownloadJob:
bitsadmin /gethelpertokenflags myDownloadJob
bitsadmin gethelpertokensid
Returns the SID of a BITS transfer job's helper token, if one is set.
Note
This command isn't supported by BITS 3.0 and earlier.
Syntax
bitsadmin /gethelpertokensid <job>
Parameters
Parameter
Description