Add SetupComplete and accompanying scripts

This commit is contained in:
Fierelier 2021-03-22 01:11:09 +01:00
parent e17afa6c6d
commit 9a96b971db
3 changed files with 16 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,2 @@
@echo off
bcdedit /set {current} bootux basic

View File

@ -0,0 +1,2 @@
@echo off
schtasks /change /tn "Microsoft\Windows\Maintenance\WinSAT" /disable