彻底禁用Win10自动更新需四层防护:停用wuauserv、usosvc等5项关键服务;禁用WindowsUpdate及UpdateOrchestrator下全部计划任务;写入注册表锁定NoAutoUpdate策略;通过icacls拒绝系统组件对wuaueng.dll等文件的执行权限,并清空SoftwareDistribution缓存。

你想用一个命令就让 Windows 10 自动更新彻底失效,不再弹窗、不下载、不重启、不偷偷唤醒后台服务——这个批处理脚本就是为这个目标设计的,它整合了服务禁用、计划任务停用、注册表锁定和权限阻断四层防护。
准备管理员权限环境
右键点击“开始”按钮 → 选择“Windows PowerShell(管理员)”或“命令提示符(管理员)”。【必须以管理员身份运行,否则所有操作都将失败】
粘贴以下命令并回车,确认UAC弹窗:
cd /d "%~dp0"
执行核心禁用操作
复制下方全部内容,粘贴进已打开的管理员 PowerShell 窗口,按回车一次性执行:
@echo off
title 彻底禁用 Windows 10 自动更新(2026实测版)
setlocal enabledelayedexpansion
:: 1. 停止并禁用关键服务
net stop wuauserv >nul 2>&1
sc config wuauserv start= disabled >nul
net stop usosvc >nul 2>&1
sc config usosvc start= disabled >nul
net stop usofmsvc >nul 2>&1
sc config usofmsvc start= disabled >nul
net stop WaaSMedicSvc >nul 2>&1
sc config WaaSMedicSvc start= disabled >nul
net stop AppReadiness >nul 2>&1
sc config AppReadiness start= disabled >nul
:: 2. 禁用所有 Windows Update 相关计划任务
schtasks /change /tn "\Microsoft\Windows\WindowsUpdate\AutomaticUpdates" /disable >nul 2>&1
schtasks /change /tn "\Microsoft\Windows\WindowsUpdate\sih" /disable >nul 2>&1
schtasks /change /tn "\Microsoft\Windows\UpdateOrchestrator\Reboot" /disable >nul 2>&1
schtasks /change /tn "\Microsoft\Windows\UpdateOrchestrator\Schedule Scan" /disable >nul 2>&1
schtasks /change /tn "\Microsoft\Windows\UpdateOrchestrator\Download Updates" /disable >nul 2>&1
:: 3. 写入注册表锁定策略(绕过组策略缺失问题)
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /t REG_DWORD /d 1 /f >nul
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /v ExcludeWUDriversInQualityUpdate /t REG_DWORD /d 1 /f >nul
:: 4. 强制重置 Windows Update 权限(防服务被系统自动恢复)
icacls "%windir%\System32\wuaueng.dll" /deny *S-1-15-2-1:(RX) >nul 2>&1
icacls "%windir%\System32\wups2.dll" /deny *S-1-15-2-1:(RX) >nul 2>&1
:: 5. 清空更新缓存目录(防止已下载包触发静默安装)
net stop wuauserv >nul 2>&1
rd /s /q "%windir%\SoftwareDistribution" >nul 2>&1
md "%windir%\SoftwareDistribution" >nul
echo ✅ 已执行全部禁用动作。
echo ⚠️ 请手动重启电脑使设置完全生效。
pause
验证是否生效
重启后,打开“服务”(services.msc),确认以下五项状态均为“已停止”且“启动类型”为“禁用”:
• Windows Update
• Update Orchestrator Service
• Windows Update Medic Service
• USO Core Worker Service(usosvc)
• App Readiness
再打开“任务计划程序”,展开 Microsoft → Windows → WindowsUpdate 和 UpdateOrchestrator,确认所有子任务状态栏显示“已禁用”。
最后,在 PowerShell 中运行:
Get-Service wuauserv,usosvc,WaaSMedicSvc | Select-Object Name,Status,StartType
输出中每项的 Status 必须是 Stopped,StartType 必须是 Disabled。

















