• Tidak ada hasil yang ditemukan

How to use DISM command tool to repair Windows 10 image

N/A
N/A
cono hunter

Academic year: 2024

Membagikan "How to use DISM command tool to repair Windows 10 image "

Copied!
16
0
0

Teks penuh

(1)

We may earn a commission for purchases using our links. Learn more.

Home / Help & How To / Windows REPAIR INSTALLATION

How to use DISM command tool to repair Windows 10 image

If Windows 10 is having problems, it could result from missing or corrupted files. This guide will show you the steps to repair the installation using the Deployment Image Servicing and Management (DISM) and System File Checker (SFC) command tools.

MAURO HUCULAK 2 Mar 2021 76

Order the new Surface devices for Fall 2021 right here!

(2)

On Windows 10, the Deployment Image Servicing and Management is a command-line tool designed for administrators to prepare, modify, and repair system images, including

Windows Recovery Environment, Windows Setup, and Windows PE (WinPE). However, anyone can also use the tool with the local recovery image to resolve common system problems.

Usually, when you need to troubleshoot a specific error, determine why the device stops booting correctly, or resolve performance issues, you can use the System File Checker command-tool to scan and replace missing or corrupted system files using the recovery image. The caveat using this approach is that if one or more Windows 10 files in the image are damaged, the SFC command won't work. If you are in this scenario, you can use the

"install.wim" image with DISM to repair the image and then use the SFC tool to fix the setup without having to reisntall Windows from scractch.

VPN Deals: Lifetime license for $16, monthly plans at $1 & more

Don't miss out

(3)

with Command Prompt to bring a computer back to a healthy working state without the need for reinstallation.

Warning: The commands outlined in this guide are non-destructive, but since you will be making system changes is still recommended to create a temporary full backup before proceeding.

How to use DISM to repair image of Windows 10

The DISM command tool for Windows 10 comes with three options to repair an image,

including "CheckHealth," "ScanHealth," and "RestoreHealth," which you want to run in order.

Depending on the severity of the issue, you can also use the "RestoreHealth" option to fix the locally available image using di erent source files.

DISM command with CheckHealth option

The CheckHealth option with the Deployment Image Servicing and Management command tool allows you quickly determine if there are any corruptions inside the local Windows 10 image. However, the option does not perform any repairs.

To check the Windows 10 image for issues with DISM, use these steps:

How to run DISM to repair image of Windows 10

How to run SFC to repair problems of Windows 10

Open Start.

1.

Search for Command Prompt, right-click the top result, and select the Run as administrator option.

2.

Type the following command to perform a quick check and press Enter:

DISM /Online /Cleanup-Image /CheckHealth 3.

(4)

Once you complete the steps, DISM will run and verify any data corruption that may require fixing.

DISM command with ScanHealth option

The ScanHealth option performs a more advanced scan to determine if the OS image has any problems.

To check problems with the ScanHealth option, use these steps:

Open Start.

1.

Search for Command Prompt, right-click the top result, and select the Run as administrator option.

2.

Type the following command to perform an advanced DISM scan and press Enter:

DISM /Online /Cleanup-Image /ScanHealth 3.

(5)

After you complete the steps, the advanced scan may take several minutes to check and determine whether the Windows 10 image needs repairing.

DISM command with RestoreHealth option

If there are problems with the system image, you can use DISM with the RestoreHealth option to scan and repair common issues automatically.

To repair Windows 10 image problems with the DISM command tool, use these steps:

Open Start.

1.

Search for Command Prompt, right-click the top result, and select the Run as administrator option.

2.

Type the following command to repair the Windows 10 image and press Enter:

DISM /Online /Cleanup-Image /RestoreHealth 3.

(6)

Once you complete the steps, the Deployment Image Servicing and Management tool will connect to Windows Update online to download and replace damaged files (if applicable).

Fix problems with DISM using install.wim image

The DISM command typically completes without issues, but if there are problems replacing the damaged files or you are not connected to the internet, you will need to provide another image using the Source option to complete the task. Usually, you can use an "install.wim" or

"install.esd" file from another computer, bootable install media, or Windows 10 ISO file.

However, you have to make sure that the files match the version, edition, and language of the version of Windows 10 you are trying to fix.

Download Windows 10 ISO file

If you need to use a di erent source for the files, it is recommended to use the Media Creation Tool to download a fresh copy of Windows 10.

To download the ISO file of Windows 10, use these steps:

Quick note: If the command appears stuck at any point, this is normal behavior. After a few minutes, the process will complete successfully.

Open this Microsoft support website.

1.

Click the Download tool now button.

2.

Double-click the MediaCreationToolxxxx.exe file to launch the setup.

3.

Click the Accept button to agree to the terms.

4.

Select the Create installation media (USB flash drive, DVD, or ISO file) for another PC option.

5.

(7)

Click the Next button.

6.

Click the Next button again.

7.

(8)

Select the ISO file option.

8.

(9)

Click the Next button.

9.

Select the destination to store the Windows 10 ISO file.

10.

Click the Save button.

11.

Click the link to open the file location with File Explorer.

12.

(10)

Click the Finish button.

13.

Double-click the Windows.iso file to mount the image.

14.

Under the "This PC" section, confirm the drive letter for the mount in the left pane.

Source: Windows Central

15.

(11)

to repair the local image of Windows 10.

Fix Windows 10 recovery image

To run Deployment Image Servicing and Management tool with an alternate source (install.wim) image, use these steps:

Open Start.

1.

Search for Command Prompt, right-click the top result, and select the Run as administrator option.

2.

Type the following command to repair the Windows 10 image and press Enter:

DISM /Online /Cleanup-Image /RestoreHealth /Source:E:\Sources\install.wim

Source: Windows Central

In the command, replace "F" with the drive letter corresponding to the ISO mount point in File Explorer.

3.

(Optional) Type the following command to limit the use of Windows Update and press Enter:

DISM /Online /Cleanup-Image /RestoreHealth /Source:E\Sources\install.wim /LimitAccess 4.

(Optional) Type the following variant of the previous command to accomplish the same task and press Enter:

DISM /Online /Cleanup-Image /RestoreHealth

/Source:wim:E:\Sources\install.wim:1 /LimitAccess

In the command, change F:\Sources, for the path to the "install.wim" file.

5.

(12)

Once you complete the steps, the command will scan and repair the most common problems using the "install.wim" file you specified as the alternative source.

Fix problems with DISM using ESD image

If you have an encrypted "install.esd" image, you can also use it to repair the damaged files on Windows 10.

To use DISM with an "install.esd" image file as the source to repair Windows 10, use these steps:

Open Start.

1.

Search for Command Prompt, right-click the top result, and select the Run as administrator option.

2.

Type the following command to repair the image with an "install.esd" file and press Enter:

DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\ESD\Windows\sources\install.esd

Source: Windows Central

In the command, change C:\ESD\Windows\sources with the path that corresponds to the location of the ".esd" file (if applicable).

3.

(Optional) Type the following command to limit the use of Windows Update and press Enter:

DISM /Online /Cleanup-Image /RestoreHealth

/Source:C:\ESD\Windows\sources\install.esd /LimitAccess 4.

(Optional) Type the following variant of the previous command to accomplish the same task and press Enter:

5.

(13)

After you complete the steps, DISM will repair the damaged files using the files included in the "install.esd" image.

How to run SFC to repair problems on Windows 10

The instructions outlined above are meant to fix issues with the system image, not the problems with the actual installation of Windows 10. After the image has been restored to a healthy state, you have to use the System File Checker (SFC) command tool to repair the current setup.

To use the SFC command tool to repair the Windows 10 installation, use these steps:

/Source:esd:C:\ESD\Windows\sources\install.esd:1 /LimitAccess

(Optional) Type the following command to use an install.esd file located in another drive and press Enter:

DISM /Online /Cleanup-Image /RestoreHealth /Source:E:\Sources\install.esd

In the command, replace F:\Sources with the path to the location of the "install.esd"

file.

6.

Open Start.

1.

Search for Command Prompt, right-click the top result, and select the Run as administrator option.

2.

Type the following command to repair the installation and press Enter:

SFC /scannow

Source: Windows Central

3.

(14)

Once you complete the steps, the System File Checker tool will repair the system files using the local image files to fix issues with Windows 10, and the log files will be saved on

%windir%/Logs/CBS/CBS.log and %windir%\Logs\DISM\dism.log, which you can view to get more details about the repaired files.

You can use this guide to learn more ways to use the SFC tool to fix problems on Windows 10.

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.

Quick tip: If errors are found, you may want to run the command around three times to ensure that everything was fixed correctly.

Windows 10 on Windows Central – All you need to know

Windows 10 help, tips, and tricks

Windows 10 forums on Windows Central

NO MORE FACEBOOK

Get o WhatsApp forever with these other secure messenger apps Don't agree with the new terms of service WhatsApp has recently laid out?

Don't want Facebook snooping around your business? There are other intuitive messenger services that uphold your privacy, and they're collected right here.

TAKE A SHOT!

Review: FIFA 22 is a big step forward for the series

It's no secret that the FIFA franchise has felt pretty stale throughout the years.

With the newest entry in the series, FIFA 22, out now, EA Sports has managed to inject a ton of life into the series, especially in modes where it was

desperately lacking.

ARMOR UP

Here's the full list of every vehicle in Battlefield 2042

Vehicles are a huge part of the Battlefield experience, and that isn't changing in Battlefield 2042. Here's a breakdown of every vehicle you can get your hands on in the latest Battlefield title.

TOUCHDOWN!

The NFL is back! Check out these must-have Windows apps for football fans

(15)

Windows 10

With these Windows 10 apps, you won't miss a snap of the NFL action.

Keep in Touch

Sign up now to get the latest news, deals & more from Windows Central!

I would like to receive news and o ers from other Future brands.

Yes No

I would like to receive mail from Future partners.

Yes No

SIGN ME UP

No spam, we promise. You can unsubscribe at any time and we'll never share your details without your permission.

Your Email Address

View Comments (76)

Help & How To

You May Like

Sponsored Linksby Taboola

Cars&Yachts

Manila Electric Company

Grammarly

5minstory.com

LoveMyFamilyMag.com

Rebel Wilson is So Skinny Now and Looks Gorgeous! (Photos)

Understanding the Future of Asia Pacific Energy Demands

Improve Your Grammar With This Helpful Browser Extension

Install Now

Most beautiful women in the world 2021

Husband Illustrates Everyday Life With Wife In 22 Pictures, Try Not To Cry!

(16)

© Future US, Inc. • Terms & Conditions • Privacy Policy • Cookie Policy • Careers • Licensing • External Links Disclosure • Accessibility Statement

BestFamilyMag

Jobs in the USA | Search Ads

Online MBA | Search

Wanita tercantik di dunia 2021

Work a USA job from home in Indonesia

Online MBA in Indonesia might be more fun than you think!

Referensi

Dokumen terkait