秋谷 -- 溪流

地球轨道是椭圆,不圆我有什么办法?
个人资料
正文

How To Prevent Your Computer From Waking Up Accidentally (zt)

(2016-07-02 21:16:18) 下一个

转帖备忘。

http://www.howtogeek.com/122954/how-to-prevent-your-computer-from-waking-up-accidentally/

=====================

image

If you find your Windows computer waking from sleep for no apparent reason, your computer is either being woken up by a hardware device – such as your mouse — or scheduled task set to wake your computer.

In some cases, the cause may not be obvious. For example, if your laptop occasionally wakes up for no apparent reason, it’s possible that the floor is shaking a bit, causing the mouse to vibrate slightly and wake the computer.

Note: These techniques should work on Windows 7, Windows 8, and Windows 10 roughly the same. The settings might look a little different depending on which operating system you’re using. If you’re using Windows 10 we do have one specific note below on how to fix the problem.

Determining Why Your Computer Last Woke Up

If you’re not sure why your computer just woke up, you can run a command which will tell you. To run this command, you’ll need to use the Command Prompt application, which you can find in your Start menu – press the Windows key, type Command, and press Enter to launch it.

Type the following command into the Command Prompt window and press Enter:

powercfg -lastwake

The output below tells us that a USB device woke the computer. I know my mouse is plugged into a USB port, so it’s clear that my mouse recently woke the computer. To prevent your mouse from waking the computer, consult this article or see below.

image

Controlling Hardware Devices That Can Wake Your Computer

To view a list of the hardware devices that can wake your computer, run the following command:

powercfg -devicequery wake_armed

image

You can stop these devices from waking your computer in the Device Manager. Open it by pressing the Windows key, typing Device Manager, and pressing Enter.

In the Device Manager, locate the device you want to prevent from waking your computer (it will have the same name as it does in the output of the command above). Right-click the device and select Properties.

image

On the Power Management tab, uncheck the Allow this device to wake the computer check box and click OK.

image

Wake Timers & Scheduled Tasks

Programs – scheduled tasks, for example – can ask Windows to automatically wake the computer at a specific time. If a scheduled task sets a “wake timer” for a specific time, your computer will automatically wake up at that time to run the task. This can be useful – for example, you could have your computer automatically wake up in the middle of the night to perform system maintenance tasks.

To see a list of wake timers set on your computer, you can run the following command. Note that this command must be run as Administrator. You’ll have to right-click the Command Prompt shortcut in your Start menu and select Run as Administrator before running this command.

powercfg -waketimers

image

If a specific program is causing your computer to wake, you can uninstall it or adjust the scheduled task’s settings in the Windows task scheduler.

However, if you don’t want any programs waking your computer up automatically, you can disable wake timers entirely. To do so, use the Power Options control panel – open it by pressing the Windows key, typing Power Options, and pressing Enter.

Click the Change plan settings link in the Power Options window.

image

In the next window, click Change advanced power settings.

image

Expand the Sleep section, expand the Allow wake timers section, and ensure that wake timers are set to Disabled.

image

If You’re Using Windows 10

Windows 10 has a new “feature” that wakes the computer up for what they call “important wake timers”, and you will want to disable that if your computer is waking up all the time. Head into Power Options just like we show above, and then find Sleep -> Allow wake timers -> Plugged in and change the setting from Important Wake Timers Only to Disable.

Windows_10

Of course, this isn’t the only thing that could wake up your computer, so make sure that you follow all the other steps above as well.


These are the two ways your computer can automatically wake from sleep – after adjusting these settings, your computer should stay asleep when it’s told to do so.

 

[ 打印 ]
阅读 ()评论 (0)
评论
目前还没有任何评论
登录后才可评论.