Link to home
Start Free TrialLog in
Avatar of Basem Khawaja
Basem KhawajaFlag for United States of America

asked on

Updates

I keep getting this message on my desktop.""windows 10 : something went wrong. Microsoft can not install important security updates on your PC . Please contact microsoft support for help with this error. Please provide support representative with this error code
 0X80070005  then on the bottom it says Hide or Try Again"".

No matter how many times I click on try again nothing happens . Hide it hides the message .

Please help me do the updates.
Avatar of John
John
Flag of Canada image

Try to repair this with DISM

DISM:
Open cmd.exe with Run as Administrator.
DISM.exe /Online /Cleanup-Image /Restorehealth

Now in the same command window, run SFC /SCANNOW.  Allow to complete. Now restart the computer and test.
There is a Microsoft Support KB article regarding this: https://support.microsoft.com/en-us/help/968003/error-0x80070005-in-windows-update-when-you-try-to-install-updates

To resolve the issue, make sure that you are logged on as an administrator, and then install the updates again. If the problem continues, use the SubInACL tool to repair file and registry permissions. To do this, follow these steps:
Download the SubInACL tool, and install it to the default path that is offered by the installer. The default path will be one of the following, depending on your version of Windows:
%ProgramFiles%\Windows Resource Kits\Tools (32-bit versions of Windows)
%ProgramFiles(x86)%\Windows Resource Kits\Tools (64-bit versions of Windows)
Start Notepad, and then copy and paste the following commands:

@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
subinacl.exe /subkeyreg HKEY_CURRENT_USER /grant=administrators=f  /grant=system=f
subinacl.exe /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f  /grant=system=f
subinacl.exe /subdirectories %windir% /grant=administrators=f /grant=system=f
 
echo FINISHED.
echo.
echo Press any key to exit . . .
pause >NUL
 
popd
 
:END
 
endlocal
Save the file as Reset.cmd.
Right-click the Reset.cmd file in File Explorer (in Windows 8.1 and Windows 8) or Windows Explorer (in Windows 7 and Windows Vista), and then click Run as administrator. In Windows XP, double-click the file in Windows Explorer.
Wait until the execution finishes, and then try to install the update again.
Avatar of Basem Khawaja

ASKER

let me try these solutions. Thanks
Avatar of nobus
if the above give no solution - do a repair install -  with the option to keep your files :
https://www.tenforums.com/tutorials/16397-repair-install-windows-10-place-upgrade.html
Avatar of Ramin
Ramin

it sounds like your system is infected.

Perform a full system Scan with a decent Antivirus.

if you found Virus or malware on your system and still have problem with that error then create a new user account as administrator, switch into it and retest.

if the problem still persists then follow below link:
https://answers.microsoft.com/en-us/windows/forum/all/windows-update-error-0x80070005-need-a-fix-click/e4cb8700-f215-4f1a-8bd4-6457ac619c19?auth=1
what is the current version of windows 10?
ASKER CERTIFIED SOLUTION
Avatar of John
John
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
John is very smart man
Thank you for your kind compliment.
U welcome