Freigeben über


Bitsadmin /setcredentials

 

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

Adds credentials to a job.

Syntax

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

Parameters

Parameter

Description

Job

The job's display name or GUID

Target

SERVER or PROXY

Scheme

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.

Username

The name of the provided credentials

Password

The password associated with the provided Username

Examples

The following example Adds credentials to the job named myDownloadJob.

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

Additional references

Command-Line Syntax Key