@echo off REM RUN-ALL.bat - run steps 00..17 in order. REM Each step runs independently; a failure in one does not stop the rest. fltmc >nul 2>&1 if %errorLevel% neq 0 ( powershell -NoProfile -Command "Start-Process -FilePath '%~f0' -Verb RunAs" exit /b ) cd /d "%~dp0" echo ============================================================ echo RUN-ALL: running steps 00..17 sequentially echo Log : C:\Windows\Temp\setup.log echo ============================================================ for %%F in (00-network-private 01-firewall-ssh-22 02-rdp-enable-3389 03-icmp-echo-allow 04-winrm-enable 05-onedrive-remove 06-cortana-websearch-off 07-apply-ui-ime-default-profile 08-hide-admin-account 09-pause-windows-update 10-openssh-server-install 11-kms-activate 12-winget-install-chrome 13-remove-windows-ai 14-win11debloat 15-remove-uwp-apps 16-install-telegram 17-resume-trigger-wu) do ( echo. echo --- %%F --- powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%~dp0%%F.ps1" ) echo. echo ============================================================ echo RUN-ALL done. echo ============================================================ pause