Skip to content

Commit 93191f8

Browse files
mszhanyimalfet
andauthored
disable windows updates (#5122)
Co-authored-by: Nikita Shulga <[email protected]>
1 parent 64d21d1 commit 93191f8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packaging/windows/internal/cuda_install.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,10 @@ if not exist "%SRC_DIR%\temp_build\NvToolsExt.7z" (
212212
echo Installing CUDA toolkit...
213213
7z x %CUDA_SETUP_FILE% -o"%SRC_DIR%\temp_build\cuda"
214214
pushd "%SRC_DIR%\temp_build\cuda"
215+
sc config wuauserv start= disabled
216+
sc stop wuauserv
217+
sc query wuauserv
218+
215219
start /wait setup.exe -s %ARGS% -loglevel:6 -log:"%cd%/cuda_install_logs"
216220
echo %errorlevel%
217221

0 commit comments

Comments
 (0)