Credentials (xbcred.exe)

Allows management of credentials stored on the console.

xbcred [command [command-specific-options]] [/X[: address[+<accesskey>]] ]
Option Description
command [command-specific-options] The command to run and any command specific options. The following commands are supported:
Command Description
addAdds the network credential to the console.
removeRemoves the network credential from the console.
listLists network credentials stored on the console.
/X[: address[+<accesskey>]] Specifies the host name or address (shown as Tools IP on the console) of a targeted console, but does not change the default console. For information about setting a host name for a console, see Setting a Hostname for the Console IP Address.If you do not use this option, the default console (previously set by Connect (xbconnect.exe)) is used.Accesskey is a string that you can use to restrict access to a console to only those people who know the access key. Set the access key by using the command xbconfig accesskey=your-key; then, restart your console to make the access key effective. To access a console that is configured with an access key, you must include a plus sign (+) and the access key after the IP address or host name of the console. For more information about access keys, see xbconfig accesskey.
Note
If an access key is provided when the default console is set by xbconnect, then the access key is stored as part of the address of the default console.

Add Command

Adds or replaces a network credential on the console.

Caution The password for the network credential is not encrypted when it is passed over the network to the console.

xbcred add [ServerName] [UserName] [Password]
Option Description
ServerNameThe server name the credentials are associated with.
UserNameThe user name for the account on the server. The user name is required to include either the machine name or domain name explicitly in the form machine name\user name or domain\user name.
PasswordThe password for the account on the server.

Remove Command

Removes a network credential from the console.

xbcred remove [ServerName]
Option Description
ServerNameThe server to remove the credential for.

List Command

Lists all network credentials stored on the console.

xbcred list

See also

Command Line Tools

XTF Transport Errors

Connect (xbconnect.exe)