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.
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.
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.
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.
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.
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 theHKEY_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.
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.
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 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.
How to Fix the "Undoing Changes" Loop in Windows 11
Stuck on "We couldn't complete the updates, undoing changes made to your computer"? Break the loop and install the update properly with these step-by-step fixes.
How to Fix a Missing Dual-Boot Menu in Windows 11
PC boots straight into Windows with no choice of operating system? Restore the boot menu with firmware settings, bcdedit, and a GRUB repair if needed.
Fix "Signed In with a Temporary Profile" in Windows 11
Blank desktop and a warning that you're using a temporary profile? Your files are safe. Here is how to restore the real profile before anything is lost.
Fix "User Profile Service Failed the Sign-In" in Windows 11
Locked out with "The User Profile Service service failed the sign-in"? Repair the profile entry in the registry and get your account and files back.