So, a few months ago i did an update on my computer which has windows 10 and the update failed. Now whenever i restart my computer it comes up with the following message "update failed, to re-install windows, restart the update" the only problem with this is that I can't get it to start up as it keeps displaying this message. I have managed to get command prompt up and was wondering if this could be fixed through it.
Laptop won't boot
Posted 15 May 2018 - 03:22 PM
Please execute below command and reboot your computer to see issue resolves.
mkdir C:\scratch DISM /Image:C:\ /Cleanup-Image /RevertPendingActions /ScratchDir:C:\Scratch
Please replace all of the partition letter C: with Windows installed partition letter. When computer boots into Windows Recovery Environment (WinRE) environment the drive letter assign to Windows partition may not be C: drive letter because Windows 7, 8 , 8.1 and 10 creates a separate system partition when it's installed from scratch. The system partition contains boot files WinRE assigns the system partition the C: drive letter and the Windows installed partition will be assign any other drive letter usually D: drive letter is assign to Windows installed partition. The Bcdedit /enum | find "osdevice" command can be use to find out the drive letter of the Windows installed partition the output of the Bcdedit command is similar to this osdevice partition=D:. The drive letter after partition= is the drive letter of the Windows partition.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users