Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Ksetup:removerealm

Published: April 17, 2012

Updated: April 17, 2012

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

Deletes all information for the specified realm from the registry. For examples of how this command can be used, see Examples.

ksetup /removerealm <RealmName>

 

Parameter Description

<RealmName>

The realm name is stated as an uppercase DNS name, such as CORP.CONTOSO.COM, and it is listed as the default realm when ksetup is run.

The realm name is stored in two places in the registry: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001 and \CurrentControlSet\Control\Lsa\Kerberos.

You cannot remove the default realm name from the domain controller because this will reset its DNS information, and removing it might make the domain controller unusable.

Mistakenly set the realm name by misspelling “.COM” on the local computer to CORP.CONTOSO.CON

ksetup /setrealm CORP.CONTOSO.CON

Remove that erroneous realm name from the local computer:

ksetup /removerealm CORP.CONTOSO.CON

Verify the removal by running ksetup and review the output.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.