KB5034236: Compatibility update for installing and recovering Windows 11, version 21H2: January 9, 2024

Applies To
Windows 11 Home and Pro, version 21H2 Windows 11 Enterprise Multi-Session, version 21H2 Windows 11 Enterprise and Education, version 21H2 Windows 11 IoT Enterprise, version 21H2

Summary

This update makes improvements to the Windows recovery features for Windows 11, version 21H2.

Note This compatibility update is included in KB5034440: Windows Recovery Environment update for Windows 11, version 21H2: January 9, 2024.

How to get this update

Install this update

Release Channel Available Next Step
Windows Update Yes This update will install automatically when users install the feature updates to move to Windows 11, version 21H2. This update will not install automatically with monthly quality updates.
Microsoft Update Catalog Yes To get the standalone package for this update, download the KB5034236 update.
To download updates from the Update Catalog, see Steps to download updates from the Windows Update Catalog.
Windows Server Update Services (WSUS) and Microsoft Endpoint Configuration Manager No See the other release channels.
Prerequisites There are no prerequisites to apply this update.
Installation instructions WinRE update KB5034440 automatically installs this update.
To apply this update manually to WinRE, see Add an update package to Windows RE. Or for a sample script, see KB5034957: Updating the WinRE partition on deployed devices to address security vulnerabilities in CVE-2024-20666.
Restart information You do not have to restart your device after you apply this update.
Removal information This update cannot be removed once it is applied to a Windows image.
Update replacement information This update replaces the previously released update KB5033288.
Verify the installation of this update After installing this update, the WinRE version installed on the device should be 10.0.22000.2710.
Methods to verify the WinRE version installed

Run the following PowerShell script "GetWinReVersion.ps1" with Administrator credentials. After you run the script, you should receive the installed WinRE version as in the following example:

GetWinREVersion Screenshot

GetWinReVersion.ps1 PowerShell script


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

#

# 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

File information

The English (United States) version of this software update installs files that have the attributes that are listed in the following tables.

For all supported x64-based versions
File name File version Date Time File size
acpi.inf Not versioned 2-Nov-23 12:24 4,248
acpi.sys 10.0.22000.2597 2-Nov-23 13:55 837,080
pci.inf Not versioned 2-Nov-23 12:20 18,980
pci.sys 10.0.22000.2597 2-Nov-23 13:55 542,184
tpm.inf Not versioned 18-Oct-21 19:08 11,790
tpm.sys 10.0.22000.341 18-Oct-21 21:03 344,376
skci.dll 10.0.22000.2710 11-Dec-23 20:22 311,320
conhost.exe 10.0.22000.761 10-May-22 12:58 1,028,096
Facilitator.dll 10.0.22000.132 5-Aug-21 18:20 1,081,656
winresume.exe 10.0.22000.2531 13-Sep-23 0:29 1,252,072
winresume.efi 10.0.22000.2531 13-Sep-23 0:29 1,869,312
winload.exe 10.0.22000.2710 11-Dec-23 20:15 1,643,192
winload.efi 10.0.22000.2710 11-Dec-23 20:15 2,327,072
bootmgfw.efi 10.0.22000.2710 11-Dec-23 20:15 2,034,048
bootmgr.efi 10.0.22000.2710 11-Dec-23 20:15 2,017,648
boot.stl Not versioned 1-Dec-23 12:55 10,895
winsipolicy.p7b Not versioned 9-Dec-23 17:22 9,992
winresume.exe 10.0.22000.2710 11-Dec-23 20:23 1,253,096
winresume.efi 10.0.22000.2710 11-Dec-23 20:23 1,870,336
BootMenuUX.dll 10.0.22000.1215 25-Oct-22 6:16 229,376
driversipolicy.p7b Not versioned 11-Dec-23 17:46 170,763
ci.dll 10.0.22000.2710 11-Dec-23 20:17 968,320
driver.stl Not versioned 1-Dec-23 12:56 25,628
cmi2migxml.dll 10.0.22000.587 27-Feb-22 8:51 230,736
csiagent.dll 10.0.22000.587 27-Feb-22 8:51 718,184
diagER.dll 10.0.22000.587 27-Feb-22 8:51 79,216
hwcompat.dll 10.0.22000.587 27-Feb-22 8:52 251,216
hwcompat.txt Not versioned 27-Feb-22 8:57 787,806
hwexclude.txt Not versioned 27-Feb-22 8:57 51
icbexclusion.inf Not versioned 27-Feb-22 7:00 7,222
migapp.xml Not versioned 17-Aug-21 17:54 654,548
migcore.dll 10.0.22000.587 27-Feb-22 8:51 9,708,904
mighost.exe 10.0.22000.587 27-Feb-22 8:51 279,920
migres.dll 10.0.22000.587 27-Feb-22 8:51 25,968
migisol.dll 10.0.22000.587 27-Feb-22 8:51 148,840
migstore.dll 10.0.22000.587 27-Feb-22 8:51 1,320,304
migsys.dll 10.0.22000.587 27-Feb-22 8:51 456,040
MXEAgent.dll 10.0.22000.587 27-Feb-22 8:51 374,120
offline.xml Not versioned 27-Feb-22 7:00 41,548
oscomps.xml Not versioned 27-Feb-22 7:00 447,950
oscomps.woa.xml Not versioned 27-Feb-22 7:00 249,101
osfilter.inf Not versioned 27-Feb-22 7:00 21,299
pnppropmig.dll 10.0.22000.587 27-Feb-22 8:51 103,792
reagent.dll 10.0.22000.587 27-Feb-22 8:51 599,400
ReserveManager.dll 10.0.22000.587 27-Feb-22 2:35 316,752
setupplatform.cfg Not versioned 7-Feb-22 18:12 6,389
setupplatform.dll 1.66.22000.587 27-Feb-22 8:51 9,594,224
setupplatform.exe 1.66.22000.587 27-Feb-22 8:51 243,056
SFCN.dat Not versioned 17-Aug-21 17:54 1,824
SFLCID.dat Not versioned 17-Aug-21 17:54 1,644
SFLISTW7.dat Not versioned 2-Sep-21 12:02 1,703,368
SFLISTW8.dat Not versioned 2-Sep-21 12:02 2,608,858
SFLISTWB.dat Not versioned 2-Sep-21 12:02 3,172,904
SFLISTWT.dat Not versioned 16-Sep-21 18:14 4,935,438
sflistw8.woa.dat Not versioned 2-Sep-21 12:02 954,436
SFLISTRS1.dat Not versioned 16-Sep-21 18:14 5,593,264
sflistwb.woa.dat Not versioned 2-Sep-21 12:02 1,150,134
sflistwt.woa.dat Not versioned 2-Sep-21 12:02 2,636,850
SFPAT.inf Not versioned 27-Feb-22 7:00 11,602
SFPATW7.inf Not versioned 27-Feb-22 7:00 17,396
SFPATW8.inf Not versioned 27-Feb-22 7:00 79,818
SFPATWB.inf Not versioned 27-Feb-22 7:00 91,635
SFPATWT.inf Not versioned 27-Feb-22 7:00 165,729
SFPATRS1.inf Not versioned 27-Feb-22 7:00 169,870
unbcl.dll 10.0.22000.587 27-Feb-22 8:51 1,205,608
upgradeagent.dll 10.0.22000.587 27-Feb-22 8:51 3,286,384
upgradeagent.xml Not versioned 27-Feb-22 7:00 70,907
upgrade_comp.xml Not versioned 27-Feb-22 7:00 6,054
upgrade_bulk.xml Not versioned 27-Feb-22 7:00 209,520
upgrade_data.xml Not versioned 27-Feb-22 7:00 41,750
upgrade_frmwrk.xml Not versioned 27-Feb-22 7:00 18,785
upgWow_bulk.xml Not versioned 27-Feb-22 7:00 115,041
uninstall.xml Not versioned 27-Feb-22 7:00 4,407
uninstall_data.xml Not versioned 27-Feb-22 7:00 11,122
wdsutil.dll 10.0.22000.587 27-Feb-22 8:51 357,744
ClipSp.sys 10.0.22000.2531 13-Sep-23 0:22 1,111,512
ntdll.dll 10.0.22000.2531 13-Sep-23 0:22 2,129,424
ntoskrnl.exe 10.0.22000.2531 13-Sep-23 0:22 11,748,840
ntkrla57.exe 10.0.22000.2531 13-Sep-23 0:30 11,073,000
ResetEngine.dll 10.0.22000.700 12-Apr-22 2:20 2,315,624
ResetEngine.exe 10.0.22000.700 12-Apr-22 2:26 38,248
ResetPluginHost.exe 10.0.22000.700 12-Apr-22 1:55 53,248
reseteng.dll 10.0.22000.700 12-Apr-22 1:48 679,936
resetengmig.dll 10.0.22000.700 12-Apr-22 1:54 106,496
srms.dat Not versioned 7-Feb-22 20:55 60,267
srms62.dat Not versioned 12-Jan-22 18:39 22,841
sysreset.exe 10.0.22000.700 12-Apr-22 1:52 421,888
systemreset.exe 10.0.22000.700 12-Apr-22 2:26 550,968
ResetEngOnline.dll 10.0.22000.700 12-Apr-22 1:50 229,376
SysResetErr.exe 10.0.22000.700 12-Apr-22 2:27 71,008
WifiCx.sys 10.0.22000.700 11-Apr-22 20:14 802,816
winpeshl.exe 10.0.22000.2710 11-Dec-23 19:53 57,344
wpeutil.dll 10.0.22000.2710 11-Dec-23 19:51 163,840
wpeutil.exe 10.0.22000.2710 11-Dec-23 19:56 32,768
wpeinit.exe 10.0.22000.2710 11-Dec-23 19:55 57,344
startnet.cmd Not versioned 1-Dec-23 12:56 9
StartRep.exe 10.0.22000.587 27-Feb-22 8:32 659,456
RecEnv.exe 10.0.22000.587 27-Feb-22 9:01 410,992
BootRec.exe 10.0.22000.587 27-Feb-22 8:35 192,512
ntdll.dll 10.0.22000.2531 12-Sep-23 23:45 1,725,320
For all supported Arm64-based versions
File name File version Date Time File size
acpi.inf Not versioned 2-Nov-23 12:17 4,248
acpi.sys 10.0.22000.2597 2-Nov-23 14:45 781,784
pci.inf Not versioned 2-Nov-23 12:13 18,980
pci.sys 10.0.22000.2597 2-Nov-23 14:45 451,048
tpm.inf Not versioned 18-Oct-21 19:08 11,604
tpm.sys 10.0.22000.341 18-Oct-21 21:55 311,112
skci.dll 10.0.22000.2710 11-Dec-23 21:15 228,056
conhost.exe 10.0.22000.761 10-May-22 13:06 1,063,936
Facilitator.dll 10.0.22000.132 5-Aug-21 19:19 1,098,056
winresume.efi 10.0.22000.2531 13-Sep-23 1:27 1,571,296
winload.efi 10.0.22000.2710 11-Dec-23 21:05 2,055,840
bootmgfw.efi 10.0.22000.2710 11-Dec-23 21:08 1,758,064
bootmgr.efi 10.0.22000.2710 11-Dec-23 21:08 1,740,256
boot.stl Not versioned 11-Nov-23 17:22 10,717
winsipolicy.p7b Not versioned 11-Nov-23 17:22 9,992
winresume.efi 10.0.22000.2710 11-Dec-23 21:17 1,572,856
BootMenuUX.dll 10.0.22000.1215 25-Oct-22 18:03 213,504
driversipolicy.p7b Not versioned 11-Dec-23 17:44 170,763
ci.dll 10.0.22000.2710 11-Dec-23 21:06 835,896
driver.stl Not versioned 11-Nov-23 17:23 13,916
cmi2migxml.dll 10.0.22000.587 27-Feb-22 10:26 219,968
csiagent.dll 10.0.22000.587 27-Feb-22 10:26 706,880
diagER.dll 10.0.22000.587 27-Feb-22 10:26 56,680
hwcompat.dll 10.0.22000.587 27-Feb-22 10:26 237,384
hwcompat.txt Not versioned 27-Feb-22 10:32 206,575
hwexclude.txt Not versioned 27-Feb-22 10:32 51
icbexclusion.inf Not versioned 27-Feb-22 8:31 7,222
migapp.xml Not versioned 11-Jan-22 10:47 654,548
migcore.dll 10.0.22000.587 27-Feb-22 10:29 9,967,944
mighost.exe 10.0.22000.587 27-Feb-22 10:26 265,584
migres.dll 10.0.22000.587 27-Feb-22 10:25 17,256
migisol.dll 10.0.22000.587 27-Feb-22 10:26 119,664
migstore.dll 10.0.22000.587 27-Feb-22 10:26 1,339,248
migsys.dll 10.0.22000.587 27-Feb-22 10:26 449,904
MXEAgent.dll 10.0.22000.587 27-Feb-22 10:26 361,832
offline.xml Not versioned 27-Feb-22 8:30 41,548
oscomps.xml Not versioned 27-Feb-22 8:30 447,950
oscomps.woa.xml Not versioned 27-Feb-22 8:30 249,101
osfilter.inf Not versioned 27-Feb-22 8:31 21,299
pnppropmig.dll 10.0.22000.587 27-Feb-22 10:26 90,472
reagent.dll 10.0.22000.587 27-Feb-22 10:26 969,072
ReserveManager.dll 10.0.22000.587 27-Feb-22 3:52 312,168
setupplatform.cfg Not versioned 7-Feb-22 20:56 6,389
setupplatform.dll 1.66.22000.587 27-Feb-22 10:26 9,977,712
setupplatform.exe 1.66.22000.587 27-Feb-22 10:26 233,800
SFCN.dat Not versioned 11-Jan-22 10:46 1,824
SFLCID.dat Not versioned 11-Jan-22 10:46 1,644
SFLISTW7.dat Not versioned 25-Jan-22 2:12 1,703,368
SFLISTW8.dat Not versioned 25-Jan-22 2:12 2,608,858
SFLISTWB.dat Not versioned 25-Jan-22 2:12 3,172,904
SFLISTWT.dat Not versioned 25-Jan-22 2:12 4,935,438
sflistw8.woa.dat Not versioned 25-Jan-22 2:12 954,436
SFLISTRS1.dat Not versioned 7-Feb-22 20:56 5,593,264
sflistwb.woa.dat Not versioned 25-Jan-22 2:12 1,150,134
sflistwt.woa.dat Not versioned 25-Jan-22 2:12 2,636,850
SFPAT.inf Not versioned 27-Feb-22 8:31 11,602
SFPATW7.inf Not versioned 27-Feb-22 8:31 17,396
SFPATW8.inf Not versioned 27-Feb-22 8:31 79,818
SFPATWB.inf Not versioned 27-Feb-22 8:31 91,635
SFPATWT.inf Not versioned 27-Feb-22 8:31 165,729
SFPATRS1.inf Not versioned 27-Feb-22 8:31 169,870
unbcl.dll 10.0.22000.587 27-Feb-22 10:30 1,191,752
upgradeagent.dll 10.0.22000.587 27-Feb-22 10:26 3,384,688
upgradeagent.xml Not versioned 27-Feb-22 8:30 70,907
upgrade_comp.xml Not versioned 27-Feb-22 8:30 6,054
upgrade_bulk.xml Not versioned 27-Feb-22 8:30 209,520
upgrade_data.xml Not versioned 27-Feb-22 8:30 41,750
upgrade_frmwrk.xml Not versioned 27-Feb-22 8:30 18,785
upgWow_bulk.xml Not versioned 27-Feb-22 8:30 115,041
upgWowA32_bulk.xml Not versioned 27-Feb-22 8:30 115,031
uninstall.xml Not versioned 27-Feb-22 8:30 4,407
uninstall_data.xml Not versioned 27-Feb-22 8:30 11,122
wdsutil.dll 10.0.22000.587 27-Feb-22 10:26 350,568
ClipSp.sys 10.0.22000.2531 13-Sep-23 1:19 962,024
ntdll.dll 10.0.22000.2531 13-Sep-23 1:16 4,113,664
ntoskrnl.exe 10.0.22000.2531 13-Sep-23 1:16 10,970,496
ResetEngine.dll 10.0.22000.700 12-Apr-22 2:58 2,447,720
ResetEngine.exe 10.0.22000.700 12-Apr-22 3:07 22,384
ResetPluginHost.exe 10.0.22000.700 12-Apr-22 2:42 37,376
reseteng.dll 10.0.22000.700 12-Apr-22 2:38 668,160
resetengmig.dll 10.0.22000.700 12-Apr-22 2:41 97,792
srms.dat Not versioned 5-Apr-22 20:33 60,267
srms62.dat Not versioned 4-Feb-22 17:20 22,841
sysreset.exe 10.0.22000.700 12-Apr-22 2:40 402,944
systemreset.exe 10.0.22000.700 12-Apr-22 3:07 549,016
ResetEngOnline.dll 10.0.22000.700 12-Apr-22 2:39 221,696
SysResetErr.exe 10.0.22000.700 12-Apr-22 3:07 59,752
WifiCx.sys 10.0.22000.700 11-Apr-22 20:07 718,336
winpeshl.exe 10.0.22000.2710 11-Dec-23 20:03 36,352
wpeutil.dll 10.0.22000.2710 11-Dec-23 19:58 143,360
wpeutil.exe 10.0.22000.2710 11-Dec-23 20:06 11,776
wpeinit.exe 10.0.22000.2710 11-Dec-23 20:05 36,864
startnet.cmd Not versioned 11-Nov-23 17:23 9
StartRep.exe 10.0.22000.587 27-Feb-22 10:04 636,928
RecEnv.exe 10.0.22000.587 27-Feb-22 10:43 393,584
BootRec.exe 10.0.22000.587 27-Feb-22 10:04 169,472
ntdll.dll 10.0.22000.2531 12-Sep-23 23:53 1,617,160
ntdll.dll 10.0.22000.2531 13-Sep-23 3:55 2,203,560
msvcrt.dll 7.0.22000.2531 13-Sep-23 3:55 1,092,176
ucrtbase.dll 10.0.22000.2531 13-Sep-23 3:54 1,600,904
ntdll.dll 10.0.22000.2531 12-Sep-23 23:45 1,725,320

References

Learn about the standard terminology that is used to describe Microsoft software updates.

Query words: SafeOS DU