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%