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. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,639
    6,839
    150
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,639
    6,839
    150
    would be nice if your tool also, will make pre install windows setup
    so, you just have to continue it later, not just setup disk ?
    and also work on vhd\x disks ?
    (similer to NT6.X fast installer, WinToUSB project ? )
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,518
    1,598
    60
    There is no C# code in this tool. BTW, you can execute C# code in PowerShell.
     
  4. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,639
    6,839
    150
    >> PS2EXE
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,518
    1,598
    60
    Added the feature to create a Windows To Go disk, just click on the desired radio button.
    To get the script source :
    Code:
    "Win10+ Setup Disk\Win10+ Setup-WinToGo.exe" -extract:<your desired script path>
     

    Attached Files:

  6. haris_mdlf69

    haris_mdlf69 MDL Addicted

    Oct 23, 2018
    625
    1,117
    30
  7. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,639
    6,839
    150
    ok, better, now i like it also to support mounted vhd drives,
    if found, just format, and create new partitions
    or maybe show all drive's {un safe mode .. :D}
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. mephistooo2

    mephistooo2 MDL Junior Member

    Feb 5, 2008
    95
    154
    0
    #470 mephistooo2, Jul 8, 2025 at 13:09
    Last edited: Jul 8, 2025 at 13:29
    Can you update Win10+ Setup-WinToGo.exe to also see vhd/vhdx files? (For ToGo installation)

    Thanks for the work.
     
  9. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,518
    1,598
    60
    Can you develop, please
     
  10. mephistooo2

    mephistooo2 MDL Junior Member

    Feb 5, 2008
    95
    154
    0
    #472 mephistooo2, Jul 9, 2025 at 08:22
    Last edited: Jul 9, 2025 at 08:49
    Changes:

    When the script is run, the question "Would you like to show only USB sticks and hide external hdd/ssd disks?"

    was removed.

    The script has been modified to show USB flash drives, USB external drives and mounted VHD/VHDX drives when run.
     

    Attached Files:

  11. Dark Vador

    Dark Vador X Æ A-12

    Feb 2, 2011
    4,639
    6,839
    150
    E: == Loaded vhdx drive
    which i like to format,
    and use Windows Edition as i like

    i want use the device --> not the partition !
    make new partition's instead of this junk now.

    Code:
    PS C:\Users\Administrator> Get-CimInstance -ClassName Win32_DiskDrive
    
    DeviceID           Caption                Partitions Size         Model               
    --------           -------                ---------- ----         -----               
    \\.\PHYSICALDRIVE1 Microsoft Virtual Disk 1          48315294720  Microsoft Virtual Disk
    
    upload_2025-7-9_10-58-5.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,518
    1,598
    60
    Just a remark : string comparisons are case-insensitive.
     
  13. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,518
    1,598
    60
    @Dark Vador, @mephistooo2
    Feel free to use the source script of this project to create a fork acording to your needs..
     
  14. mephistooo2

    mephistooo2 MDL Junior Member

    Feb 5, 2008
    95
    154
    0
    #476 mephistooo2, Jul 9, 2025 at 14:45
    Last edited: Jul 9, 2025 at 14:56
    Fixed an issue where VHD/VHDX files were not listed if a USB disk was not inserted into the system.

    Edit:
    There is another small error that I am trying to fix. :)
     

    Attached Files:

  15. mephistooo2

    mephistooo2 MDL Junior Member

    Feb 5, 2008
    95
    154
    0
    #477 mephistooo2, Jul 10, 2025 at 10:23
    Last edited: Jul 10, 2025 at 10:29
    When the script is run, it only sees and operates on USB flash drives, USB external drives, and mounted virtual disks (vhd/vhdx).

    All Changes:
    • The prompt "Do you want to show only USB drives and hide external HDD/SSD?" has been removed when the script is run.
    • The script has been modified to show USB flash drives, USB external drives, and mounted VHD/VHDX drives when run.
    • Added the ability to select a version from the selected ISO/WIM file in the Windows To Go operation.
    • Minor visual adjustments have been made.
    indexselect.jpg
     

    Attached Files: