Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
    
can someone add the windows-pe tag? – Anthony Mastrean Feb 2 '12 at 23:42
up vote 2 down vote accepted

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.

share|improve this answer
    
+1 - Incorrect CPU architecture is the likely culprit. – Evan Anderson Feb 2 '12 at 23:58
    
The link for "github repo" is the same link as for "Windows PE disk" and the link for "chocolatey package" does not exist in your post. – Ryan Apr 26 at 17:58
    
Sorry about that... not sure what happened. Links are corrected now. – Anthony Mastrean Apr 26 at 18:04

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.