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


 I am kasiratnamma marketing specialist at fieldengineer.com. I have more interest in Reading novels and browsing internet.I have interest in writing here my blog post 

best ways to harness it in your job hunt.

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

@phani did you miss the part where the OP wants to do this via command line?

√-1 2^3 ∑ π, and it was delicious!

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


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.