Windows resumes from sleep randomly, difficult to troubleshoot


  1. Posts : 96
    Microsoft Windows 10 Pro for Workstations 64-bit 19044 Multiprocessor Free
       #1

    Windows resumes from sleep randomly, difficult to troubleshoot


    I only want to resume my computer via my mouse or ethernet/wake-on-LAN. And they work fine. But, my computer resumes from sleep totally randomly also. For example a few times I've been watching TV, several meters away from my computer in sleep, nothing touching the computer in any way, nobody even moving in the room. And suddenly the computer resumes from sleep (in which it has been for many hours). This is not because of Task Scheduler waking it up, either.

    powercfg /devicequery wake_armed
    • Intel(R) Ethernet Connection (2) I219-V
    • Logitech HID-compliant G3/MX518 Optical Mouse (002)


    powercfg -lastwake
    • Wake History Count - 1Wake History [0] Wake Source Count - 1 Wake Source [0] Type: Device Instance Path: PCI\VEN_8086&DEV_A2AF&SUBSYS_86941043&REV_00\3&11583659&0&A0 Friendly Name: Intel(R) USB 3.0 eXtensible Host Controller - 1.0 (Microsoft) Description: USB xHCI Compliant Host Controller Manufacturer: Generic USB xHCI Host Controller


    So this USB 3.0 eXtensible Host Controller is controlling my MX518 mouse. Device Manager and Devices by connection reveal that. The same Host Controller also currently controls a printer, a USB eLicenser, a keyboard (and then there are some mentions about HUBs and HID devices). Event Viewer / Windows Logs / System doesn't list anything suspicious, I think.

    If I wake up from resume with wake-on-LAN, the powercfg -lastwake says so (Ethernet). If I wake with my mouse, it says again this USB 3.0 eXtensible Host Controller. So it doesn't specify the mouse. In Device Manager, the eXtensible is [ ] Allow this device to wake the computer.

    One thing that is remotely possible is static electricity. I have some of that building up in this room. Sometimes my subwoofer lets out a popping noise, but that's mostly if I'm moving in the room. Probably the static electricity could in theory also discharge even without anyone moving.

    Is there a way to only wake up on left mouse click, for example? Not on right mouse click etc. That might help in this case. Where does the arming of the wakeup interactions take place? Before sleep by the mouse driver or something else?

    (As a kind of last resort, I could try to disable mouse wakeup completely and enable keyboard wakeup. To see if that helps. But I prefer the mouse for the wakeup.)
      My Computer


  2. Posts : 42,984
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Hi, you could try disabling wake timers to see if that's the source:
    Add or Remove Allow wake timers to Power Options in Windows 10 | Windows 10 Tutorials

    This lists all and shows how to disable: again, you could try a process of elimination if that helped.
    Allow or Prevent Devices to Wake Computer in Windows 10 | Windows 10 Tutorials

    Noting your reference to the TV, there has been mention for some years of allowing 'Hey Cortana' to wake PCs (Intel devices). I've not yet found whether this is generally available, but:
    You can now shout ‘hey Cortana’ to wake up the Surface Studio - The Verge

    And you can simply try disabling 'Hey Cortana' anyway.

    If Cortana were being triggered, this may help:
    How to change the 'Hey, Cortana' wake word in Windows 10 | PCWorld
      My Computers


  3. Posts : 429
    Windows 10 Fast Ring
       #3

    I get unwanted wakes when the mouse gets moved when I bump the table on which it sits. If possible get the mouse out of the room and far away and see if that helps.
      My Computer


  4. Posts : 96
    Microsoft Windows 10 Pro for Workstations 64-bit 19044 Multiprocessor Free
    Thread Starter
       #4

    I am in the process trying to figure out whether it's waking up any more or not, testing needs some time. However I'm wondering, why is it that in some cases mouse movement wakes up the computer while in some cases mouse movement definitely doesn't, only pressing certain buttons wakes up (and not all buttons). In this case, my mouse movement is not able to wake up the computer.

    It'd be great to find the place where the exact buttons/movements are "armed" for wakeup.
      My Computer


  5. Posts : 42,984
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #5

    I'm not aware of any fine distinction of that sort.

    Some PC's support some devices, others not. The only commands I know of relate to devices rather than parts of devices.
      My Computers


  6. Posts : 30,599
    Windows 10 (Pro and Insider Pro)
       #6

    @jimhoyle if your mouse doesn't behave, try connecting it to different USB slot (USB2 or instance).

    I would bet on Ethernet adapter being guilty for random wake from sleep. For testing purposes, disable its ability to wake your computer.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:14.
Find Us




Windows 10 Forums