[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-72912":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":16,"starSnapshotCount":16,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},72912,"MediaCreationTool.bat","AveYo\u002FMediaCreationTool.bat","AveYo","Universal MCT wrapper script for all Windows 10\u002F11 versions from 1507 to 21H2!","",null,"Batchfile",10229,3132,292,98,0,10,23,30,97.3,"MIT License",false,"main",true,[26,27,28,29,30],"iso","tpm-bypass","windows","windows10","windows11","2026-06-12 04:01:07","Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,  \r\n\u003Cimg src=\"preview.png\">  \r\nA powerful yet simple windows 10 \u002F 11 deployment automation tool as well!  \r\n*If you had no success launching the script so far, this latest version will work*  \r\n\r\nPresets  \r\n-------  \r\n1 ***Auto Upgrade*** with detected media, script assists setupprep for upgrading directly  \r\n> _- can keep files and apps on more scenarios where os and target edition does not match_  \r\n> _- can switch detected edition by adding EditionID to script name_  \r\n> _- can troubleshoot upgrade failing by adding `no_update` to script name_  \r\n> _- auto defaults to 11, so pass version as well for 10: `auto 21H2 MediaCreationTool.bat`_  \r\n\r\n2 ***Auto ISO*** with detected media in current folder directly _(or C:\\ESD if run from zip)_  \r\n> _- can override detected media by adding edition name \u002F language \u002F arch to script name_  \r\n> _- example: `21H1 Education en-US x86 iso MediaCreationTool.bat`_  \r\n\r\n3 ***Auto USB*** with detected media in specified usb target  \r\n> _- for data safety, this is not fully automated - must select the usb drive manually in GUI_  \r\n\r\n4 ***Select*** with user picked Edition, Language, Arch (x86,x64,both) - on specified target  \r\n> _- implicit choice, includes setup override files (disable by adding `def` to script name)_  \r\n\r\n5 ***MCT Defaults*** runs unassisted, creating media without script modification  \r\n> _- no added files, script passes `products.xml` to MCT and quits without touching media_  \r\n\r\n1-4 presets will modify created media in the following ways:  \r\n> _- write `auto.cmd` to run on demand for auto upgrade with edition switch and skip tpm_  \r\n> _- write `$ISO$` folder content (if it exists) at the root of the media_  \r\n> _if you previously used $OEM$ content, must now place it in `$ISO$\\sources\\$OEM$\\`_  \r\n> _- write `sources\\PID.txt` to preselect edition at media boot or within windows (if configured)_  \r\n> _- write `sources\\EI.cfg` to prevent product key prompt on Windows 11 consumer media (11 only)_  \r\n> _- write `AutoUnattend.xml` in boot.wim to enable local account on Windows 11 Home (11 only)_  \r\n> _- patch `winsetup.dll` in boot.wim to remove windows 11 setup checks when booting from media (11 only)_  \r\n> _- can disable by adding `def` to script name for a default, untouched MCT media_  \r\n\r\nSimple deployment  \r\n-----------------   \r\n**auto.cmd** is behind ***Auto Upgrade*** preset via GUI  \r\nCan run it fully unnatended by renaming script with `auto MediaCreationTool.bat`  \r\nMakes it easy to upgrade keeping files and apps when the OS edition does not match the media  \r\nShould allow upgrade from Ultimate, PosReady, Embedded, LTSC or Enterprise Eval as well  \r\n\r\nGenerated script is added to the created media so you can run it again at any time  \r\nIt is fairly generic - it will detect available editions in install.esd, pick a suitable index,  \r\nthen set EditionID in the registry to match; can even force another edition, keeping files and apps!  \r\nOn 11, it will try to skip setup checks (can disable this behavior with script var)  \r\nFinally, it sets recommended setup options with least amount of issues on upgrades  \r\n\r\n> Let's say the current OS is Enterprise LTSC 2019, and you use the business media to upgrade:  \r\n> **auto.cmd** selects Enterprise index and adjust EditionID to Enterprise in the registry (backed up as EditionID_undo)  \r\n> Maybe you also want to switch edition,  \r\n> ex. by renaming the script to  `ProfessionalWorkstation MediaCreationTool.bat`:  \r\n> **auto.cmd** selects Professional index and sets EditionID to ProfessionalWorkstation in the registry.  \r\n>   \r\n> Let's say the OS is Windows 7 Ultimate or PosReady, and you use the consumer media to upgrade:  \r\n> **auto.cmd** selects Professional index, and sets EditionID to Professional or Enterprise, respectively.  \r\n> In all cases, the script tries to pick an existing index, else a compatible one to keep files and apps on upgrade.  \r\n>   \r\n> Let's say you have a dozen PCs spread with versions: 7, 8.1, 10 and editions: Ultimate, Home, Enterprise LTSB..  \r\n> If you need to upgrade all to the latest 10 version and only use Pro, you could rename the script as:  \r\n> `auto 21H2 Pro MediaCreationTool.bat`  \r\n>\r\n> Can even add a VL \u002F MAK \u002F retail product key in the same way to take care of licensing differences.  \r\n> The script also picks up any `$ISO$` folder in the current location - for $OEM$ branding, configuration, tweaks etc.  \r\n\r\nChangelog  \r\n---------  \r\n_No need to right-click Run as Admin, script will ask itself. Directly saving the Raw files no longer breaks line endings_  \r\n_We did it! We broke [the previous gist](https:\u002F\u002Fgit.io\u002FMediaCreationTool.bat)_ ;) So this is the new home. **Thank you all!**  \r\n\r\n[discuss on MDL](https:\u002F\u002Fforums.mydigitallife.net\u002Fthreads\u002Funiversal-mediacreationtool-wrapper-script-create-windows-11-media-with-automatic-bypass.84168\u002F)  \r\n\r\n```\r\n2018.10.10: reinstated 1809 [RS5]! using native xml patching for products.xml; fixed syntax bug with exit\u002Fb\r\n2018.10.12: added data loss warning for RS5\r\n2018.11.13: RS5 is officially back! + greatly improved choices dialog - feel free to use the small snippet in your own scripts\r\n2019.05.22: 1903 [19H1]\r\n2019.07.11: 1903 __release_svc_refresh__ and enable DynamicUpdate by default to grab latest CU\r\n2019.09.29: UPDATED 19H1 build 18362.356 ; RS5 build 17763.379 and show build number\r\n            added LATEST MCT choice to dinamically download the current version (all others have hard-coded links)\r\n2019.11.16: 19H2 18363.418 as default choice (updated hard-coded links)\r\n2020.02.29: 19H2 18363.592\r\n2020.05.28: 2004 19041.264 first release\r\n2020.10.29: 20H2 and aniversary script refactoring to support all MCT versions from 1507 to 20H2!!!\r\n2020.10.30: hotfix utf-8, enterprise on 1909+\r\n2020.11.01: fix remove unsupported options in older versions code breaking when path has spaces.. pff\r\n2020.11.14: generate latest links for 1909,2004; all xml editing now in one go; resolved known cannot run script issues\r\n2020.11.15: one-time clear of cached MCT, as script generates proper 1.0 catalog for 1507,1511,1703 since last update\r\n            fixed compatibility with naked windows 7 powershell 2.0 \u002F IPv6 \u002F optional import $OEM$ \u002F 1803+ business typo\r\n            updated executables links for 1903 and 2004\r\n2020.11.17: parse first commandline parameter as version, example: MediaCreationTool.bat 1909\r\n2020.12.01: attempt to fix reported issues with 1703; no other changes (skipping 19042.630 leaked esd because it is broken)\r\n2020.12.11: 20H2 19042.631; fixed pesky 1703 decryption bug on dual x86 + x64; improved cleanup; label includes version\r\n2021.03.20: pre-release 21H1; optional auto upgrade or create media presets importing $OEM$ folder and key as PID.txt\r\n2021.05.23: 21H1 release; enhanced script name args parsing, upgrade from embedded, auto.cmd \u002F PID.txt \u002F $OEM$ import\r\n2021.06.06: create iso directly; enhanced dialogs; args from script name or commandline; refactoring is complete!\r\n2021.08.04: done fiddling\r\n2021.09.03: 21H2, both 10 and 11 [unreleased]\r\n2021.09.25: Windows 11\r\n            with Skip TPM Check on media boot as well as on dynamic update (standalone toggle script available)\r\n            final touches for improved script reliability; enhanced auto upgrade preset; win 7 powershell 2.0 compatible\r\n2021.09.30: fix Auto Setup preset not launching.. automatically\r\n2021.10.04: fix for long standing tr localization quirks; Skip TPM Check v2 (ifeo-based instead of wmi)\r\n2021.10.05: 11 22000.194 Release (rofl W11 MCT has limited capabilities, so still using 21H1 MCT because it works fine)\r\n2021.10.09: outstanding refactoring around Windows 11 MCT; minimize while waiting MCT; unified 7 - 11 appearence\r\n2021.10.20: create generic iso if no edition arg; use Downloads folder; no 11 setup checks on boot in VirtualBox; fixes #2\r\n2021.10.23: 11 22000.258\r\n            more intuitive presets; 11 setup override via AutoUnattend.xml or via boot.wim (for VirtualBox 5.x) with FIX arg\r\n            only reliable ui automation; enhanced script output\r\n2021.11.03: multiple download methods; improved automation; improved auto.cmd; moved autounattend.xml to boot.wim\r\n            revising 11 setup bypass (wip) - not being content with any methods is the reason why I've not updated in a while\r\n2021.11.09: skip windows 11 upgrade checks with setup.exe (not just auto.cmd); no server label; local account on 11 home\r\n            auto.cmd has more fixes to keep files and apps on upgrade; reliable ui automation; alternative downloaders \r\n2021.11.15: 11 22000.318\r\n            write output to script folder (or C:\\ESD if run from zip); style: more consistent separation of arguments\r\n            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)\r\n2021.11.16: 10 19044.1288 - official release of 10 21H2\r\n            10 19043.1348 - newest 10 build - don't ask why ms is releasing these as such, it's not the first time\r\n2021.12.07: skip windows 11 upgrade checks only via auto.cmd - just ignore server label, please\r\n2021.12.15: fix regression with 1507-1709 not getting the correct fallback esd; fix dev '-noe' not autoclosing script\r\n2021.12.22: improved auto.cmd handling of mismatched OS and target edition, obey 'def', 'auto' upgrades 7 to 10, not 11\r\n2022.03.16: prevent launch errors when run from non-canonical paths; USBLayout progress; pickup $ISO$ dir to add on media\r\n            DU in 11: auto installs 22000.556 atm; older skip_11_checks, without Server label; Home offline local account\r\n2022.03.18: fix regression with Auto Upgrade; removed powershell -nop arg (issue #41); enhanced 11 AutoUnattend.xml\r\n2022.03.20: stable - all issues ironed out; improved script ui; upgrade keeping files from Eval editions too\r\n            last squash I promise ;)\r\n```\r\n","AveYo\u002FMediaCreationTool.bat 是一个适用于所有 Windows 10\u002F11 版本（从 1507 到 21H2）的通用 MediaCreationTool 包装脚本。该项目通过批处理文件实现，支持多种预设功能，如自动升级、ISO 创建、USB 部署等，并具备绕过 TPM 检查的能力。特别适合需要在不同 Windows 版本间进行系统部署或升级的场景，无论是个人用户还是企业用户都能从中受益。该工具能够简化 Windows 系统安装与升级流程，同时提供一定的自定义选项以满足特定需求。",2,"2026-06-11 03:43:57","high_star"]