Bobcares

How to fix windows error code 0x80070005

by | Nov 25, 2020

Stuck with the windows error code 0x80070005 pop-up message during windows update?

At Bobcares, we often get requests to fix such windows errors as a part of our Server Management Services.

Let’s see how our Support Engineers fix windows error code 0x80070005.

When is windows error code 0x80070005 triggered?

 

windows error code 0x80070005

The error code 0x80070005 is usually triggered during Windows Update due to any of the following reasons:

  •  DLL files permission being denied.
  • Access rights not configured correctly.
  • Malware or virus infections.
  • Settings to Windows Update not configured correctly.
  • Issues with Administrative rights
  • Firewall software

Commonly used solutions to fix error code 0x80070005:

 

1. Disable Windows Security

The steps to do this is given below

1. Take Settings.
2. Settings window >> Update & Security.
3. Then click on “Windows Security“.
4. On the right-hand side, click on “Firewall & network protection“.
Windows Security window will be opened.
5. In the Firewall & network protection window, click on the network type which is “(active)”
(Like this computer is connected to a Private network. So ‘Private network’ is shown as ‘active‘.)
6. Scroll down to Microsoft Defender Firewall.
7. Switch Microsoft Defender Firewall to ‘Off‘.
8. Now, click  ‘Home‘ to go back to the Windows Security window.
9. In the Windows Security window, click on “Virus & threat protection“.
10. Scroll down to Virus & threat protection settings section, click on “Manage settings”
11. In Virus & Threat protection settings, in the “Real-time protection” option, toggle it to “Off“.

Once we have done all the above steps reboot the computer. After rebooting, try copy-pasting the file/folder again.

Windows Defender Firewall and Real-time protection constantly shield the computer from potential threats and dangers so we strictly recommend turning both the settings “On” immediately after attempting this solution.

 

2. Restart VSC service

Volume Shadow Copy (VSC) service organizes several processes to create a shadow copy of important data.

The steps to be followed are given below

1. Press Windows key+R to open Run Window.
2. In the Run window, type “services.msc” and then hit Enter.
3. In the Services window, scroll down to the “Volume Shadow Copy” service.
4. Now, right-click on “Volume Shadow Copy” click on “Start“.
5. Now, right-click on the same service and then click on “Restart” to restart the service.
Close the Services window.
Check if the error message still persists.

 

3. Manage Access permission

We will need to create a restore point on the computer before proceeding to the main solution. So that if anything goes wrong we can easily restore the system back to normal again.

 

Step 1: Create SubInACL folder in the C: drive

1. Press Windows key+E to open the File Explorer window.
2. In the File Explorer window, double click on “Local Disk C:“.
3. Right-click on the space and then click on “New>” and then choose “Folder“.
4. Name the new folder as “SubInACL“.
Close File Explorer window.

 

Step 2: Download and Install SubInACL package

1. Visit the URL https://www.microsoft.com/en-us/download/confirmation.aspx?id=23510
2. Click on “Download” to download the SubInACL installer.
3. Choose a suitable download location and save.
4. Go to the location where you have downloaded the installer.
5. Double click on the “subinacl.msi” to start the installation process.
6. Click on “Next“.
7. Then, click on “Browse“.
8. Now, navigate to the location of the “SubInACL” folder you have created earlier.
9. Next, click on “OK“.
10. Now, click on “Install Now“.
11. Once the installation is done, click on “Finish” to finish the installation process.

 

Step 3: Create and Run a script

Now,  to create and run a simple batch file on a computer.

1. Click on the Search box beside the Windows Icon, type “Notepad“.
2. Now, click on “Notepad” in the elevated search result.
3. Copy these lines from here and paste those in the blank Notepad page.

@echo off
Set OSBIT=32
IF exist "%ProgramFiles(x86)%"
set OSBIT=64
set RUNNINGDIR=%ProgramFiles%
IF %OSBIT% == 64 set RUNNINGDIR=%ProgramFiles(x86)%
C:\subinacl\subinacl.exe /subkeyreg "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing" /grant="nt service\trustedinstaller"=f
@Echo Gotovo.
@pause

4. After that, click on “File” from the menu-bar and then click on “Save as“.
5. Now, set the “File name:” as “Script1.bat” and click on “Save as type:” and set it as “All files“.
6. Then save the batch file and close Notepad.
7. Locate the saved batch file.
8. Now, right-click on “Script1.bat“, and then, click on “Run as administrator“.
Wait till the process is completed and then reboot the computer.
Check if this helps.

 

Step 4: Create and Run another script

1. First open Notepad on the computer.
2. Copy and paste these lines in the blank Notepad page.

@echo off
C:\subinacl\subinacl.exe /subkeyreg HKEY_LOCAL_MACHINE /grant=administrators=f
C:\subinacl\subinacl.exe /subkeyreg HKEY_CURRENT_USER /grant=administrators=f
C:\subinacl\subinacl.exe /subkeyreg HKEY_CLASSES_ROOT /grant=administrators=f
C:\subinacl\subinacl.exe /subdirectories %SystemDrive% /grant=administrators=f
C:\subinacl\subinacl.exe /subkeyreg HKEY_LOCAL_MACHINE /grant=system=f
C:\subinacl\subinacl.exe /subkeyreg HKEY_CURRENT_USER /grant=system=f
C:\subinacl\subinacl.exe /subkeyreg HKEY_CLASSES_ROOT /grant=system=f
C:\subinacl\subinacl.exe /subdirectories %SystemDrive% /grant=system=f
@Echo Gotovo.
@pause

3. Click on “File” and then, click on “Save as“.
4. Then, set the “File name:” as “Script2.bat” and for “Save as type:“, set it as “All files“.
5. Save the batch file and Notepad window.
6. Locate the saved batch file.
7. Now, right-click on “Script2.bat“, and then, click on “Run as administrator“.
Once the batch file has finished executing the commands, reboot the computer.
After rebooting the computer, the error message will not be seen again.

[Still stuck with windows error code 0x80070005? We are here for you!]

 

4. Change the read-only attribute of System Volume Information

The following are the steps required to change the read-only attribute.

1. Press Windows key+E to open the File Explorer window.
2. In the File Explorer window, double click on “Local Disk C:“.
3. Now you need to click on “View” on the menu bar.
4. Click on “Options“.
5. Click on the “View” tab.
6. Then, check the option “Show hidden files, folders, and drives“.
7. Scroll down and uncheck the option “Hide protected operating system files (Recommended)“.
8. If there is a confirmation message, click on “Yes“.
9. Next, click on “Apply” and then click on “OK“.
10. Now, the ‘System Volume Information‘ folder can be seen in C: drive.
11. Right-click on the “System Volume Information” folder and then click on “Properties“.
12. In the Properties window, make sure to leave a ‘Box‘ checkmark in the “Read-only” option.
13. Finally, click on “Apply” and then click on “OK“.
Close the File Explorer window.

 

5. Allow user full control

If the 0x80070005 error is caused by a specific application, then the issue may be from its folder permissions.

1. Open Run
2. Type: C:\Users\USERNAME\AppData
Replace C: with the letter of the drive where Windows is installed. Also, replace USERNAME with the username of the account you are logged in.
3. Click OK
4. Right-click on the Local folder
5. Click Properties
6. Go to the Security tab
7. Click “Edit -> Add”
8. Type “Everyone”
9. Click “Check names -> Ok -> Full control”
10. Click OK to save the changes
11. Restart the computer

After verifying that this fix works, we should attempt to narrow down which folders this should be applied to, as it is never a good idea to leave the ACL settings wide-open in this manner.

[ Looking for help to find the exact folder?- We are here for you!]

 

6. Configure Windows Update Settings

One of the easiest ways to fix windows error code 0x80070005 is to configure Windows Update settings to allow automatic updates.

Ensure that  you are logged in as an Administrator and then follow these steps:

1. Click Start
2. Type update in search box
3. Select Windows Update from the search results list
4. Click Change Settings
5. Select Install updates automatically (recommended) at the Important Updates section
6. Set a schedule when the updates are going to be installed
7. Click OK

If  Windows Firewall settings are too strict, then error 0x80070005 might appear even if the Windows Update settings are set to automatically install updates.

To fix this, follow these steps:

1. Click Start
2. Type firewall in the search box
3. Select Windows Firewall from the search results list
4. Choose Allow a program or feature through Windows Firewall from the left side
5. Click Allow another program
6. Click Browse
7. Look for the svchost.exe file
8. Click Open
9. Click Add
10. A new program called Host Process for Windows Services should be on the list.
11. Click OK

 

Some other ways to fix error code 0x80070005 are:

 

1. Scan for viruses

Run an antivirus scan of the computer to ensure that the PC is not infected.

Windows update requires adequate storage space to complete the update successfully. So before starting the updates, make sure the system has enough storage space to accumulate the updates.

 

2. Use Windows Updates Troubleshooter

Windows provides a dedicated troubleshooter wizard to fix all Windows update-related issues quickly.

 

3. Run SFC

SFC or System File Checker is a Windows inbuilt utility that lets you scan and repair damaged and corrupt system files that might possibly be hindering the update installation.

 

4. Manually Update the Windows

When everything fails to fix the Windows update error code 0x80070005,  update  Windows manually.

[Need further assistance? We are here for you!]

Conclusion

In short, we’ve discussed the causes of the error. Also, we saw different methods that our Support Engineers follow to fix this error.

 

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

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

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF