• 七角七分博客欢迎大家光临

完全禁止win10自动更新方法

常用技巧 七七 2年前 (2021-11-24) 1个评论

个别需要,需要win10不更新,更新后的有些东西不太好用。以下三种方法可以使用,如果想彻底禁止,最好三种都用了。

1.打开组策略,运行gpedit命令,选择【计算机配置】-》【管理模板】-》【windows组件】然后选择windows更新.在右边【配置自动更新】,双击,然后选择已禁用。

2.右键电脑,依次打开 管理,服务,找到windows updata这个更新项,双击,选择停用,禁止。并在恢复中关闭开机启动。

3:在开始菜单输入 任务计划程序 打开,在windows项下找到windows updata 右侧两个禁用

4.以管理员模式打开POWER SHELL

执行下面语句:

Clear-Host

$WindowsUpdatePath = "HKLM:SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\"

$AutoUpdatePath = "HKLM:SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"

If(Test-Path -Path $WindowsUpdatePath) {

    Remove-Item -Path $WindowsUpdatePath -Recurse

}

New-Item $WindowsUpdatePath -Force

New-Item $AutoUpdatePath -Force

Set-ItemProperty -Path $AutoUpdatePath -Name NoAutoUpdate -Value 1

Get-ScheduledTask -TaskPath "\Microsoft\Windows\WindowsUpdate\" | Disable-ScheduledTask

takeown /F C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator /A /R

icacls C:\Windows\System32\Tasks\Microsoft\Windows\UpdateOrchestrator /grant Administrators:F /T

Get-ScheduledTask -TaskPath "\Microsoft\Windows\UpdateOrchestrator\" | Disable-ScheduledTask

Stop-Service wuauserv

Set-Service wuauserv -StartupType Disabled

Write-Output "已经关闭所有的windows更新"
喜欢 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(1)个小伙伴在吐槽
  1. 刚能用上,谢谢
    匿名2021-12-10 21:14 回复