Please see below how to access the WinPE pre-boot file "boot.wim" in few simple steps.
We take as example a WinPe 4.0 Pre-Boot .ISO configuration created by using Bootwix.exe following article below:
1 - Locate your newly created .ISO configuration:
2 - Mount the image using for example "magicISO"
4 - If not already present create anew folder in C:\ in our example we name it "test"
5 - Copy the boot.wim file from the mounted .iso image (E:\SOURCES) to the c:\test folder
6 - Create a folder under C:\ , and name it for example "mount"
7 - Open a command prompt (CMD) with admin rights
8 - Run the following command (DISM) as below: (in our example we have set folders C:\test and C:\mount - modify the command to suit your naming and locations)
DISM /Mount-Wim /WimFile:C:\test\boot.wim /Index:1 /MountDir:C:\Mount\
9 - Now you can access C:\Mount and browse it. - In the example below we verify Ghost32.exe has been included in the preboot configuration:
10 - Unmount boot.wim with the following command:
DISM /Unmount-Wim /MountDir:C:\Mount /Commit
If you need to inject NIC Drivers into boot.wim you may want to have a look at this other article:
NOTE:
If you found the above information useful, please give this article a thumbs-up (top right of the post) or add a comment below. Your feedback would be really appreciated – Thank you, Mauro