我已经写过关于如何解决Windows 7 无法睡眠和Windows 8 无法睡眠的问题,但我还没有谈到Windows 10中的睡眠问题。由于(Due)Windows可以运行的机器数量众多且硬件种类繁多,因此每个版本的Windows在某些情况下都会出现休眠问题。
有时问题是由于硬件,有时是由于驱动程序,有时是由于操作系统(operating system)配置不正确。在本文中,我将介绍在Windows 10中可以找到的所有不同解决方案来解决此问题。
请注意,我将尽量不重复Windows 7和Windows 8文章中已经提到的解决方案,因此如果以下解决方案都不起作用,请随意阅读这些解决方案。由于Windows 10相当新,特定机器上似乎存在很多问题,可能是由于驱动程序尚未完全支持Windows 10。
在这些情况下,唯一真正的解决方案是等到适当的 Windows 10 驱动程序发布。如果您发现许多与您使用同一台机器的人都有睡眠问题,那么方法 1是您的最佳选择。(Method 1)
方法 1 – 更新芯片组驱动程序
可能解决此问题的最快方法是从PC 制造商网站(PC manufacturer website)下载适用于您的 Windows 10 机器的最新驱动程序。例如,我有一台戴尔计算机(Dell computer)并使用戴尔系统检测(Dell System Detect),它会自动扫描我的系统并找到所有适当的驱动程序更新。
要更新的最重要的驱动程序是芯片组驱动程序、BIOS 和网卡驱动程序(BIOS and network card drivers)。如果您有定制系统(custom built system),请阅读我关于使用第三方软件查找和更新驱动程序的帖子。我之前也写过更新BIOS可能不是一个好主意,除非在某些情况下,您可能会遇到与硬件相关的问题。如果您决定更新BIOS,请阅读我的帖子,了解如何检查您的BIOS是否有可用的更新。
除了更新驱动程序外,请确保您转到设置(Settings)-更新和安全(Update & Security)并安装来自Microsoft的(Microsoft)Windows 10的所有最新更新。
方法 2 – 检查电源请求
有时某些Windows程序会向系统发送电源请求,从而阻止系统关闭或进入睡眠状态。通常(Normally)这些情况是有效的,例如当您播放DVD并且几个小时没有与鼠标和键盘交互时,屏幕将保持打开状态。(mouse and keyboard)
当程序关闭时,请求应该会自动消失。但是,在某些情况下它可能会卡住。您可以通过打开提升的命令提示符(command prompt)(单击(Click)Start,键入cmd,右键单击Command Prompt并选择Run as Administrator)并键入以下命令来检查所有电源请求:
powercfg -requests
理想情况下,您希望所有项目都说None,这意味着当前不存在电源请求。如果您确实列出了类似SRVNET的内容,请查看我在文章开头提到的 Windows 8 文章。
powercfg 命令(powercfg command)的另一个好用处是查看系统上的哪些设备可以唤醒系统。通常,这包括鼠标和键盘(mouse and keyboard),但有时其他设备(如网卡(network card)、显卡等)会自行注册并可能导致问题。阅读(Read Method 3)我的Windows 7 帖子中的方法 3,以防止设备唤醒您的计算机。
我还读到,选中“仅允许魔术包唤醒(Only allow a magic packet to wake the compute)网络适配器的计算机(network adapter)”框(r box)也可以解决睡眠问题。此外,要查看唤醒计算机的最后一个设备,请运行以下命令:
powercfg -lastwake
方法 3 – 运行疑难解答
Windows 10 安装了一些很好的故障排除应用(troubleshooting apps)程序,可以自动为您解决很多问题。转到控制面板(Control Panel),单击疑难解答(Troubleshooting),然后单击左上角的查看全部。(View all)
您要运行的两个是Power和System Maintenance。
我已经在某些客户端机器上成功运行了这些,所以值得一试。
方法 4 – 断开设备
我有一个客户端的计算机无法睡眠,经过数小时在Windows(Windows)中尝试各种修复后,它最终成为导致问题的罗技 USB 操纵杆!(Logitech USB Joystick)因此,另一个可能简单的解决方案是移除所有连接的USB设备,重新启动计算机并查看Windows 10是否进入睡眠状态。
如果您有任何USB设备(例如写字板、游戏杆、麦克风、相机、外置硬盘等)连接到您的计算机,则尤其如此。如果您确实发现它是您的USB设备之一,请尝试找到该设备的最新驱动程序并安装它。
方法 5 – 干净启动
除了这些问题之外,唯一的另一个原因是某种启动程序或服务(program or service)阻止了 Windows 进入睡眠状态。此问题的唯一解决方案是执行干净启动。您可以在此处阅读有关如何执行干净启动的(perform a clean boot)说明。请按照Windows 8.1(Windows 8.1)的说明进行操作,因为它们与Windows 10相同。
在干净启动中,您基本上禁用所有启动项,然后重新启动计算机。如果您发现计算机要进入睡眠状态,那么您现在知道问题出在其中一个启动程序上。然后,您逐个启用每个启动程序(startup program one)并重新启动计算机,直到问题再次出现。到那时,您就会知道哪个程序是罪魁祸首。这是一个乏味的过程,但它确实有效!
在执行干净启动之前,您可以通过在安全模式下重新启动Windows来快速检查它是否可以工作。(Windows)如果计算机在安全模式下睡眠良好,则继续执行干净启动以查找导致睡眠问题(sleep problem)的程序。
方法 6 – 恢复计划默认值
另一个快速解决方法是恢复您的电源计划(power plan)默认设置。转到控制面板(Control Panel),单击电源选项(Power Options),然后单击您选择的计划旁边的更改计划设置。(Change plan settings)
单击恢复此计划的默认设置(Restore default settings for this pla)并重新启动计算机。
方法 7 – 恢复电脑
这显然是最后的手段,但如果您尝试了其他所有方法,则重置您的 PC 可能是您唯一可以做的事情。查看我关于重置 Windows 10 PC 的帖子。请注意,您可以选择保留您的数据和文件,因此不会彻底清除您的系统。
它基本上是重新安装Windows 10,仅此而已。很多人都用这种方法取得了成功,但它更耗时且风险(time consuming and riskier)更大。确保(Make)在恢复 PC 之前备份数据,以防万一(case something)出现问题。
其他可能的解决方案
有几种一次性解决方案适用于某些人,但没有人真正知道为什么。无论如何,我把它们编译在这里,以防你碰巧是那些人中的一员!
- 一些用户表示,如果他们使用 Microsoft 帐户登录 Windows 10,当(Microsoft account)他们更改(Windows 10)Microsoft帐户(Microsoft account)的密码时,sleep/shutdown problem就会消失。这是零意义,但它对某些人有效。
- 如果你有一台 Windows 电脑(Windows PC),你可能安装了很多英特尔软件(Intel software),比如英特尔管理引擎(Intel Management Engine)、英特尔快速存储技术(Intel Rapid Storage Technology)、英特尔安全助手(Intel Security Assistant)、英特尔高清显卡驱动程序(Intel HD Graphics Driver)等。你真的不需要所有这些软件来为你的系统正常工作,因此您可以尝试卸载这些程序并查看是否可以解决问题。
- 关闭或禁用快速启动。这是Windows 8/10中的一项功能,可帮助计算机(computer boot)从关机状态(而不是重新启动)快速启动。只需谷歌它,看看它是否能解决您的问题。
希望上述解决方案之一适用于您的计算机。如果没有,请发表评论,我会尽力提供帮助。享受!
Troubleshoot Windows 10 Does Not Go to Sleep
I’ve already written about how to fix issues with Windows 7 not going to sleep and Windows 8 not going to sleep, but I haven’t talked about sleep issues in Windows 10. Due to the wide number of machines and huge variety of hardware that Windows can run on, every single version of Windows will have problems going to sleep іn certain situations.
Sometimes the problem is because of hardware, sometimes it’s due to drivers and other times it’s something not configured properly with the operating system. In this article, I’m going to go through all the different solutions I could find to fix this issue in Windows 10.
Note that I’ll try not to repeat the solutions already mentioned in the Windows 7 and Windows 8 articles, so feel free to read those if none of the solutions below work. Since Windows 10 is fairly new, there seems to be a lot of issues on specific machines, probably due to drivers not fully supporting Windows 10 yet.
The only real solution in those cases is to wait until an appropriate Windows 10 driver is released. Method 1 is your best shot if you’ve found that many people with the same machine as yours are having sleep issues.
Method 1 – Update Chipset Drivers
The quickest way to possibly solve this issue is to download the latest drivers for your Windows 10 machine from the PC manufacturer website. For example, I have a Dell computer and using Dell System Detect, it automatically scans my system and finds all the appropriate driver updates.
The most important drivers to update are the chipset drivers, BIOS and network card drivers. If you have a custom built system, read my post on using third-party software to find and update drivers. I’ve also previously written that it’s probably not a good idea to update your BIOS, except for certain cases like this where you’re having possibly hardware-related problems. If you do decide to update the BIOS, read my post on how to check whether an update is available for your BIOS or not.
In addition to updating drivers, make sure you go to Settings – Update & Security and install all the latest updates for Windows 10 from Microsoft.
Method 2 – Check for Power Requests
Sometimes certain Windows programs send power requests to the system, which prevent the system from shutting down or going to sleep. Normally these cases are valid like when you are playing a DVD and there is no interaction with the mouse and keyboard for several hours, the screen will remain on.
The requests should automatically go away when the program is closed. However, there are instances where it can become stuck. You can check to see all power requests by opening an elevated command prompt (Click on Start, type cmd, right-click on Command Prompt and choose Run as Administrator) and typing in the following command:
powercfg -requests
Ideally, you want all of the items to say None, which means no power requests currently exist. If you do have something listed like SRVNET, check out the Windows 8 article I mentioned at the very beginning of the article.
Another good use of the powercfg command is to see which devices on your system can wake the system up. Normally, this includes the mouse and keyboard, but sometimes other devices like the network card, graphics card, etc., register themselves and can cause issues. Read Method 3 from my Windows 7 post to prevent devices from waking your computer up.
I’ve also read that checking the Only allow a magic packet to wake the computer box for your network adapter fixes the sleep issue too. Also, to see the last device that waked your computer up, run the following command:
powercfg -lastwake
Method 3 – Run Troubleshooters
Windows 10 has some good troubleshooting apps installed that can fix a lot of problems for you automatically. Go to Control Panel, click on Troubleshooting and then click on View all at the top left.
The two you want to run are Power and System Maintenance.
I’ve had some success running these on certain client machines, so it’s worth a shot.
Method 4 – Disconnect Devices
I had one client whose computer would not sleep and after hours of trying all kinds of fixes in Windows, it ended up being a Logitech USB Joystick that was causing the problem! So another possibly easy solution is to remove any connected USB devices, restart your computer and see if Windows 10 goes to sleep.
This is especially true if you have any USB devices like writing tablets, joysticks, microphones, cameras, external hard drives, etc. connected to your computer. If you do find that it’s one of your USB devices, try to find the latest driver for that device and install it.
Method 5 – Clean Boot
Beyond these issues, the only other reason is some kind of startup program or service that is preventing Windows from going to sleep. The only solution to this problem is performing a clean boot. You can read instructions here on how to perform a clean boot. Follow the instructions for Windows 8.1 as they will be the same for Windows 10.
In the clean boot, you basically disable all startup items and then restart the computer. If you find that the computer is going to sleep, you now know the problem lies with one of the startup programs. You then enable each startup program one by one and restart the computer until the problem comes back. At that point, you’ll know which program is the culprit. It’s a tedious process, but it does work!
Before performing a clean boot, you can quickly check to see if it’ll work by restarting Windows in safe mode. If the computer sleeps fine in safe mode, then go ahead and perform a clean boot to find the program causing the sleep problem.
Method 6 – Restore Plan Defaults
Another quick fix is to restore your power plan defaults. Go to Control Panel, click on Power Options, and then click on Change plan settings next to the plan you have selected.
Click on Restore default settings for this plan and restart your computer.
Method 7 – Restore PC
This is obviously a last resort, but resetting your PC might be the only thing you can do if you’ve tried everything else. Check out my post on resetting your Windows 10 PC. Note that you can choose to keep your data and files, so it’s not a complete wipe of your system.
It’s basically reinstalling Windows 10 and that’s it. A lot of people have had success with this method, but it’s more time consuming and riskier. Make sure to backup your data before you restore your PC just in case something goes wrong.
Other Possible Solutions
There are several one-off solutions that work for some people and no one really knows why. Anyway, I have compiled them here just in case you happen to be one of those people!
- Some users have stated that if they are log into Windows 10 with a Microsoft account, the sleep/shutdown problem goes away when they change the password on their Microsoft account. This makes zero sense, but it has worked for some.
- If you have a Windows PC, you probably have a lot of Intel software installed like Intel Management Engine, Intel Rapid Storage Technology, Intel Security Assistant, Intel HD Graphics Driver, etc. You don’t really need all this software in order for your system to work, so you can try uninstalling these programs and seeing if that fixes the issue.
- Turn off or disable fast startup. This is a feature in Windows 8/10 that helps the computer boot very fast from a shutdown state (not a restart). Just Google it and see if it fixes your problem.
Hopefully, one of the above solutions will work for your computer. If not, post a comment and I’ll try to help. Enjoy!