Windows will display the error code 0x80070005 when there’s a problem installing Windows updates. You might also encounter the error if Windows cannot activate or run certain Office applications, particularly after a Windows update. The error code basically tells you that Windows doesn’t have the required files or registry permissions to execute an operation.

We highlight seven potential troubleshooting solutions to the Windows error code 0x80070005.

Table of Contents
    How To Fix Windows Error Code 0x80070005 image 1

    1. Run the Windows Update Troubleshooter

    Do this if you’re getting the 0x80070005 error code when you’re trying to install a Windows update. The Windows Update troubleshooter can also fix other errors during an update.

    In Windows 11, go to Settings > System > Troubleshoot > Other troubleshooters and select the Run button next to Windows Update.

    How To Fix Windows Error Code 0x80070005 image 2

    If you have a Windows 10 computer, head to Settings > Update & Security > Troubleshoot > Additional troubleshooter > Windows Update and select Run the troubleshooter.

    How To Fix Windows Error Code 0x80070005 image 3

    Wait for the troubleshooter to diagnose potential problems causing the error code 0x80070005 and follow the on-screen recommendations.

    How To Fix Windows Error Code 0x80070005 image 4

    2. Scan for Malware and Viruses

    Malware and viruses often delete essential system files and registry keys needed to run certain programs and install Windows updates. Use third-party software to scan your PC for malware and viruses or turn on real-time protection in the Windows Security app.

    Go to Settings > Privacy & security > Windows Security > Open Windows Security > Virus & threat protection > Manage settings and toggle on Real-time protection.

    How To Fix Windows Error Code 0x80070005 image 5

    In Windows 10, head to Settings > Update & Security > Windows Security > Virus & threat protection > Manage settings and turn on Real-time protection.

    3. Run the System File Checker

    The System File Checker (SFC) is a command-line tool that checks for corrupt, damaged, and missing system files in Windows. If the tool finds any, it replaces them with a fresh copy.

    If you’re getting the 0x80070005 because a vital system file is missing or damaged, running the SFC is your best bet at fixing the problem. Connect your computer to the internet and follow the steps below.

    1. Type command prompt in the Windows Search bar and select Run as administrator.
    How To Fix Windows Error Code 0x80070005 image 6

    If your PC runs Windows 8 or newer, Microsoft recommends running the Deployment Image Servicing and Management (DISM) tool before running the System File Checker. Otherwise, jump to Step #3 if you have a Windows 7 PC.

    1. Type or paste DISM.exe /Online /Cleanup-image /Restorehealth in the terminal and press Enter.
    How To Fix Windows Error Code 0x80070005 image 7

    Run the System File Checker (see next step) when you get a success message that “The restore operation completed successfully.”

    1. Type or paste sfc /scannow in the terminal and press Enter.
    How To Fix Windows Error Code 0x80070005 image 8

    Wait for a success message, close the Command Prompt window, and rerun the app/operating system, throwing off the 0x80070005 error. You might have to restart your computer to finish pending repair operations.

    How To Fix Windows Error Code 0x80070005 image 9

    So, pay attention to the on-screen message when running the System File Checker.

    4. Update the Windows Registry

    Microsoft recommends updating the registry if the error code 0x80070005 pops up in an Office application after updating Windows. Deleting or damaging any item in the registry can cause other problems in Windows. So, ensure you back up the Windows Registry before performing the update.

    Close all Microsoft Office applications and follow these steps:

    1. Press the Windows key + R, type regedit in the Run box, and select OK.
    How To Fix Windows Error Code 0x80070005 image 10
    1. Expand the HKEY_USERS folder, right-click the S-1-5-20 folder, and select Permissions in the context menu.
    How To Fix Windows Error Code 0x80070005 image 11
    1. Select Add.
    How To Fix Windows Error Code 0x80070005 image 12
    1. Type your name of the current user in the dialog box, select Check Names, and select OK.
    How To Fix Windows Error Code 0x80070005 image 13
    1. Next, select Advanced. That’ll open the Advanced Security Settings menu for the registry folder.
    How To Fix Windows Error Code 0x80070005 image 14
    1. In the “Permissions” tab, select the newly-created user, and choose Edit.
    How To Fix Windows Error Code 0x80070005 image 15
    1. Check the Full Control box and select OK.
    How To Fix Windows Error Code 0x80070005 image 16
    1. Select NETWORK SERVICE and select Edit.
    How To Fix Windows Error Code 0x80070005 image 17
    1. Check the Full Control box and select OK.
    How To Fix Windows Error Code 0x80070005 image 18
    1. Finally, check the Replace all child object permission entries with inheritable permission entries from this object and select OK.
    How To Fix Windows Error Code 0x80070005 image 19
    1. Select Yes on the confirmation prompt.
    How To Fix Windows Error Code 0x80070005 image 20
    1. Select Apply and then OK.
    How To Fix Windows Error Code 0x80070005 image 21

    Close the Registry Editor, reopen the Office app and check if that stops the 0x80070005 error code.

    1. Press the Windows key + R to open the Windows Run box.
    2. Type C:UsersUSERNAMEAppData in the dialog box and select OK.

    Note: Replace C: with drive letter where Windows is installed. Likewise, replace USERNAME with your PC’s username.

    How To Fix Windows Error Code 0x80070005 image 22
    1. Right-click the Local folder and select Properties in the context menu.
    How To Fix Windows Error Code 0x80070005 image 23
    1. Head to the Security tab and select Edit.
    How To Fix Windows Error Code 0x80070005 image 24
    1. Select Add.
    How To Fix Windows Error Code 0x80070005 image 25
    1. Type Everyone in the dialog box, select Check Names, and choose OK afterward.
    How To Fix Windows Error Code 0x80070005 image 26
    1. Select Everyone, check the Allow box in the “Full control” column.
    How To Fix Windows Error Code 0x80070005 image 27
    1. Select Apply and then OK.
    How To Fix Windows Error Code 0x80070005 image 28
    1. You might get an “Error Applying Security” a couple of times while Windows sets the permissions. Keep selecting Continue until the end of the process.
    How To Fix Windows Error Code 0x80070005 image 29
    1. Select OK to close the Local Permissions for the Local window and reinstall the Windows update.
    How To Fix Windows Error Code 0x80070005 image 30
    1. Select OK again to save the changes.
    How To Fix Windows Error Code 0x80070005 image 31

    5. Check Your Firewall Settings

    You can resolve the 0x80070005 error by configuring the SVCHOST (the host process for Windows services) to bypass your firewall settings.

    1. Type firewall in the Windows Search bar and select Firewall & network protection on the results page.
    How To Fix Windows Error Code 0x80070005 image 32
    1. Scroll to the bottom of the page and select Allow an app through firewall.
    How To Fix Windows Error Code 0x80070005 image 33

    That’ll redirect you to the Windows Defender Firewall window in the Control Panel.

    1. Select Change settings.
    How To Fix Windows Error Code 0x80070005 image 34
    1. Select Allow another app.
    How To Fix Windows Error Code 0x80070005 image 35
    1. Select Browse.
    How To Fix Windows Error Code 0x80070005 image 36
    1. Select svchost and select Open.
    How To Fix Windows Error Code 0x80070005 image 37
    1. Select Add to continue.
    How To Fix Windows Error Code 0x80070005 image 38
    1. Ensure you check the “Private and “Public” columns for the Host Process for Windows Services.
    How To Fix Windows Error Code 0x80070005 image 39
    1. Select OK and try updating your PC again.

    6. Perform a Clean Boot

    Performing a clean boot in Windows can help diagnose the cause of startup errors, frequent app crashes, and Windows Update problems. When you perform a clean boot, your PC temporarily disables non-essential services. That’ll help isolate and diagnose software conflict causing the error code 0x80070005 when updating Windows or running Office apps.

    Make sure you’re signed in to your PC using an administrator account before initiating a clean boot.

    1. Type msconfig in the Windows Search box and run System Configuration as an administrator.
    How To Fix Windows Error Code 0x80070005 image 40
    1. Head to the Services tab, check the Hide all Microsoft services box and select Disable all.
    How To Fix Windows Error Code 0x80070005 image 41
    1. Afterward, go to the Start-up tab and select Open Task Manager.
    How To Fix Windows Error Code 0x80070005 image 42
    1. Right-click a program in the list and select Disable. Do this for all apps in the Startup tab.
    How To Fix Windows Error Code 0x80070005 image 43

    Close the Task Manager and restart your computer to boot into a “clean” environment. If you don’t get the 0x80070005 error after the clean boot process, that means one of the disabled apps is responsible for the error.

    7. Reset Windows Update Components

    Reset all components of the Windows Update agent if the error persists after trying the troubleshooting steps above.

    1. Type command prompt in the Windows Search bar and select Run as administrator.
    How To Fix Windows Error Code 0x80070005 image 44
    1. Type or paste net stop wuauserv in the terminal and press Enter. This command will stop the Windows Update service.
    How To Fix Windows Error Code 0x80070005 image 45
    1. Next, type or paste rd /s /q %systemroot%SoftwareDistribution and press Enter.
    How To Fix Windows Error Code 0x80070005 image 46
    1. Finally, type or paste net start wuauserv and press Enter to restart the Windows Update service.
    How To Fix Windows Error Code 0x80070005 image 47

    Close the Command Prompt window and check if you can now install Windows Updates without the 0x80070005 error code.

    Last Resort: Reset Windows

    Reset Windows to factory settings if you still can’t install Windows updates or run Office apps due to the 0x80070005 error.

    Leave a Reply

    Your email address will not be published. Required fields are marked *