Updated: April 17, 2012

Applies To: Windows Server 2008 R2

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


ksetup /setrealm <DNSDomainName>


Parameter Description


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


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.


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