CmdID

CmdID / Commands / ksetup

ksetup addkdc

Adds a Key Distribution Center (KDC) address for the given Kerberos realm Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Adds a Key Distribution Center (KDC) address for the given Kerberos realm The mapping is stored in the registry, under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\LSA\Kerberos\Domains and the computer must be restarted before the new realm setting will be used. NOTE: To deploy Kerberos realm configuration data to multiple computers, you must use the Security Configuration Template snap-in and policy distribution, explicitly on individual computers. You can't use this command.

ksetup /addkdc <realmname> [<KDCname>]
ksetup /addkdc CORP.CONTOSO.COM mitkdc.contoso.com
ksetup /setcomputerpassword p@sswrd1%
ksetup
<realmname>Specifies the uppercase DNS name, such as CORP.CONTOSO.COM. This value also appears as the default realm when ksetup is run, and is the realm to which you want to add the other KDC.
<KDCname>Specifies the case-insensitive, fully-qualified domain name, such as mitkdc.contoso.com. If the KDC name is omitted, DNS will locate KDCs.