Windows bitsadmin Command
Windows bitsadmin Command
bitsadmin
is a command-line tool in Windows used to create, monitor, and manage Background Intelligent Transfer Service (BITS) jobs. BITS is used for asynchronous file transfers between a client and a server, commonly utilized for downloading updates, large files, or background tasks.
Basic Syntax
The basic syntax for the command is:
/> bitsadmin [command] [parameters]
Create a New Download Job
/> bitsadmin /create MyDownloadJob
Creates a new BITS job named “MyDownloadJob”.
Add a File to the Job
/> bitsadmin /addfile MyDownloadJob "https://example.com/file.exe" "C:\Downloads\file.exe"
Adds a file to the job, specifying the source URL and destination path.
Resume a Job
/> bitsadmin /resume MyDownloadJob
Starts or resumes the specified job.
Suspend a Job
/> bitsadmin /suspend MyDownloadJob
Pauses the specified job.
Cancel a Job
/> bitsadmin /cancel MyDownloadJob
Cancels and removes the specified job.
Complete a Job
/> bitsadmin /complete MyDownloadJob
Finalizes the job and makes the downloaded file accessible.
List All Jobs
/> bitsadmin /list /verbose
Displays a detailed list of all current BITS jobs.
Check Job Status
/> bitsadmin /info MyDownloadJob /verbose
Displays detailed information about the specified job.
Set Download Priority
/> bitsadmin /setpriority MyDownloadJob foreground
Sets the priority of a job (options: foreground
, high
, normal
, low
).
Monitor Ongoing Transfers
/> bitsadmin /monitor
Continuously displays status updates of all active BITS jobs.