How to solve the Win10 system update/upgrade failure?

  
During the Win10 update or upgrade process, sometimes the progress may not be very smooth, especially the repeated update failure prompts <; unable to complete the update, is canceling the change & is very disappointing. However, this problem can be solved, and it is not difficult. The IT House can handle it with one command.

The specific method is as follows:
1, using Windows 10 installation CD or U disk boot, you can use the soft media Rubik (click to download) CD burning or U disk boot tool, through Win10 image production, the latest Win10 image Download this point to enter. Note that the image in the media used must be consistent with the architecture of the current system, which means that 32-bit systems use 32-bit installation disks, and 64-bit systems use 64-bit installation disks.
2, after booting to the following screen, press Shift+F10 (notebook user may press Shift+Fn+F10) to bring up the command prompt

3. Execute the following command:
DISM /image : System drive letter: /cleanup-image /revertpendingactions

Note:
1“System drive letter”To be replaced with the corresponding drive letter, generally it will be assigned as “D”, You can make a judgment by opening the notepad notepad.exe and then clicking “Open” to view each partition. You can also use the dir command to check the possible drive letters, such as C, D, E, etc.

2 The command may prompt "Scratch directory size may not be sufficient to perform the operation ……", you can ignore this prompt, the system disk space is greater than 1GB, but it can also Specify the directory location by adding the /scratchdir parameter. For example, if you specify the D:temp folder as a temporary directory, the format is:
/scratchdir:D:temp(“/”Before you have a space with the previous character There are no spaces in the middle of the parameter.
3 If you can't find it The appropriate existing folder as a temporary directory, you can create a new one, the command is as follows:
md drive letter: folder path
To delete the folder, you can use the following command (all contents of the folder will be deleted):
rd drive letter: folder path
A moment later, the command is executed, the problem should be solved, you can retry the previous update installation. After restarting the computer, you can check the logs at C:WindowsLogsCBS to find out what went wrong.

Copyright © Windows knowledge All Rights Reserved