Update win10x64-ltsc.cmd

This commit is contained in:
Kroese
2026-09-04 03:10:21 +02:00
committed by GitHub
parent f6cd867d25
commit 1c08549b8a
+10
View File
@@ -8,8 +8,18 @@ set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete"
if "%~1"=="" goto setup if "%~1"=="" goto setup
if /i "%~1"=="setup" goto setup if /i "%~1"=="setup" goto setup
if /i "%~1"=="logon" goto logon if /i "%~1"=="logon" goto logon
if /i "%~1"=="specialize" goto specialize
exit /b 2 exit /b 2
:specialize
rem Install the VMWare display driver before Windows Setup's final reboot.
certutil.exe -addstore -f Root "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1
certutil.exe -addstore -f TrustedPublisher "%SystemRoot%\Drivers\vmsvga\vm3d.cer" >nul 2>&1
start "" /wait /b pnputil.exe -i -a "%SystemRoot%\Drivers\vmsvga\vm3d.inf" >nul 2>&1
exit /b 0
:setup :setup
if exist "%SETUP_COMPLETE%" exit /b 0 if exist "%SETUP_COMPLETE%" exit /b 0