netsh wlan add filter permission=block ssid=home > BlockWireless01.txt netsh wlan add filter permission=block ssid=home >> BlockWireless01.txt netsh wlan add filter permission=denyall networktype=adhoc >> BlockWireless01.txt netsh wlan add filter permission=denyall networktype=infrastructure >> BlockWireless01.txt netsh wlan set blockednetworks display=hide >> BlockWireless01.txt netsh wlan add filter permission=allow ssid=(type your SSID here) networktype=infrastructure >> BlockWireless01.txt netsh wlan set blockednetworks display=show >> BlockWireless01.txt netsh wlan delete filter permission=denyall ssid=WirelessNetworkName networktype=infrastructure >> BlockWireless01.txt