1. Joined : Nov 2016
    Posts : 4
    Win10 64 bit
       2 Weeks Ago #1

    Computer won't sleep consistently; keeps waking up


    My Windows 10 install won't stay asleep, and it's driving me mad.
    Sleeping used to work just fine back when I was running Win7. It would go to sleep when told, stay asleep until woken. Everything was great. Then it started waking up at random times. I did a lot of troubleshooting then, with some success, but the problem eventually returned.
    I upgraded to Win10 per Microsoft's free offer. The problem persisted. Some time later I did a clean install of Win10. The problem persisted.
    I can't even begin to tell you which things I've already tried. Nothing seems to work.
    I would like to get my computer to sleep again. It's being hard on my HDD, and shutting it down/cold booting later takes way too long.
    There are no physical USB hubs attached to this computer. All of my USB peripherals are plugged directly into the machine. I do have a built-in card reader, which I don't use.
    One unusual feature of my setup is that I have two Logitech trackballs connected to it one Marble Mouse and one "Unifying" device. Neither of them wake my machine; I've got them disabled.
    Here's what woke my machine last. This seems to always be the case.
    Code:
    PS C:\Windows\system32> powercfg /lastwake
    Wake History Count - 1
    Wake History [0]  
    Wake Source Count - 1  
    Wake Source [0]    
    Type: Device    
    Instance Path: USB\ROOT_HUB\4&36004aba&0    
    Friendly Name:    
    Description: USB Root Hub    
    Manufacturer: (Standard USB Host Controller)
    I don't recall what this report is supposed to show, but it was mentioned in a lot of my research. So I'll present it here:
    Code:
    PS C:\Windows\system32> powercfg -devicequery wake_from_any
    Logitech HID-compliant Marble Mouse
    USB Root Hub
    USB Input Device
    HID-compliant vendor-defined device
    USB Input Device (001)
    HID-compliant vendor-defined device (001)
    HID-compliant vendor-defined device (002)
    Xbox 360 Wireless Receiver for Windows
    USB Input Device (Logitech Download Assistant)
    HID Keyboard Device
    Logitech Driver Interface
    Logitech Driver Interface (001)
    USB Composite Device
    PCI Express Root Port
    Realtek PCIe GBE Family Controller
    HID-compliant mouse
    USB Input Device (002)
    Logitech HID-compliant Unifying device
    USB Root Hub (001)
    High Definition Audio Controller
    Standard OpenHCD USB Host Controller
    Standard OpenHCD USB Host Controller (001)
    Standard OpenHCD USB Host Controller (002)
    USB Root Hub (002)
    PCI-to-PCI Bridge
    Microsoft Wi-Fi Direct Virtual Adapter
    Logitech HID-compliant Unifying Mouse
    USB Root Hub (003)
    Microsoft USB Natural Ergonomic Keyboard 4000 (Mouse and Keyboard Center)
    HID-compliant consumer control device
    HID-compliant consumer control device (001)
    Logitech Unifying USB receiver
    USB Composite Device (002)
    Logitech HID-compliant Unifying device (001)
    ACPI Power Button
    Standard OpenHCD USB Host Controller (003)
    USB Root Hub (004)
    Microsoft Hardware USB Keyboard
    HID-compliant system controller
    PCI Express Root Port (001)
    USB Root Hub (005)
    Standard Enhanced PCI to USB Host Controller
    Standard Enhanced PCI to USB Host Controller (001)
    Standard Enhanced PCI to USB Host Controller (002)
    Logitech Driver Interface (002)
    Logitech Driver Interface (003)
    USB Root Hub (006)
    PCI Express Root Port (002)
    The only devices that are able to wake my system are these; I have no wake timers
    Code:
    PS C:\Windows\system32> powercfg -devicequery wake_armed
    HID Keyboard Device
    Microsoft USB Natural Ergonomic Keyboard 4000 (Mouse and Keyboard Center)
    So what's next? I'm at my wit's end with this. If you need any more information, please ask. I'm happy to provide.


    Thanks!
      My System SpecsSystem Spec


  2. Joined : Apr 2016
    Manchester, U.K.
    Posts : 257
    Windows 10 Pro 64bit
       2 Weeks Ago #2

    For computer always turning on:
    Power Options>Edit plan settings>change advanced power settings>Sleep> Change settings to disable.

    Network & sharing centre>change adapter settings>R click for Properties>configure>Power management, remove tick from allow device towake computer.
      My System SpecsSystem Spec

  3.    2 Weeks Ago #3

    Well it's clearly some device on that particular root hub. You can download the Windows kit which includes a tool called USB Device Viewer which will give you a great break down of your device structure, which devices are on which hub and settings associated. One important setting to look at, at the generic hub level is "hub wakes when device is connected" so if something new is detected it could force a wake. You may be thinking "I didn't add anything new", but it would be possible that you have a problematic usb device that is bouncing between not connected/connected and if the above setting is on would cause a wake.
      My System SpecsSystem Spec

  4.    2 Weeks Ago #4

    Well did you check as stated above in the 2 posts. Give it a 4 mg of Xanax.
      My System SpecsSystem Spec


  5. Joined : Jun 2015
    UK
    Posts : 1,140
    Windows 10 Home x64 (Laptop), Windows 10 Pro x64 (Desktop)
       2 Weeks Ago #5

    Neemobeer said: View Post
    Well it's clearly some device on that particular root hub. You can download the Windows kit which includes a tool called USB Device Viewer which will give you a great break down of your device structure, which devices are on which hub and settings associated. One important setting to look at, at the generic hub level is "hub wakes when device is connected" so if something new is detected it could force a wake. You may be thinking "I didn't add anything new", but it would be possible that you have a problematic usb device that is bouncing between not connected/connected and if the above setting is on would cause a wake.
    In Device Manager, you can select the offending USB Root Hub, the choose View Devices by Connection which may give some clue as to what is wrong. I had a similar problem and had to disable the network card from waking the PC in Device Manager.
      My System SpecsSystem Spec


  6. Joined : Nov 2016
    Posts : 4
    Win10 64 bit
       2 Weeks Ago #6

    Steve C: thank you for your suggestions. I have 7 "USB Root Hub"s in Device manager. Not all of them have devices connected to them (as per Properties>Power tab). None of them have "Allow this device to wake the computer" checked; that option is grayed out in all of them anyway. Going to the entry for my network card, "Allow this device to wake" is not checked.

    Neemobeer: Thanks. I downloaded the Debugging Tools for Windows. I was unable to find the USB Device Viewer, though. I found an entry in the helpfile, though, called USB 2.0 Extensions. Near the top of that entry it says:
    Code:
    The USB 2.0 debugger extension commands are implemented in Usbkd.dll. 
    To load the Usbkd commands, enter .load usbkd.dll in the debugger.
    Unfortunately I cannot find where to enter ".load usbkd.dll". I did find a separate program (not put in the Start menu!) called USB Device Viewer. It does give me a breakdown of what devices are connected to various USB points. Although I cannot change it with this program, I did find the "Hub Wakes when device is connected," but it was set to NO in each of my RootHub entries.

    You suggested that I might have a device that's bouncing between connected and not-connected ... I have heard none of the USB connect or disconnect sounds. Unless I am intentionally connecting something, that is.

    Bastet: Thank you, but I have already checked the settings that you mention. They are set properly, as you've suggested. They have been for some time, as this is one of the first things I looked at.

    Any other suggestions? At least we're narrowing things down here!
      My System SpecsSystem Spec


  7. Joined : May 2016
    Posts : 523
    Windows 10
       1 Week Ago #7

    In some Systems there is Option in Power Option>Change Advanced Power Seetings>Sleep>Allow Wake Timers try to set to Disabled.
    Also in same Menu, USB Settings>Selective suspend Setting try to set it enabled.
    Not all PC has this options in Power Plan.
      My System SpecsSystem Spec


 


Similar Threads
Thread Forum
BSOD when waking computer from sleep
Hello My PC will sometimes get a BSOD when waking it up after long hours of sleep, this does not happen reliably and I have no idea how to reproduce it. My GPU and CPU is overclocked however they have caused no issues during general use and...
BSOD Crashes and Debugging
Computer goes back to sleep after waking
On my oldest laptop which was upgraded from Win 7 to Win 10 I am having a problem with the Sleep function that seems different from anything I have found via search. When the computer is woken up from sleep it will sometimes immediately go back...
General Support
Help, computer not always waking from sleep?
Hello everyone, i dont know if this is a windows 10 problem or something but i need some assistance. I bought a pc from CyberPower PC a couple of months ago and so far its been great. But the last few weeks (i believe is when it started) my computer...
Drivers and Hardware
BSOD after waking computer from sleep mode
I had just finished about 4 hours of gaming and put my computer in sleep mode while I did some other personal things. Once I came back, I awoke my computer and when attempting to put in my log passcode, my computer froze. After about 1 minute,...
BSOD Crashes and Debugging
BSOD only after waking computer from sleep 0x000000be
So upgraded from 8.1 Pro. I never had any problems with 8.1 other than the occasional crash here and there, but nothing exceptional. Now every time that I try to wake the computer from sleep I get a stop message that states that it tried to write...
BSOD Crashes and Debugging
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:13.
Find Us
Twitter Facebook Google+



Windows 10 Forums