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

ksetup addkpasswd

· 52CE 我爱测

Reference article for the ksetup addkpasswd command, which adds a Kerberos password (kpasswd) server address for a realm.

Adds a Kerberos password (kpasswd) server address for a realm.

Syntax

ksetup /addkpasswd <realmname> [<kpasswdname>]

Parameters

Parameter Description
<realmname> Specifies the uppercase DNS name, such as CORP.CONTOSO.COM, and is listed as the default realm or Realm= when ksetup is run.
<kpasswdname> Specifies the Kerberos password server. It's stated as a case-insensitive, fully-qualified domain name, such as mitkdc.contoso.com. If the KDC name is omitted, DNS might be used to locate KDCs.
Remarks
  • If the Kerberos realm that the workstation will be authenticating to supports the Kerberos change password protocol, you can configure a client computer running the Windows operating system to use a Kerberos password server.

  • You can add additional KDC names one at a time.

Examples

To configure the CORP.CONTOSO.COM realm to use the non-Windows KDC server, mitkdc.contoso.com, as the password server, type:

ksetup /addkpasswd CORP.CONTOSO.COM mitkdc.contoso.com

To verify the KDC name is set, type ksetup and then view the output, looking for the text, kpasswd =. If you don't see the text, it means the mapping hasn't been configured.

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)

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

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