Win10禁止自动更新的终极办法
Win10禁止自动更新的终极办法
1.去下载个SetACL的软件, SetACL 3.0.6 EXE version
https://helgeklein.com/download/#
Manage Windows permissions from the command line (documentation)
Administrators: Download the EXE version of SetACL 3.0.6 for 32-bit and 64-bit Windows.
2.将以下内容复制成bat脚本,跟SetACL64.exe一起运行
============================================================
@echo off
setlocal enabledelayedexpansion
pushd %~dp0
title %~dp0
set "set_acl=%~dp0SetACL64.exe"
echo set_acl=%set_acl%
set "SoftwareDistribution=%SystemRoot%\SoftwareDistribution\Download"
echo SoftwareDistribution=%SoftwareDistribution%
%set_acl% -on "%SoftwareDistribution%" -ot file -actn list
%set_acl% -on "%SoftwareDistribution%" -ot file -actn setprot -op "dacl:p_nc;sacl:p_nc"
%set_acl% -on "%SoftwareDistribution%" -ot file -actn clear -clr "dacl,sacl"
%set_acl% -on "%SoftwareDistribution%" -ot file -actn list
pause
endlocal
============================================================
3.原理
Windows的下载缓存目录是%SystemRoot%\SoftwareDistribution\Download,直接将这个目录的权限设置成无,这样无论哪个程序都访问不了这个目录,当然就没法更新了.
拔网线才是最终手段吧 Win10禁止自动更新
不上网 在组策略禁止更新就行了.
这样一来Windows update也可以照常运行 . Windows update可以运行的情况下微软商店才能正常工作的., 玩一些WIN10平台的游戏没办法
页:
[1]