Extremely powerful! The DISM.exe tool that comes with Windows can repair the recovery system in time

  

Yesterday Xiaobian introduced in detail how to deal with Win10 when it encounters system failure. This is also the way to restore the system when testing the system and using the software. The following small series for everyone to share a super powerful tool, let's take a look!

To say the backup and recovery functions of the operating system, if you come all the way from WinXP, then Ghost is a suitable backup and recovery solution, but it is weakened a lot under Win10. the reason? The features Microsoft added to Win10 are already very powerful for us.

But there are children's shoes that the backup of Win10 is a slashing goods, in fact, it did not find the correct location. Although there is a backup option in “Settings, it is not a true system backup, its entry is in the lower left corner of the "Control Panel - File History".

After starting the program, you only need to follow the instructions of the system. In addition to the large disk space required for backup, there is no technical content.

The really powerful and easy-to-use solution is the DISM.exe tool (Deployment Imaging and Management) that comes with Windows. If you can apply it flexibly, you can not only make multiple versions independently. Win10 installs a USB flash drive and can also repair and restore the system in time.

Come on, start the system recovery journey of DISM.

Start the administrator mode command prompt (some people laughed at Xiaobian yesterday, it became a life prompt, the real situation is to leave everyone looking for a BUG, ​​definitely not knocking 2 letters), input < Br>

Dism /Online /Cleanup-Image /ScanHealth

Scan all system files and system image files to match the official version (whether you backed up or made a system image), take longer, drink Cup of tea waits patiently for a while.

If the result of the check is the same as that of the Xiaobian computer, then prove that your system is fine, and use it with peace of mind. But if there is an error message, you need to check the damage level of the file with

Dism /Online /Cleanup-Image /CheckHealth

. There are generally two kinds of results: general damage can be repaired and The situation is serious and cannot be repaired at all.

For the former, we can directly call

DISM /Online /Cleanup-image /RestoreHealth

Networking to restore files in the system image file that are different from the official files to The source files of the official system, the software and user settings installed in the system remain unchanged, and the installed system is much better, and the system is not damaged when it is repaired, and it does not delay the things on hand. If the result of the inspection is the latter, there is not a good solution to the problem except for reinstalling the system.

There is no network or fear that it occupies network resources. You can also start the local repair command. The command format is as follows:

Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\\test\\mount \\windows /LimitAccess

In addition, DISM has many other uses, such as

Dism /online /Get-CurrentEdition

Check Image Version

Dism /online /Get-TargetEditions

Check if the system is upgradable

Want to know more commands just type Dism.exe /? at the command prompt? It will be clear at a glance.

The above usage of these DISM, as long as you master, you can always check the operating system for problems. As for restoring the existing operating system with the downloaded system image, only one command is required, but unlike the previous one, we first need to load the image (.iSO) “ in the system, then

Dism /Apply-Image /ImageFile:X:\\sources\\install.wim /Index:1 /ApplyDir:C:\\

where X is the drive letter after the image is mounted.

Of course, we can also use WinPE to maintain the disk in case of system crash and use DISM to repair and restore the operating system. Just need to do two preparations: WinPE must be officially complete with DISM and command prompt function (WinPE made with Microsoft official tools), complete Windows system image in the maintenance disk.

Copyright © Windows knowledge All Rights Reserved