3

I'm using Microsoft Imagex.exe to save and recovery Windows images(.wim files). However, I'm using it only to save my C:\ partition, using the following command:

imagex /capture image_path image_file "name" {"description"} {/boot | /check | /compress [type] | /config | /flags "EditionID" | /norpfix | /scroll | /verify}

I need to save a image from my entire hard disk, such as Clonezilla usually does. Is there a way to do the same with imagex that does not save each partition to different wim files?

sealz
  • 2,334
Diogo
  • 30,792

4 Answers4

4

No, As far as my research shows, imagex can only image one partition at a time, and only store one partition per image due to the format of the wim file it creates.

Moab
  • 58,769
3

You can use ImageX's /append switch for this.

From http://windowsdevcenter.com/pub/a/windows/2007/04/03/pc-deployment-with-imagex.html

Append is a standalone function of ImageX that will add the contents of a disk volume to an existing WIM file. Let's say you've created an image of a C: drive containing an operating system, preinstalled applications, and desired configuration. You add a D: drive containing a variety of data files and perhaps some additional application packages. Using ImageX with the /append option lets you add the contents of the D: drive to the WIM file of the C: drive--combining two volumes into one ImageX file. A sample command-line to append images using ImageX would be:

imagex /append d: c:\data_drive.wim

From the appended WIM file you can then apply either volume 1 (the first drive in the appended image) or volume 2 (the second drive in the image) in two simple steps without switching WIM files.

1

I have a solution to capture all your images by running a one .bat file. This will take some basic configuring but click Here to see more information about this. It'll run through multiple capture's of images and if you choose to re-deploy it is able to format to all partitions though you might have to tinker a bit with the listed files.

Alex
  • 54
  • 3
1

Use Disk2VHD to capture a VHD file. ImageX is depreciated anyway in the new version of DISM that's included in the ADK.

http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx

MDT Guy
  • 3,727