Error 0x80070005 means ‘Access Denied’ — Windows Update tried to read or write something and was refused permission. On HP laptops this surfaces as updates that download fine but fail the moment installation begins, because the install phase is when the engine touches protected system locations.
Permission failures have a distinct flavor: they are consistent, they survive cache clears, and they often trace back to tightened ACLs from security software, botched ownership changes, or corrupted user profiles. This guide repairs the permissions layer methodically, from the update folders outward to the system ACLs, until the installer can do its job.
Access denied errors feel personal — as if the laptop does not trust you. In reality the installer runs as the SYSTEM account, not as you, so your administrator status is irrelevant to the failure. The permission problem exists between Windows’ own components, which is why the fixes below target system ACLs and services rather than your user account.
Why this happens
- Tightened folder permissions: The SoftwareDistribution and catroot2 folders need specific system permissions. If ACLs were altered — by optimizers, scripts, or malware — the installer gets access denied.
- Corrupted user profile permissions: The update engine runs partly in user context during some phases; a damaged profile with broken permissions poisons those operations.
- Security software overreach: Antivirus and endpoint tools that lock down system folders can deny the installer access to locations it legitimately needs.
- Broken registry permissions: Update-related registry keys need SYSTEM write access. Altered registry ACLs produce access denied errors deep in the install.
- HP security suite policies: HP’s enterprise security features can enforce folder restrictions that block servicing operations on business laptops.
- Ownership drift: Files owned by deleted user accounts or with broken inheritance chains deny access to the SYSTEM account the installer uses.
- Corrupted system files: Damage to the security subsystem itself — the code that evaluates permissions — produces spurious access denied errors.
How to fix it
Work through these in order — diagnose first, then act.
Fix 1: Take ownership back with the update troubleshooter
Start with the automated repair: the Windows Update troubleshooter resets permissions on update folders and re-registers components, resolving the straightforward ACL cases without manual registry work. A service that refuses to start at all is the Windows Update service not running problem rather than a permissions one.
- Open Settings, System, Troubleshoot, Other troubleshooters.
- Run the Windows Update troubleshooter and apply its fixes.
- Restart the HP laptop.
- Retry the failing update to test whether permissions were the issue.
Fix 2: Reset permissions on the update folders
When the troubleshooter is not enough, reset the ACLs on the update working folders directly. This restores the SYSTEM and administrator access the installer requires.
- Open Command Prompt as administrator.
- Stop the update services: net stop wuauserv, net stop cryptSvc, net stop bits.
- Rename SoftwareDistribution and catroot2 to .old variants so Windows rebuilds them with correct permissions.
- Restart the services — the rebuilt folders inherit proper ACLs automatically.
Fix 3: Run the installer as SYSTEM via a clean boot
Third-party software holding locks or injecting permission filters is a classic 0x80070005 source. A clean boot removes those filters so the installer runs with unobstructed system privileges. Once permissions are repaired, restart-phase stalls belong to the update stuck on restarting guide.
- Open msconfig, hide Microsoft services, disable the rest.
- Disable startup items in Task Manager and restart.
- Run Windows Update in the clean state.
- Re-enable normal startup after testing.
Fix 4: Check HP security suite restrictions
On HP business laptops, Wolf Security or similar suites may enforce policies that restrict servicing. Review the suite’s settings for anything blocking system folder writes during updates. HP documents its enterprise update and security policies on the official HP support site .
- Open the HP security suite console and review its protection policies.
- Look for features restricting writes to Windows or System32 folders.
- Temporarily relax the relevant policy for a controlled update test — coordinate with IT on managed machines.
- Document the change so the restriction can be tuned rather than permanently disabled.
Fix 5: Repair the security subsystem with SFC and DISM
Persistent access denied errors after permission resets suggest damage to the permission-evaluating code itself. The standard system file repairs restore those components.
- Run DISM /Online /Cleanup-Image /RestoreHealth from an elevated prompt.
- Follow with sfc /scannow and restart.
- Retry the update after both repairs complete.
- If 0x80070005 persists, the error code will now be accompanied by clearer symptoms.
Fix 6: Create a fresh administrator profile as a diagnostic
A corrupted user profile can poison the user-context portions of updating. Testing updates from a brand-new administrator account isolates profile damage definitively.
- Create a new local administrator account in Settings, Accounts.
- Log into the new account.
- Run Windows Update from the fresh profile.
- If updates succeed there, migrate to the new profile — the old one’s permission damage is not worth repairing piecemeal.
Fix 7: Use the in-place upgrade for widespread permission damage
When permission repairs, clean boots, and profile tests all fail, the ACL damage is too widespread to fix piecemeal. An in-place upgrade reinstalls Windows with fresh, correct permissions across every system folder while preserving your files and applications — the definitive reset for permission chaos.
- Back up important files as a precaution first.
- Download current Windows 11 installation media.
- Run setup.exe from the mounted ISO, keeping files and apps.
- Verify that updates install normally after the upgrade.
Closing
Error 0x80070005 is a permissions problem wearing an update problem’s clothes: the installer is ready, the files are present, but access is denied. Reset the update folder permissions, eliminate interfering software with a clean boot, check HP’s security policies, and repair the security subsystem when the damage runs deeper. Restore the installer’s access and the updates flow.
