Skip to content

Instantly share code, notes, and snippets.

@stong
Last active September 26, 2024 20:49
Show Gist options
  • Save stong/4642a8b703c4f048825a554bfb9e562c to your computer and use it in GitHub Desktop.
Save stong/4642a8b703c4f048825a554bfb9e562c to your computer and use it in GitHub Desktop.
How to fix microsoft connection status indicator (NCSI)

what is it

it's this little fucker in the tray spying on you because microsoft thinks normies are too stupid to understand when their internet is not working

why does it matter

if it's not "Online" spotify will think you're in offline mode. someone made a patch for this as well btw (based as fuck): https://community.spotify.com/t5/Desktop-Windows/Forced-offline-mode-if-Windows-Network-Connectivity-Status/td-p/5296710

Configuration shits

  • HKLM\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet\EnableActiveProbing should be 1
  • HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator\NoActiveProbe should not exist or be 0
  • gpedit \ Administrative templates \ system \ internet communication management \ restrict internet communication -> Not configured
  • gpedit \ Administrative templates \ system \ internet communication management \ internet communication settings \ turn off windows network connectivity status indicator active tests -> Not configured
  • gpedit \ Administrative templates \ network \ network connectivity status indicator \ * -> leave as default
  • gpedit \ Administrative templates \ network \ network connectivity status indicator \ use global dns -> Enable if your DNS server is reachable via a different interface, e.g. vpn or localhost
  • review the keys in HKLM\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet to make sure they aren't fucked with

how to apply

ncpa.cpl -> ethernet -> right click -> disable. Then re-enable

Or just unplug and replug your ethernet / wifi

Tools

This is a good tool to see if the remote servers are working. You can also use it to switch to firefox/debian servers for privacy reasons if you wish. https://github.com/crazy-max/WindowsSpyBlocker

Docs

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment