From 2c2aae1b1a81a7bc25d7a2879886204ed103faf9 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 4 Sep 2026 03:13:39 +0200 Subject: [PATCH] Update win2019-hv.cmd --- assets/win2019-hv.cmd | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/assets/win2019-hv.cmd b/assets/win2019-hv.cmd index ba1b5723..8692fc28 100644 --- a/assets/win2019-hv.cmd +++ b/assets/win2019-hv.cmd @@ -8,8 +8,18 @@ set "SETUP_COMPLETE=%SCRIPT_DIR%setup.complete" if "%~1"=="" goto setup if /i "%~1"=="setup" goto setup if /i "%~1"=="logon" goto logon +if /i "%~1"=="specialize" goto specialize 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 if exist "%SETUP_COMPLETE%" exit /b 0