We could not complete the installation because an update service was shutting down
If you’re faced with this issue, you can try our recommended solutions below in no particular order and see if that helps to resolve the issue. Let’s take a look at the description of the process involved concerning each of the listed solutions.
1] Run Windows Update Troubleshooter
When faced with Windows Update errors, the first thing you need to try is to run the inbuilt Windows Update Troubleshooter and see if that helps to resolve the issue.
2] Reset Windows Update Components manually
At times you may encounter such a problem due to having some kind of corruption in system files. So, if you are still facing the issue after installing the Windows updates manually, reset the Windows Components by following the below instructions: To get it started, open an elevated command prompt first. Now type in the following commands and press enter after entering each command to stop running the Windows Update and other relevant services. Now remove all the qmgr*.dat files from your device. To do so, type the below text code in the command prompt and press the Enter key to run it. At this time, the system may ask for your confirmation, type Y to confirm it. Next, you need to rename the SoftwareDistribution and catroot2 folders. So, type the following command in the command prompt window and hit enter after typing the below command. To reset the BITS service and the Windows Update service to its default security descriptor, type the below commands in the elevated command prompt window. Also, hit Enter after each command to execute them: After that, execute the below command to move to the System32 directory: At this point, you have to re-register the BITS (Background Intelligent Transfer Services) files and the Windows Update related DLL files. To do so, type the below commands one by one and hit enter after each command: Once you successfully re-register the BITS files and Windows Update related DLL file, you need to reset the network configurations. So, type in the below command-line and hit enter after each one. Now restart the stopped services like Background Intelligent Transfer Service, Windows Update, and Cryptographic services. So type in the below text code in the command prompt window and press Enter after each command. Here Exit command will close the window automatically after running the other commands. Once you complete the above procedure properly, reboot your computer to save the changes you made. In case you are still facing the same error code even after resetting the Windows components, move down to the next method below. TIP: You could also use the Reset Windows Update Components Tool.
3] Check the status of Windows Update related Services
Open Windows Services Manager and check the Windows Update related Services like Windows Update, Windows Update Medic, Update Orchestrator Services, etc are not disabled. The default configuration on a standalone Windows 10 PC is as follows:
Windows Update Service – Manual (Triggered)Windows Update Medic Services – ManualCryptographic Services – AutomaticBackground Intelligent Transfer Service – ManualWindows Installer – Manual.
This will ensure that the required Services are available. For instance, to enable BITS on your Windows 10 computer:
Press Windows key + R to invoke the Run dialog.In the Run dialog box, type services.msc and hit Enter to open Services.In the Services window, scroll and locate the Windows Update service.Double-click on the entry to edit its properties.In the properties window, click the drop-down on the Startup type and select Automatic.Click Apply > OK to save changes.
Similarly, ensure the proper state for the other Service. Useful read: Windows Update fails to install or will not download.
4] Run DISM to repair Windows Update components
The Dism.exe tool can be used in different situations, and one of them is to repair corrupted Windows Update files. Do note that you need to run a different command if you want to repair corrupted Windows Update System Files. If you run the usual /RestoreHealth command, it may not necessarily help. DISM will replace potentially corrupted or missing system files with good ones. However, if your Windows Update client is already broken, you will be prompted to use a running Windows installation as the repair source or use a Windows side-by-side folder from a network share, as the source of the files. You will then be required to run the following command instead:
Here you have to replace the C:\RepairSource\Windows placeholder with the location of your repair source. Once the process is complete, DISM will create a log file in %windir%/Logs/CBS/CBS.log and capture any issues that the tool finds or fixes.
5] Directly download the Windows 10 ISO or use the MCT (Media Creation Tool)
You can directly download the Windows 10 ISO image file from the Microsoft website. Once you have downloaded the ISO to a location (preferably the desktop) on your device, double-click the ISO image to mount it as a virtual drive then double-click the setup.exe file to start the in-place upgrade process. Alternatively, you may use the Windows 10 Update Assistant to install the Feature Update. All the best.