| 1 | = Windows Ten Update Service Hangs - Wont Update = |
| 2 | |
| 3 | {{{ |
| 4 | Restart Windows update service: |
| 5 | 1. Press Windows key and R key together to open Run dialog. |
| 6 | 2. Then type services.msc in the box and click OK to continue. |
| 7 | 3. In the Services window, scroll down to find Windows Update Service. |
| 8 | 4. Right-click it, select Properties, change its Startup type to Automatic, and change its Service status to Running. |
| 9 | 5. Then click Apply and OK to save the changes. |
| 10 | 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. |
| 11 | |
| 12 | Fix Corrupted Windows Update Database: |
| 13 | 1. Type Command Prompt in the search box of Windows and choose the best-matched one. |
| 14 | 2. Then right-click to choose Run as administrator. |
| 15 | 3. In the Command Line window, type the following commands and hit Enter after each command. |
| 16 | net stop wuauserv |
| 17 | net stop cryptSvc |
| 18 | net stop bits |
| 19 | net stop msiserver |
| 20 | Ren C:\\Windows\\SoftwareDistribution SoftwareDistribution.old |
| 21 | Ren C:\\Windows\\System32\\catroot2 Catroot2.old |
| 22 | net start wuauservnet start cryptSvc |
| 23 | net start bits |
| 24 | net start msiserver |
| 25 | 4. Then wait for the process to be finished and close the command line window. |
| 26 | 5. Once all above processes are finished, reboot your computer and run Windows Update again to check whether you can install Windows updates successfully |
| 27 | and check whether the error that we could not complete the install because an update service was shutting down is fixed. |
| 28 | |
| 29 | also please include runnning the DISM and System File Checker tools just to make sure if there are corrupted Windows Files needed to repair. |
| 30 | Steps: |
| 31 | 1. Run Command Prompt as administrator. |
| 32 | 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. |
| 33 | 3. After that, input the command sfc /scannow and hit Enter to continue. It may also take several minutes to complete the scanning process. |
| 34 | After finishing, exit the command line window. |
| 35 | }}} |