How To Use DISM Command Tool To Repair Windows 10 Image
How To Use DISM Command Tool To Repair Windows 10 Image
How To Use DISM Command Tool To Repair Windows 10 Image
FIXING WINDOWS 10
However, if the replacement files inside the Windows 10 image are damaged in
any way, the SFC tool won't work. In this particular situation, you can use the
DISM tool to scan and repair the "install.wim" image, which you can then use
with SFC to repair your installation.
Best online learning tools for kids: ABCmouse, Reading IQ, & more
Limited Time Offers
In this Windows 10 guide, we'll walk you through the steps to use the DISM and
SFC tools with Command Prompt to bring your device back to a healthy
working state.
Using the Deployment Image Servicing and Management command tool, you
have three main options to repair a Windows 10 image, including "CheckHealth,"
"ScanHealth," and "RestoreHealth," and you want to run them in that hierarchy
order. Also, depending on the complexity of the issue, there are additional
settings that you can use with the "RestoreHealth" option to fix an image using
different sources.
You can use the CheckHealth option with DISM to quickly determine if there
are any corruptions inside the local image, but the option won't perform any
repairs.
To check for issues within the image with DISM, use these steps:
1. Open Start.
2. Search for Command Prompt, right-click the top result, and select the Run
as administrator option.
3. Type the following command to perform a quick health check and press
Enter:
DISM /Online /Cleanup-Image /CheckHealth
You can run DISM with the ScanHealth option instead of "CheckHealth" to
perform a more advanced scan to determine if the Windows 10 image has any
problems.
1. Open Start.
2. Search for Command Prompt, right-click the top result, and select the Run
as administrator option.
Type the following command to perform an advanced DISM scan and press
Enter:
DISM /Online /Cleanup-Image /ScanHealth
Source: Windows Central
After you complete the steps, the advanced scan will take several minutes to
determine if the local image needs repairing.
If there are issues, then you can use DISM with the RestoreHealth option,
which will run an advanced scan and repair any problems automatically.
1. Open Start.
2. Search for Command Prompt, right-click the top result, and select the Run
as administrator option.
Type the following command to repair the Windows 10 image and press
Enter:
DISM /Online /Cleanup-Image /RestoreHealth
Once you complete the steps, the Deployment Image Servicing and
Management tool will connect to the Windows Update servers to download and
replace any damaged files in the local image for Windows 10 as necessary.
The DISM tool is unlikely to run into issues, but in the rare case that Windows
Update is causing problems getting the replacement files or you don't have an
internet connection, you'll need to use an alternative source to repair the files
using another image with the Source option.
The recommended method for accessing a good image is using the Media
Creation Tool to download an ISO image of Windows 10.
Click the link to open the file location with File Explorer.
3.
Source: Windows Central
Source: Windows Central
After you complete the steps, you can use DISM with the "Source" option to
repair the local image of Windows 10.
To run DISM specifying a different source (install.wim) image, use these steps:
1. Open Start.
2. Search for Command Prompt, right-click the top result, and select the Run
as administrator option.
Type the following command to repair the Windows 10 image and press
Enter:
DISM /Online /Cleanup-Image /RestoreHealth
/Source:D:\Sources\install.wim
Source: Windows Central
In the command, make sure to replace "D" for the letter that corresponds to
your ISO mount point.
4. (Optional) Type the following command to limit the use of Windows Update
and press Enter:
DISM /Online /Cleanup-Image /RestoreHealth
/Source:D\Sources\install.wim /LimitAccess
5. (Optional) Type the following variant of the previous command to
accomplish the same task and press Enter:
DISM /Online /Cleanup-Image /RestoreHealth
/Source:wim:D:\Sources\install.wim:1 /LimitAccess
In the command, make sure to change "D:\Sources," for the path that
corresponds
to the location of
the install.wim file.
Once you complete the steps, the command will scan and repair any issues
using the install.wim image that you specified.
3.
Repairing issues with DISM using ESD image
To run DISM specifying a different source (install.esd) image, use these steps:
1. Open Start.
2. Search for Command Prompt, right-click the top result, and select the Run
as administrator option.
Type the following command to repair the image with an external source
and press Enter:
DISM /Online /Cleanup-Image /RestoreHealth
/Source:C:\$Windows.~BT\Sources\install.esd
Source: Windows Central
In the command, make sure to change "C:\$Windows.~BT\Sources," for the
path that corresponds to the location of the install.esd file (if applicable).
4. (Optional) Type the following command to limit the use of Windows Update
and press Enter:
DISM /Online /Cleanup-Image /RestoreHealth
/Source:C:\$Windows.~BT\Sources\install.esd /LimitAccess
5. (Optional)Type the following variant
of the previouscommand to
accomplish the same task and press Enter:
DISM /Online /Cleanup-Image /RestoreHealth
/Source:esd:C:\$Windows.~BT\Sources\install.esd:1
/LimitAccess
6. (Optional) Type the following command to use an install.esd file located in
another drive and press Enter:
DISM /Online /Cleanup-Image /RestoreHealth
/Source:D:\Sources\install.esd
In the command, make sure to change "D:\Sources," for the path that
corresponds to the location of the install.esd file.
After you complete the steps, the Deployment Image Servicing and
Management command tool will run and repair the damaged files using the files
included in the install.esd image. Once the process completes, the log files will
be saved on %windir%/Logs/CBS/CBS.log and
%windir%\Logs\DISM\dism.log capturing any issues found and those that
were fixed.
How to run SFC to repair problems on Windows 10
The instructions outlined above to use DISM will repair any issues with the local
hidden image, but they won't fix any problems with the actual installation of
Windows 10. However, now that you have a healthy image, you can use it with
the System File Checker to repair common issues preventing your device from
running correctly.
To use the SFC command tool to repair the Windows 10 installation, use these
steps:
1. Open Start.
2. Search for Command Prompt, right-click the top result, and select the Run
as administrator option.
3. Type the following command and press Enter:
SFC /scannow
Once you complete the steps, the System File Checker will scan your device
and repair any system files using the good files from the local image to restore
the health of Windows 10.
Although the above command should be enough to fix an installation, there are
5.
a lot of SFC commands that you can use to repair Windows 10.
We're focusing this guide on Windows 10, but you can also use DISM to service
images on Windows 8.1 and Windows 7, but the options available will vary
depending on the version that you're using.
More Windows 10 resources
For more helpful articles, coverage, and answers to common questions about
Windows 10, visit the following resources:
We may earn a commission for purchases using our links. Learn more.
SEEMS FASTER
BUILD IT
SOOOOO PRETTY
We may earn a commission for purchases using our links. Learn more.
MODERN TERMINAL
7.
Windows Terminal is available today from both the Microsoft Store and GitHub.
Unlike the traditional Command Prompt and PowerShell, Windows Terminal is a
modern app with unicode and UTF-8 character support, GPU accelerated text
rendering, custom themes, and can run Linux GUI apps directly.
Best online learning tools for kids: ABCmouse, Reading IQ, & more
Limited Time Offers
Alongside the release of Windows Terminal is a new Windows Package
Manager for developers that will make it easy for developers to set up their work
environments with a command line interface like Windows Terminal. The
Windows Package manager will let developers use scripts to install tools quickly
and easily from an open-source repository hosted on GitHub.
The Windows Subsystem for Linux is also getting some updates, including the
following:
What are your thoughts on Windows Terminal for Windows 10? Let us know in
the comments.
We may earn a commission for purchases using our links. Learn more.
News Windows 10
© Future US, Inc. • Terms & Conditions • Privacy Policy • Cookie Policy • Careers • Licensing •
External Links Disclosure • Accessibility Statement
11.
12.
3.
3.