WinRE-Customization
WinRE-Customization copied to clipboard
WinRE Customization to apply patches, drivers and soon™ language packs
Line https://github.com/MHimken/WinRE-Customization/blob/main/Patch-WinRE.ps1#L1034C1-L1034C74 `if ((Get-ItemProperty $FilesDriver).Attributes -eq 'Directory') {`... returns false when directory has additional attributes such as "NotContentIndexed" Maybe `(Get-ItemProperty $FilesDriver).Attributes -Match "Directory")` ?
As discussed on Discord, a device that was originally Win10 (and upgraded to Win11 via Feature Update) will roll back to Win10 upon a "Reset" or "Fresh Start" via Intune....
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...