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

Security Package Registration Restrictions

· 52CE 我爱测

Learn about Windows restrictions on registering and installing security packages (SSPs/APs). Understand supported and unsupported actions for custom security packages.

Windows doesn't support removing, replacing, or wrapping inbox security packages, such as Kerberos or NTLM. As of January 10, 2017, Windows prevents these actions. You can add third-party security packages (SSPs/APs), but Windows doesn't support removing preconfigured SSPs/APs. Specifically, editing the HKLM\SYSTEM\CurrentControlSet\Control\Lsa\OSConfig\Security Packages registry setting isn't supported.

Starting in Windows 8.1, you can add security packages to provide extra functionality by using the registry setting HKLM\SYSTEM\CurrentControlSet\Control\Lsa\Security Packages (Registering SSP/AP DLLs) and the associated registry setting SecurityProviders (Writing and Installing a Security Support Provider), if applicable. The purpose of Security Packages is to implement new security protocols in the form of a security support provider (SSP) or an authentication package (AP). An SSP provides authenticated connection, message integrity, and message encryption services that the system doesn't already support. An AP adds new authentication logic to determine whether to permit a user to sign in.

Microsoft is invested in customer security and wants to ensure that critical processes such as SSPs and APs aren't easily removable from the system. To prevent changes, Windows restricted the HKLM\SYSTEM\CurrentControlSet\Control\Lsa\OSConfig\Security Packages registry setting starting in Windows 8.1. To facilitate third-party security packages, Windows designated HKLM\SYSTEM\CurrentControlSet\Control\Lsa\Security Packages as the setting for custom SSPs/APs. Remove any functionality in custom SSPs/APs that falls outside the scope of security packages defined by Microsoft, and don't remove inbox security packages.

Related content

This article is for developers creating custom security packages. For information about configuring and administering LSA and security policies on Windows systems, see the following resources:

Source: Microsoft Learn / Windows Win32 documentation 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 / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 10/28/2025
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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