text
stringlengths
0
4.23k
Note
To remove realm configuration data from multiple computers, use the Security Configuration Template snap-in with policy distribution, instead of using the ksetup command explicitly on individual computers.
Syntax
ksetup /delkdc <realmname> <KDCname>
Parameters
Parameter
Description
<realmname>
Specifies the uppercase DNS name, such as CORP.CONTOSO.COM. This is the default realm that appears when you run the ksetup command, and it's the realm from which you want to delete the KDC.
<KDCname>
Specifies the case-sensitive, fully-qualified domain name, such as mitkdc.contoso.com.
<realmname>
<KDCname>
Examples
To view all of the associations between the Windows realm and the non-Windows realm, and to determine which ones to remove, type:
ksetup
To remove the association, type:
ksetup /delkdc CORP.CONTOSO.COM mitkdc.contoso.com
ksetup delkpasswd
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Removes a Kerberos password server (kpasswd) for a realm.
Syntax
ksetup /delkpasswd <realmname> <kpasswdname>
Parameters
Parameter
Description
<realmname>
Specifies the uppercase DNS name, such as CORP.CONTOSO.COM, and is listed as the default realm or Realm= when ksetup is run.
<kpasswdname>
Specifies the Kerberos password server. It's stated as a case-insensitive, fully-qualified domain name, such as mitkdc.contoso.com. If the KDC name is omitted, DNS might be used to locate KDCs.
<realmname>
<kpasswdname>
Examples
To make sure the realm CORP.CONTOSO.COM uses the non-Windows KDC server mitkdc.contoso.com as the password server, type:
ksetup /delkpasswd CORP.CONTOSO.COM mitkdc.contoso.com
To make sure the realm CORP.CONTOSO.COM is not mapped to a Kerberos password server (the KDC name), type ksetup on the Windows computer and then view the output.
ksetup
ksetup delrealmflags
Removes realm flags from the specified realm.
Syntax
ksetup /delrealmflags <realmname> [sendaddress] [tcpsupported] [delegate] [ncsupported] [rc4]
Parameters
Parameter
Description
<realmname>
Specifies the uppercase DNS name, such as CORP.CONTOSO.COM, and is listed as the default realm or Realm= when ksetup is run.
<realmname>
Remarks
Value
Realm flag
Description
0xF
All
All realm flags are set.
0x00
None
No realm flags are set, and no additional features are enabled.
0x01