.bat to stop windows Update

18,998

Solution 1

simple batch which you can even put into your Run at start up. This one works on Windows 8 and older should perhaps work on Windows 10 as well.

@echo off
net stop "Windows Update"

You can also stop it as well as the the background downloading processes. This one works on windows 10

@echo off
net stop wuauserv
net stop bits
net stop dosvc

Solution 2

The name of your service is wuauserv.

If you want to get a list of display names with their associated service names you can do so relatively quickly by utilising WMIC at your Command prompt.

WMIC /Output:Services.txt Service Get DisplayName,Name&&Services.txt

The Services.txt file will be located in the Command prompt's current directory.

Share:
18,998
Angelo Adrian
Author by

Angelo Adrian

Updated on June 04, 2022

Comments

  • Angelo Adrian
    Angelo Adrian almost 2 years

    I have gotten tired of searching how to stop Windows Updates from running permanently in Windows 10 since every after a restart it runs again. It came to my mind that maybe I could make a .bat file that could stop the windows update in the services so that I could just click it every time I turn on my laptop.

    I have known of the sc start/stop serviceName. My question is, what is the name of the Windows Update service? Because when I type in windows update in in the serviceName, it would show that the service is not installed.