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