If running DISM /Online /Cleanup-Image /RestoreHealth
results in error 0x800f081f, it means Windows cannot find the necessary files to repair the system image. Follow these steps to resolve the issue.
Step 1: Check Windows Version
Ensure that the Windows version matches the ISO you are using:
- Press
Windows + R
, typewinver
, and press Enter. - Note the Windows version and build number.
- Download the matching Windows ISO from Microsoft’s official website:
Step 2: Use the Correct Source Path
If you have mounted the ISO, ensure you are using the correct source path. The typical location is:
DISM /Online /Cleanup-Image /RestoreHealth /Source:X:SourcesInstall.wim /LimitAccess
(Replace X:
with the actual drive letter of the mounted ISO.)
Step 3: Convert ESD to WIM (If Needed)
If your ISO contains an install.esd
instead of install.wim
, convert it:
- Open Command Prompt (Admin).
- Run:
dism /Get-WimInfo /WimFile:X:sourcesinstall.esd
- Note the index number of the Windows edition you need.
- Convert it to WIM:
dism /Export-Image /SourceImageFile:X:sourcesinstall.esd /SourceIndex:1 /DestinationImageFile:C:install.wim /Compress:max /CheckIntegrity
- Run the DISM command with the new WIM file:
DISM /Online /Cleanup-Image /RestoreHealth /Source:C:install.wim /LimitAccess
Step 4: Run Windows Update Troubleshooter
- Go to Settings → Update & Security → Troubleshoot.
- Select Windows Update and click Run the troubleshooter.
- Restart your PC and retry the DISM command.
Step 5: Perform a Windows Repair Install
If the issue persists, perform a repair install without losing data:
- Run the Windows ISO and choose Upgrade.
- Ensure Keep personal files and apps is selected.
- Complete the installation and check if DISM works.
Conclusion
By following these steps, you should be able to resolve DISM error 0x800f081f and repair your Windows image.
For more “Windows 11” solutions, please check our Windows 11.
Leave a Reply