WinXP SP2 Repaired, Windows Update Sees updates, fails to install

Discussion in 'Windows Update' started by tourque3000, Jun 21, 2007.

  1. tourque3000

    tourque3000 Guest

    Just some background: I have run a repair of Windows XP SP2 and it
    seems to be working fine, however when I try to install windows
    updates from the site, they do download but do not install.

    I am able to manually install the updates, however there are about 78
    of them and this could be quite troublesome.

    The machine is going to be Ghosted, so I do no want to have to
    manually install on all the computers I ghost as well.

    Any suggestions would be helpful

    -Jared
     
    tourque3000, Jun 21, 2007
    #1
    1. Advertisements

  2. tourque3000

    tourque3000 Guest

    An update to the information above: I have tried deleting the
    softwaredistribution folder in windows, forcing windows update to
    redownload all of the updates. Although it redownloaded the updates, I
    was receiving the same problem. I tried checking the history on
    windowsupdate.com, but it just tells me that I have not tried to
    download or install any updates from there.

    Again, any help would be appreciated
     
    tourque3000, Jun 21, 2007
    #2
    1. Advertisements

  3. What is the nature of the install failure? Error numbers? Have you looked
    in the WindowsUpdate.log file for what went wrong?

    It is possible that if you have done a Repair of XP SP2, you might need to
    zap the C:\WINDOWS\SoftwareDistribution folder, reboot, and allow it to
    rebuild afresh.
     
    Robin Walker [MVP], Jun 21, 2007
    #3
  4. Since the updating history shown on the Microsoft/Windows Update sites
    is irrelevant due to the Repair Install, then suggest you do this ...
    Show hidden files, folders, and system files:
    http://www.bleepingcomputer.com/tutorials/tutorial62.html#winxp

    Go to Start > Run > type in

    net stop wuauserv
    Click OK or press Enter
    Using Windows Explorer, navigate to the WINDOWS\SoftwareDistribution
    folder and delete all of the contents including the subfolders, or just
    rename the folder to SoftwareDistribution.old
    Back to Start > Run > type in

    net start wuauserv

    Click OK or press Enter
    Install the latest Windows Update Agent :
    (*For 32 bits XP*)
    http://download.windowsupdate.com/v7/windowsupdate/redist/standalone/WindowsUpdateAgent30-x86.exe
    SAVE the update, do NOT run it
    When the download completes, close the browser and any other open programs
    Now install WindowsUpdateAgent30-x86.exe

    Revisit the Windows Update site and the SoftwareDistribution folder will
    be recreated/repopulated, depending on whether you've deleted the
    contents or renamed the folder.
    You can now delete the SoftwareDistribution.old folder if you renamed it.

    MowGreen [MVP 2003-2007]
    ===============
    *-343-* FDNY
    Never Forgotten
    ===============
     
    MowGreen [MVP], Jun 21, 2007
    #4
  5. tourque3000

    tourque3000 Guest

    What is the nature of the install failure? Error numbers? Have you looked

    I do not receive any error messages that makes sense. When I check
    windows update, it shows a list of high priorit updates (74 of them).
    I tried just clicking on one or mutliple, but i get the same result of
    them not installing. the process is thus:

    I click on install updates (it shows that they have already been
    downloaded and just need to be installed)

    The update process runs, and every one fails

    it gives me a screen saying that "the following updates were not
    installed"

    The next screen gives a summary. If i click on "review your update
    history", it says i have not installed any. I do not receive any error
    numbers that I can report. Like I said i can do manual installs by
    going to the windows/SoftwareDistribution/download folder.

    Also, I have gotten rid of the SoftwareDistribution folder, but after
    reboot and retry, the same thing occurs

    Here is a line from my ReportingEvents.log

    FATAL: Error: 0x80004002. wuauclt handler: failed to spawn COM server
    Handler FATAL: 0x80004002: ERROR: Remote update handler container
    process created (PID: 1780), but exited before signaling event
    Agent * WARNING: Exit code = 0x80004002


    I will try re-registering my windows update DLL's, to see if that
    fixes the problem
     
    tourque3000, Jun 21, 2007
    #5
  6. tourque3000

    tourque3000 Guest

    Install the latest Windows Update Agent :
    I already have this service installed, but i tried it anyway, thanks.

    BTW i re-registered the Windows update DLL's
    http://forums.techarena.in/showthread.php?t=626681

    However, that did not help out. the problem must lie within the Fatal
    Error.
     
    tourque3000, Jun 21, 2007
    #6
  7. tourque3000

    tourque3000 Guest

    FYI I have the problem fixed, I will post the solution momentarily....
     
    tourque3000, Jun 21, 2007
    #7
  8. tourque3000

    tourque3000 Guest

    FYI I have the problem fixed, I will post the solution momentarily....

    Okay. So this is the process that I went through to get it working:

    1. stopped the windows update service ( Start > run > net stop
    wuauserv )

    2. renamed the directory windows/SoftwareDistributionto windows/
    SoftwareDistribution.old

    3. uninstalled the windows installer 3.1 (KB893803)

    4. created a batch file that went through and registered the
    associated DLL's, Here is the structure of that batch file

    net stop wuauserv

    regsvr32 wuweb.dll
    regsvr32 wups2.dll
    regsvr32 wups.dll
    regsvr32 wucltui.dll
    regsvr32 wuaueng1.dll
    regsvr32 wuaueng.dll
    regsvr32 wuapi.dll
    regsvr32 wups.dll
    regsvr32 wuaueng.dll
    regsvr32 wucltui.dll
    regsvr32 wuweb.dll
    regsvr32 msxml.dll
    regsvr32 msxml2.dll
    regsvr32 msxml3.dll
    regsvr32 urlmon.dll
    regsvr32 softpub.dll
    regsvr32 initpki.dll
    regsvr32 mssip32.dll
    regsvr32 wintrust.dll
    regsvr32 dssenh.dll
    regsvr32 rsaenh.dll
    regsvr32 gpkcsp.dll
    regsvr32 sccbase.dll
    regsvr32 slbcsp.dll
    regsvr32 cryptdlg.dll
    regsvr32 jscript.dll

    net start wuauserv

    5. restarted the computer

    6. Opened a browser and went to windows update

    7. Downloaded the Windows installer 3.1 --> success!

    8. Restarted

    9. Downloaded the rest of the updates

    If you have any comments or want any clarification on steps, dont
    hesitate to post!

    -Jared
     
    tourque3000, Jun 21, 2007
    #8
  9. tourque3000

    Keith Guest

    I'd be especially grateful for any help anyone can provide, because I'm into
    this process for a solid two weeks now and really need to get on with life.

    This looks like EXACTLY my problem and EXACTLY the fix I need to run,
    EXCEPT, it won't let me at the DataStore directory, claiming another process
    is using the files (datastore.edb and, in the logs directory, edb and
    tmp.edb). Just can't delete or rename them through either Windows or DOS

    My guess is that I need to stop another process first, but I don't know
    which one.
     
    Keith, Jun 22, 2007
    #9
  10. You need to stop the Automatic Updates service via the Services console
    Start > Run > type in
    services.msc
    Click OK or press Enter
    Or, just go to Start > Run > type in
    net stop wuauserv
    Click OK or press Enter

    To restart the service, Start > Run > type in

    net start wuauserv
    Click OK or press Enter

    MowGreen [MVP 2003-2007]
    ===============
    *-343-* FDNY
    Never Forgotten
    ===============
     
    MowGreen [MVP], Jun 22, 2007
    #10
  11. tourque3000

    Keith Guest

    Actually, I did stop Automatic Update and it still wouldn't let me at them.
    Also rebooted, but that didn't let me at them either.

     
    Keith, Jun 22, 2007
    #11
  12. The Automatic Update service or Automatic Updates in the Control Panel
    are two different beasts. If stopping the AU service did not allow
    access, then perhaps stopping the Background Intelligent Transfer
    Service [BITS] must also be done. Since it's set to Manual here, haven't
    seen this issue that your system is experiencing.

    Also, open Task Manager and if wuauclt.exe is a running Process, click
    once on it to highlight it, then click the End Process button.

    If even that doesn't allow access to the folder, then boot to Safe Mode
    as neither service will be Started in SM.

    MowGreen [MVP 2003-2007]
    ===============
    *-343-* FDNY
    Never Forgotten
    ===============
     
    MowGreen [MVP], Jun 23, 2007
    #12
  13. tourque3000

    D. Pavot Guest

    I had the same problem : the destruction of destruction of the
    SoftwareDistribution directory did not solve it. But the execution of your
    registration batch did it alone. Very good shot !!!
     
    D. Pavot, Jan 2, 2008
    #13
  14. WinXP SP2 Repaired, Windows Update Sees updates, fails to install

    Open a Command Prompt, at the prompt type in the following, pressing
    Enter after each command

    net stop wuauserv
    regsvr32 wups2.dll
    net start wuauserv
    exit

    No need to register *ALL* those files:
    http://support.microsoft.com/kb/943144


    MowGreen [MVP 2003-2008]
    ===============
    *-343-* FDNY
    Never Forgotten
    ===============
     
    MowGreen [MVP], Jan 3, 2008
    #14
  15. tourque3000

    Rick Guest

    The dll "did the trick", D. Pavot. Thanks, as I have no idea how to create a
    batch file, but can follow directions on entering commands a the "C:" prompt.
    Rick
    Texas

     
    Rick, Feb 8, 2008
    #15
  16. tourque3000

    EZ$ Guest

    Step 1: Re-register Update components

    ======================================================

    1. Click “Startâ€, click “Runâ€.

    2. Type “cmd†and press Enter

    3. In the opened cmd window, please type the following commands one per line
    to register the update engine



    regsvr32 wuapi.dll

    regsvr32 wups.dll

    regsvr32 wuaueng.dll

    regsvr32 wuaueng1.dll

    regsvr32 wups2.dll

    regsvr32 wucltui.dll

    regsvr32 wuweb.dll


    Please check if you receive any error when trying to re-register these
    components. If yes, please do not hesitate to let me know and go ahead to
    reinstall the update engine. (OF COURSE YOU CAN'T DO THAT)


    Step 2: Reinstall Windows Update Agent 3.0

    ======================================

    1. Please download the file from the following link:

    http://download.windowsupdate.com/v7/windowsupdate/redist/standalone/WindowsUpdateAgent30-x86.exe



    2. Save the file to C: drive.

    3. Click “Startâ€-> “Runâ€, type: “C:\WindowsUpdateAgent30-x86.exe /wuforceâ€
    and then press Enter to install the Windows Update engine.



    There is a space between "C:\WindowsUpdateAgent30-x86.exe" and "/wuforce"



    After that, please access the update site to check the result. If the
    updates still cannot be installed, please let me know whether any error was
    encountered when reinstall the update agent 3.0. In addition, please also
    send me the latest "WindowsUpdate.log" file as it records the detailed
    updating process.


    It worked great for me.
     
    EZ$, Mar 26, 2008
    #16
  17. The instructions you would be given would be specific to your symptom description.
    So, for example, if it was known that your wuauserv was not working
    you would not be given any instructions to stop it before doing the same
    type of repair actions. If the service is running when you try some repair
    actions they will fail. That is why that first step to stop it is given.


    FYI

    Robert Aldwinckle
    ---
     
    Robert Aldwinckle, Mar 26, 2008
    #17
  18. tourque3000

    slugbug Guest

    I have a similar problem in that Microsoft Windows Installer 3.1 (K8893803)
    and Windows Genuine Advantage Validation Tool (KB892130) will not install.
    This came about after running the Repair routine for Windows XP .

    I'm interested in trying the steps you outlined, but have a couple of issues
    that I could use some input on ......

    1. In checking the "install history" on the computer, I find that no
    updates have been installed. Therefore I have no Windows Installer 3.1 to
    uninstall. I assume that is ok.

    2. I am not familiar with the creating a batch file. Are there some simple
    instructions that can be provided as to how one does this?

    3. Assuming I get to where I can create a batch file, will the regserv32
    line items be exactly the same ones that you included in your batch file? Or
    will they be unique to my computer? If they are unique to my computer, how
    do I determine which ones to include in the batch file.

    You can undoubtedly tell that you are hearing from a "novice" who is getting
    into some territory that is new (and scary).

    Any assistance you can provide will be greatly appreciated.

    Also, if there is any way we could talk by phone to work through this, that
    would be of interest to me.

    Thanks for your assistance

    - Slugbug
     
    slugbug, Apr 24, 2008
    #18
  19. tourque3000

    Seb Guest

    After doing a repair on XP I had the same Update failure prob as mentioned
    above. Jared's batch alone (other steps not needed) did the trick.
    Thanks very much Jared.
    Cheers.
     
    Seb, Apr 25, 2008
    #19
  20. tourque3000

    Ed B Guest

    I did a google search after Windows Update failed and ended up here. The
    three lines below got me going again. Windows Update has been stuck for the
    last two months until I found this.

    THANKS!

     
    Ed B, Jun 29, 2008
    #20
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.