Ksetup:domain

 

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

Sets the domain name for all Kerberos operations. For examples of how this command can be used, see Examples.

Syntax

ksetup /domain <DomainName>

Parameters

Parameter

Description

<DomainName>

Name of the domain to which you want to establish a connection. Use the fully qualified domain name or a simple form of the name, such as contoso.com or contoso.

Remarks

None.

Examples

Establish a connection to a valid domain, such as Microsoft by using the /mapuser subcommand:

ksetup /mapuser principal@realm domain-user /domain domain-name

When the connection is successful, you will receive a new TGT or an existing TGT will be refreshed.

Additional references