Browse by type


在 python 目录执行:
pwsh -ExecutionPolicy Bypass -File .\build.ps1 -UpxDir "C:\Users\diwei\PyCharmMiscProject\upx"
构建行为说明:
读取 python/pyproject.toml 的 version-id 和 exe-name-template
固定使用 python/windows.ico 作为可执行文件图标
UPX 目录由 -UpxDir 手动传入,便于开源项目在不同机器复用
未传 -UpxDir 时仍可构建,但不会启用 UPX 压缩
产物命名为 Windows_Update_Manager_<VersionID>.exe(例如 Windows_Update_Manager_EXE-v2.2.exe)
使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自动更新"
此脚本将会禁用Windows Defender,这可能会影响计算机系统安全
脚本运行后需要重新启动计算机设置才会生效
因禁用Windows Defender导致的计算机系统安全问题,脚本制作者不承担任何责任
用法: 下载 "disable-Windows-Defender.bat"
运行 "disable-Windows-Defender.bat"
选择 "1. 关闭Windows Defender" 将会禁用 Windows Defender
选择 "2. 取消关闭Windows Defender" Windows Defender 将会继续启用
如果您需要修改此脚本,请注意此脚本使用的字符集为ANSI,请使用记事本等文本编辑器打开并修改
此脚本将会禁用Windows OneDrive,这可能会影响你的正常工作文件备份
脚本运行后需要重新启动计算机设置才会生效
因禁用Windows OneDrive导致的正常工作文件备份,脚本制作者不承担任何责任
用法: 下载 "disable-Windows-OneDirve.bat"
运行 "disable-Windows-Defender.bat"
选择 "1. 关闭Windows OneDrive" 将会禁用 Windows OneDrive
选择 "2. 取消关闭Windows OneDrive" Windows OneDrive 将会继续启用
如果您需要修改此脚本,请注意此脚本使用的字符集为ANSI,请使用记事本等文本编辑器打开并修改
你有一些建议或想法想要提出? 前往创意-ideas提出
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 |
$ claude mcp add Disable-automatic-Windows-update \
-- python -m otcore.mcp_server <graph>