Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home » Windows

How to Fix Error 0x80070005

Abhishek SilwalBy Abhishek SilwalJune 18, 2023
error 0x80070005

0x80070005 is a general error that you encounter when updating Windows or using Microsoft Store, System Restore, and so on. They all come with different accompanying messages, but the error code 0x80070005 generally means “Access Denied.”

This issue can happen due to incorrect permissions, conflicts due to other apps or files, or if the system can’t access a certain resource due to whatever reason.

Depending on the process where you are experiencing this error, you will need to apply different solutions to resolve the error.

Table of Contents

  • Fixing Update Error 0x80070005
  • Fixing Service Error 0x80070005
  • Fixing System Restore Error 0x80070005
  • Fixing Microsoft Store Error 0x80070005

Fixing Update Error 0x80070005

windows-update-error-0x80070005

Usually, this error indicates a temporary issue that should go away in the next Windows session. So first, restart your computer and try again.

If you still encounter the error, your system’s update configurations have some problems. You need to run the update troubleshooter or reset the update components to resolve such issues.

Run Windows Update Troubleshooter

Windows comes with dedicated troubleshooters that check and attempt to resolve any issues in certain system components.

The Windows Update process also has its own troubleshooter, so you should give it a try.

  1. Open Windows Settings by pressing Windows key + I.
  2. Go to System > Troubleshoot > Other troubleshooters.
  3. Look for Windows Update and click on Run next to it.
    run windows update troubleshooter
  4. Follow the on-screen instructions.

Reset Windows Update Components

Issues with the necessary services or libraries and the presence of incomplete or corrupt downloaded update files are some of the main reasons for this update error. You can resolve these issues by resetting the update components, which involves performing the following tasks:

  • Restarting the necessary services.
  • Deleting the downloaded update files as well as updating the cache.
  • Resetting Winsock catalog.

You can perform these tasks easily through the Command Prompt.

  1. Open Run by pressing Windows key + R.
  2. Type cmd and press Ctrl + Shift + Enter to open the Elevated Command Prompt.
  3. Type or copy/paste the following commands individually and press Enter after each. Don’t worry if the service is already not running or the files/libraries don’t exist. Also, click OK after re-registering the libraries.
    • net stop appidsvc
    • net stop bits
    • net stop cryptsvc
    • net stop wuauserv
    • Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
    • Del "%ALLUSERSPROFILE%\Microsoft\Network\Downloader\qmgr*.dat"
    • Del %Systemroot%\SoftwareDistribution\DataStore
    • Del %Systemroot%\SoftwareDistribution\Download
    • Del %Systemroot%\System32\catroot2
      net-stop-appidsvc-bits-cryptsvc-wuauserv-dell-qmgr-dat-ren-softwaredistribution-datastore-download-catroot2
    • netsh winsock reset
    • net start appidsvc
    • net start bits
    • net start cryptsvc
    • net start wuauserv
      netsh-winsock-reset-net-start-appidsvc-bits-cryptsvc-wuauserv
  4. Restart your computer.

You can also copy all these commands to a .txt file through Notepad and save it as a .bat file. Then, running the batch (.bat) file will reset the update components anytime you wish to do so.

In some cases, you will need to re-register the relevant Dynamic Link Libraries (DLLs) as well. I recommend checking out our article that shows the complete process of resetting Windows Components to see how you can re-register them.

Disable Security Features

Third-party encryption or antimalware applications can also block certain updates. In such cases, it’s best to disable them temporarily while updating Windows to prevent this issue.

Some OEM encryption tools can also show similar problems, so I recommend blocking them as well.

Check the CBS Log File

If the above solutions don’t work out for you, it’s likely that you are experiencing a very specific problem. Such situations are usually very rare and might actually be unique to your current system. In such cases, you can check the log file related to the update to determine the exact nature of the problem.

The log file is the CBS.log which is at C:\Windows\Logs\CBS. You can use any text editor, including Notepad, to open this file. There, search for 0x80070005 using the Search or Find tool and check the accompanying messages.

Fixing Service Error 0x80070005

audio-service-error-0x80070005-access-is-denied

If your system or user account somehow loses the permissions to control a service, you will encounter the 0x80070005 error while trying to start the service. This error usually occurs in the Windows Audio service. But other services can also experience the same issue.

Check Permissions on Registry

This error indicates insufficient permission as it comes with the error message “Access is denied.” So you need to check the permission for the relevant service on the Registry editor and make any necessary changes.

Note: Changing registry permissions is a risky task. So, I recommend backing up your registry beforehand to be safe.
  1. Press Windows key + R to open Run.
  2. Type regedit and click OK to load the Registry Editor.
  3. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
  4. You will find that the keys inside Services correspond to the display name of the services.
  5. Look for and get inside the affected service key. For instance, you need to get inside Audiosrv if you are getting the 0x80070005 error on the Windows Audio service.
    audiosrv-registry-services-hklm
  6. If you don’t know the display name of the service,
  7. Open Run. Type services.msc and press Enter to open Windows Services.
  8. Look for the service and double-click on it.
  9. Check the Service name under the General tab.
    windows-audio-service-properties-general-audiosrv
  10. Right-click on the service name key and select Permissions.
  11. Make sure that the groups SYSTEM and Administrators (not Administrator) are present inside Group or user names, and they have full control (Allow for Full Control).
  12. If not,
    • Click on Advanced and select Change under Owner.
    • Type system and click Check Names. It should turn to SYSTEM after that.
      system-check-names-underlined-system
    • Hit OK.
    • Check Replace owners on subcontainers and objects and click OK > OK.
      system-replace-owner-on-subcontainers-and-objects-apply-ok
    • Open the Permissions window for the service key again and go to Advanced.
    • Click on Disable inheritance > Convert all inherited permissions into explicit permissions on this object if this option exists.
    • Select each group or user under Permission entries and click Remove.
    • After that, click on Enable inheritance and hit Apply. All the necessary users and groups should automatically appear on the list with the proper permissions.
      system-enable-inheritance-apply
  13. Keep clicking OK to close the Permissions window while applying the change.

Then, restart your computer and try running the service again.

Change Service Log On

You can also change the service log on type to bypass conflicts due to improper permission. However, it is more of a workaround than a solution.

Also, changing the log on type is a risky solution and can introduce vulnerabilities in your system. So, only perform this process if the above one doesn’t work out.

  1. Open Run.
  2. Type services.msc and press Enter to open Windows Services.
  3. Look for and double-click on the service showing this issue.
  4. Go to the Log On tab.
  5. Check Local System account and check Allow service to interact with the desktop.
    windows-audio-service-properties-log-on-as-local-system-account-allow-service-to-interact-with-desktop
  6. Click Apply and OK.

Fixing System Restore Error 0x80070005

system-restore-error-0x80070005

The 0x80070005 error can also occur during a System Restore if the process cannot access a certain file in the restore point. You can try restoring to another point that doesn’t show this error in such cases. 

But if you only have one suitable restore point or all the available points show the same error, you need to troubleshoot the root of the issue first. The error message itself points to the possible cause, which is an antivirus program that is currently running on the computer.

Disable or Uninstall Third-party Antivirus

Some third-party antivirus applications can also prevent the System Restore process from working. The system restore also affects all the other executable files in a drive, along with the system files. As such, if the antivirus detects any invalid file, it will stop the restore process. 

It can actually be a false positive if the restore point has many archives or .exe files that you directly downloaded from the internet. If you are certain that there are no problems with the restore point, you can temporarily disable the antimalware program and then perform the system restore. 

Since Windows already has a good antivirus, Windows Defender (or as it is called now, Virus & Threat protection), I actually recommend uninstalling all third-party antivirus.

If you are not familiar with their working processes, you may experience undesirable situations due to the app’s security configurations.

Perform System Restore from Advanced Startup

You can also try performing the system restore process from the Advanced Startup or Windows Recovery environment. Since it is a pre-OS environment, third-party processes like antivirus apps won’t have started. So, they cannot affect the restore process.

  1. Open the Start menu (Windows key) and click on the Power button.
  2. Press and hold the Shift key on your keyboard and click Restart. It will lead you to the Advanced Startup.
  3. Go to Troubleshoot > Advanced options > System Restore.
    system restore in windows re
  4. Follow the on-screen instructions to select an appropriate restore point and use it to restore your system.

Fixing Microsoft Store Error 0x80070005

microsoft-windows-store-error-0x80070005

0x80070005 error can also occur while installing or updating an application through Microsoft Store. It indicates some temporary problems with MS Store or, if you are performing an app update, the application itself.

Reset Store Cache

The first thing you should do when you encounter any issues with Microsoft Store is to reset the Store Cache. It resets the Store app and its cache without affecting any of your installed applications.

  1. Open Run by pressing Windows + R.
  2. Type wsreset and press Enter to reset the store cache.
    run-wsreset

Reinstall Store Application

If you can’t update a certain application through the Store, the app itself may have some problems. In such cases, you can try reinstalling the app to resolve any such issues.

  1. Open Run.
  2. Type powershell and press Enter to open Windows PowerShell.
  3. Type Get-Appxpackage | findstr /b "Name" Name and press Enter to list the names of Store Applications.
  4. Search for and note down the exact name of the application that shows this error. You can also select the text and copy it.
    get-appxpackage-findstr-b-name
  5. Then, type Get-Appxpackage -Name “Package Name” while replacing the “Package Name” with the above name and press Enter.
  6. Select the text next to InstallLocation and copy it by pressing Ctrl + C.
  7. Now, use the cmdlet Add-AppxPackage -register "<InstallLocation>\AppxManifest.xml" -DisableDevelopmentMode while replacing the <InstallLocation> with the above value. You can press Ctrl + V to paste the copied location in this placeholder.
    get-appxpackage-name-edge-install-location-add-appxpackage-register-paaxmanifest-disabledevelopmentmode
  8. Check if you still encounter the 0x80070005 error.

You may need to run this last cmdlet 2-3 times to resolve the issue depending on your situation.

You can also remove the application package altogether and then download the latest version from Microsoft Store.

To remove the package, you need to use the cmdlet Get-Appxpackage -Name “Package Name” | Remove-AppxPackage on PowerShell. Make sure to replace “Package Name” with the appropriate value.

Check Packages Folder Permissions

You will also encounter this error if the AppData folder which stores the necessary data for the Store applications does not have the proper permissions. So, you should check this permission setting and make sure everything is alright.

  1. Open Run.
  2. Type %localappdata% and press Enter to go to the AppData\Local folder.
  3. Here, search for and right-click on Packages.
    appdata-local-packages-folder
  4. Select Properties and go to Security > Advanced.
  5. Make sure that your current user account is the Owner and that SYSTEM, Administrators, as well as your account have Full Control permissions.
  6. If the Owner is not the current user account,
    • Click on Change > Advanced.
    • Choose Find Now.
    • Select the user account from the list and click OK > OK.
      find-now-select-user-name
    • Check Replace owners on subcontainers and objects and click OK > OK > OK to close properties while applying the changes.
    • Open the Properties for Packages again.
    • Go to Security > Advanced.
  7. If the option is there, select Disable inheritance.
    advanced-security-settings-packages-disable-inheritance
  8. Select each Permission entry and click Remove.
  9. Click Enable Inheritance and then Apply. SYSTEM, Administrators and your current account should appear on the list Full Control permissions.
    packages-enable-inheritance-apply
  10. Click OK > OK.
fix
Abhishek Silwal
  • LinkedIn

Abhishek Silwal is an Electronics Engineer and a technical writer at TechNewsToday. He specializes in troubleshooting a wide range of computer-related issues. His educational background in Electronics Engineering has given him a solid foundation in understanding of computers. He is also proficient in several programming languages and has worked on various robotics projects. Even in his early days, he used to tinker with various computer components, both hardware, and software, to satiate his curiosity. This experience has given him a breadth of experience that goes beyond his educational qualification. Abhishek has been writing articles on dealing with varieties of technical issues and performing specific tasks, especially on a Windows machine. He strives to create comprehensive guides on fixing many system and hardware issues and help others solve their problems. You can contact him at abhisheksilwal@technewtoday.com

Related Posts

how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 22, 2023
what happens if you turn off your computer during an update

What Happens if You Turn Off Your Computer During an Update?

September 18, 2023
How to Disable Integrated Graphics

How to Disable Integrated Graphics?

September 16, 2023
System Restore Stuck

How To Fix Windows Stuck on System Restore

September 16, 2023
startup-repair-couldn't-repair-your-pc

How To Fix “Startup Repair Couldn’t Repair Your PC”

September 13, 2023
how to free up ram

How to Free Up Memory

August 4, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
how to turn off hardware acceleration

How to Turn Off Hardware Acceleration

September 22, 2023
motherboard chipset

Understanding Motherboard Chipset and Its Importance

September 20, 2023
Naval-Warfare-Games

Best Naval Warfare Games

September 18, 2023
You may also like
printer-not-printing

How to Fix a Printer That’s Not Printing

September 20, 2023
Share Location With Friends and Family

Share Location With Friends and Family (iPhone and Android)

September 18, 2023
how-to-print-without-a-printer

How to Print Without a Printer

September 18, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.