Batch script for windows & software updates installation in Unattended Windows 7/Server 2008R2 Posted December 23, 2013 @ECHO OFFSETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSIONPUSHD %~dp0FOR %%A IN (*-KB*.MSU) DO ( CALL :SUB %%~nA ECHO= Installing KB!KB_NUM! >NUL TIMEOUT /t 3 WUSA "%%~fA" /quiet /norestart)ECHO= == Press any key to restart ==>NUL PAUSESHUTDOWN.EXE /r /t 0GOTO :EOF:SUBSET "KB_NUM=%*"FOR /F "DELIMS=-" %%B IN ("%KB_NUM:*-KB=%") DO SET "KB_NUM=%%B"So this is the script I should use? What about the exe files? 0
Batch script for windows & software updates installation
in Unattended Windows 7/Server 2008R2
Posted
So this is the script I should use? What about the exe files?