Windows > Windows 7 Forums > Windows Update > Vista x86 SP1 Home Premium fails when trying to install Vista SP2 Standalone - Error 0x800f0823 - Lots of helpful details
Ask a questionAsk a question
 

AnswerVista x86 SP1 Home Premium fails when trying to install Vista SP2 Standalone - Error 0x800f0823 - Lots of helpful details

  • Friday, July 03, 2009 8:03 PMRyan Kaskel Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Greetings,

    I am trying to install the SP2 update. For a long time I had trouble installing updates, a lot of them always kep failing for no obvious reason. However, I ran the Vista Update Readiness Tool and was able to install at least 23 updates that were stuck because of previously failing ones and the latest update Windows Update is saying I need is the Service Pack 2 (SP2). I downloaded the standalone version form my Vista Home Premium x86 version and tried to install and it appears like this:

    SP2 update failure

    It then fails and gives me the following screen:

    SP2 update error

    So the error code given is 0x800f0823 for the failure of the installation of SP2.

    The %SYSTEMDIR%/WindowsUpdate.log gives this as the error message:

    : Uninitializing Automatic Updates  ###########
    2009-07-03 15:42:39:467 1168 bc0 Service *********
    2009-07-03 15:42:39:467 1168 bc0 Service **  END  **  Service: Service exit [Exit code = 0x240001]
    2009-07-03 15:42:39:468 1168 bc0 Service *************


    Anyway, I looked up this error message and in a post it suggested I run the following command in the terminal:

    sfc /scannow 

    And it said that there were some corrupted files and I needed to reboot.

    Here is a link to the CBS log after the first sfc scan: http://www2.ryankaskel.com/misc/logs/CBS1.log

    I ran the scan again and here is the reuslt:

    C:\Users\ryan>sfc /scannow

    Beginning system scan.  This process will take some time.

    Beginning verification phase of system scan.
    Verification 100% complete.

    Windows Resource Protection did not find any integrity violations.

    I retry the standalone Vista SP2 installation and it fails with the same error message.

    Any help would be greatly appreciated.

    Cheers,
    Ryan Kaskel


    Before a question is answered, you can use this image to sign up for the answer when it arrives. The more clicks, the faster the question is answered.1 person got this answerI do too

Answers

All Replies

  • Sunday, July 05, 2009 4:39 PMRyan Kaskel Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Is there anything else I can provide to make better solve this problem?
    Ryan Kaskel RyanKaskel.com Internet Consulting http://www.ryankaskel.com/ http://consulting.ryankaskel.com/
  • Tuesday, July 07, 2009 2:51 PMSyed V - Microsoft SupportModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    Hi Ryan Kaskel,

    Thank you for visiting Microsoft Windows Vista Forums.

     

    Thank you for all the information. I appreciate it.

    Please try the following steps to install Service Pack 2 successfully.

    Step 1: Rename the SoftwareDistribution and Catroot2 folders. The purpose of renaming these folders is to avoid the old updates downloaded information. These folders will be automatically created when we visit the Windows Updates site.

              1.     Click Start, type services.msc and hit enter.

         2.     From the list of services, right click and stop the following services: Windows Update, Cryptographic Service, Background Intelligent Transfer Service.

         3.     Click Start, type %windir% and hit enter.

         4.     Rename the SoftwareDistribution folder as OLDSD.

         5.     Open System32 folder and rename the Catroot2 folder. If fails, then try to rename it in safe mode.

         6.     From the list of services, right click and start the following services: Windows Update, Cryptographic Service, Background Intelligent Transfer Service..

    Step 2: Put the computer in clean boot i.e. disable all the non Microsoft services. The purpose of disabling all the non Microsoft services is to avoid the interruption of these services during the installation of the service pack.
          1. Follow Step 1: Perform a clean boot in the article:
    http://support.microsoft.com/kb/929135

     

    Step 3: Open the SP 2 standalone package and install it.
                 Restart the computer once SP 2 is installed.

     

    Step 4: Enable all the non Microsoft services.

    1.      Click Start, type msconfig and hit enter.

    2.      Under General tab, select “Normal Startup” option and then click ok.

    3.      Restart the computer for the changes to take effect.

     

    NOTE: If the SP installation fails in the clean boot, then you may try to install the SP in safe mode.

     

    Let me know if this worked.

    All the best!

    Thanks and Regards:
    Syed V - Microsoft Support.

     

  • Saturday, July 11, 2009 1:44 PMBigpapaheal Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I have EXACTLY the same problem as described above, tried all the suggested actions including safe mode, getting the same result each time with same error code!

    Help!

    Regards, Steve
  • Monday, July 13, 2009 12:06 PMSyed V - Microsoft SupportModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi Steve,

    Try the following steps to install the update successfully.

    1. Run System File Checker to verify the Windows Vista files that are currently running on the computer.
     To do this, follow these steps:
    Open an elevated command prompt. To do this, click Start , click All Programs , click Accessories , right-click Command Prompt , and then click Run as administrator .
    If you are prompted for an administrator password or for a confirmation, type the password, or click Allow .
    At the prompt, type sfc /scannow and hit enter.

    2. Register the Windows Update .dll files and then try again to connect to the Windows Update Web site. To register the Windows Update .dll files, follow these steps: 


    The following outlines how to stop services pertaining to Windows Update, register related DLL files, and then restart the previously mentioned services. This troubleshooting generally applies to all Windows Update related issues.


    Stopping services pertaining to Windows Update

    1.     Click Start, click All Programs, click Accessories, right-click Command Prompt, and select Run as Administrator.

    2.     If you receive a notification from User Account Control simply click Continue.

    3.     At the command prompt, type the following, commands and then press ENTER after each command.

            net stop wuauserv
            net stop bits
            net stop cryptsvc

    4.     Please do not close the Command Prompt window.

    Registering DLL’s pertaining to Windows Update

    1.     Please copy and paste the following text into a new Notepad document, and save the file as WindowsUpdate.BAT

    2.     If saved correctly the icon will change from a Notepad file to BAT file which has two blue cogs as its icon.

                -or-

    3.     You can manually type each command at the command prompt:

    regsvr32 c:\windows\system32\vbscript.dll /s

    regsvr32 c:\windows\system32\mshtml.dll /s

    regsvr32 c:\windows\system32\msjava.dll /s

    regsvr32 c:\windows\system32\jscript.dll /s

    regsvr32 c:\windows\system32\msxml.dll /s

    regsvr32 c:\windows\system32\actxprxy.dll /s

    regsvr32 c:\windows\system32\shdocvw.dll /s

    regsvr32 wuapi.dll /s

    regsvr32 wuaueng1.dll /s

    regsvr32 wuaueng.dll /s

    regsvr32 wucltui.dll /s

    regsvr32 wups2.dll /s

    regsvr32 wups.dll /s

    regsvr32 wuweb.dll /s

    regsvr32 Softpub.dll /s

    regsvr32 Mssip32.dll /s

    regsvr32 Initpki.dll /s

    regsvr32 softpub.dll /s

    regsvr32 wintrust.dll /s

    regsvr32 initpki.dll /s

    regsvr32 dssenh.dll /s

    regsvr32 rsaenh.dll /s

    regsvr32 gpkcsp.dll /s

    regsvr32 sccbase.dll /s

    regsvr32 slbcsp.dll /s

    regsvr32 cryptdlg.dll /s

    regsvr32 Urlmon.dll /s

    regsvr32 Shdocvw.dll /s

    regsvr32 Msjava.dll /s

    regsvr32 Actxprxy.dll /s

    regsvr32 Oleaut32.dll /s

    regsvr32 Mshtml.dll /s

    regsvr32 msxml.dll /s

    regsvr32 msxml2.dll /s

    regsvr32 msxml3.dll /s

    regsvr32 Browseui.dll /s

    regsvr32 shell32.dll /s

    regsvr32 wuapi.dll /s

    regsvr32 wuaueng.dll /s

    regsvr32 wuaueng1.dll /s

    regsvr32 wucltui.dll /s

    regsvr32 wups.dll /s

    regsvr32 wuweb.dll /s

    regsvr32 jscript.dll /s

    regsvr32 atl.dll /s

    regsvr32 Mssip32.dll /s

     Restarting services pertaining to Windows Update

    1.     Click Start, click All Programs, click Accessories, right-click Command Prompt, and select Run as Administrator.

    2.     If you receive a notification from User Account Control simply click Continue.

    3.     At the command prompt, type the following, commands and then press ENTER after each command.

            net start wuauserv
            net start bits
            net start cryptsvc 
            exit



    Let me know if this worked.

    All the best!

    Thanks and Regards:
    Syed V - Microsoft Support.

  • Thursday, July 16, 2009 6:48 PMRyan Kaskel Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Microsoft support generally has the best options but if you don't have any CDs I am writing a brute force guide to installing Vista updates: http://www.ryankaskel.com/2009/07/16/solving-vista-update-issues-by-brute-force

    Ryan Kaskel RyanKaskel.com Internet Consulting http://www.ryankaskel.com/ http://consulting.ryankaskel.com/
  • Sunday, July 26, 2009 9:01 PMBigpapaheal Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I've got SP2 on OK now, I had to perform an 'In-place Upgrade', basically it repairs any corrupted windows files- but you will need your Vista installation disc with SP1 to do it. SP2 then went on smoothly. All fine now.

    Steve.