有没有办法暂时阻止Windows进入睡眠状态?我有这种讨厌的习惯,在我的笔记本电脑上按下睡眠按钮,同时Norton Ghost正在备份。这通常会破坏备份量,并且需要花费时间和精力来重建。 我知道如何防止窗户关闭但却找不到任何关于停止睡眠的事情。想法是让Ghost在开始备份之前运行prog,然后在完成后运行另一个。
Is there a way of temporarily preventing Windows from being put to sleep? I have this nasty habit of pressing the sleep button on my laptop while Norton Ghost is doing a backup. This usually wrecks the backup volume and takes time and effort to re-build. I know how to prevent windows from shutting down but havent found anything about stopping sleep. The idea would be to have Ghost run a prog before it starts the backup then run another when its finished.
推荐答案如果某些电源选项原则上是可配置的,它可以由powercfg.exe实用程序完成: en.wikipedia/wiki/Powercfg [ ^ ], technet.microsoft/en-us/library/cc748940 %28WS.10%29.aspx [ ^ ](官方Microsoft文档页面), technet.microsoft/en-us/library/cc748940%28v=ws.10%29.aspx [ ^ ]。 另外,使用 If some power option is configurable in principle, it can be done by the utility powercfg.exe: en.wikipedia/wiki/Powercfg[^], technet.microsoft/en-us/library/cc748940%28WS.10%29.aspx[^] (official Microsoft documentation page), technet.microsoft/en-us/library/cc748940%28v=ws.10%29.aspx[^]. Also, use powercfg /?
查看选项。您可能需要以管理员身份运行它: www.sevenforums/tutorials/11841- run-administrator.html [ ^ ]。
to see the options. You may need to run it "As Administrator: www.sevenforums/tutorials/11841-run-administrator.html[^].
太棒了 - 谢谢谢尔盖,看起来就像是什么我需要!我可以设置一个电源方案,当您按下电源按钮然后使用脚本在备份开始之前切换到该电源方案并随后将其切换回来时不执行任何操作。 再次感谢! Awesome - thanks Sergey, that looks like just what I need! I can set up a power scheme that does nothing when you press the power button then use a script to switch to that power scheme before the backup starts and switch it back afterwards. Thanks again!
更多推荐
如何防止Windows进入睡眠状态
发布评论