大网数据广告活动
账户与安全

How to disable the SAN for UPN mapping

· 52CE 我爱测

Describes how to disable the Subject Alternative Name for UPN mapping through Registry Editor.

Original KB number:   4043463
Applies to:   Supported versions of Windows Server and Windows Client

User principal name (UPN) mapping is a special case of one-to-one mapping used in Active Directory. This article describes how to use an explicit mapping instead of UPN mapping by disabling the subject alternative name (SAN) through Registry Editor. Performing the following steps will allow the use of an explicit mapping by ignoring the SAN extension of a deployed client certificate.

Server-side

  1. Open Registry Editor.
  2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Kdc\UseSubjectAltName.
  3. Right-click UseSubjectAltName, select Modify Binary data, and then set the Value data to 0.

Note: The value of the UseSubjectAltName registry key must be set to 0 on all key distribution centers (KDC) for the domain.

Client-side

Note: You must also perform steps on the client-side if the following conditions are met:

  • Client certificate mapping (AltSecID) is used.
  • A UPN is used in the SAN extension of a client certificate.
  • No domain hint is used.

Here's how to disable the SAN for the UPN mapping on the client-side:

  1. Open Registry Editor.
  2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\Kerberos\Parameters.
  3. Press and hold (right-click) Parameters, select New > DWORD (32-bit) Value, and then name it UseSubjectAltName. Double-click it, set the Value data to 0, and then press Enter.

Reference

For more information about SAN or UPN mapping, see smart card logon flow in Certificate Enumeration.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. 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 / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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