locked
updates RRS feed

  • Question

  • my pc wont update error 80070005
    Sunday, May 17, 2009 9:34 PM

Answers

  • Hello,

     

    Thank you for the post.

     

    The error code 80070005 usually means that you do not have enough permission to install updates.

     

    First please confirm you have logged on an account with administrative privileges.

     

    If the issue still occurs, lets’ try the following method to reset the 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

    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 and 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 is completed, you will be prompted with the message: "Finished, press any key to continue".

     

    Try to install the updates again.

     

    This issue can be also caused by third-party security programs such as firewalls and anti-virus software. You can disable or remove them to check the issue.

     

    If the issue persists, please let me know which updates cannot be installed. Please let me know their names and IDs.

     

    Hope it helps.

    Andy

     

     

    • Marked as answer by Andy Song Monday, May 25, 2009 3:59 AM
    Tuesday, May 19, 2009 9:26 AM

All replies

  • First off, make sure that you're running Windows Update while you're logged-on as an Adminstrator account (rather than as a standard user), as the lower-level accounts do not have permissions to run WU.

    If you are, and it still won't work, then try this:
    <Log on with the administrator credentials

    Open elevated command prompt window in case you are using Vista(i.e right click on the cmd and run the application as an administrator.

    Run the below commands:

    reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /f
    wmic /namespace:\\root\ccm\SoftwareUpdates\Wuahandler path CCM_UpdateSource delete---failed
    wmic /namespace:\\root\ccm\ScanAgent path CCM_ScanToolHistory delete--failed
    net stop wuauserv
    net start wuauserv

    Reboot the machine and then check for the updates,you should be able to install them successfully>

    (Thanks to Ranjini Venkatesh for the above instructions.)

    HTH,
    Chris


    [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.]
    Monday, May 18, 2009 3:36 AM
  • Hello,

     

    Thank you for the post.

     

    The error code 80070005 usually means that you do not have enough permission to install updates.

     

    First please confirm you have logged on an account with administrative privileges.

     

    If the issue still occurs, lets’ try the following method to reset the 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

    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 and 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 is completed, you will be prompted with the message: "Finished, press any key to continue".

     

    Try to install the updates again.

     

    This issue can be also caused by third-party security programs such as firewalls and anti-virus software. You can disable or remove them to check the issue.

     

    If the issue persists, please let me know which updates cannot be installed. Please let me know their names and IDs.

     

    Hope it helps.

    Andy

     

     

    • Marked as answer by Andy Song Monday, May 25, 2009 3:59 AM
    Tuesday, May 19, 2009 9:26 AM