Win10+ Setup Disk (Works with UEFI Secure Boot / BIOS / Install.wim over 4 GB)

Discussion in 'MDL Projects and Applications' started by rpo, Mar 18, 2019.

  1. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,606
    2,676
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,606
    2,676
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,505
    1,526
    60
    Sorry, i can't reproduce this issue on my system. All is working fine here.
     
  4. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,606
    2,676
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,505
    1,526
    60
    replace $newsize.height = 3000 by $newsize.height = [Math]::Min^(50, $pshost.ui.rawui.MaxWindowSize.height^)
    and
    $newsize.height = 50 by $newsize.width = [Math]::Min^(150, $pshost.ui.rawui.MaxWindowSize.Width^)
    (lines 17-18)
    The problem with https://forums.mydigitallife.net/th...bios-install-wim-over-4gb.79268/#post-1513554 occurs when you have many usb sticks with the same characteristics mounted. How do you choose the correct one?
     
  6. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,606
    2,676
    60
    Normally when creating a boot disk it's less confusing and less likely to make a mistake to just have one usb stick plugged in. Anyway not a big deal.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,606
    2,676
    60
    #28 freddie-o, Apr 6, 2019
    Last edited: Apr 6, 2019
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Windows_Addict

    Windows_Addict MDL Expert

    Jul 19, 2018
    1,379
    4,495
    60
    Executionpolicy bypass cmd didn't work correctly. (Win 10 1809 x86)
    This worked.
    Code:
    powershell -noprofile -executionpolicy bypass -WindowStyle Normal -file "%temp%\script.ps1"
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,606
    2,676
    60
    #30 freddie-o, Apr 6, 2019
    Last edited: Apr 15, 2019
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,606
    2,676
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,606
    2,676
    60
    #32 freddie-o, Apr 14, 2019
    Last edited: Apr 16, 2019
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,606
    2,676
    60
    #33 freddie-o, Apr 15, 2019
    Last edited: Apr 15, 2019
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. uffbros

    uffbros MDL Senior Member

    Aug 9, 2010
    455
    59
    10
    #34 uffbros, Jun 9, 2019
    Last edited: Jun 9, 2019
    Here is a dumb question. I downloaded the script. I run as admin..It flashes and goes away?? How do you work this then? I ran it from C drive..I ran it from the USB drive???? I tried putting script in same folder as the extracted .iso of Win 10...I put it in the .iso folder....I give up??
     
  14. jrmpt

    jrmpt MDL Novice

    Jan 21, 2019
    4
    0
    0
    Hi, used rpo's 'Create USB Boot Device' script to create a UEFI/MBR USB windows 10 installer. Tested with an old MBR and all went good. When I use it to boot on the machine with UEFI, it shows 3 options to boot:

    1) USB GENERIC DRIVE (MBR. The only that shows on the old machine with BIOS)
    2) UEFI: FAT
    3) UEFI: NTFS

    Which one (2 or 3) should I pick?

    Thanks.
     
  15. uffbros

    uffbros MDL Senior Member

    Aug 9, 2010
    455
    59
    10
    #36 uffbros, Jun 9, 2019
    Last edited: Jun 9, 2019
    How do you create the boot drive from that file? I click it and it just does a quick flash and disappears?
    RPO's does the same thing....window flashes and goes away...Thats all it does?????
     
  16. jrmpt

    jrmpt MDL Novice

    Jan 21, 2019
    4
    0
    0
    Hi. Run with administrator privileges. Right-click on Create USB Boot Device.cmd and click 'run as administrator'
     
  17. uffbros

    uffbros MDL Senior Member

    Aug 9, 2010
    455
    59
    10
    I did....Already said that...nothing happens....A black window opens up and then disappears instantly. Yes I disabled antivirus and antimalware programs?????
     
  18. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,606
    2,676
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,606
    2,676
    60
    This is unusual... it should just boot directly with no options. :confused:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...