4

I'm trying to use ImageX from the Windows PE command line. When I run a capture command from the console

cmd> e:\imagex.exe /capture <whatever>

I get a nasty error like

the subsystem needed to support the image type is not present

What does that mean? How do I fix it?

jscott
  • 24,204
  • 8
  • 77
  • 99
Anthony Mastrean
  • 441
  • 1
  • 6
  • 18

1 Answers1

5

That often occurs when one of the tools you've included in your Windows PE disk (step 2) is not the correct architecture. Make sure that you copy the right imagex.exe. Here's how they should have written that line in the instructions.

c:\program files\<version>\Tools\**<architecture>**\imagex.exe

I've taken the liberty of scripting the entire process (for ISOs on x86 and x64 architectures with imagex support). You can pick up the scripts on my github repo or as a chocolatey package.

Anthony Mastrean
  • 441
  • 1
  • 6
  • 18