Add SetupComplete and accompanying scripts
This commit is contained in:
parent
e17afa6c6d
commit
9a96b971db
@ -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
|
@ -0,0 +1,2 @@
|
||||
@echo off
|
||||
bcdedit /set {current} bootux basic
|
@ -0,0 +1,2 @@
|
||||
@echo off
|
||||
schtasks /change /tn "Microsoft\Windows\Maintenance\WinSAT" /disable
|
Loading…
Reference in New Issue
Block a user