彻底禁止Windows在休眠时自动更新

0) Stop and disable the service:
    * Windows Update
    * Update Orchestrator Service

1) Edit group policy to disable:

Tool: PolicyPlus.exe

psexec -i -d -s C:\temp\Downloads\PolicyPlus.exe
    * Configure Automatic Updates
    * Enabling Windows Update Power Management to automatically wake up the system to install scheduled updates

Reference:
https://www.yudelei.com/index.php/295.html

2) Disable scheduled tasks:

psexec -i -d -s mmc taskschd.msc

Microsoft -> Windows -> UpdateOrchestrator 
Microsoft -> Windows -> Windows Update

Reference:
https://www.tenforums.com/general-support/98784-no-permission-disable-task-task-scheduler.html

3) Remove StartMenuExperienceHost from powercfg /waketimers

StartMenuExperienceHost_cw5n1h2txyewy is randomly starting my computer. And the solution was super easy. Open Windows Start menu and remove any automatically generated icons (weather, photos thumbnails, games etc.). 

Kill StartMenuExperienceHost from task manager -> details, it will restart automatically.
Then this job disappeared from powercfg /waketimers.

Reference: 
https://superuser.com/questions/1513150/why-does-startmenuexperiencehost-want-to-wake-my-computer

4) Forbid timers to wake up from sleep

Battery:
powercfg /SETDCVALUEINDEX SCHEME_CURRENT 238c9fa8-0aad-41ed-83f4-97be242c8f20 bd3b718a-0680-4d9d-8ab2-e1d2b4ac806d 0​

Plug-in:
powercfg /SETACVALUEINDEX SCHEME_CURRENT 238c9fa8-0aad-41ed-83f4-97be242c8f20 bd3b718a-0680-4d9d-8ab2-e1d2b4ac806d 0​

Verification: 
powercfg /devicequery wake_armed
HID-compliant mouse
HID Keyboard Device
HID-compliant mouse (001)
HID Keyboard Device (001)

5) BIOS
Power Management Setup -> PME Event Wake Up

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值