[Tutorial] How To Connect To WiFi Network From Command Line In Windows

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.


wifi-connect-cmd-ttj-logo

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

wlan-as5d4e6w54re65w

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

show-profiles-a5s4654er6w4r6

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”

user-namea-as6d54e65r4we65r46w5e4r

[ttjad keyword=”wireless-router”]

BorisZ

Boris Zegarac is Staff Writer at TheTechJournal. He is our Tutorial Expert. He is a web developer and web designer who is also interested in Computers and Smartphones. You can follow him at his Google + profile page

This Post Has One Comment

  1. Asif Mahbub

    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??

Leave a Reply