大网数据广告活动
Windows排障命令

ksetup listrealmflags

· 52CE 我爱测

Reference article for the ksetup listrealmflags command, which lists the available realm flags that can be reported by ksetup.

Lists the available realm flags that can be reported by ksetup.

Syntax

ksetup /listrealmflags

Remarks

  • The realm flags specify additional features of a Kerberos realm that aren't based on the Windows Server operating system. Computers that are running Windows Server, can use a Kerberos server to administer authentication in the Kerberos realm, instead of using a domain running a Windows Server operating system. This entry establishes the features of the realm, and are as follows:
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 doesn't exist in the registry by default. You can use the ksetup addrealmflags command to populate the registry.

Examples

To list the known realm flags on this computer, type:

ksetup /listrealmflags

To set the available realm flags that ksetup doesn't know, type:

ksetup /setrealmflags CORP.CONTOSO.COM sendaddress tcpsupported delete ncsupported

-OR-

ksetup /setrealmflags CORP.CONTOSO.COM 0xF

Related links

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 10/16/2017
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。