Adding Useful Tools to Your WinPE Boot Image

For anyone working with OSD for more than about 4 minutes, you know that its in the WinPE phase most of the magic happens. For testing and troubleshooting purposes its quite helpful to add some tools to your boot image, so you always have them available without having to download from a web server or file server etc.

Note: When adding tools to WinPE, make sure to copy the right architecture. X64 versions of WinPE can only run native x64 tools.

And, If you are missing a useful tool for WinPE, please let me know in the comments below, and I'll be happy to add it to the list.

DaRT

Diagnostics and Recovery Toolset (DaRT), which part of the Microsoft Desktop Optimization Pack (MDOP), has been around for quite some time and contains many useful tools. For example:

  • Remote Connection
  • File Explorer
  • Secure Disk Wipe

Here is a post about adding DaRT to WinPE, and to launch it as part of the WinPE boot process:
Adding DaRT to ConfigMgr Boot Images – And starting it earlier than early – Deployment Research

Tip: If you want to learn more about the WinPE boot process, check out this excellent post from Michael Niehaus (@mniehaus):
Windows PE startup, revisited – Out of Office Hours (oofhours.com)

Running Explorer from DaRT in WinPE.

Sysinternals Tools

The following Sysinternals Tools are useful in WinPE. Just make sure to copy the right architecture. X64 versions of WinPE can only run x64 tools.

  • Zoomit, to Zoom in during presentations, or for taking screenshots in WinPE (not many people know the last option)
  • Process Explorer
  • Process Monitor

NotePad++

Yes, NotePad++ runs fine in WinPE, just download the portable version and copy it to your boot image.

Starting Notepad++ in WinPE.

CMTrace.exe

CMtrace, which is included by default in ConfigMgr boot images, but not MDT boot images, are useful to read log files.

Note: Even while available for download from the public Microsoft downloads site. CMTrace is not freeware, usage rights are included with the Configuration Manager license. However, I got this note from the product team: One thing we realized is that the tools are on the evaluation ISO, and licensed as such, anyone downloading the evaluation is covered for the duration of the evaluation period.

Network Monitor

Good old Network Monitor from Microsoft works in WinPE. Here is a post on how to add it: How to run Microsoft Network Monitor in WinPE – Deployment Research

ServiceUI.exe

ServiceUI.exe is useful when you need to interact with a ConfigMgr task sequence in full Windows. Meaning ServiceUI.exe is actually not a tool you need in WinPE, but it's helpful to have it in WinPE, so you can easily copy it to your offline Windows image.

Ghost

I bet you didn't expect this one on the list 🙂 But good old Ghost and other disk cloning or disk backup software can still be useful for full disk backup scenarios, for example when being hit by ransomware.

About the author

Johan Arwidmark

5 2 votes
Article Rating
Subscribe
Notify of
guest
6 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
daflibble
daflibble
8 months ago

Re putting CMTrace.exe in MDT boot images. Do you have a link to any info on the change to the lic agreement which allows us to do this without having the client licensed for SCCM? I'm sure I read microsoft got nice about the lic for cmtrace but can't find where I read it now I'm looking for it again.

Life without MEMCM is sad I miss it ; (

Rainer Pollmann
8 months ago

Very cool stuff! And YES, I'm still using Ghost 11 for preparing my training classes computers as quick as possible … Using good old WinPE X86 32 Boot WinPE customized boot.wim for that, many other tools integrated there too 🙂 The same thing still works with actual Win10 Versions (even if – as recommended – UEFI HD Design) 🙂 Unfortunately MSFT do NOT support or develop DaRT (MDOP) tools anymore 🙁 Will post you the tools (portable apps) I've integrated into MY WinPE (32 bit) images … and the same for 64 Bit versions of winpe … "Doc Windows" from… Read more »

Mattski
Mattski
9 months ago

What will be the total size of this WIM file? Do you clean/compress it for networks that are bandwidth challenged? My suggestion is to show readers the DISM commands with a before/after screen shot 🙂


>