Creating a Windows 8.1 AIO with Media Center manually

Discussion in 'Windows 8' started by ambidav, Aug 7, 2012.

  1. shreyas123

    shreyas123 MDL Novice

    Feb 8, 2013
    40
    0
    0
    I wanted to keep apps & setting,files in win 8.1 pro iso downloaded through windowssetupbox.How it can be done? Also I am having win 8.1 pro iso so can I create an iso containing win 8.1 core,pro prowmc ? If yes then plz guide me creating aio iso containing menu with 3 options.
    Thanks.
     
  2. shreyas123

    shreyas123 MDL Novice

    Feb 8, 2013
    40
    0
    0
    I tried to make win 8.1 pro with media center only according to instructions given on 1st page.But I am stuck at the very 1st step "Dism /mount-wim /wimfile:C:\win81\wim\install.wim /index:1 /mountdir:C:\win81\mount" as in my win 8.1 pro iso there is no install.wim file in sources folder, there is only boot.wim file .The biggest files in that folder is install.esd.Hence I wanted to ask that how to prepare win 8.1 pro with media center only from this iso?As previously I downloaded WZOR setup file in that there was install.wim file but in this legitimate setup this file is absent!!!Plz help me somebody.I am very frustrated.
     
  3. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,618
    210
    You can't use dism to service install.esd file and there is no tool to convert .esd to wim format. either you have to install the install.esd to system and sysprep it and make a install.wim image or you have to stick with WZOR or MSDN ISO's
     
  4. shreyas123

    shreyas123 MDL Novice

    Feb 8, 2013
    40
    0
    0
    Can u guide me how to "you have to install the install.esd to system and sysprep it and make a install.wim image "?
     
  5. shreyas123

    shreyas123 MDL Novice

    Feb 8, 2013
    40
    0
    0
    I am currently using win 8.1 pro wmc(upgraded through store).One simple doubt how to add the option of "keeping apps,settings and files" to this created iso?
     
  6. shreyas123

    shreyas123 MDL Novice

    Feb 8, 2013
    40
    0
    0
    I am confused about step 4 and step 5 of the mentioned link by you in ur post.
    Can u explain it in detail.I am having doubt about attaching virtual drive in disk mgmt.I created VHD on c drive and after attaching the vhd new drive K: has been formed.I want to know that what is the use of sysprep in this case? Also do I have to stop the virtual box machine while capturing with Imagex command? Plz explain
     
  7. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,618
    210
    The purpose of sysprep is to generalize the install os so that all the user created settings and accounts will be removed and the os will be prepared for fresh deployment.

    Once the Sysprep is done, the OS in VirtualBox will shutdown automatically. Then you are attaching Virtualbox vhd in disk management and it will assign a drive letter (in your case K: ), now you can have access to the VHD drive.

    Now, using imagex you are capturing the image of the VHD Drive (VirtualBox OS Drive) to install.wim image. so that when you copy this install.wim to your windows 8.1 sources folder and remove install.esd file then it will be able to install windows 8.1 in the same way like other windows 8.1 ISO's.

     
  8. shreyas123

    shreyas123 MDL Novice

    Feb 8, 2013
    40
    0
    0
    Yipee successfully got install.wim now.I just wanted to ask u that whether the option of "Keep files,setting and apps" will be there or not in the created aio iso.And if not then what modifications required for keeping apps,settings and files? And I tried to create aio using WZOR setup with win 8.1 core,pro,pro wmc but the menu was not there.Directly product key screen was appearing.Suggest me in this also.Finally what should be the format of ei.cfg for win 8.1 aio with win 8.1 core,pro,pro wmc? Thanks
     
  9. shreyas123

    shreyas123 MDL Novice

    Feb 8, 2013
    40
    0
    0
    How to delete unnecessary files from install.wim? It is giving following message:


    C:\Program Files\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools
    >Dism /Image:C:\win81\mount /Get-TargetEditions


    Deployment Image Servicing and Management tool
    Version: 6.3.9600.16384




    Error: 0xc1510115


    The specified image is invalid.
    Unmount the image or clean up the Wim and then try again.

    Plz help
     
  10. fits79

    fits79 MDL Member

    Jan 9, 2010
    157
    5
    10
    Is there any gui program that can do exactly that more easily without needing of typing so many commands?
     
  11. LostED

    LostED SVF Patch Lover

    Jul 30, 2009
    7,222
    21,546
    240
    no need to type it
    just copy/paste it in a batch script
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. shreyas123

    shreyas123 MDL Novice

    Feb 8, 2013
    40
    0
    0
    My captured install.wim from windowssetupbox working fine for win 8.1 pro with wmc only but not working for aio with all editions!!! Giving error that check whether command line arguments allowed or not???
     
  13. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,618
    210
    #1134 MSMG, Jan 10, 2014
    Last edited by a moderator: Apr 20, 2017
    By default ImageX will skip these folders from adding to the image you are creating.

    Code:
    [ExclusionList]
    \$ntfs.log
    \hiberfil.sys
    \pagefile.sys
    "\System Volume Information"
    \RECYCLER
    \Windows\CSC
    
    [CompressionExclusionList]
    *.mp3
    *.zip
    *.cab
    \WINDOWS\inf\*.pnf
    
    if you wish to remove any other files which you don't want, like the temp files inside windows\temp folder and windows\software distribution\download folder and user\administrator\appdata\local\temp folder you can delete.


    Note: when you are capturing the virtualbox vhd image don't include boot information and boot files In the wim image.

     
  14. shreyas123

    shreyas123 MDL Novice

    Feb 8, 2013
    40
    0
    0
    I wanted to ask that I am currently having win 8.1 pro iso downloaded through windowssetupbox but I wanted to create aio iso containing win 8.1pro,win 8.1pro wmc.But when I try to use the script from 1st page for win 8.1 pro it works fine but for win 8.1 pro wmc it gives error message "Check ur wim images".Whether its not possible to create such an AIO?Also I deleted the virtual m/c and I am currently having install.wim.Now how can I delete the boot info and boot files ? If it is not possible now then how to give option of not include the boot info and boot files in vhd? Thanks.
     
  15. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,618
    210
    #1136 MSMG, Jan 10, 2014
    Last edited by a moderator: Apr 20, 2017
    ok I think the wim flags settings is missing, use imagex to export the install.wim you have created to new image like this

    Code:
    imagex.exe /compress maximum /check /flags "Professional" /export old_install.wim 1 new_install.wim "Windows 8.1 Pro" "Windows 8.1 Pro"
    
    then try to make a prowmc

    then use 7-zip to open the install.wim you created and then in that see whether there is boot folder and bootmgr those stuffs if its there then you need to mount the install.wim file to a directory and the remove those files and again save the image.

     
  16. shreyas123

    shreyas123 MDL Novice

    Feb 8, 2013
    40
    0
    0
    I found the following output :

    C:\Program Files\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools
    >imagex.exe /compress maximum /check /flags "Professional" /export old_install.w
    im 1 new_install.wim "Windows 8.1 Pro" "Windows 8.1 Pro"


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


    IMAGEX [FLAGS] /EXPORT src_file src_number | src_name dest_file dest_name


    Exports a copy of the specified image to another WIM file.


    src_file - The path of the WIM file that contains the image to be copied.
    src_number - The number that identifies the image within the source WIM.
    src_name - The name that identifies the image within the source WIM.
    dest_file - The path of the WIM file that will receive the image copy.
    dest_name - The unique name for the image in the destination WIM.


    Accepted FLAGS:


    /BOOT
    Marks a volume image as bootable. Available for Windows PE images only.


    /CHECK
    Enables WIM integrity checking. If not provided, existing checks are removed.


    /COMPRESS [maximum | fast | none]
    Specifies the type of compression used when exporting to a new WIM file.


    /REF splitwim2.swm
    Enables the reference of split WIM (SWM) files.


    splitwim2.swm - Path to additional split file(s). Wild cards are accepted.


    /TEMP
    Specifies the path where temporary files are stored.


    Comments:
    If src_name is "*" then all images are exported to dest_file.


    Example:
    imagex /export d:\imaging\data.wim 1 d:\imaging\newfile.wim "Exported Image"


    C:\Program Files\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools
    >

    What to be done?
     
  17. shreyas123

    shreyas123 MDL Novice

    Feb 8, 2013
    40
    0
    0
    C:\Program Files\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools
    >Dism /mount-wim /wimfile:C:\win81aio\win81\sources\install.wim /index:3 /mountd
    ir:C:\win81aio\mount


    Deployment Image Servicing and Management tool
    Version: 6.3.9600.16384




    Error: 0xc1510113


    The specified image does not exist in the WIM.
    Check the WIM first for existing images.


    The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log


    C:\Program Files\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools
    >

    Plz give me step by step method .I have given install.wim as name to captured wim file.
     
  18. MSMG

    MSMG MDL Developer

    Jul 15, 2011
    6,414
    15,618
    210
    #1139 MSMG, Jan 10, 2014
    Last edited by a moderator: Apr 20, 2017
    you have entered the index no as 3 it should be 1 as the image you capture contains only 1 index.

    run this command in a folder with imagex.exe and install.wim file

    Code:
    imagex.exe /compress maximum /check /flags "Professional" /export install.wim 1 install1.wim "Windows 8.1 Pro" "Windows 8.1 Pro"
    
    This command will create a install1.wim file which you can later rename to install.wim by deleting the old one.


     
  19. shreyas123

    shreyas123 MDL Novice

    Feb 8, 2013
    40
    0
    0
    C:\Program Files\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools
    >imagex.exe /compress maximum /check /flags "Professional" /export install.wim 1
    install1.wim "Windows 8.1 Pro" "Windows 8.1 Pro"


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


    IMAGEX [FLAGS] /EXPORT src_file src_number | src_name dest_file dest_name


    Exports a copy of the specified image to another WIM file.


    src_file - The path of the WIM file that contains the image to be copied.
    src_number - The number that identifies the image within the source WIM.
    src_name - The name that identifies the image within the source WIM.
    dest_file - The path of the WIM file that will receive the image copy.
    dest_name - The unique name for the image in the destination WIM.


    Accepted FLAGS:


    /BOOT
    Marks a volume image as bootable. Available for Windows PE images only.


    /CHECK
    Enables WIM integrity checking. If not provided, existing checks are removed.


    /COMPRESS [maximum | fast | none]
    Specifies the type of compression used when exporting to a new WIM file.


    /REF splitwim2.swm
    Enables the reference of split WIM (SWM) files.


    splitwim2.swm - Path to additional split file(s). Wild cards are accepted.


    /TEMP
    Specifies the path where temporary files are stored.


    Comments:
    If src_name is "*" then all images are exported to dest_file.


    Example:
    imagex /export d:\imaging\data.wim 1 d:\imaging\newfile.wim "Exported Image"


    C:\Program Files\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools
    >imagex.exe /compress maximum /check /flags "Professional" /export C:\win81aio\x
    86\install.wim 1 C:\win81aio\x86\install1.wim "Windows 8.1 Pro" "Windows 8.1 Pro
    "


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


    IMAGEX [FLAGS] /EXPORT src_file src_number | src_name dest_file dest_name


    Exports a copy of the specified image to another WIM file.


    src_file - The path of the WIM file that contains the image to be copied.
    src_number - The number that identifies the image within the source WIM.
    src_name - The name that identifies the image within the source WIM.
    dest_file - The path of the WIM file that will receive the image copy.
    dest_name - The unique name for the image in the destination WIM.


    Accepted FLAGS:


    /BOOT
    Marks a volume image as bootable. Available for Windows PE images only.


    /CHECK
    Enables WIM integrity checking. If not provided, existing checks are removed.


    /COMPRESS [maximum | fast | none]
    Specifies the type of compression used when exporting to a new WIM file.


    /REF splitwim2.swm
    Enables the reference of split WIM (SWM) files.


    splitwim2.swm - Path to additional split file(s). Wild cards are accepted.


    /TEMP
    Specifies the path where temporary files are stored.


    Comments:
    If src_name is "*" then all images are exported to dest_file.


    Example:
    imagex /export d:\imaging\data.wim 1 d:\imaging\newfile.wim "Exported Image"


    C:\Program Files\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools
    >imagex.exe /compress maximum /check /flags "Professional" /export install.wim 1
    install1.wim "Windows 8.1 Pro" "Windows 8.1 Pro"


















































































































    Nothing happens only options are showing??? I used index 3 because as per 1st page it is given under "Win 8.1 Pro WMC" part