Imagex/DISM Capture Install.wim (AIO)

Discussion in 'Windows 7' started by Humphrey, May 15, 2013.

  1. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,458
    982
    60
    #1 Humphrey, May 15, 2013
    Last edited: May 19, 2013
    Imagex Capture/Compress Install.wim (AIO)

    CLICK HERE

    I would like to make my own Windows 7 AIO ISO.

    I have been testing with just Windows 7 Enterprise x64 and I have hit a snag.

    Doing all this in VMware Workstation 9.

    So far I have installed the OS, at OOBE I pressed the CTRL+SHIFT+F3 keys and the computer restarted to the desktop (Administrator account) with the sysprep window open- Clicked on AUDIT mode and closed the window. I then ran Windows Update (there was still some more it had to download) after installing the (main) updates I got from alphawaves's WindowsHotfixDownloader.exe program. I installed the programs I wanted, for testing I only added Microsoft Security Essentials IE10 (and the updates). I then restarted, In the sysprep windows I selected OOBE and generalize and shut down.

    Now with updated Enterprise with MSE/IE10 installed I would like to create a Install.wim image.

    I have read that I can do so in Windows RE. So I typed reagentc /boottore in the command prompt and received a error which i have forgotten what it said. So I skipped doing it like that and mounted the original ISO and accessed the Recovery Options menu to use the Command Prompt. Continuing from what I read, it said needed to run a few commands- which is where the problem is.

    While searching this forum and MS support I have found a few different commands one would need to run. Some of them DISM, others IMAGEX. Imagex not found in Windows RE and DISM is missing options I need to run. :confused:



    Any help is appreciated!


    After I succeed at creating this WIM I will move onto Starter-Utimate (x64+x86) all updated with additional programs. [Which I am not totally sure I will update and add programs, or even include starter and home basic in the AIO.]

    To anyone that has already done something simular to this, what did you add/subtract?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. HALIKUS

    HALIKUS MDL Addicted

    Jul 29, 2009
    527
    369
    30
    To capture the wim, boot to a winpe (boot.wim), have a copy of imagex.exe (or gimagex) somewhere on your pc or usb stick, in the Winpe hit shift and f-10 for a cmd, and then run the imagex capture command.
     
  3. ace2

    ace2 Guest

    #3 ace2, May 16, 2013
    Last edited by a moderator: May 16, 2013
  4. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,458
    982
    60
    #4 Humphrey, May 16, 2013
    Last edited: May 16, 2013
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. coleoptere2007

    coleoptere2007 MDL Guru

    Apr 8, 2008
    2,388
    1,224
    90
    #5 coleoptere2007, May 16, 2013
    Last edited: May 16, 2013
    It worked that way, except for the regedit sequence nothing is accomplish that way. Finally I captured the image using dism. Thanks a lot.

    PS @ace2 One question, I suppose when you speak of drive D, this is another partition on the same drive where Windows is installed, not a usb drive or external HDD ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,458
    982
    60
    I will be trying again today. Got so close yesterday its crazy!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,458
    982
    60
    I was able to get the image to export succsesfully. I had to skip using gimagex cause it kept messing up the install.wim. I was able to install the captured wim and everything was good. I am now repeating the process on all editions of Win 7. Get back to this topic soon.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. ace2

    ace2 Guest

    Yes drive D:\ is another partition on the same drive where Windows is installed.;)
     
  9. aniez

    aniez MDL Novice

    May 18, 2013
    11
    0
    0
    thanks ace2 :worthy:
     
  10. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,458
    982
    60
    Okay so I pretty much figured most of this out, only problem I am having now is file sizes.

    How can I compress it down further? I am using the ADK Imagex /compress Maximum and then export /compress maximum but cannot get it any smaller that 4GB.
    If I am going to update ALL editions/arch then it needs to be smaller file sizes.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,458
    982
    60
    To anyone that (knew or) didn't know- here is a tidbit: When adding editions to a AIO, the files (duplicates) that are also in other editions that are in the install.wim are not added again but instead are substituted by place holders so that when its called, it comes from the other edition that was already added.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. urie

    urie Moderator
    Staff Member

    May 21, 2007
    8,772
    3,121
    300
    Similar to Cdimage when making a windows XP AIO The optimize parameter in the CDImage can compress the contents of the generated ISO file by recording the duplicate files one time only, this greatly reduce size the X-in-1 CDs.
     
  13. mackrack5

    mackrack5 MDL Novice

    Aug 27, 2010
    37
    8
    0
    Wintoolkit and Gimagex are best software for edition editing in install.wim.without any problem.
     
  14. Humphrey

    Humphrey MDL Expert

    Dec 13, 2011
    1,458
    982
    60
    #14 Humphrey, May 22, 2013
    Last edited: May 22, 2013
    (OP)
    True, but gimagex, being a gui for imagex, freezes sometimes. Need a updated version.

    I may write a batch gui. Just because :O
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. HALIKUS

    HALIKUS MDL Addicted

    Jul 29, 2009
    527
    369
    30
    Wrong. Imagex or dism is. Unless a cmd is too much to handle, at wich case IMO you have no business editing an OS for deployment.