How to install Windows update files quickly

Tags: ,

So, you have a folder with Windows Update Files (e.g. downloaded from Microsoft Update Center):

...
WindowsXP-KB938464-v2-x86-RUS.exe
WindowsXP-KB944043-v3-x86-RUS.exe
WindowsXP-KB946648-x86-RUS.exe
WindowsXP-KB950762-x86-RUS.exe
WindowsXP-KB950974-x86-RUS.exe
...
... (a lot of files)

If you have such a folder, then it's logical to install all the files automatically at once, with a single command line.

Process of installing windows update files from a folder

You can run unattended installation of a Windows Update File with this command:

WindowsXP-KBXXXXXX-x86-YYY.exe /norestart /passive

But we need to install all updates from a folder. This is why in a Windows shell window we run a loop which executes every executable file in the current folder:

for %f in (*.exe) do start /wait %f /norestart /passive

Now it would be wise to put this useful command to a bat-file for further reuse:

rem Contents of install.bat:

for %%f in (*.exe) do start /wait %%f /norestart /passive

Please notice the double percent symbols before the name of the variable.


11 November 2011

Comments (frozen for the time being)

No one has commented on this page yet.


Интернет реклама