Applies ToWindows 10 Home and Pro, version 21H2 Windows 10 Enterprise and Education, version 21H2 Windows 10 IoT Enterprise, version 21H2 Windows 10 Home and Pro, version 22H2 Windows 10 Enterprise Multi-Session, version 22H2 Windows 10 Enterprise and Education, version 22H2 Windows 10 IoT Enterprise, version 22H2

对 Windows 10 的支持将于 2025 年 10 月结束。

2025 年 10 月 14 日之后,Microsoft 将不再为 Windows 10 提供来自 Windows 更新的软件更新、技术协助或安全修补程序。 你的电脑仍可正常工作,但我们建议迁移到 Windows 11。

了解详细信息

重要说明如果 Windows 恢复环境 (WinRE) 满足以下任何条件,则不会提供此更新:

  • 如果 WinRE 恢复分区没有足够的可用空间,请参阅“摘要”部分中的 注释 。 该说明提供了有关如何增加 WinRE 恢复分区中的可用空间的说明。

  • 如果 WinRE 恢复分区是使用 中的过程手动更新,请将更新包添加到 Windows RE 并且已经为最新。

  • 如果 WinRE 映像的版本大于或等于版本 10.0.19041.5363。 若要确定 WinRE 映像的版本,请参阅“验证已安装的 WinRE 版本的方法”部分。

  • 如果正在运行的电脑没有 WinRE 恢复分区。 若要验证是否已启用 WinRE,可以在提升的命令提示符下运行以下命令:reagentc /info。 如果已启用 WinRE,则输出中会显示 Windows RE 状态,值为“已启用”。 在此方案中,可能需要此更新。

摘要

此更新会自动将安全 OS 动态更新 (KB5050199) 应用到正在运行的电脑上的 Windows 恢复环境 (WinRE) 。 此更新安装对 Windows 恢复功能的改进。

注意 此更新需要恢复分区中有 250 MB 的可用空间才能成功安装。

若要确保设备已获得此更新,请按照说明手动调整分区大小 或使用 示例脚本 来增加 WinRE 恢复分区的大小。

分区有足够的磁盘空间后,单击 开始 > 设置Windows 更新 > 检查是否有更新 向你提供,然后安装它。

如何获取此更新

此更新可通过以下发布渠道获得。

发布频道

可用

Windows 更新

Microsoft 更新目录

Windows Server Update Services (WSUS) 和 Microsoft Endpoint Configuration Manager

先决条件

电脑在恢复分区中必须有 250 MB 的可用空间才能成功应用此更新。

重启信息

应用此更新后,无需重启设备。

删除信息

应用到 Windows 映像后,无法删除此更新。

更新替代信息

此更新将替换以前发布的更新 KB5048239

验证此更新的安装

安装此更新后,设备上安装的 WinRE 版本应大于或等于版本 10.0.19041.5363

若要获取安装的 WinRE 版本,请使用管理员凭据运行以下 PowerShell 脚本“GetWinReVersion.ps1”。 运行该脚本后,应该会收到已安装的 WinRE 版本,如以下示例所示:

GetWinReVersion.ps1 PowerShell 脚本

################################################################################################

#

# Copyright (c) Microsoft Corporation.

# Licensed under the MIT License.

#

# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR

# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,

# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE

# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER

# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,

# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE

# SOFTWARE.

#

################################################################################################
# Function to get WinRE path

function GetWinREPath {

    $WinRELocation = (reagentc /info | Select-String "Windows RE location")

    if ($WinRELocation) {

        return $WinRELocation.ToString().Split(':')[-1].Trim()

    } else {

        Write-Host "Failed to find WinRE path" -ForegroundColor Red

        exit 1

    }

}

 
# Creates and needs to be return the mount directory
function GetMountDir {
    # systemdirve\mnt
    $MountDir = "$env:SystemDrive\mnt"
    if (-not (Test-Path $MountDir)) {
        New-Item -ItemType Directory -Path $MountDir -Force | Out-Null
    }
    return $MountDir
}  

# Function to get WinRE version
function GetWinREVersion {

    $mountedPath = GetMountDir
    $filePath = "$mountedPath\Windows\System32\winpeshl.exe"

    $WinREVersion = (Get-Item $filePath).VersionInfo.FileVersionRaw.Revision

    return [int]$WinREVersion

}


# Main Execution

$WinREPath = GetWinREPath


# Make dir C:\mnt if not exists

$TempDir = GetMountDir


# Get the read write permission for this directory

if (-not (Test-Path $TempDir)) {

    New-Item -ItemType Directory -Path $TempDir -Force | Out-Null

}


# Mount WinRE image

dism /Mount-Image /ImageFile:"$WinREPath\winre.wim" /Index:1 /MountDir:"$TempDir"


$WinREVersion = GetWinREVersion

Write-Host "WinRE Version: $WinREVersion" -ForegroundColor Cyan

dism /Unmount-Image /MountDir:"$TempDir" /Discard

Remove-Item -Path $TempDir -Force -Recurse

参考

用于描述 Microsoft 软件更新的标准术语说明

需要更多帮助?

需要更多选项?

了解订阅权益、浏览培训课程、了解如何保护设备等。