Sc query appidsvc | findstr /I /C:'STOPPED' If %errorlevel% NEQ 0 echo Failed to stop the wuauserv service. Sc query wuauserv | findstr /I /C:'STOPPED' If %errorlevel% NEQ 0 echo Failed to stop the bits service. to review the code if you 're unsure.Ĭhoice /c YN /n /m 'Do you want to continue with this process? (Y/N) 'Įcho.Canceling the Windows Update process.Įcho.Stopping the Windows Update services.
As well, batch files are almost always flagged by anti-virus, feel freeĮcho. While you are tested and tend to work, We not take responsibility forĮcho. The methods inside this tool modify files and registry settings.Įcho. Learn more about bidirectional Unicode characters To review, open the file in an editor that reveals hidden Unicode characters.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below.