text stringlengths 0 4.23k |
|---|
Examples |
To set the content validation state of file 2 to TRUE for the job named myDownloadJob: |
bitsadmin /setvalidationstate myDownloadJob 2 TRUE |
bitsadmin suspend |
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012 |
Suspends the specified job. If you suspended your job by mistake, you can use the bitsadmin resume switch to restart the job. |
Syntax |
bitsadmin /suspend <job> |
Parameters |
Parameter |
Description |
job |
The job's display name or GUID. |
Example |
To suspend the job named myDownloadJob: |
bitsadmin /suspend myDownloadJob |
bitsadmin takeownership |
Lets a user with administrative privileges take ownership of the specified job. |
Syntax |
bitsadmin /takeownership <job> |
Parameters |
Parameter |
Description |
job |
The job's display name or GUID. |
Examples |
To take ownership of the job named myDownloadJob: |
bitsadmin /takeownership myDownloadJob |
bitsadmin transfer |
Transfers one or more files. By default, the BITSAdmin service creates a download job that runs at NORMAL priority and updates the command window with progress information until the transfer is complete or until a critical error occurs, |
The service completes the job if it successfully transfers all the files and cancels the job if a critical error occurs. The service does not create the job if it is unable to add files to the job or if you specify an invalid value for type or job_priority. To transfer more than one file, specify multiple <RemoteFileName>-<LocalFileName> pairs. The pairs must be space-delimited. |
<RemoteFileName>-<LocalFileName> |
Note |
The BITSAdmin command continues to run if a transient error occurs. To end the command, press CTRL+C. |
Syntax |
bitsadmin /transfer <name> [<type>] [/priority <job_priority>] [/ACLflags <flags>] [/DYNAMIC] <remotefilename> <localfilename> |
Parameters |
Parameter |
Description |
name |
The name of the job. This command can't be a GUID. |
type |
Optional. Sets the type of job, including:/DOWNLOAD. The default value. Choose this type for download jobs./UPLOAD. Choose this type for upload jobs. |
priority |
Optional. Sets the priority of the job, including:FOREGROUNDHIGHNORMALLOW |
ACLflags |
Optional. Indicates that you want to maintain the owner and ACL information with the file being downloaded. Specify one or more of the values, including:o - Copy owner information with file.g - Copy group information with file.d - Copy discretionary access control list (DACL) information with file.s - Copy system access control list (SACL) information with file. |
/DYNAMIC |
Configures the job using BITS_JOB_PROPERTY_DYNAMIC_CONTENT, which relaxes the server-side requirements. |
remotefilename |
The name of the file after it's transferred to the server. |
localfilename |
The name of the file that resides locally. |
Examples |
To start a transfer job named myDownloadJob: |
bitsadmin /transfer myDownloadJob http://prodserver/audio.wma c:\downloads\audio.wma |
bitsadmin util and enableanalyticchannel |
Enables or disables the BITS client analytic channel. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.