In the process of Win10 updates or upgrades, sometimes the progress may not be very smooth, especially when the recurring update failure prompts "Cannot complete the update, is undoing the change" is frustrating.
Solution:
1, the use of Windows 10 installation CD-ROM or u disk to start, you need to pay attention to the media used in the mirror must be consistent with the current system architecture, that is, 32-bit system to use 32-bit installation disk, 64-bit system to use 64-bit installation disk.
2, boot to the following screen, press SHIFT+F10 (notebook may want to press SHIFT+FN+F10) up the command prompt;
3. Execute the following order:
Dism/image: System drive Letter:/cleanup-image/revertpendingactions
① "System letter" to be replaced by the corresponding drive letter, generally this will be assigned to "D", you can open Notepad notepad.exe, and then click on "Open" to view each section of the situation, to make a judgment; You can also use the DIR command for possible letters, such as C, D, E, etc. after the investigation to make a judgment.
② This command may prompt the "staging directory size may not be sufficient to perform this operation ...", you can ignore this tip, the system disk space greater than 1GB does not affect, but you can also add/ScratchDir parameters to specify the directory location, such as you specify the D:emp folder as a staging directory, in the form of:
/SCRATCHDIR:D: EMP ("/" preceded by a space before the character, no spaces in the middle of the argument)
③ If you cannot find the appropriate existing folder as the staging directory, you can create a new one, as follows:
MD Disk Character: Folder path
To delete a folder, you can use the following command (the contents of the folder will be removed):
Rd Drive Letter: Folder path
Wait a moment, the command completes, the problem should be resolved, and the update installation can be retried. After you restart your computer, you can query the log at C:windowslogscbs to find out what went wrong before.