How To Fix Error ‘0x80070005’ While Trying To Install The Product Key

Because DLL files’ permission is prohibited, System Error 0x80070005 generally happens during Windows updates or due to specific apps. It’s a common blunder made by users all across the world, and you’re not alone.

A Windows application that attempts to read or write a key file but is refused access by Windows ACL is the most prevalent cause of the 0x80070005 error. It can also be brought on by the following factors:


1 – Malware or virus infections are number one.

2 – Windows Update settings are incorrectly configured.

3 – Administrative rights issues.

4 – Software that acts as a firewall.

Read Also:

  1. Nintendo Switch Won’t Turn On
  2. Microsoft Compatibility Telemetry
  3. Data Error Cyclic Redundancy Check

Deciphering Error Code 0x80070005

Before diving into the causes and solutions, it’s crucial to decode the error code itself. In Windows systems, error code 0x80070005 is commonly referred to as the “Access Denied” error.

Essentially, it signifies that a particular operation or action has been denied access due to insufficient permissions. This error can manifest in several scenarios, making it a versatile and often encountered issue.

Common Causes of Error Code 0x80070005

To effectively troubleshoot and resolve error code 0x80070005, it’s vital to understand its root causes. Here are some common reasons behind this error:

  1. File or Folder Permissions: One of the primary causes of 0x80070005 is inadequate permissions for a file or folder. When a user or application attempts to access, modify, or delete a file without the necessary permissions, this error occurs.
  2. Registry Key Permissions: Windows relies heavily on the system registry. If there are issues with permissions for specific registry keys, it can trigger error code 0x80070005, affecting various system functions.
  3. Software Installation: During the installation of software or updates, the installer may require elevated privileges. If it encounters a permission issue, it can result in error code 0x80070005.
  4. Virus or Malware Infections: Malicious software can modify system settings, including permissions. Infection by a virus or malware can lead to access denied errors.
  5. Windows Update Problems: When Windows Update encounters an issue related to permissions, it can fail to install updates and display error code 0x80070005.
  6. Corrupted User Profiles: If user profiles become corrupted, they may have incorrect permissions, leading to access denied errors.

How To Fix Error 0x80070005 In Windows Update

The following are some solutions for Windows Update Error 0x80070005:

Method 1: Login As An Administrator

It could be caused by issues with your administrator privileges.

Follow the steps below to get started:

Step 1: Press the window key and then look for the control panel.

Step 2: Next, navigate to the category and choose User Accounts and Family Safety from the drop-down menu.

Step 3: Next, select Users Accounts from the drop-down menu.

Step 4: Next, select Change Account Type and, if necessary, enter your password.

Step 5: Restart your computer.

Step 6: You are now the administrator of your machine.

After that, enable Windows Update to see whether the error persists.

Method 2: Install And Update All Available Drivers

The drivers facilitate communication between the system and all installed programmes and apps. These drivers should be updated on a regular basis. Check to see if any of your drivers have been harmed.

To see if the drives need to be upgraded, take the following steps:-

Step 1: To begin, right-click on My Computer and select Properties.

Step 2: From the drop-down menu, choose the characteristics you want.

Step 3: Go to the device management and choose it.

Step 4: Examine the equipment provided. Then look for those that include an exclamation mark.

Step 5: Next, right-click on any of the devices and select Update Driver from the menu.

Restart the system after this procedure is completed. Also, see whether the issue has been resolved by updating the drivers.

Method 3: Use The Subinacl Tool 

Incorrect file registry permissions or file permissions can potentially cause it. The authorization is reset using the Subinacl tool.

Follow the steps below to get started:-

Step 1: To begin, you must first download Subinacl.

Step 2: Next, follow the installer’s instructions to install it in the appropriate folder.

Step 3: Launch the Command Prompt programme.

Step 4: In notepad, type reset.cmd and hit Enter.

Step 5: Then, in the reset, copy the data listed below.

file.cmd off @echo



Subinacl/subkeyreg HKEY CURRENT USER




Subinacl/ subdirectory % windir %


– @Echo

@Echo is complete.

– @Echo


Step 6: Reopen the command prompt. After that, type reset. To run the file, type cmd and press Enter.

Check to see if the 0x80070005 error has gone away after restarting your computer.

Method 4: Give The User Complete Control

It can happen as a result of a certain application issuing folder permissions.

The stages to giving a user full control are as follows:-

Step 1: With the help of the keyboard, press the Windows and R keys simultaneously.

Step 2: A run dialogue box will appear. Type c:UsersUsernameAppData into the search box. Change the letter C to the drive letter where the Window is installed.

Step 3: Finally, select OK. Right-click on the local folder after that.

Step 4: Within the properties, go to the Security tab.

Step 5: Select Edit > Add Type “Everyone” from the drop-down menu. Following that, go to Check names > OK > Full Control.

Step 6: When you click OK, the modifications will be stored.

Check if the 0x80070005 error is still present after restarting your computer.

Method 5: Configure Windows Update Settings 

It is one of the simplest methods for resolving the issue. To begin, double-check that you are logged in as an administrator. Take the following steps:

Step 1: Press the start button.

Step 2: In the search box, type update.

Step 3: From the list of search results, choose Windows Update.

Step 4: Select Change Settings from the drop-down menu.

Step 5: Select a day and time for the updates to be installed, then click OK.

This error may arise even if your Windows Firewall settings are set to install updates automatically if your Windows Firewall settings are too severe.

Use the steps below to get started:

Step 1: Press the start button.

Step 2: In the search box, type Firewall.

Step 3: From the search results, choose Windows Firewall.

Step 4: On the left side, select Allow a programme or feature through Windows Firewall.

Step 5: Select Allow another programme from the drop-down menu.

Step 6: Select Browse from the drop-down menu.

Step 7: Locate the svchost.exe programme.

Step 8: Select open and then add to your cart.

Step 9: As the Host process for Windows services, you’ll see a new programme. Finally, select OK.

Method 6: Uninstall And Reinstall

If you know the issue is caused by a specific programme, such as Comodo Internet Security, reinstalling it will help.

Use the steps below to get started:

Step 1: Go to the start menu by clicking on the start button.

Step 2: Next, choose the Programs and Features option.

Step 3: Next, look for the programme that’s linked to the error code.

Step 4: Select the appropriate programme.

Step 5: Then, at the top of the menu ribbon, select Uninstall/Change.

After you’ve installed it, make sure you reinstall it correctly. This will undoubtedly assist in the removal of the error.

Method 7: Run The Windows System File Checker 

Step 1: To begin, hit the Windows+X keys. Then select Command Prompt from the drop-down menu.

Step 2: Then, at the command prompt, type sfc/scannow.

Step 3: It will take some time for the process to complete. Replace the corrupt files after that.

Step 4: Finally, restart your computer to see if the Error Code 0x80070005 is still present.

Method 8: Run A Full Malware Scan On Your Computer

This issue could potentially be caused by a malware infection. It’s possible that the Run time error-related files were damaged, corrupted, or even deleted. To fix this problem, scan the PC using a malware protection tool.

Read Also:

  1. MsMpEng.exe
  2. Duty Dev Error 6068
  3. AirDrop Not Working


There’s no need to panic or be concerned if your machine encounters this issue. Instead of panicking, try the methods listed above. They will undoubtedly assist you. Because everything has a solution, the procedures listed above are the solution to your problem.