Changes the remote URL for all files in the job from oldprefix to newprefix, as necessary.
Syntax
bitsadmin /replaceremoteprefix <job> <oldprefix> <newprefix>
Parameters
| Parameter | Description |
|---|---|
| job | The job's display name or GUID. |
| oldprefix | Existing URL prefix. |
| newprefix | New URL prefix. |
Examples
To change the remote URL for all files in job named myDownloadJob, from http://stageserver to http://prodserver.
bitsadmin /replaceremoteprefix myDownloadJob http://stageserver http://prodserver
Additional information
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.
