How to Use the Netsh command to configure a wireless network

Source: Internet
Author: User

The development of wireless technology has spawned innovations in the online world. Do you know about Netsh command configuration for complicated network technology commands? Here is a detailed introduction.

Remember, the Netsh command not only allows you to configure local computers, but also allows you to configure multiple computers using logon scripts. The other thing to remember is that the wireless network configuration file is read-only. Such files cannot be modified by using the Netsh WLAN command. However, such files can be imported and exported. You can create and modify wireless network configuration files on the Windows graphic user interface.

The beginning of Netsh command to configure Wireless Network

After opening the Command Prompt window, enter the Netsh command and the required sub-commands. To view or list all sub-commands, Type Netsh ?. To view the context command, enter a question mark after the context, for example, Netsh WLAN?

Netsh command for configuring virtual Wi-Fi in Wireless Networks

Virtual Wi-Fi is a virtual wireless access point. You can create this access point in windows 7 and Server 2008 R2. This feature has long been provided by a virtualwi-fi program that Microsoft has abandoned.

You can specify the network name (SSID), but this name will be broadcast to all virtual wireless networks and must enable WPA2-PSK encryption. The function of the virtual wireless network is built into a DHCP server, so users will automatically get the IP address.

To use the features of a virtual wireless network, your wireless network adapter must use a Win7-certified driver. After detecting the supported adapters, Windows automatically adds a connection to the network connection window, known as Microsoft's Wi-Fi micro-port adapter.

The following are the commands related to the new virtual network features:

Netsh WLAN set hostednetwork: set for a wireless hosted network. Use the following parameters:

Mode =

Ssid = wireless network name

Key = your password

KeyUsage =

Netsh WLAN export hostednetworkprofile: saves the configuration file of the virtual wireless network as an XML file and uses the following parameters:

Folder = path and file name

Name = configuration file of the wireless network

Netsh WLAN start hostednetwork: Enable and start the Broadcast Wireless hosting Network

Netsh WLAN show hostednetwork: displays the settings of the wireless hosting network, including the list of connected users

Netsh WLAN refresh hostednetwork: sets a new WPA2-PSK key for a virtual wireless network. You only need to enter this command and use your favorite key.

Netsh WLAN stop hostednetwork: Disable and stop the broadcast virtual wireless network.

Remember, Windows does not automatically start the virtual wireless network after the computer recovers from sleep or restarts. If you need to start the virtual network, you must do it manually.

Software developers must also create front-end utilities or use virtual wireless network features in their applications.

To make full use of the virtual wireless network, you can configure the computer to share its Internet connection with users connected to the virtual access point (using the Internet Connection Sharing attribute of Windows ).

To enable Internet Connection Sharing, open the network connection window, right-click the connection to the Internet, and select "properties ". Then, select the "share" tab, select "allow other network users to connect through the Internet connection of this computer", and select "virtual wireless network connection" from the drop-down list box ", click OK ".

For wireless network configuration, generally users are configured based on the image operations provided by the system. In this article, we will introduce how to use the Netsh command to configure the wireless network in Windows 7. First, let's take a look at what Netsh is.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.