Enable or Disable Network Connectivity in Modern Standby in Windows 10  

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 16,965
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #10

    Peter,

    I would not be at all surprised if MS & the adapter driver writers had assumed that S0 Modern standby devices only had WiFi adapters and not Ethernet ones.

    Since you have referred to changing the Registry, I assume you have Windows 10 Pro.

    Denis
    Last edited by Try3; 21 Apr 2021 at 12:22.
      My Computer


  2. Posts : 1,201
    11 Home
       #11

    @apb

    Have you tried changing settings like "Energy Efficient Ethernet" and/or "Advanced EEE" on the Advanced tab of the Ethernet adapter's Properties panel? You could also try disabling EEE in the cable modem, if possible:
    Enable or Disable Energy Efficient Ethernet for Modem

    - - - Updated - - -

    Try3 said:
    Peter,

    I would not be at all surprised if MS & the adapter driver writers had assumed that S0 Modern standby devices only had WiFi adapters and not Ethernet ones.

    Since you have referred to changing the Registry, I assume you have Windows 10 Pro.

    Denis
    I can attest that Windows 10 does support network connectivity during Modern Standby over ethernet perfectly fine. I have an Uni 3-port USB 3.0 (bus powered) hub that also has an in-built Realtek USB GbE Family Controller. It is based around the Realtek RTL8153 chip. Realtek's official website offers a separate download for their USB GbE Family Controller driver software that differs from their PCIe GbE Family Controller driver software. If the docking station that @apb uses also has this same type of USB ethernet, then grabbing this updated driver might help:
    Realtek USB FE / GBE / 2.5G / Gaming Ethernet Family Controller Software - REALTEK
      My Computers


  3. apb
    Posts : 94
    win 7 64bit
       #12

    hdmi said:
    @apb

    Have you tried changing settings like "Energy Efficient Ethernet" and/or "Advanced EEE" on the Advanced tab of the Ethernet adapter's Properties panel? You could also try disabling EEE in the cable modem, if possible:
    Enable or Disable Energy Efficient Ethernet for Modem
    I had looked at all the advanced settings, but I haven't tried changing them, lacking enough knowledge to predict the effects. Will try. Thanks.
    hdmi said:
    I can attest that Windows 10 does support network connectivity during Modern Standby over ethernet perfectly fine. I have an Uni 3-port USB 3.0 (bus powered) hub that also has an in-built Realtek USB GbE Family Controller. It is based around the Realtek RTL8153 chip. Realtek's official website offers a separate download for their USB GbE Family Controller driver software that differs from their PCIe GbE Family Controller driver software. If the docking station that @apb uses also has this same type of USB ethernet, then grabbing this updated driver might help:
    Realtek USB FE / GBE / 2.5G / Gaming Ethernet Family Controller Software - REALTEK
    The Dell hub does indeed have a RealTek driver and presumably chip, but I will have to investigate which one. Thanks for the link.

    There is no doubt that Win 10 is supporting this ethernet, but it may be flaky. I've noticed that it sometimes can't decide which network adapter -- wifi or ethernet -- it wants to use, and its decision does not seem consistent to me, as well as having both "connected" at the same time until it makes up its mind, based on what I see from ipconfig, as well as the windows network UI (geeze, do I ever hate that UI). As for the drivers, those came online from Dell within the past week or so. It's a brand new dock.

    I also have a random brand USB-ethernet adapter that also uses a RealTek chip, and which previously exhibited flakiness that I never got to the bottom of, but probably the same issue. That driver was installed automatically by Windows, although I can't remember for sure whether it had to go to the internet to get it; probably not.

    --peter
      My Computers


  4. Posts : 1,201
    11 Home
       #13

    @apb

    The link I gave doesn't seem to be working for me, but this one worked fine:
    Realtek USB FE / GBE / 2.5G (RTL8156, RTL8153, RTL8152B) Gaming Ethernet Family Controller | Realtek drivers download
    This driver should work for pretty much every USB device that uses an in-built USB-to-Ethernet adapter from Realtek, regardless of which Realtek chip is used in the device. AFAIK Dell merely re-packages these same drivers from Realtek after having tested them waited for months.
      My Computers


  5. Posts : 575
    Windows 11 Pro
       #14

    Hi Shawn,

    You cannot switch between S3 and Modern Standby by changing a setting in the BIOS. Switching the power model is not supported in Windows 10 without a complete OS re-install.

    Does this mean clean install on blank media? I tried changing to S0 mode in BIOS and then installed Windows 10 in a newly created partition. While S0 mode seemed to work, the power/sleep button refused to function. Also the Advanced Power Options did not update with Connected/Disconnected.

    MT
      My Computer


  6. Posts : 16,965
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #15

    MT,

    tracit99 said:
    You cannot switch between S3 and Modern Standby by changing a setting in the BIOS. Switching the power model is not supported in Windows 10 without a complete OS re-install.
    This tutorial is specifically about enabling/disabling network connectivity whilst in S0 Modern standby not enabling/disabling S0 Modern standby itself.
    I appreciate that the topic has wandered a bit amongst all the posts.


    tracit99 said:
    Does this mean clean install on blank media? I tried changing to S0 mode in BIOS and then installed Windows 10 in a newly created partition. While S0 mode seemed to work, the power/sleep button refused to function.
    If you have enabled S0 Modern standby then you probably do not have S3 Sleep and there is nothing for the Start menu, Power, Sleep function to do.
    - Some people have said that they did find S3 Sleep started to operate after they had disabled S0 Modern standby but this did not apply to everybody.
    - Similarly, I would not be at all surprised if some people found that S3 Sleep continued to be available after S0 Modern standby had been enabled.
    - You enter the glorified idle condition known as S0 Modern standby when your display goes off. You leave it when your display comes back on. There is no specific action to take to force entering or leaving that state.
    - You can check which states are available to you by entering this command [in a cmd or PS window]
    Code:
    powercfg -a


    All the best,
    Denis
      My Computer


  7. Posts : 16,965
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #16

    Event viewer records both entering & leaving S0 Modern standby [both Connected & Disconnected standby]

    In my post #40 Event viewer, Custom view definition: Power - Sleep-Hibernate-S0 transitions there are some further details together with a Custom view definition that captures entering & leaving S0, S3 & Hibernation. I combined them into a single Custom view so I can use it without any alteration on all my proper computers as well as on my S0 computer.

    All the best,
    Denis
    Last edited by Try3; 22 Nov 2021 at 07:17.
      My Computer


  8. Posts : 4
    Windows 10 Pro 64 bit
       #17

    Hi everybody! I have a gargantuan collection of batch files and reg files that are run by one master batch file whenever I install Windows fresh, disabling network in standby was the latest addition. However, for me to get the registry method to work, I had to go an extra step (powercfg -a was still showing networked standby as an option after following the registry method in the OP, and indeed, my laptop was still pingable while in standby. When trying to investigate why, I noticed that manually altering the network settings in the advanced power options, as described, did not change the values in the registry mentioned above, meaning, they must be somewhere else. I dug around in the registry, and found them here: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\f15576e8-98b7-4186-b944-eafa664402d9

    (Note, the key beginning with 38 corresponds to the default balanced power profile).

    I created the following reg file which disables network standby, however...

    disablenetworkstandby.reg
    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\F15576E8-98B7-4186-B944-EAFA664402D9]
    "Attributes"=dword:00000002
    "ACSettingIndex"=dword:00000000
    "DCSettingIndex"=dword:00000000

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\f15576e8-98b7-4186-b944-eafa664402d9]
    "DCSettingIndex"=dword:00000000
    "ACSettingIndex"=dword:00000000


    This key: ...381b4222-f694-41f0-9685-ff5bb260df2e\f15576e8-98b7-4186-b944-eafa664402d9 is owned by SYSTEM, meaning I had to take ownership of it. If you wish to automate that as well, I downloaded SetACL from here (free): Download Delprof2, SetACL (Studio) & More Free Tools • Helge Klein

    Then create a batch file that looks like this (note, setacl.exe and disablenetworkstandby.reg must be in the same directory, and the batch file must be run as administrator.)

    disablenetworkstandby.bat
    @echo off
    cd /d %~dp0

    SetACL.exe -on "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\f15576e8-98b7-4186-b944-eafa664402d9" -ot reg -actn setowner -ownr "n:Administrators"
    SetACL.exe -on "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\User\PowerSchemes\381b4222-f694-41f0-9685-ff5bb260df2e\f15576e8-98b7-4186-b944-eafa664402d9" -ot reg -actn ace -ace "n:Administrators;p:full"

    regedit.exe /s disablenetworkstandby.reg

    pause
      My Computer


  9. Posts : 16,965
    Windows 10 Home x64 Version 22H2 Build 19045.4170
       #18

    salavalas,

    {Just to avoid any misunderstandings, this tutorial is only about disabling Network connectivity in [S0 Modern] Standby rather than disabling S0 Modern Standby itself. Your opening paragraph seems to veer between the two actions.}

    You have used that ACL utility to use the System user to change the Registry in order to achieve a change to the Power scheme.
    You could have just used this tutorial's Option 3 to change the same entries using PowerCfg commands without any special elevation.

    You could have checked the current values using this command
    Code:
    powercfg /qh SCHEME_BALANCED SUB_NONE CONNECTIVITYINSTANDBY
    - Unlike Option 3, I am using their aliases for ease of writing. The choice of GUIDs or aliases makes no difference to PowerCfg commands.


    You could then have altered them with these commands:-

    To disable Network connectivity in [S0 Modern] Standby
    Code:
    PowerCfg -SetDCValueIndex SCHEME_BALANCED SUB_NONE CONNECTIVITYINSTANDBY 0
    PowerCfg -SetACValueIndex SCHEME_BALANCED SUB_NONE CONNECTIVITYINSTANDBY 0

    To enable Network connectivity in [S0 Modern] Standby
    Code:
    PowerCfg -SetDCValueIndex SCHEME_BALANCED SUB_NONE CONNECTIVITYINSTANDBY 1
    PowerCfg -SetACValueIndex SCHEME_BALANCED SUB_NONE CONNECTIVITYINSTANDBY 1

    I always recheck the effects of PowerCfg commands afterwards
    Code:
    powercfg /qh SCHEME_BALANCED SUB_NONE CONNECTIVITYINSTANDBY

    By the way, the raw command
    Code:
    powercfg /qh
    lists all current power scheme properties.
    - The undocumented h switch is needed to include those properties that Windows categorises as 'hidden' properties.
    - I always copy results into spreadsheets because I find them much easier to review there.


    If you are interested in disabling S0 Modern standby itself then see
    Disable Modern Standby in Windows 10 and Windows 11 - ElevenForumTutorials
    - Several people have reported that disabling S0 Modern standby also re-enabled S3 Sleep [but I was not that lucky].


    All the best,
    Denis
      My Computer


  10. Posts : 4
    Windows 10 Pro 64 bit
       #19

    Hey Denis!

    Thanks for the detailed reply, great info! Ideally, I'd love to just get S3 back, but when I enable it in BIOS, it causes problems with my touchpad when I resume from sleep, so I'm stuck with s0 until Lenovo releases a BIOS update (holding breath). Given that, I at the very least wanted to disable network connectivity in standby (I don't like the idea of my machine still communicating with the world when it's "asleep").

    Anyway, I just tried out the powercfg commands you referenced, they work like a charm, and edit the DWORDS at the very key I mentioned in my post, without the added complication of any third party utilities/permissions editing! Out of curiosity though, does changing DWORD values at the key mentioned in the OP ever work for people? At least on my system, I cannot get the desired effect unless the values at the key I mentioned in my post (indeed, the key that those powercfg commands operate on) contains the correct values. My system ignores the values at the key suggested in the OP.

    Salavalas
      My Computer


 

Tutorial Categories

Enable or Disable Network Connectivity in Modern Standby in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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:34.
Find Us




Windows 10 Forums