System hacks: cumulative update problem two commands to solve

Windows 10 cumulative update brings new experience for users, but it may also bring some unexpected new problems, such as unavailability of internet, missing start menu, program crash and other unpredictable situations after performing cumulative update. For the average computer user, the solution to the problem can only be found in the next cumulative update release.

However, before the latest update arrives, the problematic updates are often installed repeatedly and automatically, which is often related to the update history recorded in “Windows Update” (Figure 1). This problem can be solved by clearing the history of Windows Update. This task can be accomplished with a PowerShell command.


Tip: The PowerShell commands used below will restart the Windows Update service, so do not run the following commands while Windows is in the process of downloading or installing system updates. In addition, if you are concerned that using these commands may damage Windows, create a backup of your system in advance.

1. Clear the update log and reset the update service at the same time

If certain updates that have undesirable consequences recur and execute automatically, you can use the following command to clear the update log and reset the update service.

For example, with Windows 10 version 1803, right-click the Start button and select the Windows PowerShell (Administrator) command. You can also launch the PowerShell window in administrator mode by using the Cortana search box, typing the PowerShell command, and right-clicking “Windows PowerShell desktop application” in the search results. Then run the following command in administrator PowerShell mode (Figure 2).


powershell -windowstyle hidden -command “Start-Process cmd -ArgumentList ‘/s,/c,net stop wuauserv & del %systemroot%SoftwareDistribution DataStoreLogsedb.log & net start wuauserv’ -Verb runAs”

After executing the above command, you can see that the PowerShell window closes and launches a Command Prompt window showing that the Windows Update service is being shut down and restarted. At this point it is not necessary to restart the system and check the Windows Update History page, which no longer has a list of installed updates. All information disappears and there is no way to restore the installed update log.

2. Restart the upgrade service only without clearing the update log

If a problem occurs during a system upgrade and you wish to resolve it by restarting the Windows Update service, but do not wish to clear the previous update logs, simply execute the following command in a PowerShell window in administrator mode (Figure 3).


powershell -windowstyle hidden -command “Start-Process cmd -ArgumentList ‘/s,/c,net stop wuauserv & net start wuauserv’ -Verb runAs”

Leave a Comment