Windows 10 automatically installs the updates, unless you have disabled this feature.
Sometimes problems may occur during installation updates, e.g. when an update hangs and does not let the operating system complete the update process.
Below we will see what you can do in this case. We'll see how you can delete pending updates.
Before proceeding, make sure that the user account you are using has administrative rights. To delete pending Windows 10 updates, you need to open a command prompt with Administrator permissions. (Search for cmd, right-click the icon that will appear and select "open as administrator".
Type or copy and paste the following command:
net stop wuauerv
This command will stop the Windows Update service. Immediately after, type or copy and paste the following command:
rd / s / q "% systemroot% \ SoftwareDistribution \ Download
The command will delete all the updates you have downloaded to your computer.
Now, you need to restart Windows Update:
net start wuauserv