Custom Windows wim and iso file problem

Discussion in 'Windows 8' started by sunstar, Feb 3, 2014.

  1. sunstar

    sunstar MDL Junior Member

    Jun 29, 2013
    50
    22
    0
    #1 sunstar, Feb 3, 2014
    Last edited: Feb 3, 2014
    Hello All

    I have 5 Iso

    1- Windows 8.1 x86 Enterprise Custom
    ( i installed windows 8.1 enterprise and then install my favorite programs and then sysprep it and made Install.WIM from it and replace this custom install.wim with original install.wim of windows 8.1 enterprise dvd iso )

    the command that i used to create my custom wim file :

    imagex /capture C: d:\images\installcaptured.wim "Windows 8.1 x64"



    and imagex /info on my custom wim file for windows 8.1 x64

    has my wim file any error ?



    ImageX Tool for Windows
    Copyright (C) Microsoft Corp. All rights reserved.
    Version: 6.1.7600.16385

    WIM Information:
    ----------------
    Path: F:\win.8.1.x64.wim\install.wim
    GUID: {15b5d72e-f835-4efd-a69d-29987fcc0819}
    Image Count: 1
    Compression: XPRESS
    Part Number: 1/1
    Attributes: 0x8
    Relative path junction


    Available Image Choices:
    ------------------------
    <WIM>
    <TOTALBYTES>5680742380</TOTALBYTES>
    <IMAGE INDEX="1">
    <DIRCOUNT>18959</DIRCOUNT>
    <FILECOUNT>89233</FILECOUNT>
    <TOTALBYTES>17818512751</TOTALBYTES>
    <HARDLINKBYTES>5294101873</HARDLINKBYTES>
    <CREATIONTIME>
    <HIGHPART>0x01CF1ACB</HIGHPART>
    <LOWPART>0x5D0DDB8A</LOWPART>
    </CREATIONTIME>
    <LASTMODIFICATIONTIME>
    <HIGHPART>0x01CF1ACB</HIGHPART>
    <LOWPART>0x663CAA2E</LOWPART>
    </LASTMODIFICATIONTIME>
    <WINDOWS>
    <ARCH>9</ARCH>
    <PRODUCTNAME>Microsoft? Windows? Operating System</PRODUCTNAME>
    <EDITIONID>Enterprise</EDITIONID>
    <INSTALLATIONTYPE>Client</INSTALLATIONTYPE>
    <HAL>acpiapic</HAL>
    <PRODUCTTYPE>WinNT</PRODUCTTYPE>
    <PRODUCTSUITE>Terminal Server</PRODUCTSUITE>
    <LANGUAGES>
    <LANGUAGE>en-US</LANGUAGE>
    <DEFAULT>en-US</DEFAULT>
    </LANGUAGES>
    <VERSION>
    <MAJOR>6</MAJOR>
    <MINOR>3</MINOR>
    <BUILD>9600</BUILD>
    <SPBUILD>16408</SPBUILD>
    <SPLEVEL>0</SPLEVEL>
    </VERSION>
    <SYSTEMROOT>WINDOWS</SYSTEMROOT>
    </WINDOWS>
    <NAME>Windows 8.1 x64</NAME>
    </IMAGE>
    </WIM>




    2- Windows 8.1 x64 Enterprise Custom

    3- Windows 7 SP1 x86 Enterprise Custom

    4- Windows 7 SP1 x64 Enterprise Custom

    5- Windows 2012 R2 x64 Custom


    All of these iso are largere than 5 GB


    i have a Flash Memory with size 32GB

    how can i make bootable flash with all of those windows installation?
     
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,222
    84,900
    340
    #2 abbodi1406, Feb 3, 2014
    Last edited by a moderator: Apr 20, 2017
    The Edition flag is missing
    You have to issue this command on the new wim so it can be recognized in setup:
    Code:
    imagex /flags "Enterprise" /info d:\images\installcaptured.wim 1 "Windows 8.1 x64" "Windows 8.1 Enterprise x64"
     
  3. sunstar

    sunstar MDL Junior Member

    Jun 29, 2013
    50
    22
    0
    many thanks

    but where is new wim in your command ?

    you mean d:\images\installcaptured.wim ? this is the old wim . i this replaced with your command ?
     
  4. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    #4 Mr Jinje, Feb 4, 2014
    Last edited by a moderator: Apr 20, 2017
    Not sure, but here is how I made my single image ISO. It works from 8.1 host machine with powershell 4.0.

    Code:
    Export-WindowsImage -SourceImagePath Z:\Shared\Windows_Server_2012_R2_ISO\sources\install.wim -SourceIndex 4 -DestinationImagePath Z:\Shared\install.wim -DestinationName "Windows Server 2012 R2 SERVERDATACENTER"
    
    #additional syntax
    
    Get-Help Export-WindowsImage -Full
    
    #
    I would export all 5 iso's into one master.iso
     
  5. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,222
    84,900
    340
    yes, run the command on new wim F:\win.8.1.x64.wim\install.wim
     
  6. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,222
    84,900
    340
    Exported existing image maintain its edition flag
    whereas newly captured image needs imagex to set the flag
     
  7. sunstar

    sunstar MDL Junior Member

    Jun 29, 2013
    50
    22
    0
    many many many thanks

    new problem

    when i add my custom wim and then set flag

    it ask me serial when try to install
    why ?
    how can i add serial to it ?
     
  8. sunstar

    sunstar MDL Junior Member

    Jun 29, 2013
    50
    22
    0
    #8 sunstar, Feb 4, 2014
    Last edited by a moderator: Apr 20, 2017
    (OP)

    how are you friend ? :eek:

    ok

    after i finished first step i will try your method and feedback
     
  9. sunstar

    sunstar MDL Junior Member

    Jun 29, 2013
    50
    22
    0
    Solved By ei.cfg


    many thanks friends