Universal MediaCreationTool.bat wrapper for ALL versions (1507 - 21H2)

Discussion in 'Windows 10' started by BAU, Oct 3, 2018.

  1. BAU

    BAU MDL Expert

    Feb 10, 2009
    1,234
    3,290
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. ghoffman

    ghoffman MDL Junior Member

    Mar 23, 2008
    54
    10
    0
    @BAU -
    can you outline or point to the /product server method? your git mentions it but i cant find the original reference and you apparently stopped using this method.
    thanks
     
  3. BAU

    BAU MDL Expert

    Feb 10, 2009
    1,234
    3,290
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. ghoffman

    ghoffman MDL Junior Member

    Mar 23, 2008
    54
    10
    0
  5. BAU

    BAU MDL Expert

    Feb 10, 2009
    1,234
    3,290
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. n4ken

    n4ken MDL Novice

    Feb 4, 2008
    2
    2
    0
    I know I will be crucified for asking such a 'stupid' question but here goes....
    I'm not a novice by any means but I just can't seem to get the batch file to work?
    I run as admin, select 11, and choose make usb and select path to usb. Fine so far. A MS window opens and displays a Progress indicator that just sits there for ever na dose not progress.....
    I've read through the Readme file and I just can't seem to see what I am doing wrong. It's there in black and white but I just don't see it. How do you use the utility...

    OK guy's TAKE AIM >>>> FIRE!
     
  7. BAU

    BAU MDL Expert

    Feb 10, 2009
    1,234
    3,290
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Jan38

    Jan38 MDL Novice

    Jun 25, 2020
    2
    1
    0
    Does anyone know if the (big) future updates for win 11 on unsupported devices will arrive?
     
  9. BAU

    BAU MDL Expert

    Feb 10, 2009
    1,234
    3,290
    60
    Obviously it won't be offered on "unsupported" hardware, just like current 11 is not.
    Workaround might continue to work. Or not.
    We'll cross that bridge when we come to it.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. oceansalt

    oceansalt MDL Novice

    Mar 26, 2017
    37
    27
    0
    @BAU

    Firstly, thank you for this and all your other scripts. I'm fascinated by your high-level PowerShell knowledge, as is @abbodi1406 's BATch skills.

    I had installed Win 22000.282 on an old unsupported laptop via WinNTSetup. The LCU couldn't be installed due to a corrupt component (because it's 'lite'd).

    I downloaded the 22000.318 ISO. I ran \Setup.exe. Although there were "AllowUpgradesWithUnsupportedTPMOrCPU" and "Bypass..." settings in Registry, the Setup.exe didn't allow the upgrade ('TPM and SecureBoot' condition).

    Then I copied your MediaCreationTool.bat to the folder where I extracted the contents of the ISO. After "Quick_11_iso_esd_wim_TPM_toggle.bat" patched to install.wim, when I ran the created "Auto.cmd", there was no unsupported error, but it went to the download process. However, the install.wim file existed in the \sources folder. I've canceled.

    Tried again and stuck at 38%. I deleted these two files.
    Code:
    del /f /q "%Programdata%\vd.exe"
    del /f /q "%Programdata%\11tpm.vbs"

    I wanted Setup.exe to recognize the install.wim in the \sources folder without downloading the Windows ESD file again. I copied the install.wim to the folder where the MCT will download:
    Code:
    xcopy /y d:\sources\install.wim "%Homedrive%\ESD\Download\installx64.esd*"

    Then I ran the Auto.cmd again and the upgrade full-screen appeared("Installing Windows Server..."). After reboot Windows 11 upgraded to 22000.318.

    I hope this method will be useful for those who have a similar problem.
     
  11. BAU

    BAU MDL Expert

    Feb 10, 2009
    1,234
    3,290
    60
    @oceansalt
    You tried to mix & mach scenarios and the result was not what you expected.
    So, you had Skip_TPM_Check_on_Dynamic_Update.cmd script active, and that one was messing with the media setup that you patched via Quick_11_iso_esd_wim_TPM_toggle.bat.
    The easiest solution was to just run again Skip_TPM_Check_on_Dynamic_Update.cmd script to toggle it off (has a built-in undo).
    That script works globally, for both windows update 11 builds (after OfflineInsiderEnroll) and manual setup in windows via usb / mounted iso.

    Note that all was well before microsoft released 22509 with an updated compatibility process.
    So I had to change the workarounds used.

    v6 is much more reliable and future-proof.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    12,945
    62,779
    340
    @oceansalt
    AllowUpgradesWithUnsupportedTPMOrCPU only works if you have TPM 1.2 at least, and fulfilled the other requirements (UEFI, Secureboot, RAM, Drive size ...)