Use SubInAcl Tool to fix Windows Update Error 0x80070005 Access is Denied

The SubInACL tool in Windows helps you in resolving setup or update errors. It does so by repairing file and registry permissions responsible for the errors caused during setup.

SubInAcl Tool

SubInAcl Tool

SubInACL is a command-line tool from the Windows Resource Kit that can be used to update file, folder and registry permissions, and can help fix some Access Denied errors that can be encountered while trying to install products, hotfixes and service packs on Windows. It enables administrators to obtain security information about files, registry keys, and services, and transfer this information from user to user, from local or global group to group, and from domain to domain. If you have it installed on your system, you will find its SubInAcl.exe file in the C:\Program Files\Windows Resource Kits\Tools folder. If you need to download it, you can do so here.

Windows Update Error 0x80070005 Access is Denied

If you are facing this Windows Update Error 0x80070005 Access is Denied error, then you can use the SubInAcl Tool to fix this error. To repair these type of errors, KB968003  recommends the following method. Copy-paste the following in a Notepad and save it as Reset.cmd.

@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

Now right-click this Reset.cmd file and select Run as administrator. Wait for the file to reset the file and registry permissions. Once the process is complete, restart your computer and try to install the update.

See this post, if you receive Something happened this app couldn’t be installed. Please try again. Error code: 0x80070005 while Updating Windows Store Apps.

Posted by on , in Category Windows with Tags

Anand Khanse is the Admin of TheWindowsClub.com, a 10-year Microsoft MVP Awardee in Windows (2006-16) & a Windows Insider MVP. Please read the entire post & the comments first, create a System Restore Point before making any changes to your system & be careful about any 3rd-party offers while installing freeware.