Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
FREEDOM251

Freedom251 › Blog › 0x80070005

How to Fix “Permission Denied” in Windows 11

By Freedom251 Team · · 9 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Windows 11’s “Access denied” or “Permission denied” message is usually fixed by matching the remedy to the scope of the block: approve the action through User Account Control (UAC), allow the app in Windows privacy settings, repair ownership or NTFS access control for one identified file, or repair system and Windows Update components. Start with the least-invasive check and change permissions only on the specific item that needs repair.

Identify what Windows is denying

Do not begin by granting yourself full control of an entire drive. The same wording can come from several different permission layers, and each has a different fix. Note the exact action that failed, the program involved, the path shown in the message, and any error code.

As an Amazon Associate I earn from qualifying purchases.

What is failing Most likely boundary First action Risk and reversibility
Launching a program, changing a setting, or running a command UAC requires an administrator approval Retry with Run as administrator Low; the elevation applies to that run
One app cannot open files, folders, pictures, videos, or documents Windows 11 privacy and library permissions Review Settings > Privacy & security Low; a toggle can be returned to its previous state
One protected file or folder stays inaccessible after elevation NTFS ownership or an access control list (ACL) Inspect the named target, then use targeted ownership and ACL commands Higher; changes affect who can read, modify, or delete the item
Windows Update reports 0x80070005 Update servicing access, security software, or damaged components Verify administrator access and run the Windows Update troubleshooter Moderate; advanced repairs can alter servicing components
Many unrelated Windows operations fail System-file corruption, a managed-device policy, encrypted storage, or a broader security boundary Run the supported repair sequence or contact the device administrator Potentially high; avoid broad permission changes

UAC is not an error in itself. Microsoft describes its purpose this way: “UAC is designed to prevent unauthorized changes to Windows.” A prompt or denial can therefore be evidence that Windows is protecting a system-level operation rather than evidence that the file is damaged.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

1. Retry the action with administrator elevation

Elevation is the correct first step when a program or command needs administrator-level access. Being a member of the Administrators group does not mean every process automatically runs with a full administrator token; UAC separates ordinary work from elevated work.

#1 Best Overall
Password Reset Disk for Windows 7, 8.1, 10, 11, Windows Password Recovery USB, Password Reset Tool
  • FOR FULL INSTRUCTION PLEASE READ DESCRIPTION
  • Step 1: Boot from the USB Flash Drive - Insert the USB flash drive into an available USB port on your computer. - Turn on your computer or restart it if it’s already on. - As the computer starts, press the key that opens the boot menu. This key varies by manufacturer and model, but it’s often F2, F10, Esc, or Delete. - In the BIOS/UEFI setup menu, locate the Boot Options or Boot Order section. - Use the arrow keys to select your USB drive and move it to the top of the boot priority list. - Save your changes and exit the BIOS/UEFI setup. Your computer will now boot from the USB flash drive.
  • After that its will take few minutes to reset Windows login password
  • Package includes instruction how to use "Password reset USB" software
  1. Close the failed operation.
  2. Open Start and locate the program, installer, or tool you were using. For a command-line repair, search for Command Prompt.
  3. Right-click it and select Run as administrator. The label may appear under More for some Start-menu results.
  4. Approve the UAC prompt with Yes. If Windows asks for administrator credentials, an administrator account must provide them.
  5. Repeat only the action that failed. If it now works, leave file and folder permissions unchanged.

For a shortcut or executable that always needs elevation, open its properties, choose the Compatibility tab, and select Run this program as an administrator only when the program genuinely requires it. Permanent elevation increases the consequences of a compromised or poorly designed application, so prefer one-time elevation when possible.

2. Check Windows 11 privacy and library permissions

A single application can be blocked even when your account and the file’s NTFS permissions are normal. Windows 11 has privacy controls for file-system access and separate controls for common libraries. This is especially likely when the failure affects one app but File Explorer and other programs can open the same location.

Allow general file-system access

  1. Open Start > Settings.
  2. Choose Privacy & security, then open File system.
  3. Turn on file-system access if the application needs to read or write files outside its normal sandbox.
  4. Review the list of apps or services shown on that page and enable the individual app when Windows provides an app-specific switch.
  5. Close and reopen the application before testing again.

Use the narrowest setting that solves the problem. An app that only needs your Documents folder should not receive broad file-system access without a reason. Labels and the exact list of switches can vary by Windows 11 build and by the type of app installed.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Review library-specific controls

If the denied item is a photo, video, or document, return to Settings > Privacy & security and open the corresponding Pictures, Videos, or Documents permission page. Enable access for the app that needs the library, then restart that app. A program can have file-system access and still be blocked by a library-specific control.

On a work, school, or otherwise organization-managed device, an administrator may lock these switches. A greyed-out control or a notice that an organization manages the setting is a policy boundary, not a signal to take ownership of system folders. Ask the device administrator to approve the required access.

3. Repair ownership or an ACL for one protected file or folder

If elevation and privacy settings do not help, determine whether the exact target is owned by another account or protected by an NTFS access control list. ACLs define which users and groups may read, write, modify, or delete an item. They are a security boundary on traditional NTFS disks, so changing them can expose data or make later administration harder.

Confirm the target before changing it

  • Copy the complete path from the error, including the drive letter and filename.
  • Check that the item is not on a company network share, an encrypted volume, or removable media controlled by another system.
  • Do not apply a permission change to C:, the whole Windows folder, Program Files, or an entire drive merely because one child item is denied.
  • If the item belongs to another user, a work profile, or a security product, obtain the owner’s or administrator’s approval first.

Use Microsoft’s targeted command pattern

Open Start, search for Command Prompt, right-click it, choose Run as administrator, and approve UAC. Replace the placeholder with the one file or folder you have identified.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #2
Password Reset Recovery USB for Windows 11 ,10 ,8.1 ,7 ,Vista , XP, Server Compatible with all brands of PC Laptops and Desktops
  • [MISSING OR FORGOTTEN PASSWORD?] Are you locked out of your computer because of a lost or forgotten password or pin? Don’t’ worry, PassReset USB will reset any Windows User Password or PIN instantly, including Administrator. 100% Success Rate!
  • [EASY TO USE] 1: Boot PC from the PassReset USB drive. 2: Select the User account to reset password. 3: Click “Remove Password”. That’s it! Your computer is unlocked.
  • [COMPATIBILITY] This USB will reset any user passwords including administrator on all versions of Windows including 11, 10, 8, 7, Vista, Server. Also works on all PC Brands that have Windows as an operating system.
  • [SAFE] This USB will reset any Windows User password instantly without having to reinstall your operating system or lose any data. Other Passwords such as Wi-Fi, Email Account, BIOS, Bitlocker, etc are not supported.
takeown /f <Path_And_File_Name>
icacls <Path_And_File_Name> /grant administrators:F

The first command changes ownership of the specified target to the administrator running the command. The second grants the local administrators group full control (F) of that target. Microsoft documents this pattern for a protected file that must be repaired or replaced.

Run the commands separately so you can read each result. A successful ownership change does not guarantee that the second command will succeed: the path may be misspelled, the volume may not be NTFS, inheritance may be controlled by a parent, or policy may prevent changes. If the command reports that the file is in use, close the application that opened it and retry; do not terminate unknown security or system processes blindly.

Finish the intended repair, then stop

Once access is restored, perform the specific copy, replacement, rename, or deletion that required it. Do not continue granting permissions to nearby folders “while you are there.” Broad ACL edits can allow ordinary applications to alter system files and can create a larger security problem than the original denial. If the item is a Windows component, use the system-file repair procedure below instead of replacing files from an untrusted download.

4. Repair corrupted Windows components with DISM and SFC

Permission errors can accompany missing or corrupted system files. Microsoft’s supported sequence uses Deployment Image Servicing and Management (DISM) to repair the component store, followed by System File Checker (SFC) to verify and replace protected files.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Open an elevated Command Prompt by searching from Start, right-clicking the result, selecting Run as administrator, and accepting UAC.
  2. Run the component-store repair and wait for it to complete:
DISM.exe /Online /Cleanup-Image /RestoreHealth
  1. After DISM finishes, run the protected-file check:
sfc /scannow
  1. Let the scan reach 100 percent, then restart Windows and repeat the original action.

These commands can take time, particularly on a heavily damaged installation. Do not close the window simply because the percentage appears unchanged for several minutes. If SFC reports that it repaired files, test the original operation after restarting. If it cannot complete or says that some files could not be repaired, keep the exact message and seek administrator or Microsoft support guidance rather than replacing protected files manually. Microsoft’s SFC guidance also uses ownership and icacls only when a specifically identified protected system file must be replaced.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

5. Fix Windows Update error 0x80070005

When Windows Update displays 0x80070005, treat it as an update-path access failure first, not as a reason to weaken permissions across Windows. The practical sequence is to verify elevation, run the built-in troubleshooter, remove avoidable variables, and use advanced repair steps only when you understand them.

Verify the account and run the troubleshooter

  1. Sign in with an account that can approve administrator prompts, or have an administrator available.
  2. Open Start > Settings > System > Troubleshoot > Other troubleshooters. On some Windows 11 builds, the wording or location can differ slightly.
  3. Find Windows Update and select Run. Apply the recommendations it reports.
  4. Restart the PC, return to Settings > Windows Update, and select Check for updates.

Remove external variables

Disconnect unnecessary external hardware such as USB storage, docks, and printers while the update runs. Leave connected only devices required to boot and operate the computer. Review third-party security software as well: its update, tamper-protection, or file-monitoring features can interfere with servicing. Temporarily changing a security product’s settings should be done only if you understand the product’s controls and can restore them immediately; never leave protection disabled as a general fix.

Rank #3
Password Reset Bootable USB for Windows & Linux PC | Recover access to locked computers with bootable tools for password reset and system recovery
  • Dual USB-A & USB-C Bootable Drive – compatible with nearly all laptops, desktops, mini-PCs, Windows tablets or servers, supporting both Legacy BIOS and UEFI boot modes.
  • Reset or Recover Forgotten Passwords – unlock Windows or Linux user accounts in minutes without reinstalling the system or losing files. Broad Compatibility – supports Windows 2000, XP, Vista, 7, 8, 8.1, 10, 11, and most Linux distributions.
  • Simple & Secure to Use – user-friendly interface with on-screen guidance and step-by-step instructions; no internet connection required.
  • Trusted by IT Professionals – a reliable tool for technicians, administrators, and power users to restore system access quickly and safely. For advanced workflows, the USB is fully customizable, allowing you to easily Add / Replace / Upgrade compatible bootable ISO apps, installers, or utilities.
  • Premium Hardware & Reliable Support – built with high-quality flash chips for speed and longevity. TECH STORE ON provides responsive customer support within 24 hours.

Use advanced procedures cautiously

Microsoft provides advanced command-line procedures for persistent update failures. They can reset update services or cached components, but an incorrect command can make servicing less reliable. Use those procedures only from Microsoft’s current troubleshooting instructions, in an elevated prompt, and only after recording the exact error and creating a recovery option. If the PC is managed by an organization, let its administrator perform the reset.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

6. Cases where you should not change permissions yourself

Work or school computers

Domain and cloud-management policies can intentionally deny local changes. A local administrator may still be unable to override a policy that is reapplied by management. Document the path, app, and error code and send them to the organization’s IT administrator.

Network shares

A shared folder has permissions on both the local computer and the server. Changing the local ACL cannot grant access that the server or share permission denies. Ask the share owner to check the account, share permissions, and server-side NTFS permissions.

Encrypted volumes and removable media

Encryption, a different operating system, or a removable drive’s file system can make Windows report access problems that are not fixed by takeown. Unlock the volume with its authorized recovery method and consult the owner. Do not format the device before confirming that the data is backed up.

Security and system components

Files used by Windows security, boot, or update services may be protected deliberately. A forced ownership change can stop the service or create a vulnerability. Prefer DISM/SFC and the component’s documented repair method, and escalate when the target is not clearly identified.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

7. Verify the result and preserve a safe configuration

  • Repeat the original operation with the same account and application that produced the denial.
  • Confirm that only the intended file, folder, or app setting changed.
  • Turn off any temporary privacy or security exception that is no longer needed.
  • Record the path, command, and date of any ownership or ACL change so another administrator can understand it.
  • Keep a current backup before attempting further repairs, especially when the denied item is on a system or encrypted volume.

If the denial returns immediately, stop repeating the same command. A recurring block usually indicates a policy, a service account, a server-side permission, encryption, or corruption that requires a different branch of diagnosis.

As an optional shortcut after these manual checks, Outbyte PC Repair can address more than 100 common Windows issues where possible, including broken system elements and invalid redirects, while also offering cleanup, settings adjustments, vulnerability checks, and an app-crash log. It complements an antivirus rather than replacing one; results vary, no utility repairs every crash, and its free trial lasts at least two days by category before a subscription is required. It supports Windows 11, 10, 8, and 7.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

0x80070005Access DeniedNTFSPermission deniedUACWindows 11Windows Update

Leave a Reply

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

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.