win10关闭系统休眠命令,win10怎么设置定时休眠 您所在的位置:网站首页 win10在哪设置休眠 win10关闭系统休眠命令,win10怎么设置定时休眠

win10关闭系统休眠命令,win10怎么设置定时休眠

2023-03-12 08:33| 来源: 网络整理| 查看: 265

1、定时关机 # 注:/s 关机, /t 后面接时间,单位是秒 shutdown /s /t 3600#一个小时后关机shutdown -a #取消定时关机

注:"shutdown /h"是立即进入休眠的命令,但/h参数不能与/t连用,故不能用shutdown实现定时休眠的功能。/h可与/f连用,/f 表示强制关闭正在运行的应用程序而不事先警告用户。

2、定时休眠

以管理员身份运行cmd或者powershell

powercfg -h onschtasks /create /tn my-standby /tr "rundll32.exe powrprof.dll,SetSuspendState" /sc once /st 23:30schtasks /delete /tn my-standby # 取消定时任务 3、定时睡眠(定时待机):

以管理员身份运行cmd或者powershell

powercfg -h offschtasks /create /tn my-standby /tr "rundll32.exe powrprof.dll,SetSuspendState" /sc once /st 23:30

注:查看休眠是否开启:powercfg /a

在"powercfg -h on"状态下,以管理员身份运行"rundll32.exe powrprof.dll,SetSuspendSta飞艇稳赚不赔的打法exe powrprof.dll,SetSuspendState" /sc once /st 23:30schtasks /delete /tn my-standby # 取消定时任务 3、定时睡眠(定时待机):

以管理员身份运行cmd或者powershell

powercfg -h offschtasks /create /tn my-standby /tr "rundll32.exe powrprof.dll,SetSuspendState" /sc once /st 23:30

注:查看休眠是否开启:powercfg /a

在"powercfg -h on"状态下,以管理员身份运行"rundll32.exe powrprof.dll,SetSuspendState 0,1,0"不会进入睡眠,而是休眠。



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有