I need to detect if a WiFi SSID is configured on systems, and if so, remove it so that the computer will no longer attempt to connect to it.
This is needed because an existing SSID is being decommissioned.
I have done some investigation into this in the past, but never took the step of removing it.
I’m not completely certain if SSIDs are always a computer level setting, or if they are also a user setting, which would make the removal more complex.
Related:
- https://bigfix.me/relevance/details/2997104
- https://bigfix.me/analysis/details/2994562
- https://bigfix.me/relevance/details/2997056
- Information on SSID already configured
- Deploy Wireless SSIDs through BigFix
- Retrieve wireless information
References:
- http://www.sans.org/reading-room/whitepapers/incident/wireless-networks-windows-registry-computer-been-33659
- http://www.dslreports.com/forum/r26193784-registry-key-containing-active-wireless-network-information
- http://www.forensicfocus.com/a-forensic-analysis-of-the-windows-registry
- http://superuser.com/questions/91137/how-to-completely-remove-a-wireless-network-setup-from-vista
- http://www.grouppolicy.biz/2010/03/how-to-use-group-policy-to-blackwhite-list-wireless-networks-in-vista-windows-7/
- http://www.howtogeek.com/176148/how-to-“forget”-a-wired-or-wireless-network-in-windows-8.1/
Locations:
- c:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\
- HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\Unmanaged
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Nla\Cache\Intranet
- HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WZCSVC\Parameters\Interfaces\
- HKLM\SYSTEM\ControlSet001\Services\Tcpip\Parameters\Interfaces\
Commands:
- netsh wlan delete profile NameOfWirelessProfile
- netsh wlan delete profile name=“NameOfWirelessProfile”
- netsh wlan show profiles