Freigeben über


Ksetup:setrealmflags

 

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

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

Syntax

ksetup /setrealmflags <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.

Realm flag

Denotes one of the following flags:

  • SendAddress

  • TcpSupported

  • Delegate

  • NcSupported

  • RC4

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 under **HKEY_LOCAL_MACHINE\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.

Examples

List the available and set realm flags for the realm CONTOSO:

ksetup

Set two flags that are not currently set:

ksetup /setrealmflags 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