This post explains how to stop and restart Windows update service from command line(CMD). Make sure that you open elevated administrator command prompt to execute this command.
How to stop Windows update service
Do the following
- Open elevated command prompt
- Run the following command.
net stop wuauserv
C:\Users\Administrator>net stop wuauserv The Windows Update service is stopping. The Windows Update service was stopped successfully.
Update service restarts automatically
It’s observed that just stopping the service does not work in some cases and it restarts automatically. In such cases one can disable the service completely by running below command.
C:\>sc config wuauserv start= disabled [SC] ChangeServiceConfig SUCCESS
Note that these commands to stop or disable service should be run from elevated administrator command prompt. Other wise you will get the following error.
C:\Users\administrator>net stop wuauserv System error 5 has occurred. Access is denied.
How to start windows update
net start wuauserv
C:\Users\Administrator>net start wuauserv The Windows Update service is starting. The Windows Update service was started successfully.