Win7's WLAN netsh command

Netsh literally means the network shell, in fact it is a command line utility, first appeared in the Windows 2000 operating system, which can help manage WINDOWS in the network settings. Since then, Microsoft continued to improve it, give it added some new set of commands. For example, Vista and Server 2008 in order to increase a WLAN to provide 802.11 wireless connectivity and security settings of the management functions. Now, Win7 and Server 2008 R2 in the WLAN added another command.

Remember that, Netsh command not only allows you to configure the local computer, and allows you to use login script configure multiple computers.

Keep in mind the other hand, the wireless network configuration file is read-only. This document is not the WLAN by using the Netsh command to make changes, but this file can import and export. Through the normal Windows graphical user interface can create and modify the wireless network profile.

Netsh start

After opening the command prompt window, type netsh command, and the need for sub-command. To view or lists all of the sub-commands, you can type netsh?. To see the context command, you can enter a question mark after the contexts, such as, netsh wlan?

Wi-Fi for the virtual command

Virtual, Wi-Fi wireless access point of a virtual, you can windows 7 and Server 2008 R2 in the creation of such access points. This feature has been abandoned by Microsoft, a VirtualWi-Fi program, which already offered.

You can specify the network name (SSID), but the name will be broadcast to all of the virtual wireless network, you must enable the WPA2-PSK encryption. Virtual function is built-in wireless network to a DHCP server, so users will be automatically assigned IP addresses.

To use the virtual wireless network characteristics, the user's wireless network adapter must be the Win7 certified drivers. Supported by the detected adapter, Windows will automatically connect to the network window, add a link, called Microsoft's Wi-Fi micro-port adapter.

Here is the new virtual network with the characteristics of the command:

netsh wlan set hostednetwork: Managed network for the wireless settings, use the following parameters:

mode = (allow | disallow)

ssid = wireless network name

key = your password

keyUsage = (persistent | temporary)

netsh wlan export hostednetworkprofile: virtual wireless network configuration file is saved as an XML file, use the following parameters:

Folder = path and file name

Wireless network Name = profile

netsh wlan start hostednetwork: enabled and started broadcasting radio host network

netsh wlan show hostednetwork: display wireless managed network settings, including a list of users connected

netsh wlan refresh hostednetwork: a virtual wireless network set up a new WPA2-PSK key. You just enter this command, and you can use your own favorite keys.

netsh wlan stop hostednetwork: disable and stop the broadcast virtual wireless network.

Remember, Windows will not resume the computer from hibernation or restart automatically after the start of virtual wireless networks. If you need to start the virtual network, you must manually.

Software developers must also create the front of the utility, or in its application using a virtual wireless network characteristics.

To take full advantage of the virtual wireless network, you can configure the computer and connect to the virtual access point users to share their Internet connection (using Windows's Internet Connection Sharing attribute).

To enable Internet Connection Sharing, you open the Network Connections window, in connection with the internet connection right click and select "Properties." Then, select the "Sharing" tab, select the "allow other network users to connect through this computer's Internet Connect" from the drop-down list box, select "Virtual Wireless Network Connection" and then click "OK."

Display setting command

These commands do not allow users to configure, but allow users to view some of the settings values:

netsh wlan show createalluserprofile: you can know whether the user is able to all users, rather than create its own wireless configuration file. .

netsh wlan show allowexplicitcreds: a user can not log on to the computer, whether to allow the computer to use for the 802.1x user credentials are stored.

netsh wlan show onlyusegpprofilesforallowednetworks: in the implementation of group strategy, shows the Group Policy when the wireless configuration file is permitted.

Other commands

Here are Netsh WLAN commands are not part of what specific uses:

Netsh wlan reportissues: Create a wireless network connection fault diagnosis report, this report is located in C: \ Windows \ Tracing folder.

netsh wlan set allowexplicitcreds: a user does not log on the computer, specify whether to allow the computer to store the user login credentials for 802.1x authentication, use the following parameter: allow = (yes | no)

netsh wlan set blockperiod: This command specifies the client had an unsuccessful login attempt, the client attempts to connect to the network must wait until the number of minutes.

netsh wlan set profiletype: definition of the computer's current user or all users are using the wireless network profile. The configuration parameters are as follows:

name = configuration file name

profiletype = (all | current)

More command

We saw a few in front of win7 and Windows Server 2008 R2 in the first emergence of a new command. In fact, there are several wireless network command:

netsh wlan show networks: lists all the detected neighboring wireless networks, including its SSID, authentication, encryption settings.

netsh wlan connect: to establish a specified network connection, use the following parameters:

ssid = wireless network name

name = configuration file name

interface = interface name

netsh wlan export profile: the user will be a WINDOWS graphical user interface to create the wireless configuration file to an XML file, so you can import it into other computers or for backup:

folder = path and file name

name = configuration file name

interface = interface name

No comments:

Post a Comment