KB5041979: Safe OS Dynamic Update for Windows 11, version 24H2: July 30, 2024

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

Summary

This update makes improvements to the Windows recovery environment in Windows 11, version 24H2.

How to get this update

Install this update

To install this update, use one of the following release channels.


Available Next step
No This update is not available through Windows Update. See the Update Catalog release channel.
Prerequisites There are no prerequisites to apply this update.
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 KB5041137.
Verify the installation of this update After installing this update, the WinRE version installed on the device should be 10.0.26100.1287.
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
storufs.inf Not versioned 10-Jul-24 2:11 24,702
storufs.sys 10.0.26100.560 10-Jul-24 2:11 148,800
Facilitator.dll 10.0.26100.1287 10-Jul-24 2:11 1,111,456
dhcpcore.dll 10.0.26100.712 10-Jul-24 2:11 435,616
dhcpcsvc.dll 10.0.26100.712 10-Jul-24 2:11 157,104
dhcpcore6.dll 10.0.26100.712 10-Jul-24 2:11 320,928
dhcpcsvc6.dll 10.0.26100.712 10-Jul-24 2:11 128,416
ncsi.dll 10.0.26100.712 10-Jul-24 2:11 692,224
netprofmsvc.dll 10.0.26100.712 10-Jul-24 2:11 1,871,872
nlaapi.dll 10.0.26100.712 10-Jul-24 2:11 53,248
nlmproxy.dll 10.0.26100.712 10-Jul-24 2:11 53,248
nlmsprep.dll 10.0.26100.712 10-Jul-24 2:11 49,152
bcd.dll 10.0.26100.998 10-Jul-24 2:11 162,616
bootsvc.dll 10.0.26100.998 10-Jul-24 2:11 307,136
hwreqchk.dll Not versioned 10-Jul-24 2:11 423,328
ServicingCommon.dll 10.0.26100.998 10-Jul-24 2:11 1,030,248
utcapi.dll 10.0.26100.998 10-Jul-24 2:11 66,872
wimgapi.dll 10.0.26100.998 10-Jul-24 2:11 910,768
wdscommonlib.dll 10.0.26100.998 10-Jul-24 2:11 341,424
dismapi.dll 10.0.26100.998 10-Jul-24 2:11 1,201,480
dismcore.dll 10.0.26100.998 10-Jul-24 2:11 476,480
dismcoreps.dll 10.0.26100.998 10-Jul-24 2:11 230,816
dismprov.dll 10.0.26100.998 10-Jul-24 2:11 300,344
folderprovider.dll 10.0.26100.998 10-Jul-24 2:11 95,552
imagingprovider.dll 10.0.26100.998 10-Jul-24 2:11 247,200
logprovider.dll 10.0.26100.998 10-Jul-24 2:11 189,752
UpdateCompression.dll 5.0.1.1 10-Jul-24 2:11 542,016
vhdprovider.dll 10.0.26100.998 10-Jul-24 2:11 599,456
wimprovider.dll 10.0.26100.998 10-Jul-24 2:11 697,656
unattend.dll 10.0.26100.998 10-Jul-24 2:11 275,872
wpx.dll 10.0.26100.998 10-Jul-24 2:11 1,422,640
locale.nls Not versioned 10-Jul-24 2:11 861,992
nlsbres.dll 10.0.26100.998 10-Jul-24 2:11 103,856
ServicingCommon.dll 10.0.26100.998 10-Jul-24 2:11 1,030,224
winpeshl.exe 10.0.26100.1287 10-Jul-24 2:11 57,344
wpeutil.dll 10.0.26100.1287 10-Jul-24 2:11 159,744
wpeutil.exe 10.0.26100.1287 10-Jul-24 2:11 32,768
wpeinit.exe 10.0.26100.1287 10-Jul-24 2:11 61,440
startnet.cmd Not versioned 10-Jul-24 2:11 9
dhcpcore.dll 10.0.26100.712 10-Jul-24 2:11 343,872
dhcpcsvc.dll 10.0.26100.712 10-Jul-24 2:11 97,072
dhcpcore6.dll 10.0.26100.712 10-Jul-24 2:11 246,576
dhcpcsvc6.dll 10.0.26100.712 10-Jul-24 2:11 82,864
ServicingCommon.dll 10.0.26100.998 10-Jul-24 2:11 827,904

References

Description of the standard terminology that is used to describe Microsoft software updates

Query words: safeos du