0x80070005

Microsoft

Access denied. During Windows Update, this code means the update could not access a required file, folder, or registry entry. The same code in another app needs that app’s context.

Check your exact device first. Codes and procedures vary by model and software version. Back up important files before recovery. Stop if a device is overheating, smells burnt, or has a swollen battery.

CHOOSE HOW YOU WORK

Clear help. Useful detail.

Start with the checks below. Tick a step after you try it, and keep a note of what changed. You can stop as soon as the original task works.

What can cause it?

  • Third-party antivirus blocking access
  • Corrupt Windows Update cache
  • Insufficient user permissions
  • Group policy restriction

What to try

Work through one step at a time
Your troubleshooting progress0 steps tried
  1. Record where it appears

    Note the failed update number, Windows version, and time of failure. If this is a work or school device, ask your IT administrator before changing permissions.

  2. Start with Windows troubleshooting

    Restart after saving work, then open Get Help and run the Windows Update troubleshooter. Retry the same update.

  3. Check the documented permission repair

    If it still fails, back up the operating-system disk. Microsoft’s linked guide explains how an administrator can check component-store ownership and permissions. Follow that guide for your Windows version.

  4. Verify the result

    Restart and check Windows Update history. If the same update still fails, keep the CBS log and error timestamp for Microsoft support or your IT team.

How did it go?

Test the original task again. A completed checklist doesn’t by itself mean the problem is fixed.

If the error comes back

Record the full error, your exact model, software version, and the steps you tried. Share these with the manufacturer or a qualified technician. A repeated code needs a diagnosis, especially if it involves storage, heat, or power.

Official references

Official troubleshooting documentation

Linked guidance checked 2026-11-27. Check the source for updates and model-specific details.