How to create a Windows 7 wim image with ImageX

2

1

I'm following the book MCTS Microsoft Windows 7 Configuration Study Guide: Exam 70-680, Study Guide, 2nd Edition to create a Windows image file from a Windows 7 installation.

I've already used sysprep.exe to generalize the image. I've created a bootable ISO of WinPE but when I try to use imagex.exe to create the wim file with:

E:\ImageX.exe /capture C: C:\Images\image.wim “Windows 7” /verify

The following error appears:

Error opening file [C:\Images\image.wim]. The system cannot find the path speficied.

I am not sure where the problem lies as it is my first time doing this. Any help is appreciated.

On another note, is there a way to create the WinPE iso specifiying a es-ES keyboard layout?

Again, thank you.

elgato

Posted 2015-09-14T11:42:22.210

Reputation: 141

WAG: Does the path C:\Images\ exist? – Hennes – 2015-09-14T11:48:01.193

... Well that was it. The directory was not created. Thank you. – elgato – 2015-09-14T11:53:02.580

Good to know for when I get to that point. (I am currently at page 41 in 70-680's book). – Hennes – 2015-09-14T11:56:22.580

Might want to post your own answer, just so this question gets an answer and does not stay open (open questions get bumped to the front page every now and then). It might also be best to post the second question in its own post. (How to create the WinPE iso specifiying a es-ES keyboard layout), after searching if a similar question does not yet exist on this site. Possible relevant link to get you started: http://www.windows-noob.com/forums/topic/2348-guide-creating-a-bootimage-with-another-keyboard-layout-winpe-3/

– Hennes – 2015-09-14T11:58:32.707

Is it possible to save image on the same partition which is capturing? – alcohol is evil – 2016-08-02T08:57:26.177

Answers

1

Thanks to Hennes for the answer.

The problem was that the folder wasn't created:

mkdir C:\Images

E:\ImageX.exe /capture C: C:\Images\image.wim “Windows 7” /verify

Worked succesfully.

elgato

Posted 2015-09-14T11:42:22.210

Reputation: 141