MCPcopy Create free account
hub / github.com/WavesMan/Disable-automatic-Windows-update

github.com/WavesMan/Disable-automatic-Windows-update @EXE-v2.2

Chat with this repo
repository ↗ · DeepWiki ↗ · release EXE-v2.2 ↗ · + Follow
87 symbols 336 edges 15 files 7 documented · 8% updated 2mo agoEXE-v2.2 · 2026-04-22★ 110

Browse by type

Functions 75 Types & classes 12
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

disable-Windows-update

目录


基于Python GUI的exe应用程序

预览:

Windows自动更新管理

点此前往下载

本地构建(uv)

python 目录执行:

pwsh -ExecutionPolicy Bypass -File .\build.ps1 -UpxDir "C:\Users\diwei\PyCharmMiscProject\upx"

构建行为说明:

  • 读取 python/pyproject.tomlversion-idexe-name-template

  • 固定使用 python/windows.ico 作为可执行文件图标

  • UPX 目录由 -UpxDir 手动传入,便于开源项目在不同机器复用

  • 未传 -UpxDir 时仍可构建,但不会启用 UPX 压缩

  • 产物命名为 Windows_Update_Manager_<VersionID>.exe(例如 Windows_Update_Manager_EXE-v2.2.exe


disable-Windows-update.bat

使Windows10以上系统暂停自动更新,防止系统自动升级

当前版本bat运行后将会使Windows自动更新暂停至2050-01-01 00:00:00

用法:

下载最新稳定版本 "disable-Windows-update.bat"

下载最新测试版本 "disable-Windows-update.bat"

运行 "disable-Windows-update.bat"
选择 "1. 暂停Windows自动更新" 将会使Windows自动更新暂停至2050-01-01 00:00:00
选择 "2. 取消暂停Windows自动更新" Windows自动更新将恢复正常

如果您需要修改此脚本,请注意此脚本使用的字符集为ANSI,请使用记事本等文本编辑器打开并修改

一些常见问题

Q:此脚本的禁用Windows自动更新会不会影响Microsoft Store运行

A:2025-01-09测试结论:不会,如果您无法打开请检查网络环境

Q:想要恢复Windows自动更新怎么办

A:再次运行此脚本,选择 "2. 取消暂停Windows自动更新"


disable-Windows-Defender.bat

此脚本将会禁用Windows Defender,这可能会影响计算机系统安全

脚本运行后需要重新启动计算机设置才会生效

因禁用Windows Defender导致的计算机系统安全问题,脚本制作者不承担任何责任

用法: 下载 "disable-Windows-Defender.bat"

运行 "disable-Windows-Defender.bat"
选择 "1. 关闭Windows Defender" 将会禁用 Windows Defender
选择 "2. 取消关闭Windows Defender" Windows Defender 将会继续启用

如果您需要修改此脚本,请注意此脚本使用的字符集为ANSI,请使用记事本等文本编辑器打开并修改


disable-Windows-OneDirve.bat

此脚本将会禁用Windows OneDrive,这可能会影响你的正常工作文件备份

脚本运行后需要重新启动计算机设置才会生效

因禁用Windows OneDrive导致的正常工作文件备份,脚本制作者不承担任何责任

用法: 下载 "disable-Windows-OneDirve.bat"

运行 "disable-Windows-Defender.bat"
选择 "1. 关闭Windows OneDrive" 将会禁用 Windows OneDrive
选择 "2. 取消关闭Windows OneDrive" Windows OneDrive 将会继续启用

如果您需要修改此脚本,请注意此脚本使用的字符集为ANSI,请使用记事本等文本编辑器打开并修改

更新历史

v2.0 2025-12-24

  • 完整重构 Python GUI,解藕设计
  • 新增 禁/启用 Windows 防火墙
  • 修复 OneDrive 禁用无效的问题
  • 重新设计了 UI,更加简化
  • 复用部分组件,将打包大小从 9.34MB 降低到 8.92MB

New-Ideals

你有一些建议或想法想要提出? 前往创意-ideas提出


Sponsor

Support this project by becoming a sponsor. Your support helps keep this project alive!

Platform Link
💖 爱发电 Sponsor on Aifadian
💰 支付宝 Sponsor on AliPay
🎁 微信 Sponsor on WeChat
⭐ Patreon Sponsor on Patreon
🌟 PayPal Donate via PayPal

Core symbols most depended-on inside this repo

Shape

Method 38
Function 37
Class 12

Languages

Python100%

Modules by API surface

python/core/services.py26 symbols
python/core/main.py15 symbols
python/ui/components.py14 symbols
python/utils/logger.py11 symbols
python/utils/registry_adapter.py7 symbols
python/ui/main.py7 symbols
python/core/time_policy.py4 symbols
python/admin/service.py2 symbols
python/utils/process_runner.py1 symbols

For agents

$ claude mcp add Disable-automatic-Windows-update \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page