Sets the configuration flags that determine if the computer can serve content to peers and if it can download content from peers.
Syntax
bitsadmin /peercaching /setconfigurationflags <job> <value>
Parameters
| Parameter | Description |
|---|---|
| job | The job's display name or GUID. |
| value | An unsigned integer with the following interpretation for the bits in the binary representation:<ul><li>To allow the job's data to be downloaded from a peer, set the least significant bit.</li><li>To allow the job's data to be served to peers, set the second bit from the right.</li></ul> |
Examples
To specify the job's data to be downloaded from peers for the job named myDownloadJob:
bitsadmin /peercaching /setconfigurationflags myDownloadJob 1
Related links
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
