Sometimes, you may encounter a problem in Windows that may lock you out of your account until you resolve the issue. Installation of incompatible system software is one of the causes of Windows 10 crashes.
Other causes of system crashes include:
Whatever the cause of the system crash, the methods of repairing Windows 10 remain the same. You can repair your Windows 10 Operating System through the following methods:
CMD is the core terminal of the Windows Operating System. You can make thousands of commands on CMD that help with your computer’s performance.
DISM is one of the commands that you should use when your computer is misbehaving. DISM (Deployment Image Servicing and Management) not only allows you to repair your Windows 10 OS, but also helps you to create Images like the Windows Recovery Environment, Windows Setup, and Windows PE images.
The software was created way before Windows 10 was made. It was tested on Windows Vista SP1 and proved to be a major component in Windows. It has now been made a default pre-installed feature in Windows 10.
Here are the steps to take in order for you to be able to recover Windows 10 with the Deployment Image Servicing and Management:
There are several ways you can run command prompt as an admin:
After being successful in starting command prompt, it is time to feed it a few command codes.
You are supposed to use the three command options DISM offers: CheckHealth, ScanHealth, and RestoreHealth.
This command is supposed to check whether your Windows 10 image is damaged. It reads any the of damage that the image has and reports it. This should be the first code you use before the others.
DISM /Online /Cleanup-Image /CheckHealth
Note: This command is not for repairing any of the detected issues. It is only meant to scan for them.
This command is much like the CheckHealth command. The only difference it has with CheckHealth is the duration of time it will take for it to complete the scan. It takes it about 10 minutes to complete the overall scan.
Since they are literary doing the same thing, one might think of leaving behind this option and jumping to the next one. It is, however, advisable to use all of these options sequentially. Here is the command for ScanHealth:
DISM /Online /Cleanup-Image /ScanHealth
This option takes about 20 minutes to complete on an average computer. This option is the one which does all of the repair work.
It scans and fixes anything that seems corrupted in the Windows image:
DISM /Online /Cleanup-Image /RestoreHealth
The process is slow and sometimes, you may think that it is stuck, usually at 30-40%. However, do not cancel it. It should move after some few minutes.
You can repair Windows 10 images by selecting which source you want to repair. This can be done through an install.ESD file.
Some of the installation files can still be found in partition C:/ in a newly installed Windows 10. You can specify where the process is to be done.
Here is the command to start off the repair:
DISM /Online /Cleanup-Image /RestoreHealth /Source:C:$Windows.~BTSourcesInstall.esd
You can also use this to reduce the usage of Windows Update:
DISM /Online /Cleanup-Image /RestoreHealth /Source:C:$Windows.~BTSourcesInstall.ESD /LimitAccess
This is also another command you can use:
DISM /Online /Cleanup-Image /RestoreHealth /Source:ESD:C:$Windows.~BTSourcesInstall.esd:1 /LimitAccess
You can use the following command if your install.ESD file is not on the current drive:
DISM /Online /Cleanup-Image /RestoreHealth /Source:repairSourceInstall.esd
CheckDisk is also a valuable asset when it comes to repairing Windows. The program finds any damaged system file and repairs it. The success of the repair greatly depends on the extent of damage the files have had.
Check Disk can be run in various ways: