CVE-2024-20666 修复脚本
自动更新 WinRE 分区(无需先调整其大小)并修补 CVE-2024-20666 BitLocker 漏洞。
微软链接(脚本在此)
适用于
- Windows Server 2022(服务器核心安装)(KB5034439:适用于 Azure Stack HCI 版本 22H2 和 Windows Server 2022 的 Windows 恢复环境更新:2024 年 1 月 9 日)
- Windows Server 2022(KB5034439:适用于 Azure Stack HCI 版本 22H2 和 Windows Server 2022 的 Windows 恢复环境更新:2024 年 1 月 9 日)
- Windows Server 2022, 23H2 Edition(服务器核心安装)(KB5034439:适用于 Azure Stack HCI 版本 22H2 和 Windows Server 2022 的 Windows 恢复环境更新:2024 年 1 月 9 日)
- 适用于基于 x64 系统的 Windows 11 版本 21H2(KB5034440:适用于 Windows 11 版本 21H2 的 Windows 恢复环境更新:2024 年 1 月 9 日)
- 适用于基于 x64 系统的 Windows 10 版本 22H2(KB5034441:适用于 Windows 10 版本 21H2 和 22H2 的 Windows 恢复环境更新:2024 年 1 月 9 日)
- 适用于 32 位系统的 Windows 10 版本 22H2(KB5034441:适用于 Windows 10 版本 21H2 和 22H2 的 Windows 恢复环境更新:2024 年 1 月 9 日)
- 适用于基于 x64 系统的 Windows 10 版本 21H2(KB5034441:适用于 Windows 10 版本 21H2 和 22H2 的 Windows 恢复环境更新:2024 年 1 月 9 日)
- 适用于 32 位系统的 Windows 10 版本 21H2(KB5034441:适用于 Windows 10 版本 21H2 和 22H2 的 Windows 恢复环境更新:2024 年 1 月 9 日)
运行方法 - 在 PowerShell(管理员)中复制并粘贴以下代码。
此脚本适用于 Windows 10 版本 2004 及更高版本,包括 Windows 11。我们建议您使用此版本的脚本,因为它更强大,但仅使用 Windows 10 版本 2004 及更高版本中可用的功能。
irm https://raw.githubusercontent.com/nnotwen/Script-For-CVE-2024-20666/main/PatchWinREScript_2004plus.ps1 | iex
此脚本适用于 Windows 10 版本 1909 及更早版本,但可在所有 Windows 10 和 Windows 11 版本上运行。
irm https://raw.githubusercontent.com/nnotwen/Script-For-CVE-2024-20666/main/PatchWinREScript_General.ps1 | iex