sodcalculator

10 Tech How-To

Error 0x80070006 0x2000c: Windows 10 Install Fix

Guide 10-37330 · Updated · Step by step

Error 0x80070006 0x2000c during a Windows 10 installation means the setup program could not read or write a required file, usually because of a corrupted installation media, a failing USB port, or insufficient disk space. The most reliable fix is to recreate your installation USB using the official Media Creation Tool, then try a different USB port and ensure your target drive has at least 20 GB free. Below are the detailed causes and step-by-step solutions.

What This Error Code Actually Means

Windows setup uses error codes to indicate where the process failed. The code 0x80070006 is a generic “file not found” or “cannot access the file” error, while 0x2000c is a sub-code tied to the Windows Setup engine (specifically the wds or wim file handling). Together, they usually point to one of three things:

  • The installation files on your USB or DVD are corrupted or incomplete.
  • The USB drive or port is unstable, causing read errors mid-copy.
  • The target hard drive has bad sectors, is full, or has a failing controller.

Many users first see this error after a failed upgrade from an older Windows version, but it also appears during a clean install from a bootable USB. The good news is that in most cases the fix is straightforward and does not require advanced technical skills.

Primary Cause: Corrupted Installation Media

The most common trigger is a USB drive that was not created properly. If you used a third-party tool, copied files manually, or downloaded the ISO from an unofficial source, the image may be incomplete. Even a small interruption during the download or writing process can break the install.wim file, which is several gigabytes in size.

To rule this out, recreate the media using the official Microsoft Media Creation Tool. This tool downloads the latest Windows 10 version and writes it to a USB drive with the correct file structure. It also verifies the integrity of the download, so it is far less likely to produce a corrupt stick.

Step-by-Step Fixes to Try

  1. Recreate the USB drive – Use the Media Creation Tool from Microsoft’s website. Choose “Create installation media for another PC,” select your language and edition, and pick USB flash drive. Use a drive that is at least 8 GB and preferably USB 3.0.
  2. Try a different USB port – Some front-panel ports on desktop PCs are not properly grounded or provide unstable power. Plug the USB directly into a rear motherboard port. If you have both USB 2.0 and 3.0 ports, try the other type.
  3. Use a different USB drive – Flash drives can fail silently. If you have another one, try it. Avoid USB drives that are older than a few years or have been used for many write cycles.
  4. Check the target hard drive – During setup, when you reach the partition screen, delete all partitions on the drive you want to install to (after backing up data). Then create a new partition and format it. This clears any bad sectors that might cause read/write failures.
  5. Disconnect other drives – If you have multiple hard drives or SSDs connected, disconnect all but the one you are installing to. Sometimes Windows setup gets confused by drive letters or partition styles.
  6. Run a memory test – Faulty RAM can cause file corruption during installation. Use the Windows Memory Diagnostic tool (run mdsched.exe from the Run dialog) or a third-party tool like MemTest86.

If the error appears after step 4, the drive itself may be failing. Consider replacing it.

Why the Error Appears During an Upgrade

When you run setup from within an existing Windows installation, the error often appears at the “Getting files ready” stage. This is because Windows must copy the install.esd file to a temporary folder on your system drive. If that drive is nearly full, has a corrupted pagefile, or is encrypted with third-party software, the copy fails.

Before upgrading, make sure you have at least 20 GB of free space on the system drive (more if you are upgrading from a 32-bit to 64-bit version). Disable any disk encryption software (like VeraCrypt) temporarily, and close all other programs. Also, disconnect external drives, as they can confuse the upgrade process.

Common Misconception: It’s a License or Activation Problem

Many users assume this error is related to their product key or activation status. It is not. The error occurs before any license check. You can safely ignore any messages about activation during the troubleshooting. The problem is purely technical, related to file access.

Another misconception is that the error means your hardware is too old. While Windows 10 does have minimum requirements, this specific error does not indicate a hardware compatibility issue. If your PC meets the minimum specs (1 GHz processor, 1 GB RAM for 32-bit, 2 GB for 64-bit, 16 GB free disk space), the error is almost certainly media or drive related.

Advanced Troubleshooting: Using DISM and SFC

If the error persists, you can try repairing the installation media itself using command-line tools. Boot from the USB, press Shift+F10 to open a command prompt, and run:

diskpart
list disk
select disk X (where X is your USB drive)
clean
create partition primary
format fs=fat32 quick
active
exit

Then copy the contents of the ISO to the USB using dism /Get-WimInfo /WimFile:D:\sources\install.wim (adjust drive letters). This is more complex and only recommended if you are comfortable with commands. In most cases, recreating the media with the official tool is simpler and more effective.

Frequently Asked Questions

Will I lose my files if I try these fixes?

Most of the fixes above do not touch your personal files. However, step 4 (deleting partitions) will erase everything on the target drive. Always back up important data before starting any installation. If you are upgrading, the upgrade process keeps your files, but it is still wise to back up.

Can I install Windows 10 from a DVD instead of USB?

Yes, you can burn the ISO to a DVD. Use a good quality DVD-R and burn at a slow speed (4x or lower) to reduce errors. The same troubleshooting steps apply, but also try a different optical drive if you have one.

Does this error mean my hard drive is dead?

Not necessarily. It can be a corrupted USB or a temporary glitch. However, if the error appears consistently after trying a new USB and a different port, the hard drive is a likely culprit. Run a drive health check (e.g., chkdsk /f from a command prompt) to see if there are bad sectors.

Why does the error appear at 50% or 90% of the installation?

This is typical when the USB drive has a weak connection or the file being copied is large. The install.wim file is several GB, so it takes time to copy. If the USB disconnects or the port loses power, the copy fails. Try a shorter, higher-quality USB cable if using a hub, or plug directly into the motherboard.

Is there a way to skip the error and continue?

No. The installation cannot continue if a required file is missing. You must fix the underlying cause. Trying to skip it will only lead to a broken Windows installation that may not boot.

Does the error appear on Windows 11 as well?

Yes, the same error code can appear during Windows 11 installation, and the fixes are identical. The underlying cause is the same: corrupted media or unstable storage.

When to Seek Professional Help

If you have tried all the steps above and the error still appears, there may be a deeper hardware issue, such as failing RAM, a dying motherboard, or a faulty SATA controller. In that case, consider taking your PC to a reputable repair shop. They can run diagnostics that are not available to the average user.

Remember to always download Windows 10 from official Microsoft sources. Unofficial ISO files are often modified and can cause a variety of errors, including this one. Stick to the official Media Creation Tool for the safest and most reliable installation media.

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 →