Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Windows10 completely forbids automatic updates to be common to all versions.

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Win10 automatic update has always been a big problem, although each update can bring security improvements and new features, but not free to choose whether to update is indeed a very complaining point, especially when you demonstrate the plan to others or gang up with × ×, suddenly pop up a familiar blue background and white words: updating Windows, please do not turn off the computer ~ it is estimated that you have the heart to hit the computer

The author has been using Win10 for a long time. From the earliest 1511 to the present 1703, 1809 will start to push again. It is estimated that there will be a large number of posts complaining about updates on the network. In the past, the most popular way to turn off automatic updates on the Internet was to shut down the Windows Update service, but Microsoft silently enabled the Windows Update service in later versions, even if you had set the disabled state. Later, I found that basically when you restart, the service will change status, that is to say, during the period from boot to shutdown, if your Windows Update service is disabled, then the system will not be quietly enabled in the background. So I'll write a script to disable the Windows Update service every time I turn it on, won't it? don't talk nonsense, go to the script.

@ echo off > nul 2 > & 1 "% SYSTEMROOT%\ system32\ cacls.exe"% SYSTEMROOT%\ system32\ config\ system" if'% errorlevel%' NEQ'0' (goto UACPrompt) else (goto gotAdmin): UACPrompt echo Set UAC = CreateObjec t ^ ("Shell.Application" ^) > "% temp%\ getadmin.vbs" echo UAC.ShellExecute "% ~ s0", "runas" 1 > > "% temp%\ getadmin.vbs"% temp%\ getadmin.vbs" exit / B: gotAdmin if exist "% temp%\ getadmin.vbs" (del "% temp%\ getadmin.vbs") pushd "% CD%" CD / D "% ~ dp0":: net stop wuauservsc config wuauserv start=disabled

Copy the above and save it as wupdate.bat

Then put it under the path below.

C:\ Users\ your user name\ AppData\ Roaming\ Microsoft\ Windows\ Start Menu\ Programs\ Startup

PS: if your computer's UAC permission is default, then every time you turn it on, you will be prompted whether to run this script.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report