25H2 boot.wim new wizard setup, same old bug for $OEM$ folder.


Mamukata

Well-known member
Member
Local time
4:35 AM
Posts
23
OS
W11
I notice that the new boot.wim not totall solved the $OEM$ folder bug.....
With 25H2 now it right copy only the data inside the $$ but not if a folder is empy (it isn't create) and not copy nothing inside the $1 folder.
Moreover, it continue to create the Windows.old folder.

With 25H2 boot.wim forced with old setup, all work right.
 

My Computer

System One

  • OS
    W11
    Computer type
    PC/Desktop
    CPU
    i7 11700
    Motherboard
    Asus TUF Z590-PLUS WiFi
    Memory
    32Gb
    Graphics Card(s)
    GTX1060
    Monitor(s) Displays
    27"
    Screen Resolution
    1920x1080
    Hard Drives
    500Gb nvme
    PSU
    750W
    Case
    Coolermaster Stacker
    Keyboard
    Logitech
    Mouse
    Logitech MX1000
    Internet Speed
    25000/1000
    Browser
    Edge
    Antivirus
    Malwarebyte
I notice that the new boot.wim not totall solved the $OEM$ folder bug.....
With 25H2 now it right copy only the data inside the $$ but not if a folder is empy (it isn't create) and not copy nothing inside the $1 folder.
Moreover, it continue to create the Windows.old folder.

With 25H2 boot.wim forced with old setup, all work right.
here I use the w10 installer, I just replace the w11 install.esd
 

My Computer

System One

  • OS
    Windows 11 Iot Enterprise 21h2 22000.3260
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    xeon E5-2697v2
    Motherboard
    rampage iv extreme
    Memory
    32gb 8x4gb ddr3 1333 mhz
    Graphics Card(s)
    gtx 570 poit of view
    Sound Card
    realtek HD (ALC898)
    Monitor(s) Displays
    samsung b2030
    Screen Resolution
    1600x900
    Hard Drives
    2tb hd 5400 rpm
    3tb hd 5400 rpm
    1tb nvme pcie 3.0
    PSU
    hx850w
    Keyboard
    mtek
    Internet Speed
    500/250 gpon
    Browser
    r3dfox 146.0
    Antivirus
    none
It copies the files in $1 just fine in my testing. It doesn't create an empty folder in the Windows folder, but you can easily do that with SetupComplete.cmd or running a SynchronousCommand in the OOBE phase via an unattend.

 

My Computer

System One

  • OS
    Windows 11 Pro 25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Core i7-1260P
    Motherboard
    NUC12WSBi7
    Memory
    64 GB Micron PC4-25600
    Graphics Card(s)
    Intel Iris Xe Graphics
    Sound Card
    on-board Realtek HD Audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840 x 2160
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Crucial MX500 2 TB
    Antivirus
    Microsoft Defender
It copies the files in $1 just fine in my testing. It doesn't create an empty folder in the Windows folder, but you can easily do that with SetupComplete.cmd or running a SynchronousCommand in the OOBE phase via an unattend.

what you have inside your $1 folder? only singles files or subfolder with files?
In my case I have a folder named Recovery with inside "autoapply" "customizations" and "OEM" folder.
In addition to not copying the files it does not even execute the xml contained within the autoapply automatically.
but it copy a .lnk file that i have $OEM$\$1\Users\Default\Desktop folder

I use the convenient autoapply function as indicated in point 4
 

My Computer

System One

  • OS
    W11
    Computer type
    PC/Desktop
    CPU
    i7 11700
    Motherboard
    Asus TUF Z590-PLUS WiFi
    Memory
    32Gb
    Graphics Card(s)
    GTX1060
    Monitor(s) Displays
    27"
    Screen Resolution
    1920x1080
    Hard Drives
    500Gb nvme
    PSU
    750W
    Case
    Coolermaster Stacker
    Keyboard
    Logitech
    Mouse
    Logitech MX1000
    Internet Speed
    25000/1000
    Browser
    Edge
    Antivirus
    Malwarebyte
Directly in $1, I have two folders. One has files in it, the other has files and folders.

Code:
> tree /f "D:\Windows ISO Build\$OEM$\$1"

D:\WINDOWS ISO BUILD\$OEM$\$1
├───PSTools
│       Eula.txt
│       PsExec.exe
│       PsExec64.exe
|       etc., etc.
│
└───scripts
    │   Create-Local-Users.ps1
    │   Create-Test-Users.ps1
    │   Remove-Reparse-Points.ps1
    │   Set-Drive-Security.ps1
    │
    └───winget
            Install-Applications.ps1
 

My Computer

System One

  • OS
    Windows 11 Pro 25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Core i7-1260P
    Motherboard
    NUC12WSBi7
    Memory
    64 GB Micron PC4-25600
    Graphics Card(s)
    Intel Iris Xe Graphics
    Sound Card
    on-board Realtek HD Audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840 x 2160
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Crucial MX500 2 TB
    Antivirus
    Microsoft Defender
Directly in $1, I have two folders. One has files in it, the other has files and folders.

Code:
> tree /f "D:\Windows ISO Build\$OEM$\$1"

D:\WINDOWS ISO BUILD\$OEM$\$1
├───PSTools
│       Eula.txt
│       PsExec.exe
│       PsExec64.exe
|       etc., etc.
│
└───scripts
    │   Create-Local-Users.ps1
    │   Create-Test-Users.ps1
    │   Remove-Reparse-Points.ps1
    │   Set-Drive-Security.ps1
    │
    └───winget
            Install-Applications.ps1
Can you try creating a "Recovery" folder like mine and see if the files are copied?


D:\sources\$OEM$\$1>tree /f
Elenco del percorso delle cartelle per il volume 24H2_AUDIT
Numero di serie del volume: 2878-115A
D:.
├───Recovery
│ ├───AutoApply
│ │ unattend.xml
│ │ Wallpaper.jpg
│ │
│ ├───Customizations
│ └───OEM
│ EnableCustomizationsAfterRecovery.cmd
│ regrecover.xml
│ ResetConfig.xml
│ LayoutModification.xml
│ TaskbarLayoutModification.xml

└───Users
└───Default
└───Desktop
Driver.lnk
 

My Computer

System One

  • OS
    W11
    Computer type
    PC/Desktop
    CPU
    i7 11700
    Motherboard
    Asus TUF Z590-PLUS WiFi
    Memory
    32Gb
    Graphics Card(s)
    GTX1060
    Monitor(s) Displays
    27"
    Screen Resolution
    1920x1080
    Hard Drives
    500Gb nvme
    PSU
    750W
    Case
    Coolermaster Stacker
    Keyboard
    Logitech
    Mouse
    Logitech MX1000
    Internet Speed
    25000/1000
    Browser
    Edge
    Antivirus
    Malwarebyte
I wouldn't be surprised if that doesn't work. There may be something special about the folder name Recovery, since that comes into play if you don't have a recovery partition.
 

My Computer

System One

  • OS
    Windows 11 Pro 25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Core i7-1260P
    Motherboard
    NUC12WSBi7
    Memory
    64 GB Micron PC4-25600
    Graphics Card(s)
    Intel Iris Xe Graphics
    Sound Card
    on-board Realtek HD Audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840 x 2160
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Crucial MX500 2 TB
    Antivirus
    Microsoft Defender
I wouldn't be surprised if that doesn't work. There may be something special about the folder name Recovery, since that comes into play if you don't have a recovery partition.

I'm agree with you but with old Wizard i can create the Recevery folder and empty folder without any problem.
 

My Computer

System One

  • OS
    W11
    Computer type
    PC/Desktop
    CPU
    i7 11700
    Motherboard
    Asus TUF Z590-PLUS WiFi
    Memory
    32Gb
    Graphics Card(s)
    GTX1060
    Monitor(s) Displays
    27"
    Screen Resolution
    1920x1080
    Hard Drives
    500Gb nvme
    PSU
    750W
    Case
    Coolermaster Stacker
    Keyboard
    Logitech
    Mouse
    Logitech MX1000
    Internet Speed
    25000/1000
    Browser
    Edge
    Antivirus
    Malwarebyte
Back
Top Bottom