Share this article

Improve this guide

Solved: Dism /online /cleanup-image /restorehealth is Stuck

Switch to another file repair command such as SFC

4 min. read

Updated onMarch 26, 2024

updated onMarch 26, 2024

Share this article

Improve this guide

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

Sometimes, the DISM command may not work becauseelevated permissions are sometimes requiredto run commands. Some readers complain of dism /online /cleanup-image /restorehealth getting stuck. This happens at various percentages such as 40 and stays that way for a significant amount of time.

Before applying the solutions below, ensure that you have administrative permissions, that you’re typing the command correctly and try restarting your PC.

How do I fix DISM Online cleanup image RestoreHealth if it’s stuck?

How do I fix DISM Online cleanup image RestoreHealth if it’s stuck?

1. Run the the CHKDSK command

The chkdsk command checks the disk for errors and fixes them. It can take a long time to run, depending on the size of your disk and the number of errors it finds.

2. Run the SFC command

If you’re having trouble with the DISM command and need to repair your system, you can use the built-in System File Checker (SFC) tool. It will detect missing or corrupted system files and replace them.

3. Update your OS

If none of these work, considerstarting your PC in Safe Mode. When you start your PC in safe mode, it will run only the essential system processes and services. Safe Mode is a troubleshooting option that can help you fix a problem on your PC.

It also verifies that a recent change or update is not causing the problem. If the DISM command executes successfully, start your PC normally and run it again.  A section of users was also able to resolve the issue byperforming an in-place upgrade.

How long should DISM take to run?

The DISM command has several components and you can run either depending on the problem at hand. If you’re not sure which command to go for, we explainhow to use the DISM commandsto repair your Windows device.

Each component addresses a specific issue and will take a certain amount of time. The three main components include:

Other factors that play a part in how long the commands will run include:

We can also help if yourDISM command fails completelyso ensure to check out our comprehensive article for possible fixes.

Do let us know of any additional solutions that may have worked for you but are not mentioned here in the comment section below.

More about the topics:dism,Windows 11

Claire Moraa

Windows Software Expert

Claire has a knack for solving problems and improving the quality of life for those around her. She’s driven by rationality, curiosity, and simplicity, and always eager to learn more about Microsoft’s products. With a background in teaching and reviewing, she breaks down complex topics into easily understandable articles, focusing mostly on Windows 11, errors, and software.

User forum

0 messages

Sort by:LatestOldestMost Votes

Comment*

Name*

Email*

Commenting as.Not you?

Save information for future comments

Comment

Δ

Claire Moraa

Windows Software Expert

With a background in teaching and reviewing, she breaks down complex topics into easily understandable articles, focusing mostly on Windows 11 errors.