Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Bitsadmin /setcredentials

Updated: April 17, 2012

Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Vista

Adds credentials to a job.

bitsadmin /SetCredentials <Job> <Target> <Scheme> <Username> <Password>


Parameter Description


The job's display name or GUID




One of the following:

  • BASIC—authentication scheme in which the user name and password are sent in clear-text to the server or proxy.

  • DIGEST—a challenge-response authentication scheme that uses a server-specified data string for the challenge.

  • NTLM—a challenge-response authentication scheme that uses the credentials of the user for authentication in a Windows network environment.

  • NEGOTIATE—also known as the Simple and Protected Negotiation protocol (Snego) is a challenge-response authentication scheme that negotiates with the server or proxy to determine which scheme to use for authentication. Examples are the Kerberos protocol and NTLM.

  • PASSPORT—a centralized authentication service provided by Microsoft that offers a single logon for member sites.


The name of the provided credentials


The password associated with the provided Username

The following example Adds credentials to the job named myDownloadJob.

C:\>bitsadmin /RemoveCredentials myDownloadJob SERVER BASIC Edward Password20

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft