When you connect to a new wireless network, Windows will create a profile for the wireless network. A wireless (Wi-Fi) network profile contains the SSID (network name), password key, and security information to be able to connect to a wireless network.
If you turned on to automatically connect to wireless networks, Windows will automatically connect to your wireless network profiles based on a priority order when the wireless network is in range.
The autoSwitch parameter controls the roaming behavior of an auto-connected wireless network when a more preferred wireless network is in range.
If autoSwitch is turned on, it allows Windows to continue looking for other auto-connected wireless networks while connected to the current wireless network. If a higher priority auto-connected wireless network than the currently connected wireless network comes in range, Windows will automatically connect to it instead.
This tutorial will show you how to turn on or off autoSwitch for wireless networks set to connect automatically when in range in Windows 7, Windows 8, and Windows 10.