Solved Is my winre.wim the latest?


If your WinRE image is outdated, it is probably because the recovery partition is too small. I started noticing this issue on Windows 10/Server 2019 devices but now more and more on Windows 11 devices too, now that I know what to look for. I It is easy to miss this issue in the first place in Windows 11 because if the recovery partition is too small, Windows Update will silently continue and 'successfully' install the update even though it failed to service the recovery environment. This is something that is handled better in Windows 10/Server 2019 where an update which services RE will fail with an error code which, if you google it, will lead you to recognizing that the recovery partition is too small.
  • In Windows 11, you can look for error 4502 from source WinREAgent in the System log. Apparently, this happens once a month. Perhaps, when the cumulative update is installed.

    Screenshot 2024-08-05 090423.png

    WinREAgent error 4502.png
  • You can also check the size of the recovery partition. If it is around 600 MiB, it is too small. You need 700-800 MiB, perhaps 1 GiB to future-proof it a bit.
    Powershell:
    Get-Partition | Where-Object -Property 'Type' -EQ 'Recovery'
    1722897373339.png
  • As previously shown here, check the update build revision and the time it was last modified.
    Powershell:
    Get-WindowsImage `
    -ImagePath '\\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE\winre.wim' `
    -Index 1 | Select-Object -Property Version, ModifiedTime
    1722899333191.png

Downloading a winre.wim from the web is a bad idea. Under normal circumstances, the WinRE on your system contains the generic parts and critical drivers that pertain to your system (your hardware) which ensures that WinRE actually boots up when needed. Injected OEM drivers are also the reason why your WinRE image has a different size than everybody else's despite having the same update build revision (UBR) although there may non driver related customizations added by your device manufacturer that can also cause a difference in size.

Unlike the normal OS update process, updates for Windows RE don't directly service the on-disk Windows RE image (winre.wim). Instead, a newer version of the Windows RE image replaces the existing one, with the following contents being injected or migrated into the new image:

  • Boot critical and input device drivers from the full OS environment are added to the new Windows RE image.

Source: Updating the on-disk Windows Recovery Environment

Sourcing winre.wim from the web or from another system leaves it to chance if it even boots. Best case scenario, you end up with a generic winre.wim and it does boot. Worst case, it doesn't boot and/or comes with drivers that pertain to different hardware than yours.

In my case, the event logs of several Windows 11 computers contain critical errors that go back to 2023 (if the System log even goes back that far), stating: "Windows Recovery Environment servicing failed." I assumed the recovery partition was too small and I increased it from 604 MiB to 1 GiB. Now my Windows is on the latest version (22631.3880) but my WinRE hasn't been serviced since March 2023 and is on 22621.525.

The problem is: How to service the recovery environment? Or tell Windows to do it?

I tried downloading the latest cumulative update and install it manually. Obviously in the hopes that it would re-install and service my WinRE image in the process, but the installer just tells me that it is already installed and does nothing.

How do I update my WinRE, other than waiting for the next patch day?

Luckily, @hdmi already linked the tutorial: Add an update package to Windows RE. However, adding an update to Windows RE is not the same as servicing Windows RE. Servicing means injecting or updating critical OEM drivers in addition to applying the latest patch.

As a side note, it uses undocumented command line switches for ReAgentC (ReAgentC.exe /mountre, ReAgentC.exe /unmountre). I don't know why Microsoft uses 'hidden' parameters that do not show in '/?' and in the documentation REAgentC command-line options. REAgentC has 38 command line options and the official documentation states only 7 options whereas 'ReAgentC.exe /?' only states 6 options. How does ReAgentC.exe /migratedrivers work? Does anybody outside of Microsoft know?

I decided to try and do a complete servicing, injection of drivers included and to do everything in PowerShell and to add some screenshots to it.

Here is how to manually service the Windows Recovery Environment

Proceed in an elevated PowerShell 7 window.
Create two folders:
C:\temp
C:\temp\WinREMounted
Powershell:
New-Item -Path 'c:\temp' -Name 'WinREMounted' -ItemType 'directory' -Force

Download the latest cumulative update (LCU) from the Microsoft Update Catalog. Search for "Cumulative Update for Windows 11 Version 23H2". The update will be called something like this: "2024-07 Cumulative Update Preview for Windows 11 Version 23H2 for x64-based Systems (KB5040527)"
Download it and save it to C:\temp. Like so: 'C:\temp\windows11.0-kb5040442-x64_c1ba0e4607fd0ee46254a625c55438ffb70edcd0.msu'.

Verify that the recovery partition is of sufficient size. 1 GiB should be enough.
Powershell:
$RecoveryPartition = Get-Partition | Where-Object -Property 'Type' -EQ 'Recovery'
$RecoveryPartition
1722890580776.png

Now set a few variables.
Powershell:
$LCU = (Get-Item -Path 'C:\temp\*.msu').FullName
$WinREMountFolder = 'C:\temp\WinREMounted'
$WinREWimFile = Join-Path -Path $RecoveryPartition.AccessPaths[0] -ChildPath '\Recovery\WindowsRe\winre.wim'
$WinREWimFileTemp = 'C:\temp\winre.wim'
$WinREWimFileBackup = 'C:\temp\winre backup.wim'

Verify that you have the update file, recovery image file and the mount folder ready.
Powershell:
Get-Item -LiteralPath $LCU, $WinREWimFile, $WinREMountFolder | Select-Object -Property Name

1722913226708.png

Now is a good time to check if the recovery image is really outdated and this one looks very outdated.
Powershell:
PS C:\> Get-WindowsImage -ImagePath $WinREWimFile -Index 1 | Select-Object -Property Version, ModifiedTime

Version        ModifiedTime
-------        ------------
10.0.22621.525 3/13/2023 11:22:36 AM

PS C:\>

Move the recovery image to the C: drive and make a backup while you're at it.
Powershell:
Move-Item -LiteralPath $WinREWimFile -Destination $WinREWimFileTemp
Copy-Item -Path $WinREWimFileTemp -Destination $WinREWimFileBackup

Mount the recovery image to C:\temp\WinREMounted
Powershell:
Mount-WindowsImage -ImagePath $WinREWimFileTemp -Index 1 -Path $WinREMountFolder

If this worked, the WinReMounted folder should be populated with the contents of the recovery image.
Powershell:
Get-Childitem -Path $WinREMountFolder

1722845819712.png

Apply the latest cumulative update to the recovery image. This may take a long time.
Powershell:
Add-WindowsPackage -PackagePath $LCU -NoRestart -Path $WinREMountFolder

Screenshot 2024-08-05 075344.png

The result should look like this.
Screenshot 2024-08-05 075825.png

Next, critical drivers should be injected into or updated inside the recovery image. This is likely done by ReAgentC /migratedrivers but Microsoft did not document this switch, and I did not get it to work. Instead, I will use PowerShell.

Take inventory of boot critical OEM device drivers as well as input OEM device drivers in your main OS.
Powershell:
$CriticalDrivers = Get-WindowsDriver -Online | Where-Object {($_.BootCritical -EQ $True) -OR ($_.ClassName -EQ 'HIDClass')}

Powershell:
$CriticalDrivers | Select-Object -Property Driver, ProviderName, Date, Version | Format-Table
$CriticalDrivers | Measure-Object | Select-Object -Property 'Count'
1722893269923.png

Optionally, look for OEM drivers in the recovery image. There should be some unless your recovery image is a blank slate (downloaded from somewhere).
Powershell:
Get-WindowsDriver -Path $WinREMountFolder | Measure-Object | Select-Object -Property 'Count'
1722893529707.png

Update OEM drivers in the recovery image by removing them all and then inject recent drivers from the main OS into the recovery image.
Powershell:
#remove all OEM drivers from recovery image
Get-WindowsDriver -Path $WinREMountFolder | ForEach-Object {$_.Driver;Remove-WindowsDriver -Driver $_.Driver -Path $WinREMountFolder}
#add critical boot and input OEM device drivers to recovery image
$CriticalDrivers | ForEach-Object {Add-WindowsDriver -Path $WinREMountFolder -BasicDriverObject $_}

Optionally, do a component cleanup.
Powershell:
#This is equivalent to  '& dism /Image:$WinREMountFolder /Cleanup-Image /StartComponentCleanup /ResetBase'
Repair-WindowsImage -StartComponentCleanup -ResetBase -NoRestart -Path $WinREMountFolder

1722845903768.png

Umount the serviced recovery image.
Powershell:
DisMount-WindowsImage -Path $WinREMountFolder -Save -CheckIntegrity

1722909785820.png

1722909810409.png

You can now check the build version of the patched image.
Powershell:
Get-WindowsImage -ImagePath $WinREWimFileTemp -Index 1 | Select-Object -Property Version, ModifiedTime

Screenshot 2024-08-05 080753.png

and compare this to your main OS.
Powershell:
Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion' `
  | Select-Object -Property CurrentBuildNumber, UBR

1722846417562.png

or with winver.exe

Screenshot 2024-08-05 080909.png

Note that the recovery image build number (22621) may trail behind the main OS's (22631) but the Update Build Revision (UBR) is the same (3880).

This step will do two things: Compressing the winre.wim image and copying it back to its original location on the recovery partition.
Powershell:
Export-WindowsImage `
  -CheckIntegrity `
  -CompressionType 'maximum' `
  -DestinationImagePath $WinREWimFile `
  -SourceImagePath $WinREWimFileTemp `
  -SourceIndex 1

Fix that the winre.wim file's System and Hiddenflags got lost in the process.
Powershell:
Set-ItemProperty -LiteralPath $WinREWimFile -Name Attributes -Value 'Archive, Hidden, System'

According to Microsoft, if you have BitLocker drive encryption on, you should do these steps.

If the PC's disk is protected by BitLocker or Device Encryption: Use ReagentC to disable and then re-enable Windows RE. This ensures that the updated Windows RE image is turned on and correctly configured for your Windows installation:

Powershell:
ReAgentC /disable
ReAgentC /enable

1722847513012.png

Do some cleanup. This will remove the update, the C:\temp\WinREMounted folder and delete the temporary recovery image C:\temp\winre.wim.
Powershell:
Remove-Item -Path $LCU, $WinREMountFolder, $WinREWimFileTemp -Force

This completes servicing of the recovery environment. Optionally, you can check if your recovery environment works and that you can boot into it.

Powershell:
ReAgentC /info

1722847869154.png

Boot into the recovery environment.
Powershell:
ReAgentC /boottore
Restart-Computer

After reboot, you should be in the recovery environment. You can once again check the build number here by opening the console.

recovery environment 1.png

recovery environment 2.png


recovery environment 3.png

recovery environment 4.png

If this worked, you can now safely delete the backup image file.
Powershell:
Remove-Item -Path 'C:\temp\winre backup.wim' -Force
 

Attachments

  • 1722918519783.png
    1722918519783.png
    6.5 KB · Views: 1
Last edited:

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom
    CPU
    Intel® Core i7-12700K
    Motherboard
    Gigabyte Z690 AORUS ELITE DDR4 (rev. 1.0)
although there may non driver related customizations added by your device manufacturer
Yeah, MyASUS in WinRE is one example of that. I still haven't figured out how it can be added back to the generic Winre.wim [that can be extracted from the official Windows installation ISO downloadable file from Microsoft]. For now, I'll just keep my backup copy of the original customized (and updated/serviced) Winre.wim that came preinstalled on my Asus TUF Gaming F16 (2024) laptop.
As a side note, it uses undocumented command line switches for ReAgentC (ReAgentC.exe /mountre, ReAgentC.exe /unmountre). I don't know why Microsoft uses 'hidden' parameters that do not show in '/?' and in the documentation REAgentC command-line options. REAgentC has 38 command line options and the official documentation states only 7 options whereas 'ReAgentC.exe /?' only states 6 options.
It should be clear enough from the official tuts what these two options are for. So, you can call them 'semi-documented' then. :D
How does ReAgentC.exe /migratedrivers work? Does anybody outside of Microsoft know?
I tried it about an hour ago. It said the operation was successful.
Code:
2024-08-06 07:14:35, Info                  DISM   PID=7540 TID=6040 Temporarily setting the scratch directory. This may be overridden by user later. - CDISMManager::FinalConstruct
2024-08-06 07:14:35, Info                  DISM   PID=7540 TID=6040 Scratch directory set to 'C:\Users\username\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2024-08-06 07:14:35, Info                  DISM   PID=7540 TID=6040 DismCore.dll version: 10.0.22621.1 - CDISMManager::FinalConstruct
2024-08-06 07:14:35, Info                  DISM   Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
I suspect that it just imports drivers from Windows into WinRE.
Verify that the recovery partition is of sufficient size. 1 GiB should be enough.
To add the drivers, maybe yes. But to add the LCU the /unmountre still failed to commit (with error code 70, insufficient disk space) even when the partition size was 1.7GB. This was on my Medion Akoya S15450 laptop, which does not have any customizations (like MyASUS in WinRE), nor uses any customized drivers of any kind whatsoever. It is pure Windows + Realtek + Intel. Winretel? :what:
 
Last edited:

My Computers

System One System Two

  • OS
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Asus TUF Gaming F16 (2024)
    CPU
    i7 13650HX
    Memory
    16GB DDR5
    Graphics Card(s)
    GeForce RTX 4060 Mobile
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    512GB SSD internal
    37TB external
    PSU
    Li-ion
    Cooling
    2× Arc Flow Fans, 4× exhaust vents, 5× heatpipes
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
  • Operating System
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Medion S15450
    CPU
    i5 1135G7
    Memory
    16GB DDR4
    Graphics card(s)
    Intel Iris Xe
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    2TB SSD internal
    37TB external
    PSU
    Li-ion
    Mouse
    Logitech G402
    Keyboard
    Logitech K800
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
If you do a full backup, wipe all partitions, clean install Windows and then restore all but the Recovery partition, would that give you an up-to-date wire.wim?

It shouldn't take long with a modern computer. And it's straightforward.
 

My Computers

System One System Two

  • OS
    X-Lite Windows 11 Pro 24H2 OS build 26100.1457
    Computer type
    Laptop
    Manufacturer/Model
    Acer Swift SF114-34
    CPU
    Pentium Silver N6000 1.10GHz
    Memory
    4GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD
    Cooling
    fanless
    Internet Speed
    150 Mbps
    Browser
    Brave
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    ASUS T100TA Transformer
    Processor Intel Atom Z3740 @ 1.33GHz
    Installed RAM 2.00 GB (1.89 GB usable)
    System type 32-bit operating system, x64-based processor

    Edition Windows 10 Home
    Version 22H2 build 19045.3570
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
It should be clear enough from the official tuts what these two options are for. So, you can call them 'semi-documented' then. :D

I tried it about an hour ago. It said the operation was successful.
Code:
2024-08-06 07:14:35, Info                  DISM   PID=7540 TID=6040 Temporarily setting the scratch directory. This may be overridden by user later. - CDISMManager::FinalConstruct
2024-08-06 07:14:35, Info                  DISM   PID=7540 TID=6040 Scratch directory set to 'C:\Users\username\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir
2024-08-06 07:14:35, Info                  DISM   PID=7540 TID=6040 DismCore.dll version: 10.0.22621.1 - CDISMManager::FinalConstruct
2024-08-06 07:14:35, Info                  DISM   Initialized Panther logging at C:\WINDOWS\Logs\DISM\dism.log
I suspect that it just imports drivers from Windows into WinRE.
I also suspect that it injects drivers into the recovery image but apparently certain conditions must be met which are unknown. I deleted all OEM drivers from my image as a test and ran it. It did not add any drivers back into the recovery image. It could be a combination of switches that is needed (/migratedrivers + /path or something like that). As far as I can tell is does nothing if you run it like this: ReAgentC.exe /migratedrivers.

If it did inject drivers, you would see something like this
Code:
2024-08-07 06:11:50, Info                  DISM   DISM Driver Manager: PID=19920 TID=10844 Driver C:\temp\WinREMounted\Windows\System32\DriverStore\FileRepository\hpreststub.inf_amd64_84df242f9a7b65c4\hpreststub.inf is boot-critical. - CDriverPackage::FillInPackageDetails
2024-08-07 06:11:50, Info                  DISM   DISM Driver Manager: PID=19920 TID=10844 Signature status of driver C:\temp\WinREMounted\Windows\System32\DriverStore\FileRepository\hpreststub.inf_amd64_84df242f9a7b65c4\hpreststub.inf is: SIGNED - CDriverPackage::InitSignatureStatus

To add the drivers, maybe yes. But to add the LCU the /unmountre still failed to commit (with error code 70, insufficient disk space) even when the partition size was 1.7GB. This was on my Medion Akoya S15450 laptop, which does not have any customizations (like MyASUS in WinRE), nor uses any customized drivers of any kind whatsoever. It is pure Windows + Realtek + Intel. Winretel? :what:
I've never seen an RE image so big. I have a PC here with 35 drivers in the image.
the image was 22621.2062 and 523 MiB in size (2,574 MiB uncompressed). After I patched it, it was 22621.3880 and 736 MiB in size (2,921 MiB uncompressed).
I'm curious. How big is your image before you apply the patch (compressed and uncompressed)? How big is the driver store of that image (mount it and look at Windows\System32\DriverStore)? My image with 35 drivers has a driver store size of 105 MiB. It only includes critical drivers, so that 1.5 GiB Nvidia GPU driver (or Intel/AMD GPU driver) is not included in the image. The driver that took up the most disk space I was able to find in my recovery image was a Realtek network driver and it was 5 MiB in size.

As for WinRE bloat:
I set up different versions of Win 11 in VMs (127 GB vdisk), letting Windows do all the partitioning on the disk of course, and looked at winre.wim size and recovery partition size. This is a barebones winre.wim because VMs don't need OEM drivers, so the recovery image should be generic.
  • Win 11 21H2 (22000.194): winre.wim: 491 MiB, recovery partition: 593 MiB
  • Win 11 22H2 (22621.525): winre.wim: 543 MiB, recovery partition: 625 MiB.
  • Win 11 23H2 (22631.2428): winre.wim: 654 MiB, recovery partition: 757 MiB.
  • Win 11 24H2 (26100.1150): winre.wim: 498 MiB, recovery partition: 631 MiB.
A few things, I noticed:
  • Pre-23H2 setup creates a recovery partition apparently according to this formula: size of the WinRE image it ships with + 83 MiB.
  • 23H2 creates a RE partition with a fixed (?) size of 757 MiB.
  • The WinREAgent event event 4501 not only lets you see if servicing works, but it also shows you which version the recovery image has been updated to (if servicing is successful). See screenshot below
  • WinREAgent as an event source does not exist in 21H2 and early versions of 22H2. I was added with some update for 22H2.
  • It is easily conceivable, that if you installed Win 11 early (21H2), you ended up with a recovery partition of only around 600 MiB but now Windows wants to patch your recovery image to 654 MiB and that fails because the partition is too small.
  • This issue might fix itself with 24H2 because they shrunk the RE image down to 498 MiB. This is the log from a computer in the Insider program. The log shows that the error stopped occurring with WinRE revision 10.0.26100.712.

    1723006107942.png
If you do a full backup, wipe all partitions, clean install Windows and then restore all but the Recovery partition, would that give you an up-to-date wire.wim?

It shouldn't take long with a modern computer. And it's straightforward.

No. you will end up with a recovery image update build revision 22621.2428 and errors in event log like these:

1723001732598.png

Even if you install a fresh 23H2, and you let Windows Setup do the partitioning, your RE partition will be too small for successful updating/servicing of the recovery image. You need to ensure that your recovery partition is resized (I recommend at least 1 GiB but I have seen it work on systems with as low as 823 MiB partition size) before you install the cumulative update. Only then will you be able to observe event 4501 (Servicing succeeded.).
  • With 23H2, right now, the latest revision of the RE image is 22621.3518, I you have KB5040442 installed. Your main OS will be on revision 22631.3880
  • If you manually patch with the latest LCU (preview) RE will be 22621.3958 and main OS will be 22631.3958
  • With Insider builds (24H2), the latest RE image is 26100.1287. If you have KB5040557 installed. Your main OS will be on revision 26120.1340
I hope this helps.

1723002825385.png
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom
    CPU
    Intel® Core i7-12700K
    Motherboard
    Gigabyte Z690 AORUS ELITE DDR4 (rev. 1.0)
I've never seen an RE image so big. I have a PC here with 35 drivers in the image.
the image was 22621.2062 and 523 MiB in size (2,574 MiB uncompressed). After I patched it, it was 22621.3880 and 736 MiB in size (2,921 MiB uncompressed).
I'm curious. How big is your image before you apply the patch (compressed and uncompressed)? How big is the driver store of that image (mount it and look at Windows\System32\DriverStore)? My image with 35 drivers has a driver store size of 105 MiB. It only includes critical drivers, so that 1.5 GiB Nvidia GPU driver (or Intel/AMD GPU driver) is not included in the image. The driver that took up the most disk space I was able to find in my recovery image was a Realtek network driver and it was 5 MiB in size.
The partition size is now 2GB with 600.55 MB available free space. I applied the LCU to it more than 2 months ago (after I resized it from about 1GB to 2GB). I can't remember exactly how much available free space was on it back at the time, but I am guessing it was only about 23%, maybe less. Currently, the \Windows\System32\DriverStore\FileRepository foldersize is 1.08GB (270MB 'size on disk'). The number of 3rd party drivers on it is 54. Here's the complete list:
Code:
Driver           : oem0.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu56cx21x64sta.inf_amd64_8f1e7bdbb3b6466a\rtu56cx21x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 16/07/2021 0:00:00
Version          : 1156.2.20.716

Driver           : oem1.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu52cx22x64sta.inf_amd64_9738bc5630427651\rtu52cx22x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 8/06/2022 0:00:00
Version          : 1152.8.20.608

Driver           : oem10.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu53cx22x64sta.inf_amd64_011a85b8f968f936\rtu53cx22x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 11/02/2022 0:00:00
Version          : 1153.4.20.211

Driver           : oem11.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu56cx22x64sta.inf_amd64_4860651364cd94e5\rtu56cx22x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 8/06/2022 0:00:00
Version          : 1156.8.20.608

Driver           : oem12.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\netax88179_178a.inf_amd64_8fde760883ba036e\netax88179_178a.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : ASIX
Date             : 9/05/2019 0:00:00
Version          : 1.20.6.0

Driver           : oem13.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\heci.inf_amd64_3fec17f874687c29\heci.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : Intel
Date             : 23/08/2020 0:00:00
Version          : 2035.15.0.1807

Driver           : oem14.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu53cx21x64sta.inf_amd64_918f641cd44fee1d\rtu53cx21x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 16/07/2021 0:00:00
Version          : 1153.2.20.716

Driver           : oem15.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu53cx22x64sta.inf_amd64_27c4b9feb985d93d\rtu53cx22x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 8/06/2022 0:00:00
Version          : 1153.8.20.608

Driver           : oem16.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtump64x64sta.inf_amd64_3b5e7bad71baa051\rtump64x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 7/03/2021 0:00:00
Version          : 10.45.20.308

Driver           : oem17.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\iccwdt.inf_amd64_ce7770d90d539424\iccwdt.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : Intel
Date             : 4/02/2019 0:00:00
Version          : 11.7.0.1000

Driver           : oem18.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu52cx22x64sta.inf_amd64_a6821fb7efa3f8f7\rtu52cx22x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 11/02/2022 0:00:00
Version          : 1152.4.20.211

Driver           : oem19.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtsuer.inf_amd64_595cfb8cded3b904\rtsuer.inf
Inbox            : False
ClassName        : USB
BootCritical     : True
ProviderName     : Realtek Semiconductor Corp.
Date             : 21/08/2020 0:00:00
Version          : 10.0.19041.31263

Driver           : oem2.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu55cx22x64sta.inf_amd64_38f698a530bc3c99\rtu55cx22x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 11/02/2022 0:00:00
Version          : 1155.4.20.211

Driver           : oem20.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\ialpss2_gpio2_tgl.inf_amd64_d0e63c4e3754f42f\ialpss2_gpio2_tgl.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : Intel Corporation
Date             : 29/07/2020 0:00:00
Version          : 30.100.2031.2

Driver           : oem21.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu56cx22x64sta.inf_amd64_579a4f330547786c\rtu56cx22x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 11/02/2022 0:00:00
Version          : 1156.4.20.211

Driver           : oem22.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\oem-generic-radioswitch.inf_amd64_67855d39b8d6bdd4\oem-generic-radioswitch.inf
Inbox            : False
ClassName        : HIDClass
BootCritical     : True
ProviderName     : OEM
Date             : 16/05/2018 0:00:00
Version          : 19.43.50.476

Driver           : oem23.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\heci.inf_amd64_01f1cc8574bbf582\heci.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : Intel
Date             : 1/03/2022 0:00:00
Version          : 2210.2.80.0

Driver           : oem24.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\iaahcic.inf_amd64_1e5aa28740c131d2\iaahcic.inf
Inbox            : False
ClassName        : HDC
BootCritical     : True
ProviderName     : Intel Corporation
Date             : 3/08/2020 0:00:00
Version          : 18.30.1.1138

Driver           : oem25.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu56cx22x64sta.inf_amd64_2e2643288aa984ee\rtu56cx22x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 9/06/2022 0:00:00
Version          : 1156.8.20.608

Driver           : oem26.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu55cx22x64sta.inf_amd64_2a1afc99d9240442\rtu55cx22x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 8/06/2022 0:00:00
Version          : 1155.8.20.608

Driver           : oem27.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu53cx22x64sta.inf_amd64_fbb4436291906583\rtu53cx22x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 9/06/2022 0:00:00
Version          : 1153.8.20.608

Driver           : oem28.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\logi_joy_vir_hid.inf_amd64_9f941d7e3c42f879\logi_joy_vir_hid.inf
Inbox            : False
ClassName        : HIDClass
BootCritical     : True
ProviderName     : Logitech
Date             : 2/09/2022 0:00:00
Version          : 2022.3.0.2

Driver           : oem29.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\ialpss2_uart2_tgl.inf_amd64_1a8e964d43720594\ialpss2_uart2_tgl.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : Intel Corporation
Date             : 29/07/2020 0:00:00
Version          : 30.100.2031.2

Driver           : oem3.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\intcoed.inf_amd64_639c92dde0957139\intcoed.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : Intel(R) Corporation
Date             : 24/08/2020 0:00:00
Version          : 10.29.0.4426

Driver           : oem30.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\iaahcic.inf_amd64_614656429f721e16\iaahcic.inf
Inbox            : False
ClassName        : HDC
BootCritical     : True
ProviderName     : Intel Corporation
Date             : 17/06/2020 0:00:00
Version          : 17.9.2.1013

Driver           : oem31.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\logi_joy_bus_enum.inf_amd64_5e984dae08ef9545\logi_joy_bus_enum.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : Logitech
Date             : 2/09/2022 0:00:00
Version          : 2022.3.0.2

Driver           : oem32.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\unifhid.inf_amd64_6332bfb86d4d76d6\unifhid.inf
Inbox            : False
ClassName        : HIDClass
BootCritical     : True
ProviderName     : Logitech
Date             : 10/03/2020 0:00:00
Version          : 1.10.79.0

Driver           : oem33.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\netwtw6e.inf_amd64_2afffc9866f95527\netwtw6e.inf
Inbox            : False
ClassName        : net
BootCritical     : False
ProviderName     : Intel
Date             : 24/05/2022 0:00:00
Version          : 22.150.0.3

Driver           : oem34.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\dptf_acpi.inf_amd64_a5bac3087ca5f8d5\dptf_acpi.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : Intel
Date             : 21/08/2020 0:00:00
Version          : 8.7.10401.16510

Driver           : oem35.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\dptf_cpu.inf_amd64_e3868713e3d137ef\dptf_cpu.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : Intel
Date             : 21/08/2020 0:00:00
Version          : 8.7.10401.16510

Driver           : oem36.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\netwtw04.inf_amd64_2129a19e03b30f38\netwtw04.inf
Inbox            : False
ClassName        : net
BootCritical     : False
ProviderName     : Intel
Date             : 20/02/2022 0:00:00
Version          : 19.51.40.1

Driver           : oem37.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\netwtw6e.inf_amd64_9ba233fff172b953\netwtw6e.inf
Inbox            : False
ClassName        : net
BootCritical     : False
ProviderName     : Intel
Date             : 14/08/2022 0:00:00
Version          : 22.160.0.4

Driver           : oem38.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\intcaudiobus.inf_amd64_c3a7421fbee021c6\intcaudiobus.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : Intel(R) Corporation
Date             : 24/08/2020 0:00:00
Version          : 10.29.0.4426

Driver           : oem39.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\netwtw08.inf_amd64_0e66256da8b619be\netwtw08.inf
Inbox            : False
ClassName        : net
BootCritical     : False
ProviderName     : Intel
Date             : 14/08/2022 0:00:00
Version          : 22.160.0.4

Driver           : oem4.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu55cx22x64sta.inf_amd64_51428f786472b6c3\rtu55cx22x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 9/06/2022 0:00:00
Version          : 1155.8.20.608

Driver           : oem40.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\netwtw06.inf_amd64_815f23ca1e6e87e4\netwtw06.inf
Inbox            : False
ClassName        : net
BootCritical     : False
ProviderName     : Intel
Date             : 13/01/2022 0:00:00
Version          : 20.70.30.1

Driver           : oem41.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu52cx22x64sta.inf_amd64_be4d430c514a7896\rtu52cx22x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 9/06/2022 0:00:00
Version          : 1152.8.20.608

Driver           : oem42.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu55cx21x64sta.inf_amd64_b12412167b5e65a2\rtu55cx21x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 16/07/2021 0:00:00
Version          : 1155.2.20.716

Driver           : oem43.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\ibtuart.inf_amd64_5e975e96cf6b3d7d\ibtuart.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : Intel Corporation
Date             : 25/06/2020 0:00:00
Version          : 21.110.0.3

Driver           : oem44.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\ialpss2_spi_tgl.inf_amd64_b6ea3d48ee329530\ialpss2_spi_tgl.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : Intel Corporation
Date             : 29/07/2020 0:00:00
Version          : 30.100.2031.2

Driver           : oem45.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\ialpss2_i2c_tgl.inf_amd64_ab87bf17a571e523\ialpss2_i2c_tgl.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : Intel Corporation
Date             : 29/07/2020 0:00:00
Version          : 30.100.2031.2

Driver           : oem46.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\logi_joy_hid.inf_amd64_66435b0f755eebe7\logi_joy_hid.inf
Inbox            : False
ClassName        : HIDClass
BootCritical     : True
ProviderName     : Logitech
Date             : 2/09/2022 0:00:00
Version          : 2022.3.0.2

Driver           : oem47.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\detectionverificationdrv.inf_amd64_f6a4f6ac35ae3251\detectionverificationdrv.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : Intel(R) Corporation
Date             : 20/08/2020 0:00:00
Version          : 1.0.1575.0

Driver           : oem48.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\logi_joy_vir_hid.inf_amd64_972355b4030e38b3\logi_joy_vir_hid.inf
Inbox            : False
ClassName        : HIDClass
BootCritical     : True
ProviderName     : Logitech
Date             : 13/09/2021 0:00:00
Version          : 2021.8.3.0

Driver           : oem49.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\tigerlakepch-lpsystemlpss.inf_amd64_f40a99f273f7cf57\tigerlakepch-lpsystemlpss.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : INTEL
Date             : 18/07/1968 0:00:00
Version          : 10.1.24.5

Driver           : oem5.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\tigerlakesystem.inf_amd64_b1eb1843470f34b9\tigerlakesystem.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : INTEL
Date             : 18/07/1968 0:00:00
Version          : 10.1.43.4

Driver           : oem50.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu56cx22x64sta.inf_amd64_4fea4b563d4fa144\rtu56cx22x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 20/05/2022 0:00:00
Version          : 1156.7.20.520

Driver           : oem51.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtux64w10.inf_amd64_8c8b19c0da8a39c6\rtux64w10.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 13/07/2016 0:00:00
Version          : 10.10.713.2016

Driver           : oem52.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\tigerlakepch-lpsystem.inf_amd64_4dee61c27bbc67d2\tigerlakepch-lpsystem.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : INTEL
Date             : 18/07/1968 0:00:00
Version          : 10.1.24.6

Driver           : oem53.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu52cx21x64sta.inf_amd64_de0e0ce8994a2ed5\rtu52cx21x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 16/07/2021 0:00:00
Version          : 1152.2.20.716

Driver           : oem6.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\unifhid.inf_amd64_ba680b8596be64e8\unifhid.inf
Inbox            : False
ClassName        : HIDClass
BootCritical     : True
ProviderName     : Logitech
Date             : 24/08/2021 0:00:00
Version          : 1.10.80.0

Driver           : oem7.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\netwtw08.inf_amd64_4ade3151b23d11d0\netwtw08.inf
Inbox            : False
ClassName        : net
BootCritical     : False
ProviderName     : Intel
Date             : 24/05/2022 0:00:00
Version          : 22.150.0.3

Driver           : oem8.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\fancyrd.inf_amd64_3b2cd1be546f65bc\fancyrd.inf
Inbox            : False
ClassName        : System
BootCritical     : True
ProviderName     : ROMEX SOFTWARE
Date             : 8/08/2021 0:00:00
Version          : 6.5.0.9

Driver           : oem9.inf
OriginalFileName : c:\mount\Windows\System32\DriverStore\FileRepository\rtu53cx22x64sta.inf_amd64_2eb3047e147d69b0\rtu53cx22x64sta.inf
Inbox            : False
ClassName        : Net
BootCritical     : False
ProviderName     : Realtek
Date             : 20/05/2022 0:00:00
Version          : 1153.7.20.520
 

My Computers

System One System Two

  • OS
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Asus TUF Gaming F16 (2024)
    CPU
    i7 13650HX
    Memory
    16GB DDR5
    Graphics Card(s)
    GeForce RTX 4060 Mobile
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    512GB SSD internal
    37TB external
    PSU
    Li-ion
    Cooling
    2× Arc Flow Fans, 4× exhaust vents, 5× heatpipes
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
  • Operating System
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Medion S15450
    CPU
    i5 1135G7
    Memory
    16GB DDR4
    Graphics card(s)
    Intel Iris Xe
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    2TB SSD internal
    37TB external
    PSU
    Li-ion
    Mouse
    Logitech G402
    Keyboard
    Logitech K800
    Internet Speed
    20Mbit/s up, 250Mbit/s down
    Browser
    FF
@Ben Hastings

I'm trying to follow your excellent tutorial but this command seems to do nothing... I ran them one after the other.

1723026281440.png
 

My Computers

System One System Two

  • OS
    X-Lite Windows 11 Pro 24H2 OS build 26100.1457
    Computer type
    Laptop
    Manufacturer/Model
    Acer Swift SF114-34
    CPU
    Pentium Silver N6000 1.10GHz
    Memory
    4GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD
    Cooling
    fanless
    Internet Speed
    150 Mbps
    Browser
    Brave
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    ASUS T100TA Transformer
    Processor Intel Atom Z3740 @ 1.33GHz
    Installed RAM 2.00 GB (1.89 GB usable)
    System type 32-bit operating system, x64-based processor

    Edition Windows 10 Home
    Version 22H2 build 19045.3570
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
It's OK, my partition is type Unknown, so I put that in the command instead of Recovery

1723026662168.png

I realised what's wrong and I have used Diskpart to set the ID to de94bba4-06d1-4d40-a16a-bfd50179d6ac

It now has the type 'Recovery' instead of 'Unknown'
 
Last edited:

My Computers

System One System Two

  • OS
    X-Lite Windows 11 Pro 24H2 OS build 26100.1457
    Computer type
    Laptop
    Manufacturer/Model
    Acer Swift SF114-34
    CPU
    Pentium Silver N6000 1.10GHz
    Memory
    4GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD
    Cooling
    fanless
    Internet Speed
    150 Mbps
    Browser
    Brave
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    ASUS T100TA Transformer
    Processor Intel Atom Z3740 @ 1.33GHz
    Installed RAM 2.00 GB (1.89 GB usable)
    System type 32-bit operating system, x64-based processor

    Edition Windows 10 Home
    Version 22H2 build 19045.3570
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
@Ben Hastings

I followed your tutorial and it worked very well. The only glitch was running 'Get-Item -LiteralPath $LCU, $WinREWimFile, $WinREMountFolder | Select-Object -Property Name'. It did not find my winre.wim, but as I knew it was present, I just carried on. The first attempt failed because there was insufficient space in my 1.03GB recovery partition. Once I had increased the partition to 1.5GB it worked perfectly.

I did accidentally exit PowerShell a few times and, of course, I had to redo all the variables. It took a couple of hours as I had some interruptions but was great fun and educational.
 
Last edited:

My Computers

System One System Two

  • OS
    X-Lite Windows 11 Pro 24H2 OS build 26100.1457
    Computer type
    Laptop
    Manufacturer/Model
    Acer Swift SF114-34
    CPU
    Pentium Silver N6000 1.10GHz
    Memory
    4GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD
    Cooling
    fanless
    Internet Speed
    150 Mbps
    Browser
    Brave
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    ASUS T100TA Transformer
    Processor Intel Atom Z3740 @ 1.33GHz
    Installed RAM 2.00 GB (1.89 GB usable)
    System type 32-bit operating system, x64-based processor

    Edition Windows 10 Home
    Version 22H2 build 19045.3570
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
If the PC's disk is protected by BitLocker or Device Encryption: Use ReagentC to disable and then re-enable Windows RE. This ensures that the updated Windows RE image is turned on and correctly configured for your Windows installation:
Why not do reagentc /disable first

then you know it is in system32\recovery and dont need to

Move the recovery image to the C: drive


Powershell:

Move-Item -LiteralPath $WinREWimFile -Destination $WinREWimFileTemp
 

My Computers

System One System Two

  • OS
    Win7
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7
    Computer type
    PC/Desktop
    CPU
    pentium g5400
    Motherboard
    gigabyte b365m ds3h
    Memory
    1x8gb 2400
    PSU
    xfx pro 450
@Ben Hastings

I ran through your tutorial again but stopped just before the bit that restores the HS attributes to winre.wim.

Then I ran 'Get-Item -LiteralPath $LCU, $WinREWimFile, $WinREMountFolder | Select-Object -Property Name' again and this time it did find winre.wim.

I hope this helps. ;-)
 

My Computers

System One System Two

  • OS
    X-Lite Windows 11 Pro 24H2 OS build 26100.1457
    Computer type
    Laptop
    Manufacturer/Model
    Acer Swift SF114-34
    CPU
    Pentium Silver N6000 1.10GHz
    Memory
    4GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD
    Cooling
    fanless
    Internet Speed
    150 Mbps
    Browser
    Brave
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    ASUS T100TA Transformer
    Processor Intel Atom Z3740 @ 1.33GHz
    Installed RAM 2.00 GB (1.89 GB usable)
    System type 32-bit operating system, x64-based processor

    Edition Windows 10 Home
    Version 22H2 build 19045.3570
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
If anyone wishes to try Ben Hastings' excellent tutorial on servicing the recovery partition, I have cut-and-pasted it into a Word document in case you lose the internet midway! I also share a version with just the commands that you could paste into PowerShell to run without multiple cut-and-pastes. For any PS novices, once you begin, don't exit PowerShell until complete or all the variables will need to be entered again.
 

Attachments

  • script.txt
    2.1 KB · Views: 3
  • Here is how to manually service the Windows Recovery Environment.7z
    122.5 KB · Views: 4

My Computers

System One System Two

  • OS
    X-Lite Windows 11 Pro 24H2 OS build 26100.1457
    Computer type
    Laptop
    Manufacturer/Model
    Acer Swift SF114-34
    CPU
    Pentium Silver N6000 1.10GHz
    Memory
    4GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD
    Cooling
    fanless
    Internet Speed
    150 Mbps
    Browser
    Brave
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    ASUS T100TA Transformer
    Processor Intel Atom Z3740 @ 1.33GHz
    Installed RAM 2.00 GB (1.89 GB usable)
    System type 32-bit operating system, x64-based processor

    Edition Windows 10 Home
    Version 22H2 build 19045.3570
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
Thanks @Ben Hastings and @kelper for the tutorial and the word document... my question is in reference to:
"Download the latest cumulative update (LCU) from the Microsoft Update Catalog. Search for "Cumulative Update for Windows 11 Version 23H2". The update will be called something like this: "2024-07 Cumulative Update Preview for Windows 11 Version 23H2 for x64-based Systems (KB5040527)"
Download it and save it to C:\temp. Like so: 'C:\temp\windows11.0-kb5040442-x64_c1ba0e4607fd0ee46254a625c55438ffb70edcd0.msu'."

If I am running Windows 11 Beta Insiders, would I be using the above or do I look for Cumulative Update for Windows 11 Insider Preview (10.0.22635.4145) (KB5041881) which is the latest Beta Insiders build?
 

My Computer

System One

  • OS
    Windows XP/7/8/8.1/10/11, Linux, Android, FreeBSD Unix
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 15 9570
    CPU
    Intel® Core™ i7-8750H 8th Gen Processor 2.2Ghz up to 4.1Ghz
    Motherboard
    Dell XPS 15 9570
    Memory
    32GB using 2x16GB modules
    Graphics Card(s)
    Intel UHD 630 & NVIDIA GeForce GTX 1050 Ti with 4GB DDR5
    Sound Card
    Realtek ALC3266-CG
    Monitor(s) Displays
    15.6" 4K Touch UltraHD 3840x2160 made by Sharp
    Screen Resolution
    3840x2160
    Hard Drives
    Toshiba KXG60ZNV1T02 NVMe 1024GB/1TB SSD
    PSU
    Dell XPS 15 9570
    Case
    Dell XPS 15 9570
    Cooling
    Stock
    Keyboard
    Stock
    Mouse
    SwitftPoint ProPoint
    Internet Speed
    Comcast/XFinity 1.44Gbps/42.5Mbps
    Browser
    Microsoft EDGE (Chromium based) & Google Chrome
    Antivirus
    Windows Defender that came with Windows
Yes, you got the right one in the last sentence. Make a full backup first. When I did it, it took two hours, so be patient as it does apear to freeze at several stages.
 

My Computers

System One System Two

  • OS
    X-Lite Windows 11 Pro 24H2 OS build 26100.1457
    Computer type
    Laptop
    Manufacturer/Model
    Acer Swift SF114-34
    CPU
    Pentium Silver N6000 1.10GHz
    Memory
    4GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD
    Cooling
    fanless
    Internet Speed
    150 Mbps
    Browser
    Brave
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    ASUS T100TA Transformer
    Processor Intel Atom Z3740 @ 1.33GHz
    Installed RAM 2.00 GB (1.89 GB usable)
    System type 32-bit operating system, x64-based processor

    Edition Windows 10 Home
    Version 22H2 build 19045.3570
  • Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
Thanks for the thread as I was trying to figure out if I had the latest version or not as I tried doing the KB5042562: Guidance for blocking rollback of Virtualization-based Security (VBS) related security updates - Microsoft Support and got GSOD and the WinRE was not usable as it will not allow booting no matter what and had to fix the system using a WinPE type environment with Hiren's Boot USB and then using the PowerShell to delete a file in the UEFI which was what caused the GSOD as the linked article specifically said the following which I missed:
  • Windows Recovery Environment. The Windows Recovery Environment (WinRE) on the device must be updated with the Windows updates dated on or after August 13, 2024 before the SkuSipolicy.p7b is applied to the device. Omitting this step might prevent WinRE from running the Reset PC feature. For more information, see Add an update package to Windows RE.

    My WinRE is definitely outdated and didn't update:
    1725372344824.png
  • which had nothing to do with size as it's 1GB+ in size:
    1725372381045.png

    I will probably attempt this after I have more time to do it.... Thanks for creating the thread and I am learning a lot about how this works so thanks to all the contributors in the thread as well.
 

My Computer

System One

  • OS
    Windows XP/7/8/8.1/10/11, Linux, Android, FreeBSD Unix
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 15 9570
    CPU
    Intel® Core™ i7-8750H 8th Gen Processor 2.2Ghz up to 4.1Ghz
    Motherboard
    Dell XPS 15 9570
    Memory
    32GB using 2x16GB modules
    Graphics Card(s)
    Intel UHD 630 & NVIDIA GeForce GTX 1050 Ti with 4GB DDR5
    Sound Card
    Realtek ALC3266-CG
    Monitor(s) Displays
    15.6" 4K Touch UltraHD 3840x2160 made by Sharp
    Screen Resolution
    3840x2160
    Hard Drives
    Toshiba KXG60ZNV1T02 NVMe 1024GB/1TB SSD
    PSU
    Dell XPS 15 9570
    Case
    Dell XPS 15 9570
    Cooling
    Stock
    Keyboard
    Stock
    Mouse
    SwitftPoint ProPoint
    Internet Speed
    Comcast/XFinity 1.44Gbps/42.5Mbps
    Browser
    Microsoft EDGE (Chromium based) & Google Chrome
    Antivirus
    Windows Defender that came with Windows
@Ben Hastings

I tried to attempt this today and basically got stuck here:

When I was looking in Event Viewer,
WinREAgent not even listed as a source
no event ID as 4552 either in the System log

And here are the other results:
Get-Partition | Where-Object -Property 'Type' -EQ 'Recovery'

DiskPath: \\?\scsi#disk&ven_nvme&prod_kxg60znv1t02_nvm#4&1c8956bf&0&010000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}

PartitionNumber DriveLetter Offset Size Type
--------------- ----------- ------ ---- ----
4 1021836263424 1.14 GB Recovery
5 1023057854464 1.06 GB Recovery

Get-WindowsImage -ImagePath '\\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE\winre.wim'
-Index 1 | Select-Object -Property Version, ModifiedTime

Version ModifiedTime
------- ------------
10.0.22621.3518 5/17/2024 6:45:46 PM

Get-WindowsImage -ImagePath '\\?\GLOBALROOT\device\harddisk0\partition5\Recovery\WindowsRE\winre.wim' -Index 1 | Select-Object -Property Version, ModifiedTime
Get-WindowsImage: The system cannot find the path specified.

So it appears, I have 2 Recovery partitions but 4 appears to be the working one.

Dism /Get-ImageInfo /ImageFile:\\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE\winre.wim /index:1

Deployment Image Servicing and Management tool
Version: 10.0.22621.2706

Details for image : \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE\winre.wim

Index : 1
Name : Microsoft Windows Recovery Environment (amd64)
Description : Microsoft Windows Recover Environment (amd64)
Size : 4,281,113,941 bytes
WIM Bootable : No
Architecture : x64
Hal : <undefined>
Version : 10.0.22621
ServicePack Build : 3518
ServicePack Level : 0
Edition : WindowsPE
Installation : WindowsPE
ProductType : WinNT
ProductSuite :
System Root : WINDOWS
Directories : 5769
Files : 23239
Created : 5/6/2022 - 10:53:32 PM
Modified : 5/17/2024 - 6:45:46 PM
Languages :
en-US (Default)
The operation completed successfully.

Dism /Get-ImageInfo /ImageFile:\\?\GLOBALROOT\device\harddisk0\partition5\Recovery\WindowsRE\winre.wim /index:1

Deployment Image Servicing and Management tool
Version: 10.0.22621.2706


Error: 3

The system cannot find the path specified.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

This is where my problem is:
"Download the latest cumulative update (LCU) from the Microsoft Update Catalog."

I am running Windows 11 Beta Insiders so the update I need is "Cumulative Update for Windows 11 Insider Preview (10.0.22635.4145) (KB5041881)"
1726369082911.png

There is nothing after July 29, 2024 and as mentioned in KB5042562: Guidance for blocking rollback of Virtualization-based Security (VBS) related security updates - Microsoft Support - I need something dated August 13, 2024 or later.

One thought came to mind, would a Windows Repair Install update the WinRE on the Recovery partition?

Thanks!
 
Last edited:

My Computer

System One

  • OS
    Windows XP/7/8/8.1/10/11, Linux, Android, FreeBSD Unix
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 15 9570
    CPU
    Intel® Core™ i7-8750H 8th Gen Processor 2.2Ghz up to 4.1Ghz
    Motherboard
    Dell XPS 15 9570
    Memory
    32GB using 2x16GB modules
    Graphics Card(s)
    Intel UHD 630 & NVIDIA GeForce GTX 1050 Ti with 4GB DDR5
    Sound Card
    Realtek ALC3266-CG
    Monitor(s) Displays
    15.6" 4K Touch UltraHD 3840x2160 made by Sharp
    Screen Resolution
    3840x2160
    Hard Drives
    Toshiba KXG60ZNV1T02 NVMe 1024GB/1TB SSD
    PSU
    Dell XPS 15 9570
    Case
    Dell XPS 15 9570
    Cooling
    Stock
    Keyboard
    Stock
    Mouse
    SwitftPoint ProPoint
    Internet Speed
    Comcast/XFinity 1.44Gbps/42.5Mbps
    Browser
    Microsoft EDGE (Chromium based) & Google Chrome
    Antivirus
    Windows Defender that came with Windows
would a Windows Repair Install update the WinRE on the Recovery partition?

Is there a reason you dont just replace your existing winre.wim with a newer one - if a newer one is what you want.
 

My Computers

System One System Two

  • OS
    Win7
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7
    Computer type
    PC/Desktop
    CPU
    pentium g5400
    Motherboard
    gigabyte b365m ds3h
    Memory
    1x8gb 2400
    PSU
    xfx pro 450
Is there a reason you dont just replace your existing winre.wim with a newer one - if a newer one is what you want.
Yes, read post Is my winre.wim the latest? and it will say why you can't just replace it.

"Downloading a winre.wim from the web is a bad idea. Under normal circumstances, the WinRE on your system contains the generic parts and critical drivers that pertain to your system (your hardware) which ensures that WinRE actually boots up when needed. Injected OEM drivers are also the reason why your WinRE image has a different size than everybody else's despite having the same update build revision (UBR) although there may non driver related customizations added by your device manufacturer that can also cause a difference in size."

I also don't have a winre.wim file.

1726371335738.png
 

My Computer

System One

  • OS
    Windows XP/7/8/8.1/10/11, Linux, Android, FreeBSD Unix
    Computer type
    Laptop
    Manufacturer/Model
    Dell XPS 15 9570
    CPU
    Intel® Core™ i7-8750H 8th Gen Processor 2.2Ghz up to 4.1Ghz
    Motherboard
    Dell XPS 15 9570
    Memory
    32GB using 2x16GB modules
    Graphics Card(s)
    Intel UHD 630 & NVIDIA GeForce GTX 1050 Ti with 4GB DDR5
    Sound Card
    Realtek ALC3266-CG
    Monitor(s) Displays
    15.6" 4K Touch UltraHD 3840x2160 made by Sharp
    Screen Resolution
    3840x2160
    Hard Drives
    Toshiba KXG60ZNV1T02 NVMe 1024GB/1TB SSD
    PSU
    Dell XPS 15 9570
    Case
    Dell XPS 15 9570
    Cooling
    Stock
    Keyboard
    Stock
    Mouse
    SwitftPoint ProPoint
    Internet Speed
    Comcast/XFinity 1.44Gbps/42.5Mbps
    Browser
    Microsoft EDGE (Chromium based) & Google Chrome
    Antivirus
    Windows Defender that came with Windows

My Computers

System One System Two

  • OS
    Win7
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7
    Computer type
    PC/Desktop
    CPU
    pentium g5400
    Motherboard
    gigabyte b365m ds3h
    Memory
    1x8gb 2400
    PSU
    xfx pro 450
I also don't have a winre.wim file
Get-Partition | Where-Object -Property 'Type' -EQ 'Recovery'

DiskPath: \\?\scsi#disk&ven_nvme&prod_kxg60znv1t02_nvm#4&1c8956bf&0&010000#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}

PartitionNumber DriveLetter Offset Size Type
--------------- ----------- ------ ---- ----
4 1021836263424 1.14 GB Recovery
5 1023057854464 1.06 GB Recovery

Get-WindowsImage -ImagePath '\\?\GLOBALROOT\device\harddisk0\partition4\Recovery\WindowsRE\winre.wim'
-Index 1 | Select-Object -Property Version, ModifiedTime

Version ModifiedTime
------- ------------
10.0.22621.3518 5/17/2024 6:45:46 PM
What is that then

try reagentc /disable and if it appears in %windir%\system32\recovery, mount it up and export any drivers

otherwise you can copy winre.wim 10.0.22621.3518 out of that partition yourself to anywhere convenient then mount, and export oem drivers ( if any)
 

My Computers

System One System Two

  • OS
    Win7
    Computer type
    PC/Desktop
    CPU
    i5-8400
    Motherboard
    gigabyte b365m ds3h
    Memory
    2x8gb 3200mhz
    Monitor(s) Displays
    benq gw2480
    PSU
    bequiet pure power 11 400CM
    Cooling
    cryorig m9i
  • Operating System
    win7
    Computer type
    PC/Desktop
    CPU
    pentium g5400
    Motherboard
    gigabyte b365m ds3h
    Memory
    1x8gb 2400
    PSU
    xfx pro 450

Latest Support Threads

Back
Top Bottom