VMware虚拟机中KB5034441更新报错80070643:WinRE分区容量疑议及技术求助
我在两台VMware Workstation虚拟机上安装KB5034441更新时,一直遇到错误代码80070643。
根据查到的资料,这个报错大概率是WinRE恢复分区容量不足导致的。微软在KB5028997中有相关说明:
Microsoft has changed how it updates PCs that run the Windows Recovery Environment (WinRE). WinRE will be updated using the monthly cumulative update. This change only applies to PCs that get updates from Windows Update (WU) and Windows Server Update Services (WSUS). This change starts on June 27, 2023, for the Windows 11, version 22H2 cumulative update.
Some PCs might not have a recovery partition that is large enough to complete this update. Because of this, the update for WinRE might fail. You will receive the error message, "Windows Recovery Environment servicing failed.” To help you recover from this failure, this article provides instructions to manually resize your recovery partition if you get a system ErrorPhase of 2. This requires your device to have the recovery partition after the OS partition. Use the steps below to verify this.
这篇KB里还提供了调整系统分区、删除旧WinRE分区并创建新分区的步骤,但我现在有个疑问:
我执行reagentc /info得到的输出如下:
Windows Recovery Environment (Windows RE) and system reset configuration Information: Windows RE status: Enabled Windows RE location: \\?\GLOBALROOT\device\harddisk0\partition1\Recovery\WindowsRE Boot Configuration Data (BCD) identifier: 80afc8c3-bead-11ee-b2c1-000c29a0c528 Recovery image location: Recovery image index: 0 Custom image location: Custom image index: 0
从这里能看到WinRE在磁盘0的分区1里。
再用diskpart查看磁盘0的分区信息:
Partition ### Type Size Offset ------------- ---------------- ------- ------- Partition 1 Recovery 499 MB 1024 KB Partition 2 System 99 MB 500 MB Partition 3 Reserved 16 MB 599 MB Partition 4 Primary 99 GB 615 MB
确实,恢复分区是499MB的容量,但按照KB里的操作提示,收缩系统分区来创建新恢复分区时,只需要250MB就够了。
我就纳闷了:明明我的WinRE分区有499MB,怎么还会提示容量不足呢?会不会是因为虚拟机环境的特殊情况导致的?我现在不太敢随便动分区,想请教下大家这到底是哪里出了问题?
备注:内容来源于stack exchange,提问作者Jan Doggen

