My Windows 11 wakes up on its own when no one is operating and logs in to other machines through the network. I want to find the program that wakes up my computer. Could you please help me

h h 0 Reputation points
2023-06-30T09:06:34.1266667+00:00

the follow is events in my pc

日志名称:          System
来源:            Microsoft-Windows-Kernel-Power
日期:            2023/6/22 1:40:14
事件 ID:         507
任务类别:          (158)
级别:            信息
关键字:           (1024),(512),(4)
用户:            SYSTEM
计算机:           hanxu-CH
描述:
系统正在退出新型待机状态 

原因: 16777220。
事件 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>507</EventID>
    <Version>11</Version>
    <Level>4</Level>
    <Task>158</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000604</Keywords>
    <TimeCreated SystemTime="2023-06-21T17:40:14.1700599Z" />
    <EventRecordID>8587</EventRecordID>
    <Correlation />
    <Execution ProcessID="4" ThreadID="39172" />
    <Channel>System</Channel>
    <Computer>hanxu-CH</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data Name="EnergyDrain">0</Data>
    <Data Name="ActiveResidencyInUs">12875042404</Data>
    <Data Name="NonDripsTimeActivatedInUs">258806724893</Data>
    <Data Name="FirstDripsEntryInUs">12207511</Data>
    <Data Name="DripsResidencyInUs">14480188124</Data>
    <Data Name="DurationInUs">27355230528</Data>
    <Data Name="DripsTransitions">119</Data>
    <Data Name="FullChargeCapacityRatio">101</Data>
    <Data Name="AudioPlaying">false</Data>
    <Data Name="Reason">16777220</Data>
    <Data Name="AudioPlaybackInUs">0</Data>
    <Data Name="NonActivatedCpuInUs">18625844</Data>
    <Data Name="PowerStateAc">true</Data>
    <Data Name="HwDripsResidencyInUs">14464567154</Data>
    <Data Name="ExitLatencyInUs">0</Data>
    <Data Name="DisconnectedStandby">false</Data>
    <Data Name="AoAcCompliantNic">true</Data>
    <Data Name="NonAttributedCpuInUs">716045</Data>
    <Data Name="ModernSleepEnabledActionsBitmask">7</Data>
    <Data Name="ModernSleepAppliedActionsBitmask">4</Data>
    <Data Name="LidOpenState">false</Data>
    <Data Name="ExternalMonitorConnectedState">true</Data>
    <Data Name="ScenarioInstanceId">41</Data>
    <Data Name="IsCsSessionInProgressOnExit">true</Data>
    <Data Name="BatteryRemainingCapacityOnExit">41512</Data>
    <Data Name="BatteryFullChargeCapacityOnExit">41512</Data>
    <Data Name="ScenarioInstanceIdV2">39</Data>
    <Data Name="BootId">16</Data>
    <Data Name="InputSuppressionActionCount">0</Data>
    <Data Name="NonResiliencyTimeInUs">18446743827616876362</Data>
    <Data Name="ResiliencyDripsTimeInUs">14480188124</Data>
    <Data Name="ResiliencyHwDripsTimeInUs">14464567154</Data>
    <Data Name="GdiOnTime">0</Data>
    <Data Name="DwmSyncFlushTime">0</Data>
    <Data Name="MonitorPowerOnTime">0</Data>
    <Data Name="SleepEntered">true</Data>
    <Data Name="ScreenOffEnergyCapacityAtStart">39735</Data>
    <Data Name="ScreenOffEnergyCapacityAtEnd">41591</Data>
    <Data Name="ScreenOffDurationInUs">5071980</Data>
    <Data Name="SleepEnergyCapacityAtStart">41591</Data>
    <Data Name="SleepEnergyCapacityAtEnd">41512</Data>
    <Data Name="SleepDurationInUs">27350155446</Data>
    <Data Name="ScreenOffFullEnergyCapacityAtStart">41591</Data>
    <Data Name="ScreenOffFullEnergyCapacityAtEnd">41591</Data>
    <Data Name="SleepFullEnergyCapacityAtStart">41591</Data>
    <Data Name="SleepFullEnergyCapacityAtEnd">41512</Data>
    <Data Name="PowerSchemeInfo">4</Data>
    <Data Name="PowerButtonSuppressionActionCount">0</Data>
  </EventData>
</Event>
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 44,776 Reputation points
    2023-06-30T14:25:14.8566667+00:00

    Hello there,

    To determine the program or process that is causing your Windows 11 computer to wake up on its own, you can use the following steps:

    Open a Command Prompt with administrative privileges. Right-click on the Start menu and select "Command Prompt (Admin)" or "Windows PowerShell (Admin)".

    In the Command Prompt window, run the following command to view the list of devices and their respective wake-up sources:

    powercfg -devicequery wake_armed

    This command will display a list of devices that have the ability to wake up your computer from sleep.

    Review the list of devices and note down the ones that are enabled for wake-up.

    Run the following command to determine the last wake-up event:

    powercfg -lastwake

    This command will provide information about the most recent event that caused your computer to wake up.

    Analyze the wake-up event information to identify the program or process that triggered the wake-up. Look for details such as the wake source and the program or process responsible for the event.

    I used AI provided by ChatGPT to formulate part of this response. I have verified that the information is accurate before sharing it with you.

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.