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:<ul><li>1. The job can download content from peers.</li><li>2. The files of the job can be cached and served to peers.</li></ul> |
Examples
To allow the job named myDownloadJob to download content from peers:
bitsadmin /setpeercachingflags 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.
