- 1 year ago
Force refresh (re-scan) wireless networks from command line?
To force a refresh or re-scan of wireless networks from the command line in Windows, you can use the netsh
command. Here's the procedure:
Open a command prompt with administrative privileges. Right-click on the Command Prompt icon and select "Run as administrator".
Run the following command to initiate a scan for available wireless networks:
netsh wlan refresh hostednetworks
This command triggers a scan for wireless networks in range and updates the list of available networks.
Wait for the scan to complete. The command prompt will display the progress of the scan.
After the scan is finished, you can view the refreshed list of wireless networks using the following command:
sqlnetsh wlan show networks
This command will display the list of available wireless networks along with their SSID, signal strength, authentication type, and other details.
By executing these commands, you can force a refresh or re-scan of wireless networks from the command line in Windows. Please note that the exact commands and their behavior may vary depending on your specific Windows version.