SubInAcl Tool
SubInACL is a command-line tool from the Windows Resource Kit that can be used to update files, 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.
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. 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.