diff --git a/mods/[all]/SetupComplete - main/data/Windows/Setup/Scripts/SetupComplete.cmd b/mods/[all]/SetupComplete - main/data/Windows/Setup/Scripts/SetupComplete.cmd new file mode 100644 index 0000000..4c18753 --- /dev/null +++ b/mods/[all]/SetupComplete - main/data/Windows/Setup/Scripts/SetupComplete.cmd @@ -0,0 +1,12 @@ +@echo off +setlocal EnableDelayedExpansion +cd /d "%~dp0" +for /f "tokens=*" %%f in ('dir /b /s /a:d "%cd%\SetupComplete\*"') do ( + if exist "%%f\SetupComplete.cmd" ( + cd /d %%f + start /b /wait cmd /c call "%%f\SetupComplete.cmd" + ) +) + +cd /d "%~dp0" +rem rmdir /s /q SetupComplete \ No newline at end of file diff --git a/mods/[based-only]/SetupComplete - basic bootux/data/Windows/Setup/Scripts/SetupComplete/basic bootux/SetupComplete.cmd b/mods/[based-only]/SetupComplete - basic bootux/data/Windows/Setup/Scripts/SetupComplete/basic bootux/SetupComplete.cmd new file mode 100644 index 0000000..e684ae8 --- /dev/null +++ b/mods/[based-only]/SetupComplete - basic bootux/data/Windows/Setup/Scripts/SetupComplete/basic bootux/SetupComplete.cmd @@ -0,0 +1,2 @@ +@echo off +bcdedit /set {current} bootux basic \ No newline at end of file diff --git a/mods/[based-only]/SetupComplete - disable winsat schedule/data/Windows/Setup/Scripts/SetupComplete/disable winsat schedule/SetupComplete.cmd b/mods/[based-only]/SetupComplete - disable winsat schedule/data/Windows/Setup/Scripts/SetupComplete/disable winsat schedule/SetupComplete.cmd new file mode 100644 index 0000000..40ce66c --- /dev/null +++ b/mods/[based-only]/SetupComplete - disable winsat schedule/data/Windows/Setup/Scripts/SetupComplete/disable winsat schedule/SetupComplete.cmd @@ -0,0 +1,2 @@ +@echo off +schtasks /change /tn "Microsoft\Windows\Maintenance\WinSAT" /disable \ No newline at end of file