Share via


Ksetup:delrealmflags

Updated: April 17, 2012

Applies To: Windows Server 2008 R2

Removes realm flags from the specified realm. For examples of how this command can be used, see Examples.

Syntax

ksetup /delrealmflags <RealmName> [sendaddress] [tcpsupported] [delegate] [ncsupported] [rc4]

Parameters

Parameter Description

<RealmName>

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

Remarks

The realm flags specify additional features of a Kerberos realm that is not based on the Windows Server operating system. Computers that are running Windows Server 2003, Windows Server 2008, or Windows Server 2008 R2 can use a Kerberos server to administer authentication instead of using a domain that is running a Windows Server operating system, and these systems participate in a Kerberos realm. This entry establishes the features of the realm. The following table describes each.

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

SendAddress

The IP address will be included within the ticket-granting-tickets.

0x02

TcpSupported

Both the Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP) are supported in this realm.

0x04

Delegate

Everyone in this realm is trusted for delegation.

0x08

NcSupported

This realm supports name canonicalization, which allows for DNS and Realm naming standards.

0x80

RC4

This realm supports RC4 encryption to enable cross-realm trust, which allows for the use of TLS.

Realm flags are stored in the registry in **HKLM\SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Domains\**RealmName. This entry does not exist in the registry by default. You can use the Ksetup:addrealmflags command to populate the Registry.

You can see what realm flags are available and set by viewing the output of ksetup or ksetup /dumpstate.

Examples

List the available realm flags for the realm CONTOSO:

Ksetup /listrealmflags

Remove two flags that are currently in the set:

ksetup /delrealmflags CONTOSO ncsupported delegate

Run the ksetup command to verify that the realm flag is set by viewing the output and looking for Realm flags =.

Additional references