Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Fix DISM 0x800f0906 Source Files Not Downloaded

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

When running DISM (Deployment Imaging Service and Management Tool) in Windows 10, you may encounter error 0x800f0906, which means "The source files could not be downloaded." This typically occurs when DISM tries to repair system files by downloading them from Windows Update, but the download fails due to network issues, Windows Update problems, or missing local source files. This guide provides step-by-step methods to resolve this error and successfully repair your system.

What You'll Need

  • Administrator access to your Windows 10 PC
  • An active internet connection (for methods that use Windows Update)
  • Windows 10 installation media (USB or ISO) for the local source method
  • Optional: a USB drive (8GB or larger) to create installation media

Step-by-Step

Method 1: Run DISM with Default Source (Windows Update)

  1. Right-click the Start button and select Windows PowerShell (Admin) or Command Prompt (Admin).
  2. In the command prompt, type the following and press Enter:
    DISM /Online /Cleanup-Image /RestoreHealth
  3. Wait for the scan to complete. It may take 15-30 minutes. If it succeeds, you'll see "The restore operation completed successfully."
  4. If you still get error 0x800f0906, proceed to the next method.

Method 2: Use a Local Source (Windows Installation Media)

  1. Obtain Windows 10 installation media. You can create one using the Media Creation Tool from Microsoft's website. Choose "Create installation media for another PC" and select the same edition (Home/Pro) and language as your current system. Save it to a USB drive or ISO file.
  2. If you saved as ISO, mount it by right-clicking the ISO file and selecting Mount. Note the drive letter (e.g., D:). If using USB, insert it and note the drive letter.
  3. Open an elevated Command Prompt (as in Method 1).
  4. Run the following command, replacing D: with your media drive letter:
    DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim
  5. If you get an error about the WIM file, try using the install.esd file instead:
    DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.esd
  6. Wait for the process to complete. If successful, restart your PC and run sfc /scannow to verify system file integrity.

Method 3: Specify a WIM Index (if multiple editions)

  1. If the above fails, you need to specify the correct index for your Windows edition. First, list available indexes:
    DISM /Get-WimInfo /WimFile:D:\sources\install.wim (or .esd)
  2. Note the index number for your edition (e.g., Windows 10 Pro is often index 1 or 2).
  3. Run the restore command with the index:
    DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim:1 (replace 1 with your index)

Method 4: Reset Windows Update Components

  1. Open elevated Command Prompt.
  2. Stop the Windows Update services by running these commands one by one:
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
  3. Rename the SoftwareDistribution and CatRoot2 folders:
    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 Catroot2.old
  4. Restart the services:
    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver
  5. Try running DISM again with the default source (Method 1).

Method 5: Use a Different Windows Version Source

  1. If your current Windows 10 version is older, you can use a newer version's installation media as the source. Download the latest Windows 10 ISO from Microsoft's website.
  2. Mount the ISO and run the DISM command with the source pointing to that ISO's install.wim. This often works because the newer files are compatible.

Common Mistakes

  • Using the wrong drive letter for the installation media. Double-check in File Explorer.
  • Not running as administrator – DISM requires elevated privileges. If you see "access denied," you're not in admin mode.
  • Using a 32-bit command prompt on a 64-bit system – always use the 64-bit version (default in Windows).
  • Mixing up install.wim and install.esd – some media have .esd, others .wim. Check the sources folder.
  • Interrupting the DISM process – let it finish, even if it seems stuck. It can take 20+ minutes.

Tips

  • Before running DISM, ensure your Windows Update service is set to Automatic. Go to Services (Win+R, type services.msc), find Windows Update, and set Startup Type to Automatic.
  • If you have a system restore point, create one before making changes.
  • Use the /LimitAccess flag to prevent DISM from contacting Windows Update and only use the local source:
    DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim /LimitAccess
  • After a successful DISM restore, run sfc /scannow to fix any remaining corrupted system files.
  • If you're on a metered connection, consider using local media to avoid data usage.

Troubleshooting

If the error persists after trying all methods, consider these additional steps:

  • Check your internet connection – a stable connection is required for Windows Update downloads. Temporarily disable VPN or proxy.
  • Run Windows Update troubleshooter – Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Windows Update, and run it.
  • Use the Windows Update standalone installer – Download the latest cumulative update for your Windows 10 version from Microsoft Update Catalog and install it manually. Then retry DISM.
  • Perform a repair upgrade – If DISM fails repeatedly, you can do an in-place repair upgrade using the installation media. This reinstalls Windows while keeping your files and apps. Mount the ISO and run setup.exe, then choose "Keep personal files and apps."
  • Check disk space – Ensure you have at least 10GB free on your system drive, as DISM needs space to work.

Frequently Asked Questions

Why does DISM need to download source files?

DISM repairs corrupted system files by copying healthy versions from a source. If the source isn't specified, it uses Windows Update to download the necessary files. Error 0x800f0906 means that download failed.

Can I use a Windows 10 ISO from a different version (e.g., 21H2 vs 22H2)?

Yes, you can use a newer version's ISO as a source. DISM will use the files from that ISO, which are generally compatible. It's often recommended to use the latest version.

How long does DISM take to run?

It varies. A typical scan can take 15-30 minutes, but on slower systems or with large corruption, it may take over an hour. Do not interrupt it.

What is the difference between /ScanHealth and /RestoreHealth?

/ScanHealth only checks for corruption and reports whether it found any, while /RestoreHealth actually attempts to repair the corruption. Use /RestoreHealth to fix issues.

Will DISM delete my personal files?

No, DISM only repairs Windows system files. Your personal files, applications, and settings remain untouched.

What if I don't have Windows installation media?

You can create one for free using Microsoft's Media Creation Tool. You'll need a USB drive (8GB+) or you can download an ISO file directly.