之前,我写过一篇关于Windows 7 无法正常进入睡眠模式的文章。人们会认为这个问题将在最新版本的Windows操作系统中得到解决:Windows 10。不幸的是,这种情况并非如此。实际上,这似乎是某些版本的Windows 10的问题。
一旦我升级到最新版本的Windows 10,计算机根本不会睡觉!现在让我澄清一点。如果我手动按下电源(Power)按钮(我已将其设置为电源按钮使计算机进入睡眠状态)或从“开始”菜单中选择“睡眠”选项,计算机将进入睡眠状态。(Sleep)
Windows 10中的睡眠问题在于您设置了计算机应自动进入睡眠的时间。我进行了设置,以便计算机在 30 分钟后进入睡眠状态。然而,这永远不会发生!
不幸的是,发生这种情况的原因有很多,因此您必须仔细检查下面的每个选项并尝试一下。但是,在我们更改任何设置之前,您可以生成一份电源报告,如果幸运的话,它可能会告诉您是什么阻止了计算机进入睡眠状态。
生成功率报告
您在Windows 10(Windows 10)中生成的电源报告有时可以告诉您是什么阻止了计算机进入睡眠状态。我运行它并获得了一些有用的信息。要运行功率报告,请打开管理命令提示符并键入以下命令:
powercfg.exe /energy
运行大约需要一分钟左右,完成后,它会告诉您发现了多少错误和警告。希望(Hopefully)如果您在 Windows 10 机器上遇到此睡眠问题,您会有一些错误!
如您所见,我有 6 个错误和 14 个警告。错误确实是您必须查看的唯一部分。为了查看报告,您必须转到 C:WindowsSystem32 并在浏览器中打开 energy-report.html 文件。但是,由于某些奇怪的原因,当我尝试从该目录打开该文件时,它不会在任何浏览器中加载,所以我只是将报告复制到我的桌面,然后打开它,它工作正常。
第一个错误似乎是导致我的 PC 睡眠问题的错误:
System Availability Requests:System Required Request
设备或驱动程序已发出请求以防止系统自动进入睡眠状态。( The device or driver has made a request to prevent the system from automatically entering sleep.)
Driver Name \FileSystem\srvnet
该报告很有用,因为它清楚地告诉您是否有东西阻止计算机进入睡眠状态。其他 5 个错误清楚地表明它们不会阻止计算机进入睡眠状态。
下面,我将讨论如何修复SRVNET错误,这是阻止计算机睡眠的最常见错误。但是,您可能会得到如下所示的电源报告:
这里有几个问题。首先,插入时计算机没有设置为睡眠或关闭显示器。其次,有一个USB设备没有进入Selective Suspend状态,这将阻止PC进入睡眠状态。
最后,计算机的硬件不支持 S3 睡眠状态,这意味着您对此无能为力。如果硬件不支持睡眠状态,那么您唯一的选择是更新BIOS并希望该设置出现。
网络适配器
另一个可以阻止计算机休眠的主要组件是网卡。首先,您应该更新网卡的驱动程序,看看是否可以解决问题。如果没有,您需要进入控制面板(Control Panel),点击网络(Network)和共享中心(Sharing Center),然后点击更改适配器设置( Change adapter settings)。
右键单击(Right-click)活动网络适配器并选择Properties。如果您有多个活动网络适配器,请按照以下步骤处理所有这些适配器。
单击以太网(Ethernet)属性对话框顶部的配置按钮。(Configure)
最后,单击电源管理(Power Management)选项卡并确保选中允许计算机关闭此设备以节省电源(Allow the computer to turn off this device to save power)框。
这将允许计算机在计算机设置为进入睡眠状态时关闭网络适配器。如果您的系统上安装了任何其他类型的专用硬件,请对这些组件执行相同的过程。
修复 SRVNET 主动远程请求
那么如何解决这个特定问题呢?您可以尝试几件事。我们将从更简单的东西开始,然后转向更具技术性的解决方案。按顺序尝试它们并在每种方法之后检查您的系统,看看它是否解决了Windows 10中的睡眠问题。
方法 1 – 家庭组
您可以做的第一件事是继续将自己从Windows HomeGroup中删除,如果您碰巧加入其中的话。显然,家庭组(HomeGroup)可能会以某种方式损坏或配置错误,这会导致计算机认为有对计算机的活动远程请求。这意味着它永远不会睡觉。
要离开家庭组,请打开控制面板(Control Panel)并单击家庭组(HomeGroup)。然后向下滚动并单击离开家庭组(Leave the homegroup)链接。如果您确实需要使用HomeGroup ,那么您也可以保留它并在属于(HomeGroup)HomeGroup的所有计算机上创建一个新的。这也将重置它并有望解决问题。
方法 2 – 媒体流
您可以尝试的第二件事是关闭媒体流。媒体流(Media Streaming)是一项功能,可让您将计算机变成一种本地媒体服务器,人们可以通过网络访问图片、视频和音乐。要关闭媒体流,请再次转到控制面板(Control Panel),单击网络和共享中心(Network and Sharing Center)(或网络和 Internet(Network & Internet),如果不使用图标)。然后单击左侧栏中的更改(Change) 高级共享设置。(Advanced Sharing Settings)
现在向下滚动到媒体流(Media Streaming)部分,然后单击选择媒体流选项(Choose media streaming options)链接。
现在继续并单击右上角的全部阻止( Block All)按钮。然后单击底部的确定,这将关闭媒体流。
尝试重新启动计算机并检查它是否在适当的时间进入睡眠状态。如果没有,请继续阅读!
方法 3(Method 3) –在设备管理器中(Device Manager)检查驱动程序(– Check Driver)
SRVNET驱动(SRVNET)程序通常与网络相关。这可能是远程网络连接,我们试图在上述两种方法中禁用它,也可能是计算机上的网卡本身。大多数网卡都有电源管理和网络唤醒选项。您要做的第一件事是通过从网卡制造商的网站下载网卡驱动程序来更新网卡驱动程序。
接下来,转到设备管理器(Device Manager),展开网络适配器(Network adapters),然后右键单击网卡并选择属性 (Properties )以弹出属性对话框。
现在,您要更改或查看的设置可以位于两个位置之一。在“属性(Property)”框中的“高级(Advanced)”选项卡或“电源管理(Power Management)”选项卡中。如果您没有“电源管理(Power Management)”选项卡,请单击“高级(Advanced)”,列表框中应该有一个名为“省电模式”(Power Saving Mode)或类似名称的属性。
确保选中允许计算机关闭此设备以节省电源。(Allow the computer to turn off this device to save power)如果选中允许此设备唤醒计算机(Allow this device to wake the computer),请继续取消选中它,看看是否可以解决问题。
方法 4 – 覆盖 SRVNET
您可以做的最后一件事是简单地覆盖操作系统中的SRVNET。这意味着即使有远程连接到计算机,它们也将被简单地覆盖,并且计算机将被允许进入睡眠状态。这基本上允许计算机在系统上远程打开时进入睡眠状态。
您需要打开管理命令提示符并输入以下命令:
powercfg /requestsoverride DRIVER srvnet System
如果没有其他工作,您的计算机此时绝对应该进入睡眠状态!该命令不会对您的计算机造成任何问题,但如果您确实发现有问题,您可以使用以下命令撤消上述命令:
powercfg /requestsoverride DRIVER srvnet
如果您的 Windows 10 机器进入睡眠状态仍然存在问题,请在评论中告诉我们您尝试了什么以及您的设置是什么样的。希望(Hopefully)本指南能为大多数用户解决这个问题。享受!
Ultimate Troubleshooting Guide for Windows 10 Not Going to Sleep
Previously, I hаd written an articlе about Windows 7 not going tо sleep mode propеrly. One would think this problem would be fixed in the latest version of Windows opеrating system: Windows 10. Unfortunately, this is not the casе. Actually, it seemѕ to be an issue with сertain versions of Windows 10.
Once I upgraded to the newest version of Windows 10, the computer simply wouldn’t sleep! Now let me clarify a little. The computer will go to sleep if I manually press the Power button (I have it set so that the power button puts the computer to sleep) or choose the Sleep option from the Start menu.
The problem with sleep in Windows 10 is the setting where you set the time after which the computer should automatically go to sleep. I had it setup so that the computer should sleep after 30 minutes. However, this never happens!
Unfortunately, there are a lot of different reasons why this could be happening, so you kind of have to go through each option below and try it out. Before we change any settings, however, you can generate a power report, which if you’re lucky, might just tell you what’s preventing the computer from sleeping.
Generate Power Report
The power report you generate in Windows 10 can sometimes tell you what is preventing the computer from going to sleep. I ran it and got some useful info. To run the power report, open an administrative command prompt and type in the following command:
powercfg.exe /energy
It’ll take about a minute or so to run and after it finishes, it’ll tell you how many errors and warnings were found. Hopefully, if you’re having this sleep problem on your Windows 10 machine, you’ll have some errors!
As you can see, I had 6 errors and 14 warnings. The errors is really the only section you have to look at. In order to view the report, you have to go to C:\Windows\System32 and open the energy-report.html file in your browser. However, for some odd reason, the file would not load in any browser when I tried to open it from that directory, so I just copied the report to my desktop and then opened it and it worked fine.
The first error is the one that seems to be causing my PC sleep issues:
System Availability Requests:System Required Request
The device or driver has made a request to prevent the system from automatically entering sleep.
Driver Name \FileSystem\srvnet
The report is useful because it clearly tells you whether something is preventing the computer from entering sleep or not. The other 5 errors clearly state that they won’t prevent the computer from going to sleep.
Below, I talk about how to fix the SRVNET error, which is the most common error that prevents a computer from sleeping. However, you could have a power report like the one below:
Here there are a couple of issues. Firstly, the computer is not set to sleep or turn off the display when plugged in. Next, there is a USB device that is not entering Selective Suspend state, which will prevent the PC from sleeping.
Lastly, the hardware of the computer does not support the S3 sleep state, which means there is nothing you can do about it. If the hardware doesn’t support a sleep state, then your only option is to update the BIOS and hope that the setting appears.
Network Adapter
One other major component that can prevent a computer from sleeping is the network card. Firstly, you should update the driver for the network card and see if that fixes the problem. If not, you need to go to Control Panel, click on Network and Sharing Center, then click on Change adapter settings.
Right-click on the active network adapter(s) and choose Properties. If you have more than one active network adapter, then follow the procedure below for all of them.
Click on the Configure button up at the top on the Ethernet properties dialog box.
Finally, click on the Power Management tab and make sure the Allow the computer to turn off this device to save power box is checked.
This will allow the computer to turn off the network adapter when the computer is set to go to sleep. If you have any other kind of specialty hardware installed on your system, follow the same procedure for those components.
Fixing SRVNET Active Remote Request
So how do you fix this particular issue? There are a couple of things you can try. We’ll start with the easier stuff and move on to the more technical solutions. Try them in order and check your system after each method to see if it fixed the sleeping issue in Windows 10.
Method 1 – HomeGroup
The first thing you can do is to go ahead and remove yourself from the Windows HomeGroup, if you happen to be joined to one. Apparently, the HomeGroup can become corrupt or misconfigured in some way and it will cause the computer to think there is an active remote request to the computer. This means it’ll never sleep.
To leave a HomeGroup, open Control Panel and click on HomeGroup. Then scroll down and click on the Leave the homegroup link. If you really need to use a HomeGroup, then you can also leave it and create a new one on all of the computers that are part of the HomeGroup. This will also reset it and hopefully fix the issue.
Method 2 – Media Streaming
The second thing you can try is to turn off media streaming. Media Streaming is a feature that lets you turn your computer into a kind of local media server whereby people can access pictures, videos, music over the network. To turn off media streaming, go to Control Panel again, click on Network and Sharing Center (or Network & Internet, if not using icons). Then click on Change Advanced Sharing Settings in the left hand column.
Now scroll down to the Media Streaming section and click on the Choose media streaming options link.
Now go ahead and click on the Block All button at the top right. Then click Ok at the bottom and that will turn off media streaming.
Try to restart your computer and check to see if it goes to sleep at the appropriate time. If it doesn’t then read on!
Method 3 – Check Driver in Device Manager
The SRVNET driver is normally network related. This can either be remote network connections, which we tried to disable in the two methods above, or it could be the network card itself on the computer. Most network cards have power management and wake-on-lan options. The first thing you’ll want to do is update the driver for your network card by downloading it from the card manufacturer’s website.
Next, go to Device Manager, expand Network adapters and then right-click on the network card and choose Properties to bring up the properties dialog box.
Now the settings you want to change or take a look at can reside in one of two places. Either on the Advanced tab in the Property box or in the Power Management tab. If you don’t have the Power Management tab, then click on Advanced and there should be a property in the listbox called Power Saving Mode or something similar.
Make sure the Allow the computer to turn off this device to save power is checked. If Allow this device to wake the computer is checked, go ahead and uncheck it and see if that solves the issue.
Method 4 – Override SRVNET
The last thing you can do is to simply override SRVNET in the operating system. This means that even if there are remote connections to the computer, they will simply be overridden and the computer will be allowed to sleep. This basically allows the computer to sleep with remote opens on the system.
You’ll need to open an administrative command prompt and type in the following command:
powercfg /requestsoverride DRIVER srvnet System
Your computer should definitely go to sleep at this point if nothing else worked! The command should not cause any issues with your computer, but if you do find something is amiss, you can undo the above command with the following:
powercfg /requestsoverride DRIVER srvnet
If you’re still having issues with your Windows 10 machine going to sleep, let us know in the comments what you tried and what your setup is like. Hopefully this guide will fix the issue for most users. Enjoy!