How to Enable or Disable Soft Disconnect from a Network in Windows 10
By default, Windows will soft-disconnect a computer from a network when it determines that the computer should no longer be connected to a network. In Windows 10, there is a special policy option that controls this behavior, so you can make your device instantly disconnect from a network. Here is how to configure it.
Soft disconnect works the following way:
- When Windows decides that a network should no longer be connected, it does not immediately disconnect. Abrupt disconnections degrade the user experience without providing an appreciable benefit, and are avoided when possible.
- As soon as Windows decides to soft-disconnect an interface, it informs the TCP stack that the network should no longer be used. The existing TCP sessions will continue uninterrupted but new TCP sessions will use this interface only if explicitly bound or if no other interface routes to the desired destination.
- This notification to the TCP stack generates a network status change. Networking applications should listen for these events and proactively move their connections to the new network, if possible.
- Windows then checks the traffic level on the interface every thirty seconds. If the traffic level is above a certain threshold, no further action is taken. This allows ongoing active use of the interface, such as from a file transfer or VoIP call, to avoid disruption.
- When the traffic drops below this threshold, the interface will be disconnected. Applications that keep long-lived idle connections, such as an e-mail client, may be interrupted and should re-establish their connections over a different interface.
Windows 10 includes a special Group Policy option, 'Enable Windows to soft-disconnect a computer from a network'. If the policy is disabled, Windows will disconnect a computer from a network immediately when it determines that the computer should no longer be connected to a network. It depends on other options. if ´Minimize the number of simultaneous connections to the Internet or a Windows Domain´ is disabled, Windows will not disconnect from any networks.
If you are running Windows 10 Pro, Enterprise, or Education edition, then you can use the Local Group Policy Editor app to configure the policy option. It is available in the OS out of the box. Windows 10 Home users can apply a Registry tweak. Let's review these methods.
To Enable or Disable Soft Disconnect from a Network in Windows 10,
- Open the Local Group Policy editor app, or launch it for all users except Administrator, or for a specif user.
- Navigate to Computer Configuration\Administrative Templates\Network\Windows Connection Manager.
- On the right, double-click on the Enable Windows to soft-disconnect a computer from a network option.
- Set the policy to Disabled to disable the feature.
- Otherwise, leave it as Not configured or set it to Enabled.
You are done.
Enable or Disable Soft Disconnect from a Network in Registry
- Open Registry Editor.
- Go to the following Registry key:
Tip: See how to jump to the desired Registry key with one click.
- If you do not have such a key, then just create it.
- Here, create a new 32-bit DWORD value fSoftDisconnectConnections. Note: Even if you are running 64-bit Windows, you still need to use a 32-bit DWORD as the value type.
- Set it to one of the following values:
- 0 = Disable Soft Disconnect
- 1 = Enable Soft Disconnect
- (delete the value) = system defaults
- To make the changes done by the Registry tweak take effect, you need to restart Windows 10.
Later, you can delete the fSoftDisconnectConnections value to restore the system defaults.
You can also download the following ready-to-use Registry files, including the undo tweak:
Tip: You can try to enable GpEdit.msc in Windows 10 Home.
Articles of interest:
- How To See Applied Group Policies in Windows 10
- All Ways To Open Local Group Policy Editor in Windows 10
- Apply Group Policy to All Users Except Administrator in Windows 10
- Apply Group Policy to a Specific User in Windows 10
- Reset All Local Group Policy Settings at once in Windows 10
- Enable Gpedit.msc (Group Policy) in Windows 10 Home