Since its implementation in Windows 3.1, the Windows registry database – often simply known as the registry – has been one of the most important components of Microsoft operating systems. The hierarchically structured configuration database stores all important information and settings for Windows. This includes boot process information, valid user rights, and information about the status of Windows features and updates. However, due to its central importance for the functionality of the entire operating system, the registry is also responsible for many errors – including the 0x80070005 error. This article explains why this is the case and how you can fix the 0x80070005 problem.
Windows error “x80070005”: what does it mean?
The Windows error code “0x80070005” is closely associated with operating system updates and for other Microsoft applications (such as Office, the Microsoft Store or apps from the Microsoft Store). However, the error message also frequently appears when activatingWindows or other Microsoft components and when establishing a connection tonetworks. The cause is usually the same: the user does not have the required access permissions for a file or the registry. This can be the result of incorrect or corrupt system settings and registry entries, or due to damaged system files.
The 0x80070005 error occurs in all versions, affecting users of Windows 10 as well as those using older editions, such as Windows 8 and Windows 7.
How to fix the 0x80070005 error
Damaged files or incorrect registry entries resulting in the 0x80070005 error can arise due to very different circumstances. For example, improperly starting up or shutting down the PC (e.g. after a blue screen) can be the cause, as can defective hardware (particularly the hard disk), or even malware. In addition, it is always possible that the user is responsible for the incorrect settings because they – consciously or unconsciously – have made changes to the registry or deleted files. In many cases, so-called registry cleaners or similar performance optimization tools can be effective. These tools are designed assist the user in clearing up and repairing the registry database, but sometimes go beyond their actual purpose.
Because there are so many different possible causes for the 0x80070005 error, there is no universally applicable solution for the access problem. Instead, there are a range of different methods you can use to fix the error yourself if you do not want to take advantage of the help available from Microsoft Support. In the following sections, we outline the most effective options.
For most of the possible solutions for fixing the 0x80070005 error, you need administrator rights. These rights are also needed to manually correct incorrect registry entries. However, this is only recommended if you have the relevant know-how!
Solution 1: Log in with administrator account
If you encounter the error code “0x80070005” when you execute a file or install an application, you should first try restarting the computer and logging in using an administrator account. Normally, you only create a simple user profile when installing Windows on private computers, which does not have the maximum access rights.
Since the standard administrator account normally isn’t activated by default, you will need to do this first. Open the command prompt using the start menu and enter the following command:
net user administrator /active:yes
Then restart the computer and, on the login screen, select the administrator account instead of the user account you usually use to log in. Then try again to execute the file, installation or application that previously led to the 0x80070005 error.
If you want to disable the administrator account again later, you can do this at any time using the following command line entry:
net user administrator /active:noSolution 2: Run the System File Checker (SFC)
If Windows functions and applications are not working and the error code “0x80070005” is displayed, it can also be linked to missing or damaged system files. The SFC tool (System File Checker) is a proprietary Microsoft solution integrated into Windows systems, enabling you to get to the bottom of the problem. SFC checks all protected system files and replaces corrupt files with buffered copies. You can launch the checker at any time using the command line. However, in this case you must run the command line as an administrator. To do this, type “cmd” in the search box or the search function in the start menu and select the command prompt by right-clicking. In the pop-up menu, select the option “Run as administrator”:
To launch the command line in administrator mode, it is not enough to be logged in as an administrator. Launching in this mode explicitly, as described here, is always required.
Now enter the following command to launch the System File Checker:
SFC then immediately starts checking and repairing files. This process takes a few minutes –the tool indicates the current progress while running.
Do not close the command prompt until the SFC check is 100% completed.
When the check is complete, you will see a message informing you whether any damaged or missing files were found and whether SFC was able to fix the problem. If the system tool was unable to fix an error in the system files, you can use the program’s log file to find out which files caused the issue. Use the following command line command to copy the content of the log to a text file with the name sfcdetails.txt on your desktop:
findstr /c:”[SR]” %windir%\\Logs\\CBS\\CBS.log >”%userprofile%\\Desktop\\sfcdetails.txt” Solution 3: Investigate hard disk for file system errors
The 0x80070005 error can also be the result of file system errors – i.e. errors that cause corrupt hard disk sectors. In this situation, the hard disk itself is not corrupt, but it is not working properly due to errors in one or several of the files stored on it. Windows provides a practical tool specifically for this situation – CHKDSK (Check Disk) – which can check the file system for this kind of error. If errors are identified, the application also attempts to fix them.
File system errors can arise in a variety of ways. For example, system crashes can be responsible for sectors containing errors, as can improperly deleting, moving or modifying files. Therefore, particularly when it comes to files for Windows or other Microsoft applications, you should only make changes if you have the necessary know-how!
There are two ways to launch the hard disk tool: either start the check using the Explorer or use the command prompt. To use the first option, first press [Windows key] + [E] and then select the hard disk you want to check by right-clicking. In the menu that appears, click “Properties”:
The installation manager for Windows operating systems selects the C: drive by default. If you have not changed this, it makes sense to start the file system check on this drive.
Go to the “Tools” tab and click “Check” in the “Error checking” category. Click “Scan drive” or “Start” to begin checking and repair:
If the tool finds one or more file system errors, you can decide whether you want CHKDSK to fix the problem.
For the solution using the command line, open the command line as an administrator as described in the previous solution. Then enter the following command to initiate the C: drive check using CHKDSK (to check other drives, simply replace C with the appropriate letter):
chkdsk C: /f /r
You will then be notified that the system check cannot be performed because the drive is being used for other processes. However, you can instruct the system to run CHKDSK at the next system start by pressing the “J” key. Press the key, close the command line and restart your PC to start the checking process.
If you launch CHKDSK using the command line, you will also receive information about the file system type. (here: NTFS)Solution 4: Malware scan
If files are damaged or entries in the registry database are incorrect, this may be because your system has been infected with malware. In this case, the 0x80070005 cannot be fixed in the usual way using checking tools such as SFC or CHKDSK – at least not until you have removed the relevant harmful programs from your computer. Even if you have installed security software or are using the integrated Windows security tools, a comprehensive malware scan is definitely recommended if you regularly have to deal with error codes such as “0x80070005”.
Microsoft’s Malicious Software Removal Tool (MSRT) is automatically installed on your system and is run if you have enabled the automatic update function. However, even if you have disabled this option, you can also use the MSRT by downloading the tool from the official Microsoft Download Center. As an alternative to the Microsoft solution, you can use malware scanning tools from established providers such as Kaspersky, Avira, Norton or Bitdefender to identify harmful software on your system and remove it.
In our comprehensive advice on malware, you can find out how to identify harmful software early and protect yourself against viruses, spyware, Trojans and the like ahead of time.
Solution 5: Update Windows
In some cases, a 0x80070005 error can occur when Windows or applications such as the Microsoft Store are not up to date. You should therefore check that you have installed allcurrent updates for your Microsoft applications by manually searching for new updates. If you are using Windows 10, you can do this as follows:
When the search is complete, Windows informs you whether updates are available or whether your system is already up to date.
In older Windows editions such as Windows 8 or Windows Vista, the following steps are necessary to perform a manual update:
Solution 6: Reset and repair Microsoft Store
If the 0x80070005 error mainly occurs when using apps from the Microsoft Store or when using the Microsoft Store itself, you can attempt to fix the error by resetting the Store cache. To do this, Windows 8, Windows 8.1 and Windows 10 all have a built-in tool called wsreset, which can be used as follows:
Press [Windows key] + [R] to open the “Run” dialog box. Alternatively, you can also open the dialog box by using the relevant button in the Start menu. Now enter the name of the reset program:
wsresetIf you have not pinned the “Run” dialog box to the “Start” menu as in the image, you will find the button under “Windows System”.
Press the [Enter] key or click “OK” to reset the Microsoft Store cache. During the short reset process, a command prompt window opens, and closes again as soon as the process has been completed successfully. The Windows Store then starts automatically.
If the 0x80070005 problem persists after clearing the Microsoft Store cache, Windows 10 users can use the Troubleshoot feature. This is an additional solution designed especially for resolving problems with using apps from the Microsoft Store. It works as follows:
When you start the troubleshooter, Windows attempts to identify and fix the cause of the Store problem.Solution 7: System recovery
If you have enabled the appropriate option, you can attempt to fix the 0x80070005 error using the system recovery function. This restores a previous system status and thus provides an opportunity to remove or correct corrupt system files and registry entries. All user data and third-party application data is retained during the process, so you do not have to back up your pictures, documents, or video and music files.
If the system recovery function was previously disabled, this solution is not available, as Windows does not have access to any restore points. Enable the feature if you want to use it to fix future system complications.
In Windows 10 and also in older Windows versions, you will find the system recovery feature in the Control Panel, which you can open in the usual way using the Start menu. Then proceed as follows:
If you have not previously used the system restore function, you can enable it by selecting “Configure System Restore”.Solution 8: Replace problematic software and defective hardware
Performance tools attempt to improve the performance of the computer, for example by deleting files that are no longer requiredor outdated registry entries. Even if these programs are designed to be reliable, it is still possible that individual files or entries will be selected as part of the optimization that do not actually fall into the above categories. Therefore, if you are using a tuning tool and suspect that the program could be responsible for the error code “0x80070005”, it is recommended that you switch to a different program or stop using this kind of software altogether.
If you discover that the problem is on the hardware side, you should replace the defective device without delay to prevent further system errors from arising.
Click here for important legal disclaimers.
Related articles0x80070057: How to fix Windows parameter errors
Windows systems use error messages to inform their users that a system function could not be executed properly. The major problem is the fact that most messages only contain error codes such as “0x80070057”, which are of little help to many users. For example, the code provided here represents a parameter error – but how do you fix it?
0x8024200d: The Best Solutions to the Windows Update Error
Windows update errors can often be especially tricky. For instance, if the 0x8024200d error occurs while installing a new patch, even a restart won’t usually help. However, since continuous updates to Windows are vital for stability and security, you may have to fix this problem yourself if necessary.
Cloud ServersSee packages Web hosting for agencies
Provide powerful and reliable service to your clients with a web hosting package from IONOS.
View packages Popular Articles Create a hair salon website
We’ll show you how to quickly, easily and affordably create a professional hair salon website…
Build a real estate website
With a real estate website, you can set yourself apart from the competition…
With the right tools, a homepage for tradesmen can be created quickly and legally compliant…
Create dental website
Patients can easily find you online and gain an overview of your clinic’s services and offers…
Build a photography website
In this article, we’ll give you an overview of what components a website for photographers should have…