The DISM error 0x800f081f in Windows 10 means the Deployment Imaging Service and Management tool cannot find the source files it needs to repair your system. The fix is to point DISM to a valid Windows 10 installation media or an existing Windows image (like the WinSxS folder), or to use the online Windows Update source with the correct /LimitAccess switch. Below are the exact steps, common causes, and alternative methods to resolve this error.
What Causes DISM Error 0x800f081f
DISM (Deployment Imaging Service and Management Tool) is a command-line utility used to service and repair Windows images. When you run DISM /Online /Cleanup-Image /RestoreHealth, it tries to fetch missing or corrupted system files from Windows Update by default. The 0x800f081f error specifically means “The source files could not be found”. This typically happens when:
- Windows Update is blocked or not accessible (corporate firewall, metered connection, or disabled service).
- The local source (WinSxS folder) is also corrupted or has been cleaned up.
- The installation media or ISO you are using does not match the installed Windows 10 version (e.g., different build or edition).
- You are running DISM without administrative privileges.
This error is common after a failed cumulative update or when system files have been damaged by malware or a faulty disk.
Prerequisites: Run as Administrator and Check System Files
Before attempting any fix, make sure you are running the Command Prompt as an administrator. Click Start, type cmd, right-click “Command Prompt”, and choose “Run as administrator”. Then, run the System File Checker (SFC) first to see if it can repair some files on its own:
- Type
sfc /scannowand press Enter. - Wait for the scan to complete (may take 15-30 minutes).
- If SFC reports errors but cannot fix them, proceed with DISM.
Running SFC first is a good practice because it may fix some issues that would otherwise interfere with DISM.
Method 1: Use Windows Update as Source (with /LimitAccess)
The simplest fix is to force DISM to use Windows Update as the source, but with the /LimitAccess switch to prevent it from using Windows Update as a fallback (which can cause the error). Open an elevated Command Prompt and run:
DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\RepairSource\Windows /LimitAccess
But if you don’t have a repair source folder, you can try without the source:
DISM /Online /Cleanup-Image /RestoreHealth
If that still gives 0x800f081f, you need to provide a source. The /LimitAccess switch restricts DISM to only use the specified source, not Windows Update. This is useful when you have a known-good source but want to avoid network issues.
Method 2: Use Installation Media (ISO or USB) as Source
If Windows Update is not working, you can use a Windows 10 ISO or USB drive as the source. You need to mount the ISO or insert the USB, note the drive letter (e.g., E:), and then run:
DISM /Online /Cleanup-Image /RestoreHealth /Source:E:\sources\install.wim /LimitAccess
However, the install.wim file may contain multiple Windows editions. You may need to specify the index number for your edition. To find the index, run:
DISM /Get-WimInfo /WimFile:E:\sources\install.wim
Then use the index, for example:
DISM /Online /Cleanup-Image /RestoreHealth /Source:E:\sources\install.wim:1 /LimitAccess
If you are using an install.esd file (common on newer media), the command is the same but with install.esd.
Method 3: Use the WinSxS Folder as Source
Windows stores component store files in the C:\Windows\WinSxS folder. If this folder is intact, you can use it as a source. Run:
DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\Windows\WinSxS /LimitAccess
This is often the fastest method because it doesn’t require external media. However, if the component store is corrupted, this will fail with the same error.
Method 4: Repair with Windows 10 Media Creation Tool
If the above methods fail, you can use the Windows 10 Media Creation Tool to perform an in-place repair upgrade. This reinstalls Windows while keeping your files and apps. Download the tool from Microsoft’s official website, run it, and choose “Upgrade this PC now”. This process uses the correct source files and often resolves DISM errors permanently.
Common Mistakes and Tips
- Wrong architecture: Ensure the installation media matches your Windows version (32-bit vs 64-bit).
- Edition mismatch: Use the same edition (Home, Pro, etc.) as your installed Windows.
- Build mismatch: The source should be the same or newer Windows 10 build. Using an older build can cause errors.
- Corrupted download: If using an ISO, verify its integrity by checking the SHA-1 hash from Microsoft.
- Antivirus interference: Temporarily disable third-party antivirus during the repair, as it might block DISM from accessing files.
Frequently Asked Questions
Can I use DISM with an offline Windows image?
Yes, you can repair an offline image (like a WIM file) using DISM /Image:C:\mount\path /Cleanup-Image /RestoreHealth /Source:... . This is useful for repairing a Windows installation that won’t boot.
What if DISM says “The source files could not be found” even with a valid ISO?
Make sure the ISO is mounted correctly and the drive letter is correct. Also, try using the install.esd file instead of install.wim if your media uses ESD. If it still fails, the ISO might be corrupted or the wrong edition.
Is it safe to use a different Windows 10 version as source?
Using a different build (e.g., 1903 vs 1909) may cause issues. It’s best to use the same build or a newer one. If you use a newer build, DISM might upgrade some components, which is generally safe but could change system behavior.
Will this error affect my personal files?
No, running DISM with /RestoreHealth only repairs system files. Your personal files and applications are not touched. However, the in-place upgrade method also preserves files, but it’s always wise to back up important data before any system repair.
How long does DISM take?
It can take anywhere from 10 minutes to over an hour, depending on the speed of your disk and the source. If it seems stuck, wait at least 30 minutes before interrupting.
Can I run DISM from Safe Mode?
Yes, you can run DISM in Safe Mode, but some services may not be available. It’s usually better to run it in normal mode. If you must use Safe Mode, ensure you have network access if using Windows Update as source.
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
- Fix Payday 2 Crash Issues on PC: A Step-by-Step Guide
- Remove a Remote Access Trojan from Windows PC
- Google Pixel & Pixel XL: How to Turn Off Snooze
- Facebook as AIM Messenger: Step-by-Step Guide
- iPhone 17 SOS Service Issue: How to Fix It
- Install VLC Extensions on Linux