Github aveyo windows 11

Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,

A powerful yet simple windows 10 / 11 deployment automation tool as well!
If you had no success launching the script so far, this latest version will work

Presets

1 Auto Upgrade with detected media, script assists setupprep for upgrading directly

— can keep files and apps on more scenarios where os and target edition does not match
— can switch detected edition by adding EditionID to script name
— can troubleshoot upgrade failing by adding no_update to script name
— auto defaults to 11, so pass version as well for 10: auto 21H2 MediaCreationTool.bat

2 Auto ISO with detected media in current folder directly (or C:\ESD if run from zip)

— can override detected media by adding edition name / language / arch to script name
— example: 21H1 Education en-US x86 iso MediaCreationTool.bat

3 Auto USB with detected media in specified usb target

— for data safety, this is not fully automated — must select the usb drive manually in GUI

4 Select with user picked Edition, Language, Arch (x86,x64,both) — on specified target

— implicit choice, includes setup override files (disable by adding def to script name)

5 MCT Defaults runs unassisted, creating media without script modification

— no added files, script passes products.xml to MCT and quits without touching media

1-4 presets will modify created media in the following ways:

— write auto.cmd to run on demand for auto upgrade with edition switch and skip tpm
— write $ISO$ folder content (if it exists) at the root of the media
if you previously used $OEM$ content, must now place it in $ISO$\sources\$OEM$\
— write sources\PID.txt to preselect edition at media boot or within windows (if configured)
— write sources\EI.cfg to prevent product key prompt on Windows 11 consumer media (11 only)
— write AutoUnattend.xml in boot.wim to enable local account on Windows 11 Home (11 only)
— patch winsetup.dll in boot.wim to remove windows 11 setup checks when booting from media (11 only)
— can disable by adding def to script name for a default, untouched MCT media

Simple deployment

auto.cmd is behind Auto Upgrade preset via GUI
Can run it fully unnatended by renaming script with auto MediaCreationTool.bat
Makes it easy to upgrade keeping files and apps when the OS edition does not match the media
Should allow upgrade from Ultimate, PosReady, Embedded, LTSC or Enterprise Eval as well

Generated script is added to the created media so you can run it again at any time
It is fairly generic — it will detect available editions in install.esd, pick a suitable index,
then set EditionID in the registry to match; can even force another edition, keeping files and apps!
On 11, it will try to skip setup checks (can disable this behavior with script var)
Finally, it sets recommended setup options with least amount of issues on upgrades

Let’s say the current OS is Enterprise LTSC 2019, and you use the business media to upgrade:
auto.cmd selects Enterprise index and adjust EditionID to Enterprise in the registry (backed up as EditionID_undo)
Maybe you also want to switch edition,
ex. by renaming the script to ProfessionalWorkstation MediaCreationTool.bat:
auto.cmd selects Professional index and sets EditionID to ProfessionalWorkstation in the registry.

Let’s say the OS is Windows 7 Ultimate or PosReady, and you use the consumer media to upgrade:
auto.cmd selects Professional index, and sets EditionID to Professional or Enterprise, respectively.
In all cases, the script tries to pick an existing index, else a compatible one to keep files and apps on upgrade.

Let’s say you have a dozen PCs spread with versions: 7, 8.1, 10 and editions: Ultimate, Home, Enterprise LTSB..
If you need to upgrade all to the latest 10 version and only use Pro, you could rename the script as:
auto 21H2 Pro MediaCreationTool.bat

Can even add a VL / MAK / retail product key in the same way to take care of licensing differences.
The script also picks up any $ISO$ folder in the current location — for $OEM$ branding, configuration, tweaks etc.

Changelog

No need to right-click Run as Admin, script will ask itself. Directly saving the Raw files no longer breaks line endings
We did it! We broke the previous gist ;) So this is the new home. Thank you all!

discuss on MDL

2018.10.10: reinstated 1809 [RS5]! using native xml patching for products.xml; fixed syntax bug with exit/b
2018.10.12: added data loss warning for RS5
2018.11.13: RS5 is officially back! + greatly improved choices dialog - feel free to use the small snippet in your own scripts
2019.05.22: 1903 [19H1]
2019.07.11: 1903 __release_svc_refresh__ and enable DynamicUpdate by default to grab latest CU
2019.09.29: UPDATED 19H1 build 18362.356 ; RS5 build 17763.379 and show build number
            added LATEST MCT choice to dinamically download the current version (all others have hard-coded links)
2019.11.16: 19H2 18363.418 as default choice (updated hard-coded links)
2020.02.29: 19H2 18363.592
2020.05.28: 2004 19041.264 first release
2020.10.29: 20H2 and aniversary script refactoring to support all MCT versions from 1507 to 20H2!!!
2020.10.30: hotfix utf-8, enterprise on 1909+
2020.11.01: fix remove unsupported options in older versions code breaking when path has spaces.. pff
2020.11.14: generate latest links for 1909,2004; all xml editing now in one go; resolved known cannot run script issues
2020.11.15: one-time clear of cached MCT, as script generates proper 1.0 catalog for 1507,1511,1703 since last update
            fixed compatibility with naked windows 7 powershell 2.0 / IPv6 / optional import $OEM$ / 1803+ business typo
            updated executables links for 1903 and 2004
2020.11.17: parse first commandline parameter as version, example: MediaCreationTool.bat 1909
2020.12.01: attempt to fix reported issues with 1703; no other changes (skipping 19042.630 leaked esd because it is broken)
2020.12.11: 20H2 19042.631; fixed pesky 1703 decryption bug on dual x86 + x64; improved cleanup; label includes version
2021.03.20: pre-release 21H1; optional auto upgrade or create media presets importing $OEM$ folder and key as PID.txt
2021.05.23: 21H1 release; enhanced script name args parsing, upgrade from embedded, auto.cmd / PID.txt / $OEM$ import
2021.06.06: create iso directly; enhanced dialogs; args from script name or commandline; refactoring is complete!
2021.08.04: done fiddling
2021.09.03: 21H2, both 10 and 11 [unreleased]
2021.09.25: Windows 11
            with Skip TPM Check on media boot as well as on dynamic update (standalone toggle script available)
            final touches for improved script reliability; enhanced auto upgrade preset; win 7 powershell 2.0 compatible
2021.09.30: fix Auto Setup preset not launching.. automatically
2021.10.04: fix for long standing tr localization quirks; Skip TPM Check v2 (ifeo-based instead of wmi)
2021.10.05: 11 22000.194 Release (rofl W11 MCT has limited capabilities, so still using 21H1 MCT because it works fine)
2021.10.09: outstanding refactoring around Windows 11 MCT; minimize while waiting MCT; unified 7 - 11 appearence
2021.10.20: create generic iso if no edition arg; use Downloads folder; no 11 setup checks on boot in VirtualBox; fixes #2
2021.10.23: 11 22000.258
            more intuitive presets; 11 setup override via AutoUnattend.xml or via boot.wim (for VirtualBox 5.x) with FIX arg
            only reliable ui automation; enhanced script output
2021.11.03: multiple download methods; improved automation; improved auto.cmd; moved autounattend.xml to boot.wim
            revising 11 setup bypass (wip) - not being content with any methods is the reason why I've not updated in a while
2021.11.09: skip windows 11 upgrade checks with setup.exe (not just auto.cmd); no server label; local account on 11 home
            auto.cmd has more fixes to keep files and apps on upgrade; reliable ui automation; alternative downloaders 
2021.11.15: 11 22000.318
            write output to script folder (or C:\ESD if run from zip); style: more consistent separation of arguments
            20H2 builds with esd size above 4GB that had to be reverted at 19042.631: en,de,es,pt,fr,it,jp,zh (MCT limits)
2021.11.16: 10 19044.1288 - official release of 10 21H2
            10 19043.1348 - newest 10 build - don't ask why ms is releasing these as such, it's not the first time
2021.12.07: skip windows 11 upgrade checks only via auto.cmd - just ignore server label, please
2021.12.15: fix regression with 1507-1709 not getting the correct fallback esd; fix dev '-noe' not autoclosing script
2021.12.22: improved auto.cmd handling of mismatched OS and target edition, obey 'def', 'auto' upgrades 7 to 10, not 11
2022.03.16: prevent launch errors when run from non-canonical paths; USBLayout progress; pickup $ISO$ dir to add on media
            DU in 11: auto installs 22000.556 atm; older skip_11_checks, without Server label; Home offline local account
2022.03.18: fix regression with Auto Upgrade; removed powershell -nop arg (issue #41); enhanced 11 AutoUnattend.xml
2022.03.20: stable - all issues ironed out; improved script ui; upgrade keeping files from Eval editions too
            last squash I promise ;)

We did it! We broke gist.github.com ;) So head over to the new home! Thank you all!
2021.10.20: https://github.com/AveYo/MediaCreationTool.bat now open for interaction

Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,

Preview

A powerful yet simple windows 10 / 11 deployment automation tool as well!

discuss on MDL

2018.10.10: reinstated 1809 [RS5]! using native xml patching for products.xml; fixed syntax bug with exit/b
2018.10.12: added data loss warning for RS5
2018.11.13: RS5 is officially back! + greatly improved choices dialog - feel free to use the small snippet in your own scripts
2019.05.22: 1903 [19H1]
2019.07.11: 1903 __release_svc_refresh__ and enable DynamicUpdate by default to grab latest CU
2019.09.29: UPDATED 19H1 build 18362.356 ; RS5 build 17763.379 and show build number
            added LATEST MCT choice to dinamically download the current version (all others have hard-coded links)
2019.11.16: 19H2 18363.418 as default choice (updated hard-coded links)
2020.02.29: 19H2 18363.592
2020.05.28: 2004 19041.264 first release
2020.10.29: 20H2 and aniversary script refactoring to support all MCT versions from 1507 to 20H2!!!
2020.10.30: hotfix utf-8, enterprise on 1909+
2020.11.01: fix remove unsupported options in older versions code breaking when path has spaces.. pff
2020.11.14: generate latest links for 1909,2004; all xml editing now in one go; resolved known cannot run script issues
2020.11.15: one-time clear of cached MCT, as script generates proper 1.0 catalog for 1507,1511,1703 since last update
            fixed compatibility with naked windows 7 powershell 2.0 / IPv6 / optional import $OEM$ / 1803+ business typo
            updated executables links for 1903 and 2004
2020.11.17: parse first commandline parameter as version, example: MediaCreationTool.bat 1909
2020.12.01: attempt to fix reported issues with 1703; no other changes (skipping 19042.630 leaked esd because it is broken)
2020.12.11: 20H2 19042.631; fixed pesky 1703 decryption bug on dual x86 + x64; improved cleanup; label includes version
2021.03.20: pre-release 21H1; optional auto upgrade or create media presets importing $OEM$ folder and key as PID.txt
2021.05.23: 21H1 release; enhanced script name args parsing, upgrade from embedded, auto.cmd / PID.txt / $OEM$ import
2021.06.06: create iso directly; enhanced dialogs; args from script name or commandline; refactoring is complete!
2021.08.04: done fiddling
2021.09.03: 21H2, both 10 and 11 [unreleased]
2021.09.25: Windows 11
            with Skip TPM Check on media boot as well as on dynamic update (standalone toggle script available)
            final touches for improved script reliability; enhanced auto upgrade preset; win 7 powershell 2.0 compatible
2021.09.30: fix Auto Setup preset not launching.. automatically
2021.10.04: fix for long standing tr localization quirks; Skip TPM Check v2 (ifeo-based instead of wmi)
2021.10.05: 11 22000.194 Release (rofl W11 MCT has limited capabilities, so still using 21H1 MCT because it works fine)
2021.10.09: outstanding refactoring around Windows 11 MCT; minimize while waiting MCT; unified 7 - 11 appearence
            We broke gist.github.com ;) Script has a new home now: https://github.com/AveYo/MediaCreationTool.bat 

Майкрософт ограничила возможность скачивания Windows 11 и Windows 10 с официального сайта из РФ — теперь, ранее работавшие методы скачивания со страниц загрузки не работают и сообщают об ошибках.

Однако, на настоящий момент сохраняются способы скачать Windows 10 и Windows 11 в виде оригинальных ISO образов, загружаемых с сайта Майкрософт. О доступных методах — далее в статье.

Media Creation Tool

Обновление: летом 2024 у некоторых пользователей перестал работать и этот инструмент (сообщает об ошибках). Если вы столкнулись с такой ситуацией, используйте методы, приведённые в первой части этой инструкции для Windows 10 или отдельной инструкции для Windows 11, например бот в Телеграм для получения прямых ссылок на загрузку ISO образов с сайта Майкрософт, которые исправно работают.

Несмотря на различного рода блокировки со стороны Майкрософт, при наличии утилиты Media Creation Tool на компьютере, вы можете использовать её как для создания установочного накопителя, так и для создания ISO-образа: скачивание в программе выполняется без каких-либо проблем.

Создание ISO в Media Creation Tool

Скачивание утилиты Media Creation Tool с официального сайта Майкрософт возможно  на страницах:

  • https://www.microsoft.com/ru-ru/software-download/windows11 (кнопка «Скачать» в разделе «Создание установочного носителя Windows 11»)
  • https://www.microsoft.com/ru-ru/software-download/windows10 (кнопка «Скачать» в разделе «Создание установочного носителя Windows 11» или пункт «Скачать средство сейчас»)

А некоторые пользователи могут обнаружить скачивавшуюся ранее утилиту MCT в папке «Загрузки» у себя на компьютере, она не потеряла работоспособности. Далее можно использовать Media Creation Tool для скачивания необходимых версий Windows 11 и Windows 10, создания ISO или записи установочного USB накопителя.

Однако, с загрузкой утилиты проблемы могут возникнуть: например, загрузка Media Creation Tool для Windows 11 блокировалась (для Windows 10 исправно работает в настоящий момент). Это можно обойти, о чем подробно в инструкции: Как скачать Media Creation Tool для Windows 11 и Windows 10.

Это предпочтительный способ, позволяющий быстро получить гарантированно оригинальный образ ISO последнего релиза нужной вам версии напрямую с серверов Майкрософт, но есть и другие варианты загрузки.

Universal Media Creation Tool — простая загрузка образа нужной версии Windows

О скрипте Universal Media Creation Tool я ранее писал в контексте обновления до Windows 11 на неподдерживаемых компьютерах или скачивания старых версий Windows 10. Пригодиться он и для текущей ситуации. Процесс скачивания ISO образа Windows 11 и Windows 10 будет состоять из следующих шагов:

  1. Скачайте и распакуйте архив с Universal Media Creation Tool со страницы разработчика в GitHub — https://github.com/AveYo/MediaCreationTool.bat Для загрузки нажмите по стрелке у кнопки «Code» и выберите пункт «Download ZIP».
    Загрузка Universal Media Creation Tool

  2. Запустите файл MediaCreationTool.bat из папки с распакованным архивом.
  3. Через короткое время откроется меню с выбором доступных версий Windows 10 и Windows 11 (версия 22H2 отсутствует, используйте для неё далее описанные методы), выберите нужную. К сожалению, при попытке загрузить версию Windows 10 21H2 этим способом возникают проблемы.
  4. Следующее окно — выбор действия.
  5. Рекомендуемый вариант (при других могут быть сбои). При выборе варианта MCT Defaults будет загружена утилита Media Creation Tool нужной версии, далее все действия (выбор версии, создание ISO образа или USB-накопителя) можно будет выполнить вручную.
    Выбор версии Windows для скачивания в Media Creation Tool

  6. Если выбрать Auto ISO, будет автоматически инициирована загрузка необходимых файлов и создание ISO образа (от вас потребуется лишь указать место сохранения), при этом язык системы для образа будет выбран в зависимости от того, какая система установлена на компьютере в настоящий момент времени.
  7. Выбор варианта Auto USB инициирует автоматическое создание загрузочной флешки с выбранной версией Windows.

В моем тесте всё работает исправно, без каких-либо сбоев (кроме версии 21H2). Один раз при использовании варианта MCT Defaults произошел сбой в Media Creation Tool, который при повторном запуске не повторился.

UUP Generation Project и TechBench by WZT

Ещё один метод, более подробно описанный в инструкции про использование UUP Dump.

  1. Зайдите на страницу https://uup.rg-adguard.net/ и выберите нужную версию Windows.
  2. Для поля «Select Download Type» рекомендую выбрать «Download ISO Compiler in OneClick».
  3. Скачайте сформированный файл, поместите в какую-нибудь вновь созданную папку на диске (не запускайте с рабочего стола или из папки со своими файлами) и запустите его (может потребоваться добавить в исключения Microsoft Defender и отметить пункт «Разблокировать этот файл» в свойствах файла).
    Загрузка Windows с помощью UUP

  4. Включите необходимые опции при создании ISO образа.
    Изменение параметров образа

  5. Дождитесь загрузки файлов и сборки ISO образа с выбранной версией Windows.

When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.


· Hot!

windows 11 TPM requirement

Windows 11 has some very strict security-related measures put in place that require TPM 2.0, Secure Boot, and a CPU officially supported by Microsoft. Microsoft has said it is essential since security is of paramount importance in its new OS.

A GitHub developer AveYo has made a new Windows 11 install script for his Universal MediaCreationTool (MCT) wrapper which bypasses these TPM and system requirements checks. The tool itself isn’t new, but support for Windows 11 and the skip TPM check feature were added this month.

Universal MediaCreationTool

According to the changelog specific for Windows 11, the tool will:

  • Skip TPM Check on media boot via winpeshl.ini file
  • Skip TPM Check on dynamic update

When executed, the script creates the «AllowUpgradesWithUnsupportedTPMOrCPU» value under «HKEY_LOCAL_MACHINE\SYSTEM\Setup\MoSetup» in the registry and sets it to 1 or true. It also deletes the ‘appraiserres.dll’ file.

BleepingComputer has noted that running the script allowed it to upgrade to dev channel Build 22463 on its virtual machine (the Before/After image below), up from Build 22449. The before image indicates that the site was unable to proceed with the upgrade prior to using the MCT tool as it was running unsupported hardware. Note that the images below are in the 4:3 aspect ratio since it’s in VM.

This was necessary since VMs also now need to satisfy the Windows 11 requirements, something Oracle seems to be working on for a future VirtualBox driver.

Bear in mind though that this is an unofficial third-party tool and you’ll have to proceed at your own risk if you wish to run it on your daily driver. So it’s recommended you try it on a VM. You can find AveYo’s MCT tool at the GitHub source link below.

Source: AveYo (GitHub) via BleepingComputer

MediaCreationTool.bat is a useful script for Windows to download Windows ISO images from Microsoft servers. The developer has updated the program recently; the latest release introduces support for downloading Windows 11 ISO images and includes a standalone script to toggle the Windows 11 compatibility checks during setup.

I reviewed the MediaCreationTool back in March 2021 when support for Microsoft’s Windows 10 version 21H1 system was added by its developer.

The latest version includes support for downloading  a Windows 11 ISO image from Microsoft. Microsoft will update its Media Creation Tool when Windows 11 is released, likely on the day of release on October 5, 2021. The tool is useful, as it includes functionality to copy the operating system to a USB drive or create an ISO image which can be burned to a DVD.

MediaCreationTool is an open-source script that supports downloading Windows 11 and also most release versions of Windows 10, including Windows 10 version 21H2.

All it takes is to run the script with elevated privileges to download the desired Windows ISO image from Microsoft.

mediacreationtool download windows 11 iso

How to download Windows 11 MediaCreationTool script

Downloading the script is a bit more complicated than it could be. Here is what you need to do:

  1. Visit this page on the project’s GitHub website.
  2. Make sure that the screen is large enough. Activate the Download Zip button to download the entire archive to the local system.
  3. Extract the ZIP file once it has been downloaded.
  4. Right-click on the MediaCreationTool.bat script file and select Run as administrator from the context menu.

Alternatively:

  1. Visit the project’s homepage.
  2. Select Code at the top and then Download Zip
  3. Extract the ZIP file once it has been downloaded.
  4. Right-click on the MediaCreationTool.bat script file and select Run as administrator from the context menu.

MediaCreationTool displays all version that can be downloaded. Select a version, e.g. Windows 11, Windows 10 version 21H2, or something else that is listed.

Several options are displayed on the next page. Create ISO and Create USB are self-explanatory: the first saves the downloaded file as an ISO image, the other copies it to a USB Flash drive. I

  • Auto Setup choice for upgrade directly without prompts, with edition change / intelligent fallback
  • Create ISO choice for authoring iso file directly via DIR2ISO snippet, including any ‘oem’ customizations
  • Create USB choice for authoring usb via native MCT, including any ‘oem’ customizations (prompts once)
  • Select in MCT choice for vanilla MCT processing without ‘oem’ modifications [..]

The extracted archive includes another file that may be useful to some users. The command file Skip_TPM_Check_on_Dynamic_Update.cmd configures the system to skip the TPM check during setup of Windows 11.

Tip: Microsoft re-released its own PC Health Check tool to find out if a device is compatible with Windows 11.

Closing Words

MediaCreationTool.bat includes several options that are missing from Microsoft’s Media Creation Tool. It includes options to download older versions of Windows 10 among other things. The command file may be useful on systems that prevent the installation because of incompatibilities.

Now You: do you plan to upgrade to Windows 11? (via Deskmodder)

Summary

Article Name

MediaCreationTool.bat: download Windows 11 ISOs and bypass system compatibility checks

Description

The latest version of the MediaCreationTool.bat script can be used to download Windows 11 and to bypass the system compatibility checks of Windows 11’s setup.

Author

Martin Brinkmann

Publisher

Ghacks Technology News

Logo

Advertisement

Понравилась статья? Поделить с друзьями:
0 0 голоса
Рейтинг статьи
Подписаться
Уведомить о
guest

0 комментариев
Старые
Новые Популярные
Межтекстовые Отзывы
Посмотреть все комментарии
  • Windows browser free download for windows
  • Как загрузить образ windows на ноутбук
  • Состояние принтера отключен как включить windows 11
  • Подключение airpods к windows 10 с микрофоном
  • Как получить доступ к закрытой папке windows