bitsadmin setpeercachingflags

Sets flags that determine if the files of the job can be cached and served to peers and if the job can download content from peers.

Syntax

bitsadmin /setpeercachingflags <job> <value>

Parameters

Parameter Description
job The job's display name or GUID.
value An unsigned integer, including:
  • 1. The job can download content from peers.
  • 2. The files of the job can be cached and served to peers.

Examples

To allow the job named myDownloadJob to download content from peers:

bitsadmin /setpeercachingflags myDownloadJob 1

Additional References