bitsadmin setcredentials
Adds credentials to a job.
Note
This command isn't supported by BITS 1.2 and earlier.
Syntax
bitsadmin /setcredentials <job> <target> <scheme> <username> <password>
Parameters
Parameter | Description |
---|---|
job | The job's display name or GUID. |
target | Use either SERVER or PROXY. |
scheme | Use one of the following:
|
user_name | The name of the user. |
password | The password associated with the provided Username. |
Examples
To add credentials to the job named myDownloadJob:
bitsadmin /setcredentials myDownloadJob SERVER BASIC Edward password20
Related links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for