Jump to content

connect to new wifi networks via cmd

Recommended Posts


Hello. I have a question for you. How can I connect to a new WiFi network via CMD using the network name and the password? 
Thanks in advance.

Share this post

Link to post
Share on other sites

Now-a-days internet connectivity is everything. For Internet we have Wi-Fi connections which we manage and use through the network settings on Windows 7/8.1 and Windows computers. You can also run, manage and delete your WiFi networks using the command prompt. In fact, the command prompt offers many more features than the standard network connection settings in Windows 10.

To do this we only require a CMD(Command Prompt) with Administrator privileges. Here are some best commands for your CMD to run, manage, connect to WiFi networks :

Its the Command open your command promt and submit it


Edited by Kasiratnam

 I am kasiratnamma marketing specialist at fieldengineer.com.

Share this post

Link to post
Share on other sites

This is a simple task considering the fact that your computer or laptop is already connected to the wireless network.

For windows :

If your computer is running Windows Operating System, and you have forgotten the password of the wireless network that you are connected to, follow the below-mentioned steps to identify the same.

  1. Since you are already connected to the network, your computer will remember the password. So, there should not be an issue when connecting to the same network again unless you remove this connection from the recognized list.
  2. You can look up the password of the current network by accessing your internet settings from the control panel.
  3. Open the control panel and select Network and Sharing Center. You will see the name of the current wireless network that you are connected to.
  4. Click wireless properties by right clicking on your wireless network name. A new window showing the security tab will open.
  5. In this window, activate the Show Characters by checking the empty box that is present below the Network security key. This will show you the password of the current wireless system.

For Mac :

The following are instructions for finding the password of your wireless network on a Mac operating system.

  1. Press Command + Space to open the spotlight and inside its search box, type Keychain Access.
  2. Identify your Wi-Fi network in the checklist and click info button. Another window will open. Here choose the show password option.
  3. Your Username and Password of your Mac are required to be entered to view this information. This is only when you are not the system administrator.
  4. You will receive the password with this step is completed.

Share this post

Link to post
Share on other sites

1. Search for command prompt.
2. Choose Command Prompt (Admin) in the results.
3. To locate the name of the network to connect to, type netsh wlan show profiles and press Enter. Write down the name of the network you want to connect to.
4. To locate the name of the interface, type netsh wlan show interface and press Enter on the keyboard. Write down what you find in the first entry, next to name. This is the name of your network adapter.
5. Type netsh wlan connect name="nameofnetwork" interface="nameofnetworkadapter" and press Enter on the keyboard. login

Share this post

Link to post
Share on other sites
After connecting the wifi speed after the cmd pass has decreased. Do you think so?


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now