Full Guide to DISM Online Cleanup Image in Windows 7

May 10, 2019

DISM online cleanup image in Windows 7 is a command line that can be used to fix corrupted system files. For more information about it, please read this tutorial.

About DISM

DISM (Deployment Image Servicing and Management) is a command line utility for Windows that can be used for a variety of purposes. One of the most common uses of DISM is to check the integrity of operating system files and repair system files that are corrupted, damaged or modified.

Need to run DISM online cleanup image in Windows 7

Everything goes fine until you find that Windows updates and service packs fail to install or the system is having instability issues and other strange problems. Attention, corruptions may occur in system files! You should take immediate measures to repair these corrupted files.

SFC (System File Checker) is the first tool that we always run to check and fix system files. However, sometimes the SFC Scannow not working issue may disappoint you. In such cases, the command line – DISM online cleanup image restorehealth comes to the rescue.

How to use DISM online cleanup image in Windows 7?

Perform the following steps to fix your corrupted files:

Step 1. Type cmd in the search box (in the bottom left of the taskbar) and then right click Command Prompt to choose Run as administrator. Enter the administrator username and password if prompted.

Step 2. Type the following command to check if there are any corrupted files and then press Enter:

DISM /Online /Cleanup-Image /ScanHealth

Scan

Step 3. Type the command below to see if any corruption has been detected and then press Enter.

DISM /Online /Cleanup-Image /CheckHealth

*After running these commands, it will report if the system files are healthy, repairable or irreparable.

Check

Step 4. If the system files are repairable, you can run the following command and press Enter to fix them.

DISM /Online /Cleanup-Image /RestoreHealth

*This may take about twenty minutes to complete. Do not make any changes during the repair process.

Restore

Although your system performance and stability will be improved after running these commands, the repair process takes a long time. You must always be careful with those operations, as data loss might occur if you make a mistake in the process.

Besides, you may meet DISM online cleanup image error 87 when using the above commands. Error 87 often indicates a syntax error in the command, even if you have written the commands correctly.

Backup Windows 7 in case DISM fails

However, a system backup keeps things simple. It enables you to restore the system to the previous working state when your computer goes wrong due to corrupted system files or other factors. With a system backup in hand, you don’t have to worry about DISM errors and data loss any more.

AOMEI Backupper Standard is the most reliable utility to create system images. It is able to backup Windows 10/8.1/8/7/Vista/XP system to internal/external hard drives, cloud drives, NAS devices and network in a few easy steps.

If you’re often busy, you can configure an automatic system backup to run backup tasks automatically. When you are dangerously low on disk space, backup compression or splitting can be your best choice. Anyone can download and use it without charge. Learn the instructions below to backup Windows 7.

Step 1. After you've successfully installed this freeware, open it.

Install

Step 2. Click Backup and System Backup subsequently.

System Backup

Step 3. Change the Task Name as you like. The required system partitions are selected by default in Step 1. Select a destination path (here is E:\) in Step 2 to store the image backup.

Destination Path

Step 4. Click Start Backup to begin backup.

Start Backup

Tips:

  • Backup Options: you can enable email notification, backup compression and backup splitting here.

  • Schedule: check this box to set up an auto backup based on Daily, Weekly or Monthly. To enjoy Event triggers, USB plug in or Real-time Sync modes, you should do an edition upgrade.

  • Scheme: click it to delete old backup images automatically. This feature is available in Pro version and higher versions.

  • Remember the steps to restore system: Home > the system backup task > Restore.

Verdict

When your system files get corrupted, you can repair them by running DISM online cleanup image in Windows 7. This command line may fail sometimes. However, system backups created by AOMEI Backupper Standard eliminate your worries. More pleasing, this freeware can be used to create bootable backup for Windows 10/8/7.