"Windows Setup" customization and Winpe

Discussion in 'Windows 10' started by aser_elhbayeb, Aug 29, 2016.

  1. aser_elhbayeb

    aser_elhbayeb MDL Novice

    Oct 31, 2012
    21
    2
    0
    #1 aser_elhbayeb, Aug 29, 2016
    Last edited by a moderator: Apr 20, 2017
    Hello Everybody :)

    I'm trying to make an AIO windows Installation and Recovery Iso, I'm all successful in the part of merging images and languages, but I'm having trouble integrating the MS DART into the setup process. I have followed the tutorial here : goo.gl/dB7tmp , but I'm unable to make it show the options whether to install windows or boot into one of dart versions.
    I have edited the bcd into the boot folder and this is the final result:
    Code:
    Windows Boot Manager
    --------------------
    identifier              {bootmgr}
    description             Windows Boot Manager
    locale                  en-US
    inherit                 {globalsettings}
    default                 {default}
    displayorder            {default}
                            {a8d8adf9-6e05-11e6-82e3-446d57137f02}
                            {3be79aed-6e06-11e6-82e3-446d57137f02}
                            {675e12ac-6e06-11e6-82e3-446d57137f02}
                            {9d548b5c-6e06-11e6-82e3-446d57137f02}
                            {cc681c81-6e06-11e6-82e3-446d57137f02}
                            {e9fc006f-6e06-11e6-82e3-446d57137f02}
    toolsdisplayorder       {memdiag}
    timeout                 30
    
    
    Windows Boot Loader
    -------------------
    identifier              {default}
    device                  ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
    path                    \windows\system32\boot\winload.exe
    description             Windows Setup
    locale                  en-US
    inherit                 {bootloadersettings}
    osdevice                ramdisk=[boot]\sources\boot.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}
    systemroot              \windows
    bootmenupolicy          Standard
    detecthal               Yes
    winpe                   Yes
    ems                     No
    
    
    Windows Boot Loader
    -------------------
    identifier              {a8d8adf9-6e05-11e6-82e3-446d57137f02}
    device                  ramdisk=[boot]\sources\dart10x64.wim,{default}
    path                    \windows\system32\boot\winload.exe
    description             Diagnostics and Recovery 10 x64
    locale                  en-US
    inherit                 {bootloadersettings}
    osdevice                ramdisk=[boot]\sources\dart10x64.wim,{default}
    systemroot              \windows
    bootmenupolicy          Standard
    detecthal               Yes
    winpe                   Yes
    ems                     No
    
    
    Windows Boot Loader
    -------------------
    identifier              {3be79aed-6e06-11e6-82e3-446d57137f02}
    device                  ramdisk=[boot]\sources\dart10x86.wim,{default}
    path                    \windows\system32\boot\winload.exe
    description             Diagnostics and Recovery 10 x86
    locale                  en-US
    inherit                 {bootloadersettings}
    osdevice                ramdisk=[boot]\sources\dart10x86.wim,{default}
    systemroot              \windows
    bootmenupolicy          Standard
    detecthal               Yes
    winpe                   Yes
    ems                     No
    
    
    Windows Boot Loader
    -------------------
    identifier              {675e12ac-6e06-11e6-82e3-446d57137f02}
    device                  ramdisk=[boot]\sources\dart8.1x64.wim,{default}
    path                    \windows\system32\boot\winload.exe
    description             Diagnostics and Recovery 8.1 x64
    locale                  en-US
    inherit                 {bootloadersettings}
    osdevice                ramdisk=[boot]\sources\dart8.1x64.wim,{default}
    systemroot              \windows
    bootmenupolicy          Standard
    detecthal               Yes
    winpe                   Yes
    ems                     No
    
    
    Windows Boot Loader
    -------------------
    identifier              {9d548b5c-6e06-11e6-82e3-446d57137f02}
    device                  ramdisk=[boot]\sources\dart8.1x86.wim,{default}
    path                    \windows\system32\boot\winload.exe
    description             Diagnostics and Recovery 8.1 x86
    locale                  en-US
    inherit                 {bootloadersettings}
    osdevice                ramdisk=[boot]\sources\dart8.1x86.wim,{default}
    systemroot              \windows
    bootmenupolicy          Standard
    detecthal               Yes
    winpe                   Yes
    ems                     No
    
    
    Windows Boot Loader
    -------------------
    identifier              {cc681c81-6e06-11e6-82e3-446d57137f02}
    device                  ramdisk=[boot]\sources\dart7x64.wim,{default}
    path                    \windows\system32\boot\winload.exe
    description             Diagnostics and Recovery 7 x64
    locale                  en-US
    inherit                 {bootloadersettings}
    osdevice                ramdisk=[boot]\sources\dart7x64.wim,{default}
    systemroot              \windows
    bootmenupolicy          Standard
    detecthal               Yes
    winpe                   Yes
    ems                     No
    
    
    Windows Boot Loader
    -------------------
    identifier              {e9fc006f-6e06-11e6-82e3-446d57137f02}
    device                  ramdisk=[boot]\sources\dart7x86.wim,{default}
    path                    \windows\system32\boot\winload.exe
    description             Diagnostics and Recovery 7 x86
    locale                  en-US
    inherit                 {bootloadersettings}
    osdevice                ramdisk=[boot]\sources\dart7x86.wim,{default}
    systemroot              \windows
    bootmenupolicy          Standard
    detecthal               Yes
    winpe                   Yes
    ems                     No
    
    I guess I'm missing something :\ , If someone can tell me what to change/edit to make it work.

    the final result should be similar to this, except it must has a " Windows Setup " to install Windows:

    goo.gl/FNzvy4​
     
  2. KNARZ

    KNARZ MDL Addicted

    Oct 9, 2012
    895
    482
    30
    {default} is wrong. has to be: {7619dcc8-fafe-11d9-b411-000476eba25f}

    change all entries of device and osdevice.

    {7619dcc8-fafe-11d9-b411-000476eba25f} is the ramdrive definition
     
  3. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,962
    904
    60
    #3 Flipp3r, Aug 30, 2016
    Last edited by a moderator: Apr 20, 2017
    For the menu you need to set the bootmenupolicy to legacy:
    Code:
    bcdedit /set {default} bootmenupolicy legacy
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. aser_elhbayeb

    aser_elhbayeb MDL Novice

    Oct 31, 2012
    21
    2
    0
    First time I did it that way but no luck, I guess the issue is anywhere else.
     
  5. aser_elhbayeb

    aser_elhbayeb MDL Novice

    Oct 31, 2012
    21
    2
    0
    #5 aser_elhbayeb, Aug 30, 2016
    Last edited by a moderator: Apr 20, 2017
    (OP)
    This is it I guess, but a new problem arose, is that applying that peace of command doesn't change the " standard " value. Any Idea?
     
  6. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,962
    904
    60
    #6 Flipp3r, Aug 30, 2016
    Last edited by a moderator: Apr 20, 2017
    Perhaps you need to specify the BCD:
    Code:
    bcdedit /store x:\boot\BCD /set {default} bootmenupolicy legacy
    bcdedit /store x:\EFI\Microsoft\boot\BCD /set {default} bootmenupolicy legacy
    Just change to the correct drive & path for your setup.
    The 1st BCD is for legacy/bios bootup & the 2nd is for UEFI.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. aser_elhbayeb

    aser_elhbayeb MDL Novice

    Oct 31, 2012
    21
    2
    0
    #7 aser_elhbayeb, Aug 31, 2016
    Last edited by a moderator: Apr 20, 2017
    (OP)
    That's what I was messing from the beginning, it helped me so much and solved the issue.
    Thank you man, and off course many thanks to @KNARZ for helping too :)
    regards