wiki:Windows Ten Update Service Hangs - Wont Update

Windows Ten Update Service Hangs - Wont Update

Restart Windows update service:
1. Press Windows key and R key together to open Run dialog.
2. Then type services.msc in the box and click OK to continue.
3. In the Services window, scroll down to find Windows Update Service.
4. Right-click it, select Properties, change its Startup type to Automatic, and change its Service status to Running.
5. Then click Apply and OK to save the changes.
6. After that, reboot your computer and run Windows Update again to check whether the error is sill occuring and if its please perform other solutions below.

Fix Corrupted Windows Update Database:
1. Type Command Prompt in the search box of Windows and choose the best-matched one.
2. Then right-click to choose Run as administrator.
3. In the Command Line window, type the following commands and hit Enter after each command.
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
Ren C:\\Windows\\SoftwareDistribution SoftwareDistribution.old
Ren C:\\Windows\\System32\\catroot2 Catroot2.old
net start wuauservnet start cryptSvc
net start bits
net start msiserver
4. Then wait for the process to be finished and close the command line window.
5. Once all above processes are finished, reboot your computer and run Windows Update again to check whether you can install Windows updates successfully
and check whether the error that we could not complete the install because an update service was shutting down is fixed.

also please include runnning the DISM and System File Checker tools just to make sure if there are corrupted Windows Files needed to repair.
Steps:
1. Run Command Prompt as administrator.
2. Type the command DISM.exe /Online /Cleanup-image /Restorehealth and hit Enter to continue. It may take several minutes for the command operation to be completed.
3. After that, input the command sfc /scannow and hit Enter to continue. It may also take several minutes to complete the scanning process.
After finishing, exit the command line window. 
Last modified 3 years ago Last modified on 01/27/21 10:33:16
Note: See TracWiki for help on using the wiki.