WinRE-Customization icon indicating copy to clipboard operation
WinRE-Customization copied to clipboard

Enhancement: Deal with x86 vs. x64 Shells

Open MHimken opened this issue 1 month ago • 0 comments

Running the script in x86 PowerShell places the WinRE.wim file in the C:\Windows\SysWOW64\Recovery folder instead of the C:\Windows\System32\Recovery folder. While this is mostly fine, editing the WIM using this script will break some of its detections if you run it in x86 first and then x64, or vice versa.

This script was built with x64 in mind, so we also need to account for x86.

Image

MHimken avatar Nov 16 '25 20:11 MHimken