Windows Update error 80070005 - steps so far...

  • Thread starter Thread starter Charles G
  • Start date Start date
C

Charles G

Guest
I tried recently to update to Windows 10 from 7 and received the above error. Did a google search and came up with the attached CMD file - which I ran in Administrator mode. It seems to not have made my system better. Any suggestions?


And does the CMD file reset all the security settings back to what they should be?


Thank you in advance.


========== Begin paste of Reset.cmd

@echo off

setlocal

echo.
echo Determine whether we are on an 32 or 64 bit machine
echo.

if "%PROCESSOR_ARCHITECTURE%"=="x86" if "%PROCESSOR_ARCHITEW6432%"=="" goto x86

set ProgramFilesPath=%ProgramFiles(x86)%

goto startResetting

:x86

set ProgramFilesPath=%ProgramFiles%

:startResetting

echo.

if exist "%ProgramFilesPath%\Windows Resource Kits\Tools\subinacl.exe" goto filesExist

echo ***ERROR*** - Could not find file %ProgramFilesPath%\Windows Resource Kits\Tools\subinacl.exe. Double-check that SubInAcl is correctly installed and re-run this script.
goto END

:filesExist

pushd "%ProgramFilesPath%\Windows Resource Kits\Tools"

subinacl.exe /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f /grant=system=f > List1.ini
subinacl.exe /subkeyreg HKEY_CURRENT_USER /grant=administrators=f /grant=system=f > List2.ini
subinacl.exe /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f /grant=system=f > List3.ini
subinacl.exe /subdirectories %windir% /grant=administrators=f /grant=system=f > List4.ini
subinacl.exe /subkeyreg "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing" /grant="nt service\trustedinstaller"=f > List5.ini

echo FINISHED.
echo.
echo Press any key to exit . . .
pause

popd

:END

endlocal

========== End paste of Reset.cmd

Continue reading...
 
Back
Top