Imagex.exe Windows 8.1

Learning has never been so easy!
  1. Imagex.exe Windows 8.1 Download
  2. Imagex.exe Windows 8.1 64-bit

This document provides the steps necessary to capture a Windows 10 image using IMAGEx.EXE for use in a provisioning template. The screenshots and steps in this document show Windows 10 but the same steps will work for Windows 7, 8 or 8.1. Overview: Create a provisioning template to capture the image; Install a PXE Representative. Harassment is any behavior intended to disturb or upset a person or group of people. Threats include any threat of suicide, violence, or harm to another. Goodbye imageX, hello DISM for Windows 8 Imaging and Deployment November 1, 2012 by Ed Sparks This article seems to be getting a tremendous amount of traffic! Most of the advanced users are aware of the advantages of the ImageX tool in windows. The utility has been created to help professionals create system images (WIM) as well as modify it without. From the Windows 8.1 computer of each user, run imagex.exe/capture, and then from the Windows 10 computer of each user, run imagex.exe/apply. Configure roaming user profiles for the users. Instruct the users to first sign in to and out of their Windows 8.1 computer and then to sign in to their Windows 10 computer.

This guide is a step-by-step or a walkthrough to assist you in cloning a Windows 7/8/8.1 machine with all its Windows Updates, Software and settings, so that you can deploy onto another PC/computer without having to sit in front of it and manually install the many software packages one by one.

7 Steps total

Step 1: Download and install Microsoft ADK.

Go to Microsoft website and download Microsoft ADK ( Microsoft Assetment and Deployment Kit).
Currently, it is the ADK For Windows 8.1 (but we can use it for Windows 7).
Link: http://www.microsoft.com/en-us/download/details.aspx?id=30652
Choose 2 tools below, when in installing step:
o Deployment Tools: includes the Deployment and Imaging Tools Environment.
o Windows Preinstallation Environment : includes the files used to install Windows PE.

Step 2: Make CD/DVD/USB device PE

Install Windows PE
o Start the Deployment and Imaging Tools Environment as an administrator.
o Create a working copy of the Windows PE files. Specify either x86, amd64, or arm:
copype amd64 C:WinPE_amd64
or
copype x86 C:WinPE_x86
o Copy Imagex.exe from C:Program Files (x86)Windows Kits8.1Assessment and Deployment KitDeployment Toolsx86DISM
or
C:Program FilesWindows Kits8.1Assessment and Deployment KitDeployment Toolsx86DISM

o Try booting Windows PE from a DVD instead. Create an ISO file that you can burn onto a DVD:
o MakeWinPEMedia /ISO C:winpe_amd64 c:winpe_amd64winpe.iso

Step 3: Using Diskpart to format USB

Using Diskpart tool to format USB device.
o diskpart
o list disk
o select disk
o clean
o create partition primary
o format quick fs=fat32 label='Windows PE'
o assign letter='Your_usb_Letter'
o exit
o
o MakeWinPEMedia /UFD C:winpe_amd64 :
or Try booting Windows PE from a DVD instead. Create an ISO file that you can burn onto a DVD:
o MakeWinPEMedia /ISO C:winpe_amd64 c:winpe_amd64winpe.iso

Step 4: Sysprep source PC

• Run Sysprep by running the sysprep.exe file located 'C:WindowsSystem32Sysprepsysprep.exe'
This step puts the Windows state one step back in the installation phase without affecting the data or software loaded. This ensures that after you take an image, once you load the image onto other machines, the image will boot more successfully without being dependant on having the same underlining hardware.
This takes 5-10 minutes.
After finish, turn off the source PC, put the USB PE bootable device to start the next step.

Step 5: Use USB Windows PE device to make the Image source PC

o Change the drive to the drive which contains imagex.exe, for example, type e: and hit enter. Then enter the following command
imagex /capture c: d:image.wim 'ImageName' /compress fast /verify
where C: is the source drive and D: is the USB drive.

Step 6: Apply the image on the target PC

• While the target machine is shutdown, plug into the external USB drive.
• Start up the source machine, but make sure you quickly hit the correct function key, e.g. F12 which will give you the correct boot device options. You will want to insert the WinPE CD and boot from this device.
• You will see the message 'Press any key to boot from CD or DVD, press any key.
• Apply the source image onto the target machine by running the command:
imagex /apply d:image.wim 1 c: /verify where d: is your external USB drive and c: is your target OS drive.

Step 7: Optional: Problem and handle after deploying Windows image file to target PC.

When starting the newly imaged target machine for the first time, you might receive an error 'BOOTMGR is missing'
This can be fixed using the standard Windows 7 installation DVD media.
• Boot the target machine from the Windows 7 installation DVD. You might need to choose the boot device by hitting the correct function key, e.g. F12.
• Once the target machine boots from the CD/DVD ROM, a couple of seconds later press any key to boot from the DVD.
• Select the correct Time and currency format, and click Next…
• Choose the option to Repair your computer.
• Let it search for Windows installations
• Once it finds the Windows installation, click Repair and restart.

We can combine with Grub4Dos to make a handy to for both x64 and x32 Windows Image.

Hope this help.

Cheers.

References

  • From Microsoft

0 Comments

8.1

A recent email from a former student asked, “ Is it possible to have you show me how to capture an image using Imagex?

My first thought was ‘Happy to aim you in the proper direction’. This is easy – wait – imageX is deprecated in Windows 8/8.1. DISM serves as the replacement tool in Windows 8/8.1. Technet documentation may be hard to follow. The entire process requires two or more days of a weeklong Windows 7 or Windows 8 deployment course to teach in detail. While the overall process is rather simple, each step enables alternatives that can make the process appear far more complex. I describe each piece in my Windows 7 Enterprise Deployment video series and provide updates in the Introduction subset of my Windows 8 Installation and Management videos. Microsoft also has a 2 minute overview video Preparing an Image Using Sysprep and ImageX. Lots of details to sort.

Despite all the details, one can actually perform the entire capture process in about 30 minutes, if a couple of the steps are conducted simultaneously.

For the sake of simplicity, let me set the stage. Let’s eliminate some of the alternatives.

  • You want to capture an image of an installed and functional Windows Operating system.

The OS has current patches, drivers, and desired applications installed. It may also be network and domain attached. One or more user accounts may also be presented and configured. In other words, the system you plan to capture has all of the desired components installed and operational. (Microsoft documentation calls this a reference system.)

  • You don’t plan to modify registry or driver settings during the capture process, or filter any system content.

You could use the System Image Manager (SIM) to create an ‘answer file’(typically named unattend.xml) or modify the .wim File Exclusion list to alter the image content during capture or deployment. You aren’t making any changes to your image during capture, so you avoid this step and use of the related tool(s).

  • You are creating a new, single Windows Image (.wim) file.

You are not adding or appending information to an existing .wim file, or creating a differencing file. You don’t need to be concerned with numbering or naming of existing .wim indexed images, or overwriting, auditing, or confirming changes to an existing image. Since you are creating a single, unique image, you may use default options for numbering and labeling.

  • You are not trying to capture a full image for diagnostic purposes.

You could use the following process to capture an entire image, including security identifiers, MAC, host name, user data, temporary files and other unique information by skipping the Sysprep step. The captured image could not be multiply deployed without being modified first, but you could deploy it to a Virtual image for diagnostic purposes. The capture steps are the same, but the deployment steps would be very different and might influence configuration switches that you use during capture.

  • You have captured the unique identifiers, licenses, host name and other settings on the system before capture, or you are prepared to recreate them manually after you complete the capture process.

Once you run Sysprep, the system will be generalized for capture and deployment. Minimally, basic installation and configuration questions will have to be answered once the captured system is rebooted before it can be used again in a production environment. Several manual or automated processes, not included in this blog would be necessary to capture system information, if you want to place it directly back into production after image capture.

  • You have a technician system with either theWindows Automated Installation Kit (WAIK)or theWindows 8/8.1 Assessment and Deployment Kit (ADK)installed.

You need the WAIK or the ADK installed on a system to get current copies of CopyPE, ImageX or DISM for image capture. These need to be installed on a technician’s system, and NOT on the system to be captured. You really don’t want all the WAIK or ADK content taking up space in your captured .wim file.

  • You know the BIOS and OS image for the system being captured.

The WAIK and ADK tools within the suites are often specific to the BIOS platform, for instance Amd64, x86, arm. You need to be sure to use the correct tools or switches for compatibility with your target system(s).

Getting ready to capture that system image. Gather a set of DVD’s or an NTFS configured USB drive. Make sure you have identified a storage repository with 30-60 GB storage minimum for the captured .wim file.

The high level process outline looks like the following:

1. Identify or select the system from which you want to capture a Windows Operating System image.

  • Use SYSPREP to prepare the system for capture.

Run C:WindowsSystem32SysprepSysprep.exe and select the generalize and shutdown options.
(Detailed Sysprep information)

  • Turn off the PC.

2. Create Pre-Execution bootable media using the COPYPE command on the technician PC (with WAIK or ADK).

  • Launch the Deployment Tools Command Prompt with run as administrator.
  • From the Deployment Tools command prompt run CopyPE.(Copype Command-Line Options)

Copype amd64 c:winpe64
(Note: x86 or alternate switches might be needed if target is not a 64 bit system, and I selected the folder name to easily identify this as a Windows 64 PE image.)

  • Once the PE file structure with boot files is created at c:winpe64, add tools like ImageX and DISM.

Copy Imagex.exe from within the WAIK or ADK directory …toolsamd64imagex.exe to c:winpe64iso
Copy other tools that you want on your PE media to the same folder.

  • Use OSCDIMG.exe (Oscdimg Command-Line Options) to create bootable PE media.

Oscdimg –n bC:winpeisoetfsboot.com c:winpe64iso c:winpe64winpe.iso
Burn the winpe.iso image to bootable DVD or USB media using your preferred burning tool.
(I wrote a prior blog offering simplified media creation alternatives … Simplify your Windows 8 Evaluation install)

3. Boot the system with the OS to be captured using the newly created PE media.

  • Insert the PE media into the system to be captured. (BIOS needs to point to the media location whether DVD or USB in the boot sequence so that it is recognized BEFORE the hard drive).
  • Turn on the system.
  • The system should boot to the Command prompt for PE, identified as X:

4. Prepare the media location to which the image will be captured.

  • Map a Network Drive or
  • Prepare a CD or DVD or USB device to hold the image or
  • Select an alternate partition on the host system on which to write the .wim image file. (NOT the C: drive)
  • Note the letter for the image capture. We will call it “W” but you may use any letter or path you desire other than X: or C:.

5. Run ImageX with the capture command

  • Imagex /capture C: W:myimage.wim “My Capture Image”

Choose your own .wim file name, and provide an internal index name that you can easily identify later.

That’s the simple process.

With Windows 8/8.1 and the ADK, you simple substitute DISM for ImageX, and the process works identically.

For those who have taken our 20687C/D course, the digital copy of the Microsoft Official Curriculum through Skillpipe offers DISM related examples within Module 2, Lesson 3 – Customizing and Preparing a Windows 8.1 image for deployment.

Imagex.exe Windows 8.1 Download

Good luck!
Hope to see you in the classroom, or online.

Steven Fullmer
Interface Technical Training Staff Instructor

You May Also Like

CategoryWindows 7, Windows 8Tags

Imagex.exe Windows 8.1 64-bit

ADK, Assessment and Deployment Kit, CopyPe, DISM, Image management, ImageX, OSCDImg, Sysrep, WAIK, WIM, Windows 7, Windows 8, Windows 8.1, Windows Automated Installation Kit, Windows Image