joon1000
发表于 2025-2-9 10:32
谢谢,来试试看
jzyzr
发表于 2025-2-9 11:30
现在还有效不?
zrh811
发表于 2025-2-9 22:46
努力工作,努力学习!
sonicszhong
发表于 2025-2-10 09:59
谢谢分享
leiyanfu
发表于 2025-2-10 10:40
努力工作,努力学习!
iddabing
发表于 2025-2-10 14:42
不错的工具,感谢分享!
hua998
发表于 2025-2-11 01:17
感谢分享!!!
htbbbs
发表于 2025-2-11 09:44
谢谢分享,感谢楼主
blue5257
发表于 2025-2-11 10:25
纯支持一下好了
wjqok
发表于 2025-2-11 10:40
@echo off
:menu
cls
echo 请选择功能:
echo 1. 暂停更新至2053年
echo 2. 恢复更新
set /p choice=请输入选项(1或2):
if "%choice%"=="1" (
call :pause_updates
) else if "%choice%"=="2" (
call :resume_updates
) else (
echo 无效的选项,请重新输入。
timeout /t 2 >nul
goto menu
)
pause
exit
:pause_updates
echo 暂停更新...
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v "FlightSettingsMaxPauseDays" /t REG_DWORD /d 7152 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v "PauseFeatureUpdatesStartTime" /t REG_SZ /d "2023-07-07T10:00:52Z" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v "PauseFeatureUpdatesEndTime" /t REG_SZ /d "2053-09-05T09:59:52Z" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v "PauseQualityUpdatesStartTime" /t REG_SZ /d "2023-07-07T10:00:52Z" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v "PauseQualityUpdatesEndTime" /t REG_SZ /d "2053-09-05T09:59:52Z" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v "PauseUpdatesStartTime" /t REG_SZ /d "2023-07-07T09:59:52Z" /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v "PauseUpdatesExpiryTime" /t REG_SZ /d "2053-09-05T09:59:52Z" /f
echo 更新已暂停。
timeout /t 2 >nul
goto :eof
:resume_updates
echo 恢复默认...
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v "FlightSettingsMaxPauseDays" /f
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v "PauseFeatureUpdatesStartTime" /f
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v "PauseFeatureUpdatesEndTime" /f
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v "PauseQualityUpdatesStartTime" /f
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v "PauseQualityUpdatesEndTime" /f
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v "PauseUpdatesStartTime" /f
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v "PauseUpdatesExpiryTime" /f
echo 已恢复默认设置。
timeout /t 2 >nul
goto :eof
aluco
发表于 2025-2-11 10:58
收藏了,谢谢共享
987654321hl
发表于 2025-2-11 11:36
联想的?
cycsain
发表于 2025-2-11 20:19
感谢!下个备用。
lance2009
发表于 2025-2-17 16:21
感谢~~
七兮网络
发表于 2025-2-17 16:48
搬运自那里哇
danshiyuan
发表于 2025-2-17 18:01
谢谢你的搬运
高迪的猫
发表于 2025-2-23 13:31
下载试试,希望还有用!
anyue666
发表于 2025-2-23 14:19
支持 谢谢
zghnsy127
发表于 2025-2-25 10:14
感谢分享这么好的禁用工具!{:5_262:}
nothingness
发表于 2025-2-26 09:07
谢谢楼主分享