Thursday, April 26, 2012

Use ImageX to capture a Windows 7 Image

In the EARLIER post we showed you how to create WinPE boot disk to capture the Windows 7 reference machine. Now we will discuss the steps to be used to capture the reference machine using ImageX.

1.       Configure Windows 7 the reference machine as per the requirement (applications and settings).
2.       Make sure you have 2 partitions on reference machine, one OS partition and other to capture and save the image.
3.       Go to Windows 7 reference machine Start type cmd , run the command prompt as administrator.

4.       Go to C:\Windows\System32\sysprep and run the below command.
C:\Windows\System32\sysprep> sysprep.exe \generalize \oobe
This will start the sysprep process and shuts down the machine.
5.       Now boot your reference machine with WinPE boot disk created using earlier post. Also you can boot the machine with iso if your reference machine is virtual.
6.       Once booted it will show the screen as below on X drive.
7.       Using dir commands verify which is your OS partition and 2nd partition. Also find the drive letter for CD as we need to run the capture command on that drive.
8.       In my case my OS drive became E and 2nd partition remain D. CD drive is F.
Run the below command on CD drive:-
Imagex.exe /compress maximum /flags “Enterprise” /check /scroll /capture E: D:\Win7Ver01.wim “Windows 7 Enterprise”

Brief:-
Imagex.exe – Tool to capture the image
/compress maximum – to compress the captured image
/flags – to flag it is Enterprise
/capture – command to capture the image
E: - My OS drive
D: - My 2nd Partition
Win7Ver01.wim – Name to be given to captured image
Windows 7 Enterprise – Description of Image

It will start the process after scanning files. And in the end captures the image on 2nd partition. Then you can boot to the system, copy the captured wim image and use it for Windows 7 deployment.

3 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. I am using windows 7.Above points are very helpful for windows 7 users.All steps are clear and informatics.Thanks for your useful information.

    microsoft technical support

    ReplyDelete
  3. i want to make windows 7 image by win PE .how to make win.wim image.
    my process:-
    insert win PE disk in to CD drive and restart the system and boot from dvd than get CMD
    x:\windows\system32>
    than type
    x:\windows\system32>imagex /capture c: d:\win7img.wim "win7"
    but display massege imagex is not recognized as a internal or external command
    so kindly resolve my problem as soon as possible thakn

    ReplyDelete

Azure Policy support for remediating tags for existing resources

Use Azure policy to remediate tags for existing resources. https://azure.microsoft.com/en-us/updates/azure-provides-at-scale-tags-managem...