Jump to content

Recommended Posts

Posted

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.


Posted

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 folder

2. create a batch file "setup.cmd" like this into that folder:

start/wait KBxxxxxx1.exe /parameter (e.g. /quiet /noreboot)
start/wait KBxxxxxx2.exe /parameter
start/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.cmd
icon=

Plugin the USB-Stick to a PC and relax.

  • 3 weeks later...
Posted
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 folder

2. create a batch file "setup.cmd" like this into that folder:

start/wait KBxxxxxx1.exe /parameter (e.g. /quiet /noreboot)
start/wait KBxxxxxx2.exe /parameter
start/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.cmd
icon=

Plugin the USB-Stick to a PC and relax.

to shorten the code for "setup.cmd"

TITLE Windows Update Auto-Execute Tool
CLS
@echo off
ECHO.
ECHO Running Windows Hotfix Files
ECHO Please wait...
FOR %%f IN (*.exe) DO "start/wait %%f" /quiet /noreboot
ECHO.
ECHO Update Tool Completed!
ECHO.
pause
shutdown.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 Page

http://unattended.msfn.org/unattended.xp/view/web/23/

**Got inspired by this code to edit for this need.

  • 2 weeks later...
Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...