Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

DISM Error 2 means Windows could not find a file, path, repair source, or component-store payload required by the repair operation. It does not necessarily mean that dism.exe is missing. Start with the standard repair command in an elevated Command Prompt:

DISM.exe /Online /Cleanup-Image /RestoreHealth

If it fails again, stop repeating the same command. Check Windows Update, then provide a matching Windows 10 installation source and verify its image index, edition, architecture, language, and build.

What DISM Error 2 means

Error 2 is a file-not-found condition. It may appear as “The system cannot find the file specified” and can correspond to Windows error 0x80070002, which represents ERROR_FILE_NOT_FOUND. In a DISM repair, the missing item might be a source path, install.wim, install.esd, image index, package, or component-store file.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Common causes include:

  • An incorrect /Source path or drive letter.
  • A missing or incorrectly named install.wim or install.esd.
  • An incorrect image index.
  • Windows Update being unable to provide repair files.
  • Installation media from the wrong Windows release, edition, architecture, or language.
  • An inaccessible network share or disconnected USB drive.
  • Local component-store corruption or pending servicing operations.

0x800f081f is related but not identical: it specifically means that the source files could not be found. Both errors generally require validating the repair source.

#1 Best Overall
64GB Bootable USB Installer for Windows 11, 10 & 7 Home/Pro with WinPE Repair Tools
  • [Win OS Install or reinstall] — Boot from the USB to install or reinstall Win 11, 10, or 7 Home & Pro editions. Includes OS installations and reinstallations media plus WinPE Utility Suite.
  • [WinPE Repair & Recovery Tools] — Boot into the included WinPE utility suite to backup system and important files, troubleshoot startup problems, repair boot issues, recover data, recover Win User accounts password, and diagnose common PC problems.
  • [All-in-One PC Rescue USB] — Combines Win 11, 10, and 7 installation media with PC repair, recovery, and diagnostic tools on one bootable 64GB USB drive, helping you troubleshoot and restore a computer without needing multiple discs or downloads.
  • [Support] — Full instructions are included in packaging plus a printable copy of the instructions with troubleshooting information on the device. Also, a video “How to boot from a bootable USB drive.mp4” to help guide you through starting a PC from a USB drive. If you need help using the USB please contact us for assistance, we are here to help.
  • [Video] - If you are new to booting from a USB drive or need a refresher see our video "How to boot from USB drive" both in description and on USB device.

Microsoft documents the error-code context and source requirements in its Windows Update repair guidance.

Before you begin

  • Back up important documents and other data.
  • Sign in with an administrator account.
  • Open Command Prompt as administrator: search for cmd, right-click Command Prompt, and choose Run as administrator.
  • Connect the PC to power and do not close the window or interrupt DISM while it is working.
  • Keep an internet connection available if you plan to use Windows Update as the source.

Record your Windows 10 details

Press Windows + R, enter winver, and note the Windows 10 version and build. Also run:

DISM /Online /Get-CurrentEdition

Note the edition, such as Home, Pro, Enterprise, or Education; whether Windows is 32-bit or 64-bit; the display language; and the full build number. A repair source should match these details as closely as possible. Do not use Windows 11 media to repair Windows 10.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

1. Check the image, then run the standard repair

In the elevated Command Prompt, run the quick check:

DISM /Online /Cleanup-Image /CheckHealth

Then run the deeper scan:

DISM /Online /Cleanup-Image /ScanHealth

CheckHealth quickly checks whether corruption has been recorded. ScanHealth performs a more extensive examination. If DISM says the component store is repairable, run:

DISM.exe /Online /Cleanup-Image /RestoreHealth

/Online targets the currently running Windows installation, while /Cleanup-Image and /RestoreHealth inspect and repair its component store. By default, DISM may use Windows Update to obtain replacement files.

Rank #2
Sale
Red Devil 4044 Dual Purpose Window Tool
  • Window tool
  • Stainless steel blade, tough plastic handle
  • V-shaped end packs, shapes, trims new putty
  • Stainless-steel blade
  • Tough plastic handle

A successful operation usually ends with:

The restore operation completed successfully.

or:

The operation completed successfully.

If the image is reported as non-repairable, do not run /RestoreHealth indefinitely. Move to a matched installation source or an in-place repair installation.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

2. Check Windows Update

Restart Windows first, install pending updates if Windows Update is working, confirm internet access, and retry the standard command. If Windows Update is also failing, its cache may be damaged.

In an elevated Command Prompt, run these commands carefully:

net stop bits
net stop wuauserv
ren %systemroot%softwaredistribution softwaredistribution.bak
ren %systemroot%system32catroot2 catroot2.bak
net start bits
net start wuauserv

Restart the computer and retry:

DISM.exe /Online /Cleanup-Image /RestoreHealth

Renaming these folders makes Windows recreate its update cache. It can help when Windows Update is the broken repair path, but it does not repair every type of component-store corruption. Microsoft’s Windows Update troubleshooting guide documents this procedure.

3. Use a Windows 10 ISO, USB, DVD, or network source

When Windows Update cannot supply the files, use official installation media or a known-good repair source. The source must match the installed Windows 10 edition and architecture, and should match the release, language, and build family as closely as possible.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Mount the ISO or connect the USB, then confirm its drive letter. If it is drive D:, run:

Rank #3
76951 Window Handle Removal Tool with 10 Window Handle Crank Fixing Clips
  • 【Multifunctional Repair Tool】Designed specifically for disassembling car window handles, it can easily be inserted and removed from the car interior handles, avoiding excessive force that may damage parts and reducing secondary damage during the repair process. It is an ideal choice for auto mechanics and DIY enthusiasts.
  • 【Super Value Accessories Set】 Includes the 76951 window handle removal tool and 10 window handle crank fixing clips,. Made of high-quality materials, it has excellent elasticity and anti-aging properties, perfectly replacing old or broken clasps that can firmly fix the car window handle and prevent operational failure or abnormal noise caused by loosening.
  • 【Simple and effortless operation】The ergonomic handle design conforms to the mechanical structure, providing a comfortable grip and uniform force application. It can be operated with one hand. The tool can precisely match the handle structure, allowing for quick disassembly without the need for any additional auxiliary tools.
  • 【High-strength and durable material】It is made with meticulous craftsmanship, featuring high hardness and excellent wear resistance. It is durable and unlikely to deform, with strong toughness. The surface has been treated for rust prevention, effectively resisting the erosion of humid environments and oil stains, thereby extending the service life of the tool. It is suitable for repeated use in maintenance workshops or outdoor conditions over a long period.
  • 【Wide Compatibility】It is compatible with most mainstream car brands. The universal design can meet the maintenance needs of various vehicle types such as sedans. This tool can be used for the quick disassembly of window handles in campers and other vehicles. It has a wide range of applications and high practicality.
dir D:sources

Look for either install.wim or install.esd. Do not assume the media uses WIM; use the command matching the file you actually find.

Find the correct image index

For a WIM file:

DISM /Get-WimInfo /WimFile:D:sourcesinstall.wim

For an ESD file:

DISM /Get-WimInfo /WimFile:D:sourcesinstall.esd

The output lists indexes and editions. Select the index that matches your installed edition. Index 1 is not universally Windows 10 Pro.

Repair from an install.wim source

DISM /Online /Cleanup-Image /RestoreHealth /Source:WIM:D:sourcesinstall.wim:INDEX /LimitAccess

Repair from an install.esd source

DISM /Online /Cleanup-Image /RestoreHealth /Source:ESD:D:sourcesinstall.esd:INDEX /LimitAccess

Replace INDEX with the correct number. /Source tells DISM where to find repair files; /LimitAccess prevents it from falling back to Windows Update.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

You can also use a complete repair-source folder:

DISM /Online /Cleanup-Image /RestoreHealth /Source:C:RepairSourceWindows /LimitAccess

Or an approved network source:

DISM /Online /Cleanup-Image /RestoreHealth /Source:\ComputerNamec$Windows /LimitAccess

A network source should come from a computer running the same operating-system version. Managed PCs may also have policies that restrict repair sources; contact IT rather than bypassing those policies.

Check these five things before retrying

Check What to verify
Drive letter Run dir D:sources; USB and mounted-media letters can change.
Filename Use install.wim or install.esd exactly as shown in the Sources folder.
Syntax Use WIM: for WIM and ESD: for ESD, followed by the correct separators and index.
Index Run /Get-WimInfo; choose the installed edition rather than assuming index 1.
Compatibility Match Windows 10 edition, architecture, language, release, and build as closely as possible.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

4. Run SFC after DISM succeeds

Once DISM completes successfully, run the System File Checker:

sfc /scannow

Wait for verification to reach 100 percent. Microsoft recommends DISM before SFC because SFC relies on the component store for replacement files. Results mean:

Rank #4
6 in 1 Screen Repair & Replacement Kit, Window Screen Roller Tool Set
  • 【6 in 1 Screen Repair Kit】This screen repair tool set includes a screen tool roller, screen spline roller tool, screen installation tool and more! Everything you need to repair or replace your window and door screens.
  • 【Sturdy Material】Made with premium materials such as solid wood handles and double carbon steel bearings, these screen repair tool are built to last. Durable materials make them suitable for screens of any specification, including aluminum and plastic steel doors and windows.
  • 【Easy to Use】With ergonomic design and smooth-turning wheels, this screen roller tool makes screen installation and repair a breeze. It's a must-have for DIY ers and professionals alike.
  • 【Screen Spline Tool 】This window screen spline has two different wheels, cams and recessed rollers, to help you complete any job faster and more efficiently. It's also compact and portable, making it easy to take on the go.
  • 【Window Screen Repair Made Easy】Whether you're replacing a few screens or doing a complete window screen replacement, this screen repair kit has everything you need. Get professional-quality results with these screen replacement tools
  • Windows Resource Protection did not find any integrity violations: no protected-file corruption was found.
  • Windows Resource Protection found corrupt files and successfully repaired them: restart Windows and retest the original problem.
  • Windows Resource Protection found corrupt files but was unable to fix some of them: inspect CBS.log and consider an in-place repair.
  • Windows Resource Protection could not perform the requested operation: retry in Safe Mode or continue with deeper servicing repair.

See Microsoft’s DISM and System File Checker instructions for the documented sequence and result messages.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

5. Inspect DISM and CBS logs

If a valid source still fails, inspect:

C:WindowsLogsDISMdism.log
C:WindowsLogsCBSCBS.log

For a shorter SFC report on the desktop, run:

findstr /c:"[SR]" %windir%LogsCBSCBS.log >"%userprofile%Desktopsfcdetails.txt"

Look for the exact missing filename, package name, path, error code, and the point at which the operation fails. These details help distinguish an incorrect path from an inaccessible share, source mismatch, or missing component package.

If the log identifies a specific package, use official Windows media or the Microsoft Update Catalog, matching the Windows build and architecture. Do not download individual DLL files from unofficial websites.

When to use an in-place repair installation

If the standard repair, Windows Update troubleshooting, a correctly matched ISO source, SFC, and log review do not resolve the problem, use an official Windows 10 installation source for an in-place repair installation. Start setup.exe from within Windows and choose the option to keep personal files and applications. Back up first; preservation is an intended option, not an absolute guarantee.

An in-place repair is different from Startup Repair, System Restore, Reset this PC, and a clean installation. Reset may remove applications and settings. A clean installation can erase the Windows installation and is destructive without a separate backup. If Windows cannot boot reliably, use the appropriate recovery environment option instead of assuming an in-place upgrade will work.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Repair installation can still fail because of disk corruption, boot or partition problems, incompatible software, insufficient storage, damaged media, or hardware failure. If the drive is failing, back up immediately and address the hardware problem first.

Quick Recap

SaleBestseller No. 2
Red Devil 4044 Dual Purpose Window Tool
Red Devil 4044 Dual Purpose Window Tool
Window tool; Stainless steel blade, tough plastic handle; V-shaped end packs, shapes, trims new putty
$11.53

Quick diagnosis

Message or situation Best next step
Error 2 or 0x80070002 Validate the path, filename, drive, source, and image index.
0x800f081f Provide a correctly matched local or removable source and use /LimitAccess.
Windows Update also fails Restart, install pending updates, then consider the documented cache reset.
Source is found but repair fails Check edition, architecture, language, release, build, and index.
Component store is non-repairable Skip repeated retries; use matched media or an in-place repair.
DISM succeeds but SFC cannot repair files Review CBS.log and escalate to repair installation if necessary.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.