When the System File Checker (
Sfc.exe) says it found integrity violations but couldn’t repair some system files, next thing you should do is run the DISM tool with the
/RestoreHealth option to fix component corruption. However, when running the following DISM command, the error
0x800f081f may appear in some systems:
Dism /Online /Cleanup-Image /RestoreHealth
Error: 0x800f081f The source files could not be found. Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.
Error DISM DISM Package Manager: PID=13368 TID=5124 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f081f) Error DISM DISM Package Manager: PID=13368 TID=5124 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg Error DISM DISM Package Manager: PID=13368 TID=5124 Failed processing package changes with session option CbsSessionOptionRepairStoreCorruption - CDISMPackageManager::RestoreHealth(hr:0x800f081f) Error DISM DISM Package Manager: PID=13368 TID=5124 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg Error DISM DISM Package Manager: PID=13368 TID=5124 Failed to restore the image health. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x800f081f) Error DISM DISM Package Manager: PID=13368 TID=5124 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f081f)
CBS Exec: Processing complete, session(Corruption Repairing): 30459372_734419507 [HRESULT = 0x800f081f - CBS_E_SOURCE_MISSING] CBS Session: 30459372_734419507 failed to perform store corruption detect and repair operation. [HRESULT = 0x800f081f - CBS_E_SOURCE_MISSING] CBS Session: 30459372_734419507 finalized. Download error: 0x80240022 [Unknown Error], Reboot required: no [HRESULT = 0x800f081f - CBS_E_SOURCE_MISSING] CBS Failed to FinalizeEx using worker session [HRESULT = 0x800f081f]
The same error (
CBS_E_SOURCE_MISSING) may occur when you attempt to install .NET Framework 3.5 via Optional Features. You may see the following error on that occasion:
Windows couldn't find required files to complete the requested changes. Make sure you're connected to Internet, and try again: Error code: 0x800F081F
The source files could not be found. Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077. The DISM log file can be found at C:\Windows\Logs\DISM\dism.log 0x800F081F - CBS_E_SOURCE_MISSING
This post tells you how to fix the .NET Framework installation and the DISM error code
0x800f081f in Windows 10.
What causes DISM Error 0x800f081f?
This DISM Error 0x800f081f can occur when one of the following conditions is true:
- The component store is corrupted or several files are missing in the store.
- DISM is unable to access the Microsoft Update servers to restore the missing files.
- The location that is specified by the path does not contain the files that are required to install the feature.
- The user who tries to install the feature does not have at least READ access to the location and to the files.
- The set of installation files is corrupted, incomplete, or invalid for the version of Windows that you are running.
Fix: DISM and .NET Framework Error 0x800f081f in Windows 10
Option 1: Bypass WSUS and run DISM or Install Features/Updates
If your computer is configured to use your company’s WSUS server or SCCM, temporarily bypass WSUS/SCCM using the following registry edit (requires administrator privileges).
- Right-click Start, and click Run
regedit.exeand click OK
- Go to the following registry key if it exists:
(If the above registry branch or the value
UseWUServerdoesn’t exist, then it means that the WU server policy is not set. In that case, skip to Step 5.)
- In the right pane, if the value named
UseWUServerexists, set its data to
- Go to the following key:
- Delete the value named
DisableWindowsUpdateAccessif it exists.
- Exit the Registry Editor
- Restart Windows.
Now, your computer is configured to fetch files or packages from Microsoft’s Windows Update servers, rather than the WSUS/SCCM server on your office network. After restarting Windows, you should be able to run the DISM command-line or install .NET Framework successfully.
Run the DISM command-line (or install .NET Framework) after connecting your computer to the internet. DISM fetches the missing files from Microsoft’s servers automatically.
Install .NET Framework
Now, run this command if you want to install .NET Framework:
dism /online /enable-feature /featurename:NetFX3 /All
Alternatively, you can install it via Windows Features (
If that doesn’t work, follow the instructions in Option 2 below.
Option 2: Run DISM or Install .NET Framework from a local source (offline)
Fix for .NET Framework error 0x800f081f
To fix the error
0x800F081F when installing .NET Framework, mention the local source path (i.e., mounted ISO or USB setup disk).
Download a fresh copy of Windows 10 ISO from Microsoft, and mount the ISO to a drive letter — e.g.,
sources\sxs folder on the ISO or USB setup disk contains the following on-demand package files that are needed to install .NET Framework offline:
To install .NET Framework using the local install source (e.g.,
E:\Sources from the USB Setup disk or mounted ISO), run this command:
dism /online /enable-feature /featurename:NetFX3 /All /Source:E:\sources\sxs /LimitAccess
You should see the following output:
Enabling feature(s) [==========================100.0%==========================] The operation completed successfully.
Fix for the DISM error 0x800f081f
The solution for DISM Error
0x800f081f would be to download a fresh ISO from Microsoft, slipstream the Windows 10 setup disk, and mention it as the repair source when running the DISM command. Slipstreaming is a process of integrating updates (and drivers, optionally) and making an updated Windows 10 Setup disk or ISO.
- Follow the steps in the article Slipstream Windows 10 to create a slipstreamed Windows 10 setup disk.
- Then, open an elevated or admin Command Prompt.
- The ISO files downloaded from Microsoft has multiple Windows 10 Editions in it. You need to find the index that corresponds to the edition of Windows you’re going to repair. You can find it using DISM’s Get-Wiminfo command-line.
- Find the list of indexes and the corresponding editions found in the
install.wim, by running the following command:
dism /get-wiminfo /wimfile:"E:\sources\install.wim"
E:\is the drive letter of the mounted ISO or Windows Setup DVD.
In the case of ISOs downloaded from Microsoft, you’ll see more indexes (Meaning: Multiple windows images or different editions combined into the install.wim). For example, here’s the list of indexes found inside the Windows 10 ISO (may vary from ISO build to ISO build) from Microsoft:
Index : 1 Name : Windows 10 Home Description : Windows 10 Home Size : 14,168,728,218 bytes Index : 2 Name : Windows 10 Home N Description : Windows 10 Home N Size : 13,409,860,497 bytes Index : 3 Name : Windows 10 Home Single Language Description : Windows 10 Home Single Language Size : 14,168,323,899 bytes Index : 4 Name : Windows 10 Education Description : Windows 10 Education Size : 14,413,769,870 bytes Index : 5 Name : Windows 10 Education N Description : Windows 10 Education N Size : 13,651,680,505 bytes Index : 6 Name : Windows 10 Pro Description : Windows 10 Pro Size : 14,413,947,833 bytes Index : 7 Name : Windows 10 Pro N Description : Windows 10 Pro N Size : 13,649,482,925 bytes Index : 8 Name : Windows 10 Pro Education Description : Windows 10 Pro Education Size : 14,413,708,288 bytes Index : 9 Name : Windows 10 Pro Education N Description : Windows 10 Pro Education N Size : 13,651,618,023 bytes Index : 10 Name : Windows 10 Pro for Workstations Description : Windows 10 Pro for Workstations Size : 14,413,739,079 bytes Index : 11 Name : Windows 10 Pro N for Workstations Description : Windows 10 Pro N for Workstations Size : 13,651,649,264 bytes
- Let’s say you have Windows 10 Home Edition and its index is
1. Run one of the following commands, depending upon whether you have
install.wimin the Sources folder in the Windows 10 setup disk.
Dism /Online /Cleanup-Image /RestoreHealth /Source:wim:"E:\Sources\Install.wim":1 /limitaccess Dism /Online /Cleanup-Image /RestoreHealth /Source:esd:"E:\Sources\Install.esd":1 /limitaccess
That’s it! the DISM operation has now completed successfully!
Note that if you don’t use a slipstreamed Windows 10 disk with the latest updates, the error
0x800f081fmay still appear. In short, the ISO/repair source must be of the same build that your system is running. For instance, you can’t repair a Windows 10 build
16299.98using the Windows 10 Build
16299.15ISO. However, Microsoft makes available only the base version ISO (without subsequent Cumulative Updates) on their site and via the Media Creation Tool.
This fixes the DISM error
0x800f081f, and you should now see the message “The restore operation completed successfully.”
Once the DISM command completes successfully, follow up with the
sfc /scannow command (from elevated Command Prompt) if necessary. For more information, check out the article Repair Windows 10 Using DISM and SFC.
Hope this fixes the error 0x800F081F during .NET Framework installation or when running DISM.
One small request: If you liked this post, please share this?One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!
About the author
Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.