Ksetup:setrealm

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

Sets the name of a Kerberos realm. For examples of how this command can be used, see Examples.

Syntax

ksetup /setrealm <DNSDomainName>

Parameters

Parameter

Description

<DNSDomainName>

The DNS domain name can be in the form of a fully qualified domain name or simple domain name.

Remarks

The DNS domain name parameter should be entered in uppercase letters. Otherwise, the ksetup command will ask for verification to continue.

Setting the Kerberos realm on a domain controller is not supported. Attempting to do so will cause a warning and a command failure.

Examples

Set the realm for this computer to a specific domain name to restrict access by a non-domain controller just to the CONTOSO Kerberos realm:

ksetup /setrealm CONTOSO

Additional references