How to determine what network activity is preventing sleep?

Page 1 of 2 12 LastLast

  1. Posts : 740
    Windows 10 x64 Pro
       #1

    How to determine what network activity is preventing sleep?


    So after DAAAYS of troubleshooting, i did what i should have done first.

    Disabled my ethernet adapter. PC will now sleep. (it would sleep fine manually, but wouldnt go to sleep on its own).

    I thought it was my nvidia shieldtv's doing something over the network that kept it awake, but i turned those both off and the pc still will only sleep when i disable the network adapter.

    Turning off "allow this device to wake the computer" would be a workaround, except I need Wake on Lan to function so thats no bueno.

    Plus this was never an issue until the last month or so. Something has changed.

    Anybody able to point me in the right direction?
      My Computer


  2. Posts : 1,753
    Windows 10 Pro (+ Windows 10 Home VMs for testing)
       #2

    What happens if you ask your device?

    Open a CMD or PowerShell prompt and enter: powercfg -lastwake

    My PC has no wake timers/wake from mouse or keyboard/WOL, etc. so I get a null result:
    How to determine what network activity is preventing sleep?-powercfg-lastwake.png

    What (if anything) does yours show?

    (Note: You’re only querying, not changing, so it doesn’t have to be an elevated prompt.)

    Hope this helps…
      My Computer


  3. Posts : 740
    Windows 10 x64 Pro
    Thread Starter
       #3

    i get the same result. as it doesnt wake when i put it to sleep. It just doesnt sleep on its own unless I disable the nic. ty for the reply :)

    its like it doesnt even attempt to. monitors go off, and it just hangs out ><
      My Computer


  4. Posts : 740
    Windows 10 x64 Pro
    Thread Starter
       #4

    worth mentioning - if i disable the nic, and use wifi instead - result is the same. If i use wifi but use my phone as a hotspot, it will sleep.

    this point to anything in particular?
      My Computer


  5. Posts : 1,753
    Windows 10 Pro (+ Windows 10 Home VMs for testing)
       #5

    Open a CMD or PowerShell prompt and enter: powercfg -requests
    (Note: This will have to be an elevated prompt, even though you are just querying.)

    The results should show all requests preventing your PC from entering a sleep state.
      My Computer


  6. Posts : 740
    Windows 10 x64 Pro
    Thread Starter
       #6

    been through all the easy stuff my friend

    dead blank. None across the board.

    Its some type of network traffic. Has me at wits end. I have 2 other pc's right next to it, connected to the same network that both sleep fine. grr
      My Computer


  7. Posts : 740
    Windows 10 x64 Pro
    Thread Starter
       #7

    ok NOW im a little closer.

    I disabled ALL my network shares, and it went to sleep. Unfortunately - disabling network shares is a fail since this pc is the main pc.

    how does one get it to sleep irrespective of network shares?
      My Computer


  8. Posts : 740
    Windows 10 x64 Pro
    Thread Starter
       #8

    found this on another forum from way back when (with no solution given) that is a different OS but describes the same exact problem with what sounds like a plausible explanation as when I ended the shared drives, it said id be booting 1 user, which would likely have been the pc next to me.

    Heres the post

    "Looking more into Server 2003, it looks like there is a Session being created when my Windows 7 computer connects via mapped network that doesn't get closed when not being used"

    So how can one force the session(s) to terminate when not being used?
      My Computer


  9. Posts : 1,753
    Windows 10 Pro (+ Windows 10 Home VMs for testing)
       #9

    I don't suppose you're affected by MS' InstantGo? (was called Connected Standby)

    Basically it's a power protocol to allow limited background network activity but a side-effect (if I read it correctly) is to prevent a true sleep state.

    Have a look at this Disabling Windows Connected Standby article and try the effect of the registry key (which will need a reboot to take effect).

    Also, have a read of MS' ModernStandby docs for a background look at why 'sleep' has perhaps become more difficult to diagnose.

    Hope this helps...
    Last edited by RickC; 19 Apr 2019 at 17:06.
      My Computer


  10. Posts : 56,824
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #10

    I don't use network shares, but a thought. Probably useless, but easy to test.

    If this box is the main rig for the network (server), try putting all your shares back the way they were, and make 2 small tweaks in the LAN settings. They both have to do with "wake" on receiving a packet. It may allow the main one to sleep with getting nudged awake by one of the others with some sort of polling ping. I have mine set that way because I discovered that even when mine sleeps or was shutdown, the LAN was still active.

    These 2....at the bottom of the advanced tab.

    How to determine what network activity is preventing sleep?-2019-04-19_17h37_47.png
      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 17:27.
Find Us




Windows 10 Forums