sodcalculator

10 Tech How-To

Fix Error 0x80070005 While Installing Windows IoT

Guide 10-56909 · Updated · Step by step

Error 0x80070005 during a Windows IoT installation usually means the setup process lacks permission to write to certain folders or registry keys. This guide walks you through the most effective fixes, from simple permission checks to more advanced registry edits, so you can get the installation running smoothly.

What You’ll Need

  • A PC running Windows 10 or Windows 11 with administrator access
  • The Windows IoT installation files (ISO or setup executable)
  • A stable internet connection (for downloading updates or tools if needed)
  • At least 10 GB of free disk space on the target drive

Step-by-Step

  1. Run the installer as an administrator. Right-click the setup file (or the ISO’s setup.exe) and select “Run as administrator.” This often resolves basic permission issues.
  2. Check your user account type. Go to Settings > Accounts > Your Info. If you see “Administrator” under your name, you’re good. If not, you’ll need to sign in with an admin account or ask the admin to grant you elevated rights.
  3. Disable antivirus temporarily. Some security software can block installer writes. Pause your antivirus and Windows Defender (Windows Security > Virus & threat protection > Manage settings > Real-time protection) for the duration of the installation, then re-enable it afterward.
  4. Clear the Windows Installer cache. Open Command Prompt as administrator and run:
    msiexec /unregister
    then
    msiexec /regserver
    This refreshes the Windows Installer service.
  5. Repair the Windows Installer service. Press Win+R, type services.msc, find “Windows Installer,” right-click and select “Restart.” If it’s not running, set its startup type to “Manual” and start it.
  6. Take ownership of the installation folder. If you’re installing from a folder (e.g., extracted ISO), right-click that folder > Properties > Security > Advanced > Change owner to your admin account, then check “Replace owner on subcontainers and objects.” Apply and retry.
  7. Adjust registry permissions. Open Regedit as administrator, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion. Right-click the key, select Permissions, and ensure the “Administrators” group has Full Control. If not, add it.
  8. Use the Media Creation Tool. Instead of running the ISO directly, download the Windows IoT media creation tool from Microsoft’s site, run it, and choose “Upgrade this PC now.” This tool handles permissions more gracefully.
  9. Perform a clean boot. Press Win+R, type msconfig, go to the Services tab, check “Hide all Microsoft services,” then click “Disable all.” In the Startup tab, open Task Manager and disable all startup items. Restart and try the installation again.
  10. Check disk errors. Open Command Prompt as admin and run chkdsk /f /r on the target drive. You may need to restart. This fixes file system issues that can cause access denied errors.

Common Mistakes

  • Not running as admin: Even if your account is an admin, Windows often requires an explicit “Run as administrator” for installers.
  • Leaving antivirus on: Real-time protection can silently block writes without any notification.
  • Skipping the clean boot: Third-party services can interfere with the installer’s permissions.
  • Editing the wrong registry key: Make sure you’re in the CurrentVersion key, not the Windows key itself.
  • Forgetting to restart after changes: Some permission changes only take effect after a reboot.

Tips

  • Create a local admin account: If your domain account has restrictions, create a local admin account temporarily for the installation.
  • Use the latest ISO: Older builds may have bugs that trigger this error. Download the most recent Windows IoT version.
  • Verify the ISO checksum: A corrupted download can cause unexpected errors. Use Microsoft’s hash tool to verify integrity.
  • Keep Windows updated: Install all pending Windows updates before attempting the IoT installation.
  • Disconnect unnecessary peripherals: USB devices, external drives, and even some printers can interfere with the installation process.

Troubleshooting

If the error persists after all steps, try the following:

  • Check the setup log: Look in C:\Windows\INF\setupapi.dev.log or C:\Windows\Panther for detailed error messages. Search for “0x80070005” to find the exact file or registry key that failed.
  • Use the Windows Update troubleshooter: Go to Settings > System > Troubleshoot > Other troubleshooters > Windows Update. Run it and retry.
  • Reinstall Windows Installer: Download the latest Windows Installer redistributable from Microsoft and install it.
  • Perform an in-place upgrade repair: If the error occurs during a feature update, run the setup with the ISO while keeping files and apps. This often resets permissions.
  • Check for Group Policy restrictions: If this is a corporate machine, your IT department may have policies that block installation. Contact them.
  • Try a different installation method: If you’re using a USB drive, recreate it with Rufus or the Media Creation Tool. Sometimes the bootable media is the issue.

If none of these work, the error may be due to a deeper system corruption. Consider using the sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth commands to repair system files.

Frequently Asked Questions

What exactly does error 0x80070005 mean?

It’s an “Access Denied” error. Windows reports it when the installer tries to write to a protected location and lacks the necessary permissions.

Can I fix this without a clean install?

Yes, in most cases. The steps above resolve the issue without reinstalling Windows. A clean install is only a last resort.

Will disabling antivirus put my PC at risk?

Temporarily, yes. But for the short duration of the installation, the risk is minimal. Just re-enable it immediately after.

Does this error happen on Windows 11 too?

Yes, it can occur on both Windows 10 and Windows 11. The fixes are the same.

Why does this happen even when I’m the administrator?

Windows uses User Account Control (UAC) to limit even admin accounts. You need to explicitly elevate the installer by right-clicking and selecting “Run as administrator.”

Is there a way to bypass the permission check entirely?

Not recommended. Bypassing security checks can leave your system unstable. Stick with the proper fixes above.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →