From 5076d3e9a4ecdaec09043a3a3402f0b2c80e8916 Mon Sep 17 00:00:00 2001 From: Yi Zhang Date: Wed, 22 Dec 2021 22:21:19 -0800 Subject: [PATCH] disable windows updates --- packaging/windows/internal/cuda_install.bat | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/windows/internal/cuda_install.bat b/packaging/windows/internal/cuda_install.bat index 1333ee2b244..41960224eba 100644 --- a/packaging/windows/internal/cuda_install.bat +++ b/packaging/windows/internal/cuda_install.bat @@ -212,6 +212,10 @@ if not exist "%SRC_DIR%\temp_build\NvToolsExt.7z" ( echo Installing CUDA toolkit... 7z x %CUDA_SETUP_FILE% -o"%SRC_DIR%\temp_build\cuda" pushd "%SRC_DIR%\temp_build\cuda" +sc config wuauserv start= disabled +sc stop wuauserv +sc query wuauserv + start /wait setup.exe -s %ARGS% -loglevel:6 -log:"%cd%/cuda_install_logs" echo %errorlevel%