- Home
- Tips & Fixes
- Setup & Maintenance
- How to Fix DISM Error 0x800f081f in Windows 11
How to Fix DISM Error 0x800f081f in Windows 11
By Ankit KumarPublished
8 steps6 min read
On this page · 8 steps
- The Problem
- Symptoms
- 1Confirm the Real Error First
- 2Download a Matching Windows 11 ISO
- 3Mount the ISO and Find the Image File
- 4Run DISM Against the ISO
- 5Clear the Policy That Blocks Feature Installs
- 6Set the Same Option in the Registry
- 7Reset Windows Update and Try Again
- 8Repair Install as the Fallback
- What Not to Do
- Still Not Working?
The Problem
0x800f081f is CBS_E_SOURCE_MISSING: "the source files could not be found". It appears when DISM tries to repair Windows, or when you add an optional feature, and cannot obtain a clean copy of the files it needs to put back.
DISM normally repairs the component store by downloading replacements through Windows Update. That fails when the component store is too damaged to describe what is missing, when Windows Update itself is broken, when a corporate policy points the machine at a WSUS server that has no source files, or when the PC has no working internet connection. The fix in almost every case is to supply the files yourself, from a Windows 11 ISO.
Hitting this specifically while installing .NET Framework 3.5? That is the most common single trigger and has its own walkthrough: fix the .NET Framework 3.5 install error.
Symptoms
DISM /Online /Cleanup-Image /RestoreHealthstops around 62.3% or 100% withError: 0x800f081f.- Settings → Optional features fails to install a feature with the same code.
sfc /scannowreports corruption it "was unable to fix".- The DISM log at
C:\Windows\Logs\DISM\dism.logcontains lines about a missing payload or a source that could not be resolved.
Step 1: Confirm the Real Error First
- Right-click Start → Terminal (Admin).
- Check the health state before trying to repair anything:
DISM /Online /Cleanup-Image /ScanHealth - If it reports the store is repairable, try the standard repair once more:
DISM /Online /Cleanup-Image /RestoreHealth - If it fails again with
0x800f081f, continue to Step 2: the missing-source path is the fix. - Background on both tools: how to run SFC and DISM.
Fixed? You can stop here. Not yet: go to Step 2
Step 2: Download a Matching Windows 11 ISO
The source must match the build already installed, or DISM will reject it.
- Press Windows + R, type
winver, and press Enter. Note the version (such as 24H2) and the OS build number. - Go to Microsoft's official Windows 11 download page and download the Disk Image (ISO) for the same version and the same language and edition.
- Do not use an ISO from anywhere else. Modified images are the reason many people end up chasing this error a second time.
- If your installed build is newer than the available ISO, install all pending updates first so the ISO is not older than the system, or run the update from Step 7 instead.
Fixed? You can stop here. Not yet: go to Step 3
Step 3: Mount the ISO and Find the Image File
- Double-click the downloaded
.iso: Windows mounts it as a drive. Note the letter it gets, for exampleE:. - Open the
sourcesfolder on that drive and look forinstall.wimorinstall.esd. Both work, but the commands differ slightly. - List the editions inside it so you can pick the right index. For a
.wim:DISM /Get-WimInfo /WimFile:E:\sources\install.wim - For an
.esd, use the same command againstinstall.esd. - Note the Index number beside your edition, typically 6 for Windows 11 Pro and 1 for Home, but read the output rather than assuming.
Fixed? You can stop here. Not yet: go to Step 4
Step 4: Run DISM Against the ISO
- In Terminal (Admin), using your drive letter and index:
DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:E:\sources\install.wim:6 /LimitAccess - For an
.esdfile instead:DISM /Online /Cleanup-Image /RestoreHealth /Source:ESD:E:\sources\install.esd:6 /LimitAccess /LimitAccessis the important part. It stops DISM from trying Windows Update, which is what was failing.- Let it run to 100%. It can sit at one percentage for several minutes; that is normal.
- Reboot, then run
sfc /scannowto put the repaired files into place.
Fixed? You can stop here. Not yet: go to Step 5
Step 5: Clear the Policy That Blocks Feature Installs
On PCs joined to a domain, or where someone has tightened settings, a policy can stop Windows fetching feature files entirely.
- Windows + R →
gpedit.msc→ Enter. (Windows 11 Home does not include this: use Step 6 instead.) - Go to Computer Configuration → Administrative Templates → System.
- Open Specify settings for optional component installation and component repair.
- Set it to Enabled, then tick Contact Windows Update directly to download repair content instead of Windows Server Update Services (WSUS).
- Click OK, then in Terminal (Admin) run:
gpupdate /force - Retry the install or repair.
Fixed? You can stop here. Not yet: go to Step 6
Step 6: Set the Same Option in the Registry
For Windows 11 Home, or where Group Policy is unavailable.
- Windows + R →
regedit→ Enter. - Navigate to:
Create the
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\ServicingServicingkey if it does not exist. - Create a DWORD (32-bit) Value named
RepairContentServerSourceand set it to 2. - Reboot and retry.
- If the machine is managed by an employer, check before changing this: the policy may be there on purpose.
Fixed? You can stop here. Not yet: go to Step 7
Step 7: Reset Windows Update and Try Again
If you would rather fix the download path than supply an ISO.
- In Terminal (Admin):
net stop wuauserv net stop bits ren C:\Windows\SoftwareDistribution SoftwareDistribution.old net start wuauserv net start bits - Disconnect any VPN and turn off metered connections in Settings → Network & internet.
- Reboot and run
DISM /Online /Cleanup-Image /RestoreHealthagain without/Source. - More on update problems: fix Windows 11 update errors and fix Windows Update stuck.
Fixed? You can stop here. Not yet: go to Step 8
Step 8: Repair Install as the Fallback
When the component store is too damaged to repair from any source, an in-place upgrade replaces it wholesale while keeping your files and programs.
- Keep the ISO mounted from Step 3.
- Run
setup.exefrom the root of the mounted drive, not from insidesources. - Choose Keep personal files and apps when prompted.
- Expect 30 to 60 minutes and several restarts.
- Detail on what this preserves: reinstall Windows without losing data. Back up first: set up automatic backups.
What Not to Do
- Don't use an ISO from a different Windows version or language. DISM will refuse it, and mismatched sources are the most common reason Step 4 fails.
- Don't omit
/LimitAccess. Without it DISM goes back to the download path that was already failing. - Don't download "DISM repair tools" from third-party sites. DISM is built into Windows; those downloads add nothing.
- Don't run
/StartComponentCleanup /ResetBasebefore repairing. It removes the superseded components that a repair might otherwise have used.
Still Not Working?
If a repair install also fails, the underlying storage may be at fault: a component store that keeps re-corrupting usually sits on a drive with problems. Check it: check SSD and hard drive health and fix KERNEL_DATA_INPAGE_ERROR. A clean install is the last resort: how to clean install Windows 11.
Related: fix error 0x80070005, fix error 0x80004005, and fix "there was a problem resetting your PC".
Related guides
How to Repair Windows 11 System Files with SFC and DISM
Learn how to run sfc /scannow and DISM to repair corrupted Windows 11 system files. The correct order, what each command does, and what to do if they fail.
How to Enter BIOS or UEFI Settings in Windows 11
Need to change boot order, enable TPM, or turn off XMP? Here is how to enter BIOS or UEFI on Windows 11 from inside Windows and with the setup key at startup.
How to Enter Safe Mode in Windows 11
Need to remove malware or uninstall a stubborn driver on Windows 11? Boot into Safe Mode the easy way: from Settings, sign-in, or a black-screen PC.
How to Update PC Drivers Safely in Windows
Update outdated Windows drivers to keep your system stable, stop crashes, and boost gaming performance. Device Manager, OEM tools, and Windows Update.
How to Fix Error 0x80070005 (Access Denied) in Windows 11
Error 0x80070005 blocks Windows Update, Store downloads, and activation with an access denied message. Here is how to restore the permissions it needs.