ChrisTitusTech / winutil

Chris Titus Tech's Windows Utility - Install Programs, Tweaks, Fixes, and Updates
MIT License
21.33k stars 1.31k forks source link

Tweaks — Add a toggle to stop Wi-Fi disconnecting when internet is disconnected but Wi-Fi (AP) is working #2746

Open shomilsaini opened 3 days ago

shomilsaini commented 3 days ago

Is your feature request related to a problem? Please describe.

The current frustration is that in Windows 10 & 11, WiFi will disconnect automatically if the internet is not available on the connected network. Microsoft does some background check to see if internet is still available.

Issue with this is that if you need to connect to IoT devices which broadcast their own Wi-Fi for setup or config, you can't and windows will immediately disconnect the Wi-Fi.
Other issue is if the ISP modem goes down but you still have APs working and want to connect to NAS/devices over LAN, tough luck.

I am sure there are many other scenarios where this is a bad idea, I am not sure why microsoft does this without giving users the control.

Describe the solution you'd like

Toggle under tweaks page.

Describe alternatives you've considered

I am not sure what else could be the alternate. Happy to learn.

Additional context

I don't see the need for this yet, but can provide if requested.

shomilsaini commented 3 days ago

Already tried the gpedit.msc setting found on google and that did not work. Local Computer Policy > Computer Configuration > Administrative Templates > Network > Windows Connection Manager > Enable Windows to soft-disconnect a computer from a network image

Also tried this Since this functionality is based on automatic scanning of Wifi services, you can also press Windows+R keys, then type "services.msc" to open the Services window, find the "Wired AutoConfig" and "WLAN AutoConfig" services, and disable them. from: https://answers.microsoft.com/en-us/windows/forum/all/windows-10-keeps-disconnecting-from-wifi-when-no/a6ae0881-eaea-4cf8-8e84-0888a933ba25 This just disables the Wi-Fi altogether.

shomilsaini commented 3 days ago

Also found this, but most of them are already set on my pc. netsh commands

My settings:

> netsh int tcp show global
Querying active state...                                                                                                                                                                                                                                                    TCP Global Parameters
----------------------------------------------
Receive-Side Scaling State          : enabled
Receive Window Auto-Tuning Level    : normal
Add-On Congestion Control Provider  : default
ECN Capability                      : disabled
RFC 1323 Timestamps                 : allowed
Initial RTO                         : 1000
Receive Segment Coalescing State    : enabled
Non Sack Rtt Resiliency             : disabled
Max SYN Retransmissions             : 4
Fast Open                           : enabled
Fast Open Fallback                  : enabled
HyStart                             : enabled
Proportional Rate Reduction         : enabled
Pacing Profile                      : off

> netsh int tcp show heuristics
TCP Window Scaling heuristics Parameters
----------------------------------------------
Window Scaling heuristics         : disabled
Qualifying Destination Threshold  : 3
Profile type unknown              : normal
Profile type public               : normal
Profile type private              : normal
Profile type domain               : normal