ksetup delkdc
Deletes instances of Key Distribution Center (KDC) names for the Kerberos realm. Windows commands reference
On Windows
Windows
Deletes instances of Key Distribution Center (KDC) names for the Kerberos realm. The mapping is stored in the registry, under HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\LSA\Kerberos\Domains. After running this command, we recommend making sure the KDC was removed and no longer appears in the list. 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.
ksetup /delkdc <realmname> <KDCname>ksetupksetup /delkdc CORP.CONTOSO.COM mitkdc.contoso.com
<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.