Window update error "WindowsUpdate_80070005"

Anonymous
2009-03-24T10:46:48+00:00

i kept on trying to update my window vista home basic since December 2008 but facing the problem of error, i am tired with this error please help me out to get rid of it

Windows for home | Previous Windows versions | Install and upgrade

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2009-04-04T08:17:14+00:00

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. 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

  1. Go to the Desktop and double click the downloaded file.
  2. 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.

  1. Click Start, in the Start Search bar, type: "notepad" (without quotes) and press Enter.
  2. 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

  1. 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.
  2. Refer to the Desktop and right click the reset.bat file, and then choose "Run as administrator."
  3. 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.

Let us know how is goes.

Was this answer helpful?

80+ people found this answer helpful.
0 comments No comments

184 additional answers

Sort by: Most helpful
  1. Anonymous
    2011-04-08T13:51:35+00:00

    I have vista home basic 32bit and I had to make some changes to the instructions above to get this to run on my computer so I hope this helps someone.  They key is after you install the subinacl.msi you need to look for subinacl.exe as that is the program that needs to be in your batch file directory.  The other key to my success is I changed the current directory in my batch file to make sure I was running the subinacl.exe command in the directory it was located in.. Otherwise I would get the errors above.

    1. search hard drive for subinacl.exe  When you find it copy it to a directory where you place your batch file.
    2. in the batch file issue the CD\directory where batch file located

    example:   If I put the batch file AND the subinacl.exe in the c:\users\USERNAME directory my batch file would look like this:

    @echo off

    cd\users\USERNAME\

    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

    -- as a side note this script ran for a while and had zero errors BUT I still cannot run windows update.  My pc was very infected so I may have an isolated reason for update not working.  Instructions above should still be helpful for others.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2011-03-22T13:19:46+00:00

    Please help!

    I've tried Shedrich's tip and I really thought it was going to work but it didn't...

    I havent had any updates since 17th October 2010! My PC seriously needs updating!

    Great thanks in advance!

    Ben

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2011-03-10T00:23:02+00:00

    I too am having this issue. I was able to run the batch file with the updated location info, (Thanks fotofrank!). The batch job runs sucessfully from what I can see, only 2 failed items; but I am still unable to install SP1 for Win7. 

    Any thoughts?

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2011-03-09T02:52:30+00:00

    I tried your method severel times and I still  get the same error code 80070005.

    What am i doing wrong?

    Was this answer helpful?

    0 comments No comments