{"id":431,"date":"2012-09-24T21:09:00","date_gmt":"2012-09-24T21:09:00","guid":{"rendered":"http:\/\/atumvirtwordpress.azurewebsites.net\/?p=431"},"modified":"2012-09-24T21:09:00","modified_gmt":"2012-09-24T21:09:00","slug":"imagex-deprecated-use-dism","status":"publish","type":"post","link":"https:\/\/avtempwp.azurewebsites.net\/2012\/09\/imagex-deprecated-use-dism\/","title":{"rendered":"ImageX deprecated – Use DISM!"},"content":{"rendered":"
Today I was trying to replace my hard disk in my laptop with a solid state drive. \u00a0I have usually done quick images with ImageX, which was introduced with Windows Automated Installation Kit back with Windows Vista. \u00a0I loaded up my trusty WinPE and attempted to use ImageX to capture the image but I was greeted with a string of ‘Unable to read extended attribute’ messages that ultimately led me to cancel the imaging process.<\/p>\n
I searched a bit and found that ImageX has been deprecated, instead its functionality being integrated into DISM. \u00a0In my case, I used the following command:<\/p>\n
dism.exe \/capture-image \/ImageFile:myimage.wim \/captureDir:D: \/name:myimage<\/p>\n
Restoring the image is much the same.<\/p>\n
dism \/Apply-Image \/ImageFile:myimage.wim \/ApplyDir:D: \/name:myimage<\/p>\n