In this article you will learn how to disable the Windows 10 feature named Wifi Sense by GUI and GPO (script).

Disabling WiFi sense

To disable this feature is pretty easy, just go to Settings>Network and Internet>Wi-Fi>Manage Settings and disable the two options below:

Disabling Wifi Sense via GPO

To disable the Wifi Sense via GPO just change the registry on the path "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features\CURRENT_USER_SID" on "FeatureStates" value to 33c (hexadecimal).

How the script works?

Below the script that makes a batch operation.

for /f %A in (‘reg query “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features” ^| find “S-1″‘) do (reg add %A /v FeatureStates /t REG_DWORD /d 828 /f)

This code works by searching the key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WcmSvc\wifinetworkmanager\features" starting subkeys starting with "S-1" and adds the value "FeatureStates" type "REG_DWORD" decimal the data "828" that matches to 33c in hexadecimal. Uff!

Below the numbers into corresponding hexadecimal and decimal options that you can enable/disable on Wifi Sense.

37d (893)- All enabled

                                               Binary: 0000001101111101

33c (828)- All disabled

                                               Binary: 0000001100111100

33d (829)- Only option to connect automatically in open networks enabled

                                               Binary: 0000001100111101

37c (892)- Only option to connect in contacts networks enabled (not opened networks)

                                               Binary: 0000001101111100

How to protect my wireless network Wifi Sense?

Even if you disable the Wifi Sense via GPO in its domain, now the growing popularity of BYOD (Bring you own device), or "bring your own device" means any user with Windows Phone can still share your wifi with your contacts. To avoid sharing, just add the SSID (name) of your wireless network termination "_optout". So if your network is called "ContostoWifi" just rename it to "ContosoWifi_optout" and you will be protected.

The Wifi Sense is also available for Windows Phone 8.1. If you want to know more about it, read the FAQ.