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
    2015-12-11T16:25:34+00:00

    The batch file created reports that every cut-paste command from the recommended notepad entries in win32 is an unknown command.  Any suggestions.  TFW

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2015-12-10T20:32:36+00:00

    I was having the same issue in Windows 7.  When I installed subinacl, it placed it in C:\Program Files (x86)\Windows Resource Kits\Tools

    I modified the file to look like this:

    @echo off

    setlocal

    echo.

    echo Determine whether we are on an 32 or 64 bit machine

    echo.

    if "%PROCESSOR_ARCHITECTURE%"=="x86" if "%PROCESSOR_ARCHITEW6432%"=="" goto x86

    set ProgramFilesPath=%ProgramFiles(x86)%

    goto startResetting

    :x86

    set ProgramFilesPath=%ProgramFiles%

    :startResetting

    echo.

    if exist "%ProgramFilesPath%\Windows Resource Kits\Tools\subinacl.exe" goto filesExist

    echo ***ERROR*** - Could not find file %ProgramFilesPath%\Windows Resource Kits\Tools\subinacl.exe. Double-check that SubInAcl is correctly installed and re-run this script.

    goto END

    :filesExist

    pushd "%ProgramFilesPath%\Windows Resource Kits\Tools"

    subinacl.exe /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f

    subinacl.exe /subkeyreg HKEY_CURRENT_USER /grant=administrators=f

    subinacl.exe /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f

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

    subinacl.exe /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f

    subinacl.exe /subkeyreg HKEY_CURRENT_USER /grant=system=f

    subinacl.exe /subkeyreg HKEY_CLASSES_ROOT /grant=system=f

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

    echo FINISHED.

    echo.

    echo Press any key to exit . . .

    pause >NUL

    popd

    :END

    endlocal

    This at least got me past the subinacl is not recognized, it is a conglomeration of about 3 people's comments in other articles.  worked for me

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2015-10-05T10:17:49+00:00

    Access Denied, Failed and Errors running this script.

    Please help to fix this permission issue. Updated from Windows 7 to Windows 10

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2015-09-30T02:36:21+00:00

    There is something missing from the batch file.  It needs either a path statement pointing to the tools subfolder, or a change directory command to the folder.

    Was this answer helpful?

    0 comments No comments