Are you also having issues capturing Windows 8 images with the imageX.exe command?
What is ImageX
ImageX is a command-line tool that enables original equipment manufacturers (OEMs) and corporations to capture, modify, and apply file-based disk images for rapid deployment. ImageX works with Windows image (.wim) files for copying to a network, or it can work with other technologies that use .wim images, such as Windows Setup, Windows Deployment Services (Windows DS), and the System Management Server (SMS) Operating System Feature Deployment Pack.
The issue using ImageX to capture Windows 8 Images
I recently had to capture a Windows 8 image I have created on a new project I have been involved in. I have been capturing many Windows 7 images and thought that I could just do it the same way with Windows 8 images, but I was wrong! When I started capturing the image as I normally do, I got a lot of warnings as you can see below:
Why you should not use ImageX to capture Windows 8 images
Windows 8 use something called extended attributes that imageX apparently does not support. If you try to capture a Windows 8 partition with ImageX you will see a lot of warnings about extended attributes. In the end the capture will complete, but it will take forever and it will not include the Extended Attributes. Instead of using imageX you should take a look at the new version of dism.exe for Windows 8. The new version of DISM has new command-line options for capturing and applying images.
New WIM options in dism.exe for Windows 8
According to Microsoft themselves imageX.exe has been deprecated and instead dism.exe has been improved with some extra WIM commands. The new version of dism.exe is built-in to Windows 8, but you might also want to download the Windows Assessment and Deployment Kit (ADK) for Windows® 8 to create a bootable version of WindowsPE 4.0. Some of the news in WindowsPE 4.0 is that it has support for Windows PowerShell and .NET Framework support.
The new command option for Image capturing:
The new command option for applying images:
If you want to capture a Windows 8 image your command could look like this:
dism /Capture-Image /ImageFile:D:\Windows8x64.wim /CaptureDir:C:\ /Name:”Windows 8 84 bit partition” /compress:fast
If you want to apply an image to a partition the command would look something like this:
dism /Apply-Image /ImageFile:D:\Windows8x64.wim /index:1 /ApplyDir:C:\
I hope that you found this post useful and got a little bit wiser about the new commands in dism.exe for Windows 8. You are very welcome to drop me a comment below if you have any questions or just want to leave me a comment.