New
#1
Windows Update Fails with 0x80070005 after upgrading Win7 to Win10?
I have an older machine that I had kept on Windows 7 and I have just done an upgrade to Windows 10 1909 using the media creation tool. It seems to work perfectly fine, but Windows Update cannot run and always throws Error Code 0x80070005. I've read up on this and some suggestions are to use subinacl.exe to fix registry permissions on the trusted installer or other registry entries.
I've tried to do that, but I'm running into a RegSetKeySecurity System Error 5 Access is Denied when trying to execute the following:
Set OSBIT=32IF exist "%ProgramFiles(x86)%" set OSBIT=64 set RUNNINGDIR=%ProgramFiles% IF %OSBIT% == 64 set RUNNINGDIR=%ProgramFiles(x86)% subinacl.exe /subkeyreg "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing" /grant="nt service\trustedinstaller"=f
I've also tried sfc scannow and DISM repair with no success. Also have cleared out the Software Distribution folder and checked all the windows update services to make sure they are running/starting and that has had no effect either.
Any suggestion on how get the above script to work, or other ideas to get the updates working, would be much appreciated.