try this : create a txt file and put these lines into the file : Code: @Echo off For %%# in (*.exe) Do ( Echo: Installing update: %%# wupdmgr "%%#" /quiet /norestart ) Echo Windows Update finished. Pause&Exit Save the file into .bat extension. Then create a folder, put all the exe updates into the folder as well as the batch file then run the batch file and see the result.
The Windows Update MiniTool are very helpful tool. The commands and parameters ar very well documented in microsoft site but the problem is i don't want to manually write all the update ids and names in to the script, can the script somehow just detect all updates inside a folder and install it silently one by one automatically ?
i usually use this script to install automatically updates for win7/win8.1 and win10 ("wusa" instead of "wupdmgr" in the script) but as wusa.exe does not exist in winxp (it installs msu packages) i replaced it by "wupdmgr" hopping that the script will work for winxp but it's not the case. So now replace wupdmgr by wuauclt in the script then save and run the batch file again and see the result. if it does not work replace wuauclt by wuauclt1 in the script and run the batch file. if it still does not work so that would mean that this script is not adequate to winxp.
Even i'm interested to see if it works. @markokk888 Also from where did you collect all the exe files?
With a wuauclt it just listed the names in the folder and with the wuauclt1 it appears doing something but i don't think that it installing updates will see if they appear as installed.
From windows update catalog downloaded them manually all 228 of them lol i can share if you don't want to do all this work by yourself.
No, this is not working. well i can sysprep them but i don't want. Time to list all the updates in to a script by manually still better than installing one by one
ok if the script does not work, try what @grrgrr posted above but you will have to do a little change if you want that all the updates can be installed at the same time : create a txt file and put these lines into it : Code: start /wait windowsxp-kb*.exe /q /z /n /o shutdown -r Save the file into .cmd extension. Then create a folder, put all the exe updates into the folder as well as the cmd file then run the cmd file and see the result.
ok so try this : go to command prompt (in admin mode) then you put the correct path of the updates folder and then you run : start /wait windowsxp*.exe /q /z /n /o and you see the result.
ok after multiple tests, i think i've found it : so first create folder in c:, call it updates then put all the updates in that folder then create txt file and put this line into it : Code: FOR /R C:\updates %%a IN (*.exe) DO %%a -q -norestart Save the file into .bat extension and run the batch file. This time it should work. Let me know of the result.