Home  >  Article  >  System Tutorial  >  What to do if Windows Update cannot start the service

What to do if Windows Update cannot start the service

王林
王林Original
2024-09-12 09:49:10579browse

When Windows Update gets stuck because it can’t start the service, don’t worry! PHP editor Strawberry provides you with four simple and effective methods to easily solve this annoying problem. Solve it from the control panel and locate the source of the fault step by step; or use command codes to directly hit the point and quickly repair the service; or try troubleshooting and let the system automatically solve the problem for you. Either way, according to the detailed guide of PHP editor Strawberry, the Windows update service will be revitalized and the road to smooth updates will begin.

Four solutions to the problem that Windows Update cannot start the service

Method 1:

1. First, press the [Win R] key combination on the keyboard to open Run, and then Enter the [control] command and press [OK or Enter] to open the control panel.

2. In all control panel item windows, switch to the [Small Icons] view mode, then under Adjust Computer Settings, find and click [Troubleshooting (Troubleshooting and Solving Common Computer Problems)].

Windows Update无法启动服务怎么办

3. In the troubleshooting window, under System and Security, click [Use "Windows Update" to solve problems].

Windows Update无法启动服务怎么办

4. Solve and help prevent computer problems, click [Next Page].

Windows Update无法启动服务怎么办

5. Tip: Problem is being detected.

Windows Update无法启动服务怎么办

6. If the problem can be detected using the troubleshooter, corresponding solutions will be given.

Method 2: Reset Windows Update components

Open command prompt (run as administrator)

- Run the following command to stop related services:

net stop wuauserv

net stop cryptSvc

net stop bits

net stop msiserver

- Run the following command to rename the software distribution folder:

ren C: WindowsSoftwareDistribution SoftwareDistribution.old

- Run the following command to rename the Catroot2 folder:

ren C: WindowsSystem32catroot2 Catroot2.old

- Finally, restart related services:

net start wuauserv

net start cryptSvc

net start bits

net start msiserver

Method 3: Clear staging folder and restart Windows Update service

- Open command prompt (run as administrator)

- Run the following command to stop Windows Update service:

net stop wuauserv

- Delete everything in the staging folder:

del C:WindowsSoftwareDistribution* /S /Q

- Start Windows Update service:

net start wuauserv

Method 4: Execute the system file checking tool

sfc

In the command prompt, enter and press Enter to execute the [sfc /scannow] command , this command is mainly used to repair system files. Whether the system files are missing or damaged, they can be repaired.

sfc includes the following commands:

sfc /scannow: scan all protected systems Integrity of files and repairing problematic files where possible

sfc /verifyonly: Scans the integrity of all protected system files, no repair operations will be performed

sfc /scanfile: Scans for references Integrity of the file, if problems are found, repair the file (full path needs to be specified)

sfc /verifyfile: Verify the integrity of the file with the full path, but no repair operation will be performed

sfc /offbootdir: For offline repair, specify the location of the offline boot directory

sfc /offwindir: For offline repair, specify the location of the offline Windows directory

sfc /logfile: For offline remediation, selectively enable logging by specifying the log file path

Windows Update无法启动服务怎么办

The above is the detailed content of What to do if Windows Update cannot start the service. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn