Windows 本地管理员密码解决方案(Windows LAPS)是一项 Windows 功能,可自动管理和备份已加入 Microsoft Entra 或 Windows Server Active Directory 的设备上的本地管理员帐户的密码。 您还可以使用Windows LAPS来管理和备份Windows Server Active Directory域控制器上的目录服务恢复模式(DSRM)账户密码。
本地管理员账户通常在多台设备间共享相同密码,恶意分子可以利用这一点横向移动。 Windows LAPS 通过定期轮换每台设备的本地管理员密码,安全存储,并允许授权管理员获取密码登录或恢复设备,帮助你弥补这一差距。
本文介绍了 Windows LAPS 支持的平台、其主要场景和优势,以及它与传统 Microsoft LAPS 产品的区别,以便你决定如何在环境中使用 Windows LAPS。
Windows LAPS 支持的平台
Windows LAPS 在以下 OS 平台上可用:
Windows 客户端
- Windows 11 23H2 及更高版本。
- 其他收到2023年4月11日更新及之后更新的Windows客户端版本,包括:
Windows 10 的支持已于 2025 年 10 月 14 日终止。 Windows LAPS 仅在持续接收更新的 Windows 10 设备上可用,例如通过扩展安全更新(ESU)计划。 有关支持的 Windows 10 服务和生命周期日期,请参见 Windows 生命周期常见问题解答。 对于新部署,请使用Windows 11或支持的Windows Server版本。
Windows LAPS 配置服务提供商(CSP)中的自动账户管理设置要求使用 Windows 11 版本 24H2 及以上版本,或 Windows Server 2025 及以后版本。
Windows Server
- Windows Server 2025 及更高版本。
- 适用于容器的 Windows Server 年度频道,23H2 及更高版本。
- 其他收到2023年4月11日或更晚更新的Windows Server版本,包括:
Windows LAPS 在这些平台的所有受支持版本中均可用,包括长期服务通道 (LTSC) 版本。 引入 Windows LAPS 功能并不会修改 Microsoft 标准的产品生命周期策略。
Windows LAPS 和 Microsoft Entra ID
自 2023 年 10 月 23 日起,具有 Microsoft Entra ID 和 Microsoft Intune 支持的 Windows LAPS 已正式发布。 有关详细信息,请参阅 现已正式发布:适用于 Microsoft Entra ID 的 Windows 本地管理员密码解决方案! 和 Microsoft Entra ID 中的 Windows 本地管理员密码解决方案。
使用 Windows LAPS 时的优势
使用 Windows LAPS 定期轮换和管理本地管理员帐户密码,并有以下优势:
- 防范哈希传递和横向遍历攻击
- 提高了远程技术支持方案的安全性
- 能够登录和恢复其他不可访问的设备
- 一个细粒度的安全模型(访问控制列表和可选的密码加密)用于保护存储在Windows Server Active Directory中的密码
- 支持Microsoft Entra基于角色的访问控制模型,用于保护存储在Microsoft Entra ID中的密码
Windows LAPS 介绍视频
以下视频将为您提供关于Windows LAPS功能的更多信息。 由于这些视频不包含文本内容,请参阅相关文章以获取权威的 Windows LAPS 指导信息。
“Windows 技术起飞”演示文稿(2022 年 11 月):
“Windows 应对技术”讨论(2023 年 8 月):
关键的 Windows LAPS 方案
可以将 Windows LAPS 用于多种主要方案:
将本地管理员帐户密码备份到 Microsoft Entra ID(适用于已加入 Microsoft Entra 的设备)
将本地管理员帐户密码备份到 Windows Server Active Directory(适用于已加入 Windows Server Active Directory 的客户端和服务器)
将 DSRM 帐户密码备份到 Windows Server Active Directory(适用于 Windows Server Active Directory 域控制器)
通过使用遗留Microsoft LAPS模拟模式备份本地管理员账户Windows Server Active Directory密码,该模式中原生Windows LAPS在迁移时会尊重你现有的遗留Microsoft LAPS组策略设置
在每个方案中,可以应用不同的策略设置。
了解设备加入状态限制
设备是否加入 Microsoft Entra ID 或 Windows Server Active Directory 将决定你如何使用 Windows LAPS。
- 只加入 Microsoft Entra ID 的设备仅能将密码备份到 Microsoft Entra ID。
- 仅加入 Windows Server Active Directory 的设备只能将密码备份到 Windows Server Active Directory。
- 已混合加入的设备(同时加入 Microsoft Entra ID 和 Windows Server Active Directory)可以将其密码备份到 Microsoft Entra ID 或 Windows Server Active Directory。
无法将密码同时备份到 Microsoft Entra ID 和 Windows Server Active Directory。
Windows LAPS 不支持已加入 Microsoft Entra 工作区的客户端。
设置 Windows LAPS 策略
若要设置和管理 Windows LAPS 部署的策略,可以使用多个选项:
- Windows LAPS 配置服务提供商 (CSP)
- Windows LAPS 组策略
- 传统Microsoft LAPS仿真模式,原生Windows LAPS读取你现有的旧Microsoft LAPS组策略设置
管理和监视 Windows LAPS
你有多种选项可以管理和监控 Windows LAPS。
适用于 Windows 的选项包括:
- Active Directory 用户和计算机 属性对话框。 更多信息请参见《开始使用Windows LAPS和Windows Server Active Directory》。
- 专用事件日志通道。 欲了解更多信息,请参阅 Windows LAPS 故障排除指南。
- 特定于 Windows LAPS 的 Windows PowerShell 模块。 更多信息请参见 LAPS PowerShell 模块参考资料。
当你备份密码到 Microsoft Entra ID 时,你会得到基于 Microsoft Entra ID 的监控和报告解决方案。
弃用旧版 Microsoft LAPS 产品
Important
旧版 Microsoft LAPS 产品自 Windows 11 23H2 及更高版本起已弃用。 较新的操作系统版本会阻止安装传统的 Microsoft LAPS Microsoft 安装器(MSI)包。 Microsoft 不再考虑对遗留的 Microsoft LAPS 产品进行代码更改。
使用Windows LAPS 来管理本地管理员账户密码。 Windows LAPS 适用于 Windows Server 2019 及更高版本以及受支持的 Windows 10 和 Windows 11 客户端。
Microsoft 将继续为此前支持该产品的旧版 Windows(早于 Windows 11 23H2 的版本)上的旧版 Microsoft LAPS 产品提供支持。 该支持将在这些操作系统版本的常规支持结束时终止。
Windows LAPS 与旧版 Microsoft LAPS
Windows LAPS 继承了旧版 Microsoft LAPS 中的许多设计概念。 如果你熟悉旧款Microsoft LAPS,你会认出许多Windows LAPS的功能。 一个主要区别在于,Windows LAPS 是 Windows 原生的完全独立实现。 Windows LAPS 还添加了许多在旧版 Microsoft LAPS 中不可用的功能。 可以使用 Windows LAPS 将密码备份到 Microsoft Entra ID、加密 Windows Server Active Directory 中的密码,以及存储密码历史记录。
Windows LAPS 不需要安装旧版 Microsoft LAPS。 无需安装或引用旧版 Microsoft LAPS,即可完全部署和使用所有 Windows LAPS 功能。 为了帮助迁移现有的 Microsoft LAPS 旧版部署,Windows LAPS 提供了传统的 Microsoft LAPS 仿真模式。 请记住,旧版 Microsoft LAPS 产品在较新的 Microsoft 操作系统版本中已被弃用。 有关详细信息,请参阅 弃用旧版 Microsoft LAPS 产品。
从传统Microsoft LAPS到原生Windows LAPS
由于遗留的 Microsoft LAPS 产品已被弃用,且较新的 Windows 版本阻止其安装程序,原生 Windows LAPS 成为管理本地管理员密码的官方支持方式。 原生 Windows LAPS 无需单独下载或安装。 它内置在支持的Windows和Windows Server版本中,所以你不需要安装旧版Microsoft LAPS。
要规划并完成当前运行遗留Microsoft LAPS设备的迁移,请参见“从遗留LAPS”迁移到Windows LAPS。 那篇文章是关于迁移前置条件、可用迁移选项、如何验证原生 Windows LAPS 是否能成功管理你的账户,以及如何在迁移后移除遗留的 Microsoft LAPS 软件的权威来源。
旧版 Microsoft LAPS 模拟模式
如果你不能直接切换到原生 Windows LAPS,你可以在传统 Microsoft LAPS 模拟模式下运行 Windows LAPS 作为过渡选项。 在此模式下,Windows LAPS 会在你完成迁移过程中,保留你现有的 Microsoft LAPS 组策略设置。
仿真模式有两个关键前提条件:
- 不要在托管设备上安装传统的Microsoft LAPS组策略客户端扩展(CSE)。 如果存在遗留CSE,Windows LAPS会服从该系统并禁用仿真模式以避免冲突。
- 原生 Windows LAPS 策略设置优先。 如果你同时配置设备使用原生 Windows LAPS 策略设置和传统 Microsoft LAPS 策略设置,Windows LAPS 会应用原生设置,忽略模拟的传统设置。
模拟模式有安全限制。 与传统 Microsoft LAPS 类似,它仅以明文形式存储Windows Server Active Directory密码,无法使用原生 Windows LAPS 的密码加密或密码历史功能。 将模拟模式视为临时步骤,计划迁移到原生 Windows LAPS 以利用其安全功能。 欲了解更多信息,请参阅“在传统 Microsoft LAPS 模拟模式下开始使用 Windows LAPS。
Windows LAPS 和旧版 Microsoft LAPS 支持声明
Microsoft于2016年在Microsoft 下载中心发布了传统的Microsoft LAPS产品。 Windows LAPS 作为 2023 年 4 月 11 日发布的 Windows 更新的一部分,适用于 Windows LAPS 支持的平台。
Microsoft及其支持交付组织为传统Microsoft LAPS和Windows LAPS提供辅助支持,包括两者之间的互操作性。 Microsoft在较新的Microsoft操作系统版本上弃用了旧有的Microsoft LAPS产品。 有关详细信息,请参阅 弃用旧版 Microsoft LAPS 产品。
我们强烈建议您现在就开始规划将支持Windows LAPS的系统从旧版Microsoft LAPS迁移到Windows LAPS功能。 Windows LAPS 提供许多新的安全功能和改进的产品服务。
关于第三方本地账户密码管理工具与 Windows LAPS 之间的限制和互操作性问题,直接询问第三方应用的开发者,而非 Microsoft。
Windows LAPS 许可要求
Windows LAPS 功能在所有支持的 Windows 平台上免费提供。
无需其他许可要求即可将密码备份到 Windows Server Active Directory。
可使用 Microsoft Entra ID Free 或更高版本的许可证将密码备份到 Microsoft Entra ID。
其他 Microsoft Entra ID 或 Microsoft Intune 功能可能有其他许可要求。
提交有关 Windows LAPS 的反馈
想要向我们发送反馈? 如需提交文档相关问题,请使用本页底部的反馈链接。
您也可以在Windows LAPS反馈技术社区页面提交反馈和其他请求。
如果您的反馈针对Microsoft Entra ID相关或Intune相关的LAPS功能,请通过Microsoft Entra反馈论坛提交反馈。
如果不确定你的反馈应从何处进行,请使用上述任一选项提交。
相关内容
- Windows LAPS 中的关键概念
- Windows LAPS 和 Windows Server Active Directory 入门
- 开始使用 Windows LAPS 和 Microsoft Entra ID
- 开始使用处于旧版 Microsoft LAPS 仿真模式的 Windows LAPS
- 从旧 LAPS 迁移到 Windows LAPS
- Windows LAPS CSP
- LAPS PowerShell 模块参考
- Windows LAPS 故障排除指南
- Microsoft Intune 对 Windows LAPS 的支持
- Microsoft Entra ID 中的 Windows 本地管理员密码解决方案