Windows > Windows 7 Forums > Windows Update > Window update error "WindowsUpdate_80070005"
Ask a questionAsk a question
 

AnswerWindow update error "WindowsUpdate_80070005"

  • Tuesday, March 24, 2009 10:46 AMMasood Gill Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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
    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

  • Saturday, April 04, 2009 8:17 AMShedrich - Support Engineer Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    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

     

    2. Go to the Desktop and double click the downloaded file.

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

    Let us know how is goes.

All Replies

  • Saturday, April 04, 2009 8:17 AMShedrich - Support Engineer Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    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

     

    2. Go to the Desktop and double click the downloaded file.

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

    Let us know how is goes.

  • Wednesday, April 08, 2009 2:21 PMeonion Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I have been trying to fix this WindowsUpdate_80070005 error off and on for the past few months. This actually solved the problem for me. Thanks!
  • Tuesday, July 28, 2009 11:31 PMNeuro_Jim Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks Shedrich, you fixed the problem!  The original problem occurred after I had to restore the computer to a restore point.  I haven't been able to download updates for months.  I should say that before I tried this fix, I tried several others which may have contributed to either the problem or the ultimate solution.  The other fixes I tried, but did not entirely work, were stopping and starting the update services and clearing the DataStore and Download folders of the SoftwareDistribution folder of Windows.  This effectively cleared my update history which is too bad especially if the real problem was the permissions all along.  I also tried manually installing the System Update Readiness Tool.  None of these attepmts allowed me to install updates, they merely changed the error code until finally I ended up with 80070005.  Following Shedrich's advice fixed the problem.

    Thanks again.
    -Jim
  • Sunday, October 04, 2009 3:38 AMKazzaneedshelp Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I am Sorry but I have followed your suggestion, and it has just not worked. I have done the following with the last thing I have tried being your suggestion.
    Is there a combination of the above or the below which must be followed because Windows download had not worked since December?
    I am thinking about deleting Explorer and reinstalling it?  What do you think? 
    Individually I have:

    1.  I have checked that I am the Administrator.

    2.  I have tried turning off all my firewall and all Virus Protection elements and then tried Windows update to no avail.

    4. Your suggestion


    3. I have even tried (then when it did not work I put it  all back the way it was):
    http://www.vistaheads.com/forums/microsoft-public-windowsupdate/180872-error-code-80070005-windows-update-vista-premium.html


    I IMed HP Tech Support. . . Here is the solution, it's relatively
    simple and more importantly, it works!

    1. Disable Windows Update
    a. Click on start
    b. Click on all programs
    c. Click on accessories
    d. Click on Run
    e. Type services.msc and press ok
    f. Right click on "Windows Update"
    g. Click on stop (Windows Update is now disabled)
    2. Rename Software Distribution folder
    a. Navigate to: C:/Windows/
    b. Find the folder named: “SoftwareDistribution”
    c. Rename that folder to something like “SoftwareDistribution.old”
    d. Create a new folder called “SoftwareDistribution”
    3. Enable Windows Update
    a. Click on start
    b. Click on all programs
    c. Click on accessories
    d. Click on Run
    e. Type services.msc and press ok
    f. Right click on windows update
    g. Click on start
    If you are unable to find Software Distribution Folder, follow these
    steps before #2 above.
    1. From the explorer window press the Alt key to view the file menu.
    2. Click Tools
    3. Select Folder Options
    4. Select the View tab
    5. Select “Show hidden files and folders”
    6. Remove the selection from “Hide protected operating system files”
    7. Click OK

    Restart your PC and you should be good to go!
    --
    stossmann





  • Tuesday, October 20, 2009 11:48 AMozseabird Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thank-you Shedrich,

    I've been trying to download a Windows update (and fix ) for my HP w1907 monitor, which kept blanking out now and then for no reason,......'no signal', error messages, etc.      But the download failed every time.   

       I've been trying different solutions for this problem ( Error 80070005) over the last few days.........and yours worked !!!!

    I finally downloaded the 'fix'.

    Thank-you so much !!!!



    ozseabird
  • Wednesday, October 21, 2009 10:44 AMozseabird Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello,

     

       Just letting you know I still have a problem with my monitor 'blanking out'.    I will have to look at other options, computer/monitor hardware fault ? maybe.  

       But you did enable me to install the Windows download that kept failing, and rule it out as the cause of the  problem.  So that was certainly a help.


    thank-you,

    ozseabird


     
    5th November,2009

    Just an Update to the problem I was having with my Monitor, in case it helps someone else.

      Sometimes the simplest solution is the answer.

    The Computer repairman said the Monitor Resolution was set 'too high' and was causing the monitor to 'blank out', and computer to play-up, he sorted it out for me. 
    • Edited byozseabird Thursday, November 05, 2009 12:43 AM
    •  
  • Wednesday, October 21, 2009 9:51 PMMikeJi Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Shedrich,

    Your solution worked wonderfully. I had exactly the same problem when installing the driver updates for my HP LCD monitor, and tried various different approaches as suggested on the web, but only this one worked! This should be converted into a KB article, and sanctioned by MSFT so that others could find it more easily.

    Thanks,
    Mike