You need to connect to a wireless network from Windows command line? Whether it is to impress your friends or to initiate a connection when the network and sharing center not responding, this tutorial will show you how to do that.
Before you proceed to below commands make sure you open Command Prompt. In order to do that press Win+R on your keyboard, inside Run window type cmd and press Enter on your keyboard. Once Command Prompt window opens up follow steps below:
Step 1: To view the list of wireless networks in range, enter the following command:
netsh wlan show networks
Step 2: To connect to a wireless network, you must have a profile saved on your computer, which means that you must be already logged in the past. To view the list of WiFi profiles registered, enter the command:
netsh wlan show profiles
Step 3: After identifying the profile name of the network you want to connect, simply enter the following command to enable the connection:
netsh wlan connect name=”profile name”
[ttjad keyword=”wireless-router”]
Thank you so much! It works perfectly! but i have just one question, what if i want to connect to a network that is currently available but i haven’t connected to it in the past, hence having no profile saved.. in that case, how would i connect using command line??