By Ivy / Last Updated January 13, 2021

Need help: How do I use DISM offline repair Windows 10 system image?

“I have a machine running Win10 that was fine. But it would not boot one day. I tried my normal steps (eg: safe mode, system restore, sfc, bootrec) without success.” And then, I tried DISM in the offline mode and failed again. The command I used was:
DISM.exe /Image:d:\ /Cleanup-image /Restorehealth /Source:d:\w10\install.wim /LimitAccess /scratchdir:d:\scratch
D: is the drive of Windows installation. And I want to know if there is syntax wrong or how to use DISM offline repair Wiindows 10."

In my opinion, there is a possibility that DISM cannot recognize your source option. You need to mount the ISO you download from website first and then try this command again. See below and follow the detailed steps to use DISM offline repair Windows 10.

Add protection for your system in Windows 10

You may know, before using DISM offline repair your Windows 10 image, you have to learn multiple parameters or the syntax for repair. But this is difficult for most users, and may cause some irreversible losses due to operating errors. Therefore, it's suggested to create a system image in Windows 10 to prevent your computer. Of course, if you are a professional, you can easily master it, just jump to the next part.

Here you will use the best free backup software - AOMEI Backupper Standard to complete this task. It supports complete backup solutions, including system backup, disk backup, partition backup and file backup. Also, it allows you to schedule backup in daily/weekly/monthly, so you will always have the laste backup. If you want more advanced features, such as, event triggers, USB plug in, scheduled differential backup, backup scheme etc, you can choose to upgrade to AOMEI Backupper Professional.

More so, it works well in multiple backup storage and you can choose one depending on your own situations, for example, the internal disk, external hard drive, USB disk, cloud drive, network share/NAS etc. And it has a clean interface and user-friendly design,which can help all the users even novices unstandard and use it software smoothly.

Then, let's get started to backup system in simple steps.

Step 1. Download the best free backup software - AOMEI Backupper, install and launch it. Then, you will see its deed-blue screen.

Step 2. Click Backup and System Backup in order.

System Backup

Note: If you want to backup entire disk, specific partitions or files, you can try "Disk Backup", "Partition Backup" and "File Backup".

Step 3. Select a location for your backup. If you want to backup to USB drive, you need to insert it into your computer.

Select Destination

Step 4. At the lower location of system backup, you can see "Options", "Schedule" and "Scheme" three options. Click them to customize backup settings. Then, confirm everything is ok and click Start Backup.

Schedule Settings General

How to use DISM offline repair Windows 10?

In general, DISM will download necessary files from Windows Update to replace the bad file. But, sometimes, DISM may fail to repair the corrupted image. In this case, you can try DISM command-line with source option.

Before you start

In order to restore the offline image successfully, you need to confirm somethings in the follow.

◆ You need a copy of file from either another computer, a Windows 10 installation media, or the Windows 10 ISO files. It contains all the files DISM may use during the repair process.
◆ The install.wim file must be of the same version, edition as well as language of the operating system you are using.
◆ You need to confirm the location of the install.wim file. The install.wim file is in the source folder of a windows installation media. Sometimes, DISM may tell you a message like “Can’t find source files”. Thus, you’d better mount the file and locate it.
◆ DISM is case sensitive. For example: if you type as install.wim, DISM will fail.
◆ You need to make sure that the install.wim file is not in read-only mode, or DISM will fail to repair image.

Step by step guide: perform DISM offline repair in Windows 10

Step 1. Download Windows 10 1809 ISO from website and mount the ISO in your computer. Then, you can extra the file and acess it.

1.1 Right-click the ISO files and select Mount.

1.2 Go to This PC and confirm the drive letter of the mounted ISO file. If the drive letter is F:, you need to set the source path as F:\source

Step 2. Press WIN + X and select Command Prompt(Admin) in the search result list.

Step 3. Type the following commands and hit Enter. Then, DISM will start to repair Windows image with the known good files from install.wim file.

  • DISM /Online /Cleanup-Image /StartComponentCleanup

  • DISM /Online /Cleanup-Image /AnalyzeComponentStore

  • DISM /Online /Cleanup-Image /RestoreHealth /source:F:\Sources\Install.wim:1 /LimitAccess



In sum

Reading here, you may already know how to use DISM offline repair Windows 10 image. But it's not easy to master because of the complicated syntax. Therefore, it's suggested to create a system image backup to avoid computer failure during the process. If something bad happens, you can restore system image from external hard drive and get your computer back in a very short time.