DetailPage-MSS-KB

Microsoft small business knowledge base

Article ID: 968003 - Last Review: May 15, 2014 - Revision: 11.0

On This Page

Resolution

Error code 0x80070005 is also known as "ACCESS DENIED." It usually occurs when you lack file or registry permissions that are required to install the update. (Because file or registry permissions may be changed by malware, we recommend that you scan for malware after you repair the permissions.)

To resolve the issue, make sure that you are logged on as an administrator, and then install the updates again. If the problem continues, use the SubInACL tool to repair file and registry permissions. To do this, follow these steps:
  1. Download the SubInACL tool (http://www.microsoft.com/en-us/download/details.aspx?id=23510) and install it in the %windir%\system32 folder. The %windir% placeholder represents the Windows operating system folder. For example, C:\Windows.
  2. Start Notepad, and then copy and paste the following commands:

    @echo off
    
    
    

    subinacl /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f

    subinacl /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f

    subinacl /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f

    subinacl /subdirectories %windir% /grant=administrators=f /grant=system=f

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

    @Echo Finished.

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

    @pause
  3. Save the file as Reset.cmd.
  4. Right-click the Reset.cmd file in File Explorer (in Windows 8.1 and Windows 8) or Windows Explorer (in Windows 7 and Windows Vista), and then click Run as administrator. In Windows XP, double-click the file in Windows Explorer.
  5. Wait until the execution finishes, and then try to install the update again.

Note If you receive errors when you run SubInAcl, see the following Microsoft blog:
Notes about a couple of possible issues while using the SubInAcl tool (http://blogs.msdn.com/b/astebner/archive/2008/06/17/8613982.aspx) .



More information

Log on as an administrator

Windows 8.1 and Windows 8

Collapse this imageExpand this image
To log on as an administrator, follow these steps.

Note The steps that you should follow will vary, depending on whether your computer is a member of a domain or is in a workgroup. To determine whether your computer is a member of a domain or is in a workgroup, see "To check if your computer is in a workgroup or domain" in What is the difference between a domain, a workgroup, and a homegroup? (http://windows.microsoft.com/en-us/windows7/what-is-the-difference-between-a-domain-a-workgroup-and-a-homegroup)
My computer is a member of a domain
Collapse this imageExpand this image
  1. Swipe in from the right edge of the screen, and then tap Search. Or, if you are using a mouse, point to the lower-right corner of the screen, and then click Search.
  2. Type User Accounts in the search box, and then tap or click User Accounts.

    Collapse this imageExpand this image
    A screenshot for this step

  3. Click Manage User Accounts.
    Collapse this imageExpand this image
    An administrator password or confirmation icon
    If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

    Collapse this imageExpand this image
    A screenshot for this step
  4. Your user name is highlighted, and your account type is shown in the Group column.
    Collapse this imageExpand this image
    A screenshot for this step
Collapse this imageExpand this image
My computer is in a workgroup
Collapse this imageExpand this image
  1. Swipe in from the right edge of the screen, and then tap Search. Or, if you are using a mouse, point to the lower-right corner of the screen, and then click Search.
  2. Type User Accounts in the search box, and then tap or click User Accounts.

    Collapse this imageExpand this image
    A screenshot for this step

  3. Click Manage User Accounts.
    Collapse this imageExpand this image
    An administrator password or confirmation icon
    If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

    Collapse this imageExpand this image
    A screenshot for this step

  4. Your account type is displayed under your user name.

    Collapse this imageExpand this image
    A screenshot for this step
Collapse this imageExpand this image
If your account type is Administrator, you are currently logged on as an administrator.
If your account type is not Administrator, you cannot log on as an administrator unless you know the user name and password for another account on the computer that is an administrator. If you are not an administrator, you can ask an administrator to change your account type.
Collapse this imageExpand this image

Windows 7 and Windows Vista

Collapse this imageExpand this image
To log on as an administrator, see how do I log on as an administrator? (http://windows.microsoft.com/en-US/windows7/How-do-I-log-on-as-an-administrator)
Collapse this imageExpand this image

Windows XP

Collapse this imageExpand this image
To log on as an administrator, follow these steps:
  1. Click Start, and then click Control Panel.

    Collapse this imageExpand this image
    A screenshot for this step

  2. Open User Accounts.

    Collapse this imageExpand this image
    A screenshot for this step

  3. All user accounts are listed on the User Accounts page, and each account has some status (such as Computer administrator, Limited account, and so on).

    Collapse this imageExpand this image
    A screenshot for this step

  4. Make sure that you are logged on to an account that has the Computer administrator status. If your account status is not Computer administrator, you cannot log on as an administrator unless you know the user name and password for another account on the computer that is an administrator. If you are not an administrator, you can ask an administrator to change your account type.
Collapse this imageExpand this image

Scan for malware

Windows 8.1 and Windows 8

Collapse this imageExpand this image
Run Windows Defender to scan for malware. If malware is preventing Defender from functioning correctly, download and run Microsoft Safety Scanner. To do this, follow these steps:
  1. Go to Microsoft Safety Scanner (http://www.microsoft.com/security/scanner/en-us/default.aspx) .
  2. Click Download Now.
  3. If you are prompted, click Run.
  4. Follow the instructions to download and install Safety Scanner. When you are prompted, add a shortcut to Safety Scanner to your desktop.
  5. From your desktop, double-click the Safety Scanner icon. When the program starts, click Scan Type, click Full Scan, and then click Next.
  6. After the scan is complete, remove all detected malware entries.
Collapse this imageExpand this image

Windows 7, Windows Vista, and Windows XP

Collapse this imageExpand this image
Open your antivirus software, and run a scan to detect and remove any malware. If you don't have antivirus software on your computer, you can use Microsoft Safety Scanner. To download and run Microsoft Safety Scanner, follow these steps:
  1. Go to Microsoft Safety Scanner (http://www.microsoft.com/security/scanner/en-us/default.aspx) .
  2. Click Download Now.
  3. If you are prompted, click Run.
  4. Follow the instructions to download and install Safety Scanner. When you are prompted, add a shortcut to Safety Scanner to your desktop.
  5. From your desktop, double-click the Safety Scanner icon. When Safety Scanner starts, click Scan Type, click Full Scan, and then click Next.
  6. After the scan is complete, remove all detected malware entries.
Collapse this imageExpand this image

Applies to
  • Windows 8.1
  • Windows 8.1 Enterprise
  • Windows 8.1 Pro
  • Windows 8
  • Windows 8 Enterprise
  • Windows 8 Pro
  • Windows 7 Enterprise
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Starter
  • Windows 7 Ultimate
  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Starter
  • Windows Vista Ultimate
  • Microsoft Windows Update
  • Microsoft Update
Keywords: 
kbrapidpub kbnomt KB968003
Share
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support