Update Error 0x80070005 on Windows 7/10: Access Denied

No OS can be free of problems. Users invariably face problems with whatever OS they put their faith in. One such problem in Windows 7 and 10 is the “Access Denied” Error 0x80070005.

errorr

If you’ve faced this problem recently, here is what you can do to solve it. Please make sure you follow the steps one by one, and in sequence so it is easier and quicker to solve the issue.

How to solve error 0x80070005 of Windows 7/10:

  1. Download SubInACL from this link to the Microsoft Download Center.
  2. Install it by following the instructions given on the page.
  3. Open Notepad on your PC. Copy and paste this text given below into it, save it with an extension .cmd (like “solution.cmd”) and “All Files (*.*)” type and close the notepad.

Set OSBIT=32

IF exist “%ProgramFiles(x86)%” set OSBIT=64

set RUNNINGDIR=%ProgramFiles%

IF %OSBIT% == 64 set RUNNINGDIR=%ProgramFiles(x86)%

subinacl /subkeyreg “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing” /grant=”nt service\trustedinstaller”=f

  1. Right click the saved file. Select Run as Administrator.

The problem shouldn’t occur again.

Can the Access Denied error be prevented?

There are no ways I know by which Access Denied issues can be prevented. This particular code i shared with you above comes from Microsoft’s Community forum, and has proven useful for a lot of people who have tried it out. If it works for you, let me know.

If it doesn’t, and you’d like to have more help in troubleshooting, consult the forum and share any more solutions you find with me so they may help anyone else going through the issue. If there are any more issues you’d like me to cover, drop me a line in the comments. Till then, see ya!

Advertisements