locked
i cant update because i get error code 80070005 RRS feed

  • Question

  • i tried to update 9 optional updates and it stopped because i got error code 80070005! please help me fix this. also ever since i installed windows 7 professional (64bit) it has been freezing. is there any ways to fix both of my problems? thanks

    Windows 7 professional (64bit)
    AMD Phenom(tm)9150e Quad-core Processor 1.80 GHz
    5.00 GB RAM
    64-bit Operation System



    Saturday, January 16, 2010 7:44 AM

Answers

  • Got several things for you to try

    Open the windows update history and tell us which updates failes.

    Change the Windows update settings from Control Panel to "Check for updates but let me choose whether to install them". Then install them manually one by one to check if they can be installed successfully.

    However, if the same error code was received, I suggest trying the following steps to reset permissions first as the error code 80070005 usually means lacking permissions.

    1. Please download the subinacl.msi file from the following link and save the installation patch onto the Desktop:

    http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en#AffinityDownloads

    Please Note: The third-party product discussed here is manufactured by a company that is independent of Microsoft. We make no warranty, implied or otherwise, regarding this product's performance or reliability.

    2. Please go to the Desktop and double click the downloaded file.

    3. Please select the C:\Windows\System32 folder as the Destination Folder during the installation. Later we will use this tool to reset the permission settings on the current machine.
     
    Note: If the UAC (User Account Control) window is prompted for permission to continue, please click Continue.

    4. Click Start, in the Start Search bar, type: "notepad" (without quotes) and press Enter.

    5. Copy the following commands and then paste them into the open Notepad window:

    @echo off

    subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f

    subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f

    subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f

    subinacl /subdirectories %SystemDrive% /grant=administrators=f

    subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f

    subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f

    subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f

    subinacl /subdirectories %SystemDrive% /grant=system=f

    @Echo =========================

    @Echo Finished.

    @Echo =========================

    @pause

    6. After pasting the above commands, please close the Notepad window. Choose Save when you are prompted to save the file. Type "reset.bat" as the file name and choose Desktop from the left panel as the save location.

    7. Refer to the Desktop, right click the reset.bat file, and then choose "Run as administrator."

    8. You will see a DOS-like window processing.

    Note: It may take several minutes, please be patient. When it completes, you will be prompted with the message: "Finished, press any key to continue".

    Does the error 80070005 still occur?

    Next suggestion:
    1. Stop update service: in run type services.msc, go to windows update and right click select stop.

    2. Rename your softwaredistribution folder:Go to C:\Windows and find the folder named SoftwareDistribution and rename it to something else.
    NB: to do this you will have to first make it visable (folder options>show hidden files), you may also have to alter permissions on the folder (right click>properties>security and make sure your user account has the permission to alter the file), also uncheck the read only box, then apply

    3. now create a new folder called SoftwareDistribution in c:\Windows

    4. Restart windows update: in run type services.msc, right click on windows update and select start

    5. Now restart your computer, and try to use windows update

    and

    To help us dig the issue, please use the following method to collect Windows update log for further research:

    How to collect Windows Update log:
    ===========================
    Click "Start", type: "%windir%" (without quotations) and then press "Enter". In the open window, we will see a file named "WindowsUpdate.log". You can paste it here.If the log file is too long, please upload the sfcdetails.txt to the public folder at www.SkyDrive.com  and provide us the link for analyzing


    MCSE, MCSA, MCDST [If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.]
    • Proposed as answer by Vivian Xing Monday, January 18, 2010 7:21 AM
    • Marked as answer by Mr_fuzz101 Thursday, January 21, 2010 2:23 AM
    Saturday, January 16, 2010 9:40 AM

All replies

  • Got several things for you to try

    Open the windows update history and tell us which updates failes.

    Change the Windows update settings from Control Panel to "Check for updates but let me choose whether to install them". Then install them manually one by one to check if they can be installed successfully.

    However, if the same error code was received, I suggest trying the following steps to reset permissions first as the error code 80070005 usually means lacking permissions.

    1. Please download the subinacl.msi file from the following link and save the installation patch onto the Desktop:

    http://www.microsoft.com/downloads/details.aspx?FamilyID=e8ba3e56-d8fe-4a91-93cf-ed6985e3927b&displaylang=en#AffinityDownloads

    Please Note: The third-party product discussed here is manufactured by a company that is independent of Microsoft. We make no warranty, implied or otherwise, regarding this product's performance or reliability.

    2. Please go to the Desktop and double click the downloaded file.

    3. Please select the C:\Windows\System32 folder as the Destination Folder during the installation. Later we will use this tool to reset the permission settings on the current machine.
     
    Note: If the UAC (User Account Control) window is prompted for permission to continue, please click Continue.

    4. Click Start, in the Start Search bar, type: "notepad" (without quotes) and press Enter.

    5. Copy the following commands and then paste them into the open Notepad window:

    @echo off

    subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f

    subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f

    subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f

    subinacl /subdirectories %SystemDrive% /grant=administrators=f

    subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f

    subinacl /subkeyreg HKEY_CURRENT_USER /grant=system=f

    subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=system=f

    subinacl /subdirectories %SystemDrive% /grant=system=f

    @Echo =========================

    @Echo Finished.

    @Echo =========================

    @pause

    6. After pasting the above commands, please close the Notepad window. Choose Save when you are prompted to save the file. Type "reset.bat" as the file name and choose Desktop from the left panel as the save location.

    7. Refer to the Desktop, right click the reset.bat file, and then choose "Run as administrator."

    8. You will see a DOS-like window processing.

    Note: It may take several minutes, please be patient. When it completes, you will be prompted with the message: "Finished, press any key to continue".

    Does the error 80070005 still occur?

    Next suggestion:
    1. Stop update service: in run type services.msc, go to windows update and right click select stop.

    2. Rename your softwaredistribution folder:Go to C:\Windows and find the folder named SoftwareDistribution and rename it to something else.
    NB: to do this you will have to first make it visable (folder options>show hidden files), you may also have to alter permissions on the folder (right click>properties>security and make sure your user account has the permission to alter the file), also uncheck the read only box, then apply

    3. now create a new folder called SoftwareDistribution in c:\Windows

    4. Restart windows update: in run type services.msc, right click on windows update and select start

    5. Now restart your computer, and try to use windows update

    and

    To help us dig the issue, please use the following method to collect Windows update log for further research:

    How to collect Windows Update log:
    ===========================
    Click "Start", type: "%windir%" (without quotations) and then press "Enter". In the open window, we will see a file named "WindowsUpdate.log". You can paste it here.If the log file is too long, please upload the sfcdetails.txt to the public folder at www.SkyDrive.com  and provide us the link for analyzing


    MCSE, MCSA, MCDST [If this post helps to resolve your issue, please click the "Mark as Answer" or "Helpful" button at the top of this message. By marking a post as Answered, or Helpful you help others find the answer faster.]
    • Proposed as answer by Vivian Xing Monday, January 18, 2010 7:21 AM
    • Marked as answer by Mr_fuzz101 Thursday, January 21, 2010 2:23 AM
    Saturday, January 16, 2010 9:40 AM
  • As for the computer freezing issue, I suggest that splitting it into different threads to better understand the problem & reply for all community members, which will also make the whole thread clearer, concise and fast the reply for your reference

    For this thread, we will focus on the Windows Update issue. Please perform cdobbs's suggestions first. If there is any update, please let up know.


    Vivian Xing - MSFT
    Monday, January 18, 2010 7:24 AM
  • I have the error code "80070005" when trying to use windows update. I have tried all the previous solutions, I have downloaded the "subinacl.msi" file and tried that also. Everything that has been reported as a solution here has not worked and I still get the same error.

    This is a Windows 7 Ultimate 32bit version

    This is from the Windows Update Log, this section is repeated over several time so I just copied it:

    2010-02-11    21:46:52:630    3148    fa0    WUApp    WARNING: Couldn't handle 'Check for Updates' click -- service not running
    2010-02-11    21:52:47:727    1368    258    AU    WARNING: GetUpdateMetadata2 failed, error = 0x80070005
    2010-02-11    21:52:47:727    3148    860    WUApp    FATAL: Failed to call GetUpdateData for updates, hr=80070005, lcid=00000409
    2010-02-11    21:52:47:727    3148    860    WUApp    WARNING: Failed to load the update list, error 80070005
    2010-02-11    21:52:47:727    3148    860    WUApp    WARNING: Failed to populate update list with error 80070005
    2010-02-11    21:52:47:739    1368    258    Agent    WARNING: WU client fails CClientCallRecorder::EnumerateService with error 0x80070005


    Any help would be much appreciated..........
    Friday, February 12, 2010 6:15 AM