如何彻底关闭windows更新

关闭windows更新的方法,win10和winserver不太一样,具体操作步骤如下。

一、Windows 10

1. 原理:

停用windows更新服务并禁止启动,改服务UsoSvc仅影响操作系统更新。

2. 效果:

如何彻底关闭windows更新

3.操作步骤:

可以将下面批处理命令复制到文本文件,后缀名改为.bat,双击运行即可。

@echo off
REM Disable Windows 10 updates

REM Disable Windows Update service
sc config wuauserv start= disabled
sc stop wuauserv

REM Disable Windows Update Orchestrator service
sc config UsoSvc start= disabled
sc stop UsoSvc

echo Windows 10 updates have been disabled.
REG ADD “HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdateAU” /v UseWUServer /t REG_DWORD /d 1 /f
REG ADD “HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdate” /v WUServer /t REG_SZ /d 10086 /f
REG ADD “HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdate” /v WUStatusServer /t REG_SZ /d 10086 /f
REG ADD “HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdateAU” /v NoAutoUpdate /t REG_DWORD /d 1 /f
REG ADD “HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdateAU” /v DisableDualScan /t REG_DWORD /d 1 /f
REG ADD “HKLMSoftwareMicrosoftWindowsCurrentVersionPoliciesServicing” /v LocalSourcePath /t REG_EXPAND_SZ /d 10086 /f
REG ADD “HKLMSOFTWAREPoliciesMicrosoftWindowsWindowsUpdate” /v SetDisableUXWUAccess /t REG_DWORD /d 1 /f
REG ADD “HKLMSOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU” /v AUOptions /t REG_DWORD /d 1 /f
REG ADD “HKLMSYSTEMCurrentControlSetServiceswuauserv” /v Start /t REG_DWORD /d 4 /f
gpupdate /force
echo Windows 10 updates have been disabled.
exit


二、Server 2016


1. 原理:

停用windows更新服务并禁止启动,该服务wuauserv仅影响操作系统更新。禁用UsoSvc服务会导致设置闪退,暂不设置。

2. 效果:

如何彻底关闭windows更新

3.操作步骤:

可以将下面批处理命令复制到文本文件,后缀名改为.bat,双击运行即可。

@echo off

sc config wuauserv start=disabled

sc stop wuauserv

REG ADD “HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdateAU” /v UseWUServer /t REG_DWORD /d 1 /f

REG ADD “HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdate” /v WUServer /t REG_SZ /d 10086 /f

REG ADD “HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdate” /v WUStatusServer /t REG_SZ /d 10086 /f

REG ADD “HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdateAU” /v NoAutoUpdate /t REG_DWORD /d 1 /f

REG ADD “HKLMSoftwarePoliciesMicrosoftWindowsWindowsUpdateAU” /v DisableDualScan /t REG_DWORD /d 1 /f

REG ADD “HKLMSoftwareMicrosoftWindowsCurrentVersionPoliciesServicing” /v LocalSourcePath /t REG_EXPAND_SZ /d 10086 /f

REG ADD “HKLMSOFTWAREPoliciesMicrosoftWindowsWindowsUpdate” /v SetDisableUXWUAccess /t REG_DWORD /d 1 /f

REG ADD “HKLMSYSTEMCurrentControlSetServiceswuauserv” /v Start /t REG_DWORD /d 4 /f

gpupdate /force

exit


原文始发于微信公众号(CC云电脑入门指南):如何彻底关闭windows更新

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

文章由极客之音整理,本文链接:https://www.bmabk.com/index.php/post/270783.html

(0)
葫芦侠五楼的头像葫芦侠五楼

相关推荐

发表回复

登录后才能评论
极客之音——专业性很强的中文编程技术网站,欢迎收藏到浏览器,订阅我们!