我的情况如下:
我的电脑上唯一可以将机器从睡眠状态唤醒的设备是网卡(我需要激活它,因为这是一个媒体服务器,远程显示设备需要能够唤醒它)。
目前唯一存在的唤醒定时器来自 DVR 程序 SageTV,该程序使用它们来唤醒以录制节目。即使将唤醒定时器设置为未来某个时间点,系统也不会保持休眠状态。
应用程序日志中充满了如下事件:
Log Name: System Source: Microsoft-Windows-Kernel-Power Date: 4/22/2017 1:24:13 AM Event ID: 42 Task Category: (64) Level: Information Keywords: (1024),(4) User: N/A Computer: Colossus Description: The system is entering sleep. Sleep Reason: System Idle Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Microsoft-Windows-Kernel-Power" Guid="{331C3B3A-2005-44C2-AC5E-77220C37D6B4}" /> <EventID>42</EventID> <Version>3</Version> <Level>4</Level> <Task>64</Task> <Opcode>0</Opcode> <Keywords>0x8000000000000404</Keywords> <TimeCreated SystemTime="2017-04-22T08:24:13.738158400Z" /> <EventRecordID>1973</EventRecordID> <Correlation /> <Execution ProcessID="4" ThreadID="6676" /> <Channel>System</Channel> <Computer>Colossus</Computer> <Security /> </System> <EventData> <Data Name="TargetState">4</Data> <Data Name="EffectiveState">5</Data> <Data Name="Reason">7</Data> <Data Name="Flags">0</Data> <Data Name="TransitionsToOn">24</Data> </EventData> </Event>
随后不久:
Log Name: System
Source: Microsoft-Windows-Kernel-Power
Date: 4/22/2017 1:24:15 AM
Event ID: 107
Task Category: (102)
Level: Information
Keywords: (1024),(64),(4)
User: N/A
Computer: Colossus
Description:
The system has resumed from sleep.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Kernel-Power" Guid="{331C3B3A-2005-44C2-AC5E-77220C37D6B4}" />
<EventID>107</EventID>
<Version>1</Version>
<Level>4</Level>
<Task>102</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000444</Keywords>
<TimeCreated SystemTime="2017-04-22T08:24:15.736975500Z" />
<EventRecordID>1974</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="6676" />
<Channel>System</Channel>
<Computer>Colossus</Computer>
<Security />
</System>
<EventData>
<Data Name="TargetState">4</Data>
<Data Name="EffectiveState">5</Data>
<Data Name="WakeFromState">4</Data>
<Data Name="ProgrammedWakeTimeAc">2017-04-22T18:58:00.000000000Z</Data>
<Data Name="ProgrammedWakeTimeDc">2017-04-22T18:58:00.000000000Z</Data>
<Data Name="WakeRequesterTypeAc">1</Data>
<Data Name="WakeRequesterTypeDc">1</Data>
</EventData>
</Event>
powercfg /lastwake
显示没有发生唤醒机器的事件。
因此系统正在尝试进入睡眠状态...但 2 秒后有东西将其唤醒。
发生了什么事?我该如何解决?
答案1
我遇到了同样的问题。如果没有连接到互联网,它就会处于睡眠状态,因此我通过设备管理器查看了我的网络适配器,并将“模式匹配唤醒”更改为禁用,这帮我解决了这个问题。