Add files/folders to WinPE image


Author
Message
bledd
bledd
New Member
New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)New Member (9 reputation)
Group: Forum Members
Posts: 5, Visits: 9
Would be really handy if there was the option to add a folder/files to the WinPE image, it could live on the Desktop.

Nice to be able to include a few extra tools.
jphughan
jphughan
Macrium Evangelist
Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)
Group: Forum Members
Posts: 14K, Visits: 83K
There are several ways to achieve this, some that don’t even require modifying the WinPE boot.wim file since you don’t have to bake files into the WIM for them to be available in Rescue. Here are some ideas:

- If you use a USB flash drive for Rescue, the easiest way to have additional tools available is to just copy them onto the flash drive as regular files, then launch them by browsing to them in the File Explorer application that’s found in the taskbar of the Rescue environment. This is what I do.

- If you use disc-based Rescue Media, you can remove the disc after the Rescue environment loads and swap in another disc that contains the tools you want, then launch them as described above.

- If you want to get things into the WIM file, WIM files are mounted and modified using a Microsoft tool called DISM, which is built into Windows. If you’re running an older version of Windows and need to modify a WIM that contains a newer version, the recommended practice is to download the Windows ADK for at least the OS/PE version in the WIM or newer. If you’re running an equal or newer version of Windows, the DISM version you already have will be fine. Either way, this page shows how to mount a WIM, make changes, and commit changes: https://technet.microsoft.com/en-us/library/hh824814.aspx

- If you do the above starting with the generic Boot.wim file that’s downloaded from Microsoft as part of the ADK (rather than modifying the one generated by Reflect), you can then feed that file to Reflect as the baseline image from which it will build Rescue Media. Instead of using the default WIM, select “Custom WIM” in the Create Rescue Media wizard and select the file you’ve already customized. That way you won’t have to keep applying your customizations after the fact every time you rebuild your Rescue Media.
Edited 24 November 2017 3:10 AM by jphughan
jphughan
jphughan
Macrium Evangelist
Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)Macrium Evangelist (22K reputation)
Group: Forum Members
Posts: 14K, Visits: 83K
In addition to the above, if you generate Rescue Media ISO files and want to store customizations or extra content in there without dealing with building a custom baseline WIM, you could mount the ISO that Reflect generates, copy its contents to a folder, make your changes (inside and/or outside the WIM), then use another tool included in the Windows ADK called OSCDIMG to package that folder into a bootable ISO again.

Or as a simple hack that MIGHT work, try copying whatever extra tools you want into C:\boot\macrium\drivers. I believe Reflect copies everything in that folder into any Rescue Media it builds, whether it’s building to disc, ISO, or flash drive. I also believe that data in that location is placed both in the Drivers folder on the root of the Rescue Media AND inside the WIM itself, since some drivers only work in one location or another, so Macrium just places a full set of drivers in each location — so it might take your files along for the ride too. Smile
Edited 24 November 2017 2:49 AM by jphughan
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Login

Explore
Messages
Mentions
Search