Bitsadmin /getstate

Applies To: Windows Vista, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows 8

Retrieves the state of the specified job.

Syntax

bitsadmin /GetState <Job>

Parameters

Parameter

Description

Job

The job's display name or GUID

Remarks

The possible states are:

QUEUED

The job is waiting to run.

CONNECTING

BITS is contacting the server.

TRANSFERRING

BITS is transferring data.

SUSPENDED

The job is paused.

ERROR

A non-recoverable error occurred; the transfer will not be retried.

TRANSIENT_ERROR

A recoverable error occurred; the transfer retries when the minimum retry delay expires.

ACKNOWLEDGED

The job was completed.

CANCELED

The job was canceled.

Examples

The following example retrieves the state for the job named myDownloadJob.

C:\>bitsadmin /GetState myDownloadJob

Additional references

Command-Line Syntax Key