anlaoch Posted August 29, 2009 Share Posted August 29, 2009 Hi.Just wondering if after downloading all updates using WUD, can the updates be copied to a single folder on other computers for deployment (where XP is already installed)? I regularly need to download updates for machines which have had a destructive recovery done and I don't want to have to use Windows Update everytime, so it would be easier if I have the updates on a USB pen and was able to copy them over to the recovered machine.Is there an easy way to do this? Where do they go?Thanks. Link to comment Share on other sites More sharing options...
g-force Posted August 30, 2009 Share Posted August 30, 2009 If you want to do this by USB-Stick, I would perform like this:1. create folder "updates" on the stick, copy all updates into folder2. create a batch file "setup.cmd" like this into that folder:start/wait KBxxxxxx1.exe /parameter (e.g. /quiet /noreboot)start/wait KBxxxxxx2.exe /parameterstart/wait KBxxxxxx3.exe /parameter..................................................shutdown.exe -r -f -t 15 -c "Rebooting in 15 seconds..."3. create an "Autorun.inf" in the root of the USB-Drive:[AutoRun]open=updates\setup.cmdicon=Plugin the USB-Stick to a PC and relax. Link to comment Share on other sites More sharing options...
anlaoch Posted August 31, 2009 Author Share Posted August 31, 2009 Great. Thanks! Link to comment Share on other sites More sharing options...
anonyroot Posted September 16, 2009 Share Posted September 16, 2009 If you want to do this by USB-Stick, I would perform like this:1. create folder "updates" on the stick, copy all updates into folder2. create a batch file "setup.cmd" like this into that folder:start/wait KBxxxxxx1.exe /parameter (e.g. /quiet /noreboot)start/wait KBxxxxxx2.exe /parameterstart/wait KBxxxxxx3.exe /parameter..................................................shutdown.exe -r -f -t 15 -c "Rebooting in 15 seconds..."3. create an "Autorun.inf" in the root of the USB-Drive:[AutoRun]open=updates\setup.cmdicon=Plugin the USB-Stick to a PC and relax.to shorten the code for "setup.cmd"TITLE Windows Update Auto-Execute ToolCLS@echo offECHO.ECHO Running Windows Hotfix FilesECHO Please wait...FOR %%f IN (*.exe) DO "start/wait %%f" /quiet /norebootECHO.ECHO Update Tool Completed!ECHO.pauseshutdown.exe -r -f -t 15 -c "Rebooting in 15 seconds..."It should take care of the job without typing each one of those KBxxxxxxx.exe files by hand. Right now, Just in Critical Updates, WinXP has 50 or so Hotfixes. I also left from the "pause" from the original code to notify user when done. Remove line if needed to auto-restart.Good luck.{credit}Automating this process via a batch file --MSFN's Unattended Windows Pagehttp://unattended.msfn.org/unattended.xp/view/web/23/**Got inspired by this code to edit for this need. Link to comment Share on other sites More sharing options...
g-force Posted October 1, 2009 Share Posted October 1, 2009 I don`t write that list manually, sorry.I use tools like "Directory Listing", add the pre- and post-syntaxes there, too.Maybe a better way - you can edit different parameters to hotfixes.In most cases the CMD by "anonyroot" is easier to use and will work pretty well. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now