3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 2800|回复: 3
打印 上一主题 下一主题

[原创] Win10禁止自动更新的终极办法

[复制链接]

7

主题

543

帖子

829

积分

超级玩家

Rank: 5Rank: 5

贡献度
50
金元
6294
积分
829
精华
0
注册时间
2006-6-5
跳转到指定楼层
主题
发表于 2018-9-10 10:52 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

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,直接将这个目录的权限设置成无,这样无论哪个程序都访问不了这个目录,当然就没法更新了.

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2026-4-5 03:18 , Processed in 0.025926 second(s), 16 queries , Memcached On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表