How to Fix Windows Error 0x80070005 (Access Denied Installation Failure)

Windows Error Code 0x80070005 is a pervasive system error that completely blocks applications from updating, installing, or modifying local disk drives. This issue triggers whenever the operating system’s security layers deny file-writing permissions to an application installer, even if you are logged into an official system administrator account.

Whether this block is caused by corrupted system folders or modified security permissions following a Windows Update, you can fix it. Follow this step-by-step troubleshooting guide to reset your disk access rights and complete your installations.

Common Causes of Error 0x80070005

  • Locked System Folder Permissions: The default user group lost its read/write authorization for the AppData folder.
  • Overprotective Windows Defender Rules: Local antivirus software sealing system directory partitions from third-party scripts.
  • Broken Windows Update Database: Corrupted file caches blocking the OS from writing fresh patch elements.

Method 1: Re-Assign Full Control Permissions to the AppData Directory

If a system update modifies user permissions, your profile will lose access to its own local software storage folders. Repairing the security path fixes this instantly.

  1. Press the Windows Key + R to launch the Run box, type %localappdata%, and hit Enter.
  2. Go back one folder tier so you can see the main Local directory folder.
  3. Right-click the Local folder and select Properties, then open the Security tab.
  4. Highlight your user account name from the list and click the Edit button.
  5. Check the box for Full Control under the Allow column, click Apply, select OK, and restart your computer.

Method 2: Reset System Registry Permissions via Windows Command Tool

When deep system registry keys get locked by administrative bugs, a quick command script can rewrite the registry permissions back to factory defaults.

  1. Click your Windows Start menu, type CMD, right-click Command Prompt, and select Run as Administrator.
  2. Type the following command to repair the core system components profile and hit Enter:
    secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose
  3. Wait for the automated command string processing to reach 100% completion.
  4. Restart your PC to allow the permission configurations to lock into the root structure.

Leave a Comment