DISM /online/cleanup-image/checkhealth

What Is DISM /Online /Cleanup-image /Checkhealth?

DISM is a tool on Windows used by administrators and non-administrators to repair and prepare system images and troubleshoot errors. It can also be used for Windows PE, Windows Setup, and Windows Recovery Environment.

The DISM tool has different commands you can use. In today’s article, we will focus on the dism online cleanup image checkhealth command. We’ll discuss everything about it, from what it does to how to use it smoothly in Windows 10/11.

What Is DISM /Online /Cleanup-image /Checkhealth?

DISM /online/cleanup-image/checkhealth is a Windows command for scanning the operating system for corrupted files. After scanning your device, the results show how healthy the scanned files are. If the files are corrupted, it specifies whether they are repairable or not. This command does not repair corrupt files.

Many people confuse the checkhealth command with the dism /online /cleanup-image /scanhealth command as they sound pretty similar. The truth is, these commands perform different functions.

Expert Tip: For smoother PC performance, consider using a PC optimization tool. It handles junk files, incorrect settings, and harmful apps. Make sure it's right for your system, and always check the EULA and Privacy Policy.

Free Scan for PC Issues
Compatible with: Windows 10/11, Windows 7, Windows 8

Special offer. About Outbyte, uninstall instructions, EULA, Privacy Policy.

What Is the Difference Between DISM /Online/Cleanup-image/Checkhealth and DISM /Online /Cleanup-image /Scanhealth?

The checkhealth command is simpler and faster to perform than scanhealth. It goes through existing logs to check for reported errors from Windows processes. It only checks for existing errors, which allows it to complete the scan pretty fast. However, note that it does not create any log file.

The scanhealth command, on the other hand, checks all items in the Windows Image Component store and calculates a hash value for the current file. It then compares the file to stored hash values to get the best working version. Unlike checkhealth, this command creates a log file during the process. Therefore, it takes a bit longer to complete because it digs deeper, hence more work.

Is DISM /Online/Cleanup-image/Checkhealth Good Enough?

You are probably wondering why you should use the checkhealth command if it does not perform deep scans. Whether or not to use this command usually depends on how healthy your system is.

The command lets you scan your PC for corruption and verify if there’s anything you can do about it. If it says the Windows image is healthy, then the process is done, and you don’t need to troubleshoot anything else. However, if the scanned files are corrupted but reparable, then you could use the scanhealth command to identify the exact reparable files to work on.

You can then use the Dism /Online /Cleanup-Image /RestoreHealth command to correct the repairable files. If the corrupted files are unrepairable, you have to restart the entire process, which can be time-consuming.

Sometimes, the checkhealth command fails to spot the problematic files causing errors on your PC. In such cases, use scanhealth to perform a deeper scan to help clear the stubborn issues.

How to Use the DISM /Online/Cleanup-image/Checkhealth Command

To scan your computer for corrupted files using this command, follow the steps below:

  1. Hit the Windows key on your keyboard.
  2. Go to the search box in the bottom left corner of the screen and type in “command” (without quotes).
  3. Right-click on the Command Prompt search result and select Run as administrator.
  4. Choose Yes when the User Account Control (UAC) prompt box appears.
  5. Once the CMD window opens, type in “Dism /Online /Cleanup-Image /RestoreHealth” (no quotes).
  6. Then hit Enter.
  7. The “The operation completed successfully” message should appear once the process completes.

What If I Run Into DISM Checkhealth Error 87?

Some users reported running into the “checkhealth option is not recognized in this context” error when using the DISM tool. This annoying issue prevents you from running the command you want. If you encounter it when trying to run the checkhealth scan, here are some workarounds you could try:

Solution 1: Check for Misspellings in the Command

The most common cause of error 87 is using the wrong command. Therefore, verify if you are entering the correct one. For instance, DISM commands have different slashes, which are mostly followed by spaces. Not following that format can easily trigger an error on your device.

For example, here is what the scanhealth command looks like:

dism /online /cleanup-image /scanhealth

Solution 2: Run the SFC Tool

Corrupted system files cause many issues on Windows PCs, including error 87. Using the System File Checker (SFC) can help you quickly scan your computer for corrupted files and automatically repair them.

Here is how to go about it:

  1. Press the Windows logo key + S combination to bring up the search bar.
  2. Type in “cmd” (no quotes) and then right-click on Command Prompt.
  3. Select Run as administrator.
  4. Click Yes in the User Account Control box.
  5. Type “sfc /scannow” (without quotes) into the open Command Prompt window.
  6. Then hit Enter.
  7. Wait for the scan to finish.
  8. Restart your computer.
  9. Finally, run the Command Prompt as an admin and try using the DISM tool to see if the error reappears.

Solution 3: Update Windows

If you have used Windows for a while, then you know the OS misbehaves when it’s outdated. Installing the latest Windows updates helps remove bugs that could be causing problems, such as error 87.

To update your operating system, use this quick guide:

  1. Right-click on the Windows logo key in the bottom left corner of your screen.
  2. Choose Settings from the menu.
  3. When the Settings application launches, navigate to Update & Security.
  4. Click on the “Check for updates” button on the right side of the window.
  5. Windows will automatically check for any available updates and automatically install them. If optional updates are listed, you could also download and install them.
  6. Restart your PC to complete the process.

The error should be gone by now. However, don’t worry if it is still bothering you. The following technique might help resolve it.

Solution 4: Run the Chkdsk Scan

The Chkdsk tool scans your device for existing errors and automatically fixes them. To see if it can remove error 87 from your machine, follow these simple instructions:

  1. Use the Win key + R combo to summon the Run dialog box.
  2. Type in “cmd” (no quotes) and then use the Ctrl + Shift + Enter combination to launch the Command Prompt as an administrator.
  3. Type “chkdsk /offlinescanandfix” (without quotes) into the CMD window and then press Enter.
  4. Wait for the process to end and then restart your Windows PC.

Solution 5: Use System Restore

System Restore is a crucial Windows feature that allows you to reverse any destructive changes you’ve made on your device, such as tweaking registry keys. It’s usually disabled by default, so you have to enable it manually. Therefore, if you have never used it to create a restore point, this solution is not for you. However, if you have created a restore point, then this tool can help revert any recent changes that may be causing the error in question.

These instructions will help you through the process:

  1. Hit the Windows key to open the search box.
  2. Type in “restore point” (no quotes) and then choose the “Create a restore point” search result.
  3. On the System Properties page, click on the System Restore button. If you don’t have any available restore points, this button will be greyed out, meaning you can’t proceed to the next step.
  4. Now click the Next button.
  5. Select your preferred restore point from the presented options.
  6. System Restore will uninstall any software that was installed after the selected date. Click on the “Scan for affected programs” button to see which ones will be removed. Then choose Close.
  7. Click on the Next button when ready to proceed.
  8. Then choose Finish to initiate the process.

System Restore will take your computer back to its previous healthy state. You should now be able to perform any DISM command without further errors. If error 87 reappears even after using this method, then the only option left is to reinstall Windows. Remember that doing so will delete all your files, so make sure to back them up before starting the process.

Pro Tip: Use a Professional Repair Tool

Using a professional PC repair tool such as Outbyte PC Repair helps ensure your computer always stays healthy. It checks your machine for any issues affecting performance and automatically eliminates them. Outbyte PC Repair is among the best repair tools you can get out there today. It carefully scans and cleans your drive, optimizes performance, and boosts your devices’ security and privacy. It is also secure and seamless to use.

If you want to try this software, follow this guide:

  1. Visit the Outbyte PC Repair page to download the software.
  2. Open the downloaded file and choose Yes in the UAC confirmation box.
  3. When a new page opens, select where to install the software. Then pick any of the listed optional features.
  4. Choose the “Click to install” option to start the process.

Choose the “Click to install” option to install Outbyte PC Repair

  1. Wait for the installation to finish. Then click on the checkbox that says “Launch PC repair and scan PC”.
  2. Click on the Finish button.
  3. Outbyte PC repair will launch and automatically start scanning your computer for performance-affecting issues. This could take a few minutes, so feel free to do something else as the software works in the background.
  4. Once done, the tool will show the discovered issues. You can then view and fix them with one click.

8. Once done, the tool will show the discovered issues

  1. Close the application and restart your PC to notice the boosted performance.


The dism exe online cleanup image checkhealth scan is vital as it lets you check your system for corrupted files that could be affecting performance. Fortunately, this detailed article has taught you how to perform the checkhealth command. It has also covered how to eliminate any issues you might experience when running the scan. So, we hope that you are now good to go. However, if you have any problems or questions about today’s topic, feel free to drop them in the comments section below.

Give us some love and rate our post!
[Total: 0 Average: 0]
Notify of
Inline Feedbacks
View all comments
Featured Stories
How to Find MAC Address on Windows 10: Easy Step-by-Step Guide
How to Fix Black Screen Issues in Windows 10
How to Turn Off or Turn Back On Touch Screen on Windows 10
How to Fix Headphones Not Working on Windows 10
Troubleshooting HDMI Port Issues on Windows 10/11
How to Resolve Windows 10 Boot Issues
How to Increase FPS and Optimize Your Windows PC for Gaming
Automating Tasks with Windows Task Scheduler
What Is Device Manager?