Skip to content

Instantly share code, notes, and snippets.

@Orangera1n
Created November 4, 2025 15:13
Show Gist options
  • Select an option

  • Save Orangera1n/f221d6e10f58de861d4b493d618f8cc7 to your computer and use it in GitHub Desktop.

Select an option

Save Orangera1n/f221d6e10f58de861d4b493d618f8cc7 to your computer and use it in GitHub Desktop.
Windows ARM64 ISO generator script (using UUPMediaConverter)
@echo off
setlocal enabledelayedexpansion
:: Check if the build number was provided
if "%~1"=="" (
echo Usage: %~nx0 BUILD_NUMBER
echo Example: %~nx0 22635
exit /b 1
)
:: Set the build number from the first argument
set "BUILD=%~1"
echo %BUILD%
:: Define the list of languages
set LANGUAGES=ar-sa bg-bg cs-cz da-dk de-de el-gr en-gb en-us es-es es-mx et-ee fi-fi fr-ca fr-fr he-il hr-hr hu-hu it-it ja-jp ko-kr lt-lt lv-lv nb-no nl-nl pl-pl pt-br pt-pt ro-ro ru-ru sk-sk sl-si sr-latn-rs sv-se th-th tr-tr uk-ua zh-cn zh-tw
:: Loop through each language
for %%L in (%LANGUAGES%) do (
echo Processing language: %%L
echo Build is %BUILD%
mkdir %BUILD%_ISOS
UUPMediaConverter -u %BUILD%_arm64fre -t T:\ -i %BUILD%_ISOS\%BUILD%.RS_PRERELEASE_CLIENTMULTI_OEMRET_A64FRE_%%L.iso -l %%L
)
endlocal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment