Microsoft Windows [Version 6.0.6001]
(C) Copyright 2006 Microsoft Corp. C:\Windows>netsh wlan ? The following commands are available: Commands in this context: ? - Displays a list of commands. add - Adds a configuration entry to a table. connect - Connects to a wireless network. delete - Deletes a configuration entry from a table. disconnect - Disconnects from a wireless network. dump - Displays a configuration script. export - Saves WLAN profiles to XML files. help - Displays a list of commands. set - Sets configuration information. show - Displays information. To view help for a command, type the command, followed by a space, and then type ?.
Adds a configuration entry to a table.
»netsh »wlan »add
C:\Windows>netsh wlan add ? The following commands are available: Commands in this context: add filter - Add a wireless network into the wireless allowed or blocked list. add profile - Add a WLAN profile to specified interface on the system.
Add a wireless network into the wireless allowed or
»netsh »wlan »add »filter
C:\Windows>netsh wlan add filter ? Usage: add filter [permission=]allow|block|denyall [[ssid=]<string>] [networktype=]infrastructure|adhoc Parameters: Tag Value permission - Permission type of the filter. ssid - SSID of the wireless network. networktype - Network type of the wireless network. Remarks: Adds a wireless network into the allowed and blocked network list configured on the system. Parameter ssid is required if permission is allow or block. If permission is denyall then parameter ssid should not be given. Examples: add filter permission=allow ssid=ssid1 networktype=infrastructure add filter permission=block ssid=ssid2 networktype=adhoc add filter permission=denyall networktype=adhoc
Add a WLAN profile to specified interface on the system.
»netsh »wlan »add »profile
C:\Windows>netsh wlan add profile ? Usage: add profile [filename=]<string> [[interface=]<string>] [[user=]all|current] Parameters: Tag Value filename - Name of the profile XML file. interface - Interface name. user - User scope, all users or only current user. Remarks: Add a wireless network profile on an interface for all or current users. Parameter filename is required. It is the name of the XML file containing the profile data. Parameter interface is optional. It is one of the interface name shown by "netsh wlan show interface" command. If interface name is given, the profile will be added to the specified interface, otherwise the profile will be added on all wireless interfaces. Parameter user is optional. It specifies whether this profile is applied to all users or current user only. By default it is applied to all users. Examples: add profile filename="Profile1.xml" interface="Wireless Network Connection" user=current
Connects to a wireless network.
»netsh »wlan »connect
C:\Windows>netsh wlan connect ? Usage: connect [name=]<string> [[ssid=]<string>] [[interface=]<string>] Parameters: Tag Value ssid - SSID of the wireless network. name - Name of the profile to be used in connection attempt. interface - Name of the interface from which connection is attempted. Remarks: Connect to the wireless network given by ssid using the specified profile. Connection is attempted from the specified interface unless there is only one available interface on the system, in which case, the interface parameter can be omitted. Parameter profile name is required but ssid is optional. If only one SSID exists in the profile, then this SSID is used to connect. If there are multiple SSIDs in the profile, then parameter ssid is required. Parameter interface is required if there are two or more available interfaces on the system. When interface is specified, it cannot be a wildcard name. If the specified interface is already connected to a wireless network, this command will first disconnect from the currently connected network, then attempt to connect to the new network. However, if these two networks are the same this command simply returns success and does nothing. Examples: connect name=Profile1 ssid=SSID1 connect name=Profile2 ssid=SSID2 interface="Wireless Network Connection"
Deletes a configuration entry from a table.
»netsh »wlan »delete
C:\Windows>netsh wlan delete ? The following commands are available: Commands in this context: delete filter - Remove a wireless network from the wireless allowed or blocked list. delete profile - Delete a WLAN profile from one or multiple interfaces.
Remove a wireless network from the wireless allowed or
»netsh »wlan »delete »filter
C:\Windows>netsh wlan delete filter ? Usage: delete filter [permission=]allow|block|denyall [[ssid=]<string>] [networktype=]infrastructure|adhoc Parameters: Tag Value permission - Permission type of the filter. ssid - SSID of the wireless network. networktype - Network type of the wireless network. Remarks: Removes a wireless network from the allowed and blocked network list configured on the system. Parameter ssid is required if permission is allow or block. If permission is denyall then parameter ssid should not be given. Examples: delete filter permission=allow ssid=ssid1 networktype=infrastructure delete filter permission=block ssid=ssid2 networktype=adhoc delete filter permission=denyall networktype=adhoc
Delete a WLAN profile from one or multiple interfaces.
»netsh »wlan »delete »profile
C:\Windows>netsh wlan delete profile ? Usage: delete profile [name=]<string> [[interface=]<string>] Parameters: Tag Value name - Name of the profile to delete. interface - Interface name. Remarks: Remove a wireless network profile from an interface or all interfaces. Parameter name is required. It is the name of the profile to be deleted. Parameter interface is optional. If it is given then the profile will be deleted from specified interface only. If it is omitted then the profile will be deleted from all the interfaces that have such a profile. Profile name can have wildcard characters and multiple profiles with matching name will be removed. Examples: delete profile name="Profile 1" interface="Wireless Network Connection" delete profile name="Profile 1" i=*
Disconnects from a wireless network.
»netsh »wlan »disconnect
C:\Windows>netsh wlan disconnect ? Usage: disconnect [[interface=]<string>] Parameters: Tag Value interface - Name of the interface from which disconnection is attempted. Remarks: Disconnect from the wireless network on the specified interface. Parameter interface is required if there are two or more available interfaces on the system. When interface is specified, it cannot be a wildcard name. If no wireless network is connected on the specified interface, this command simply returns success and does nothing. Examples: disconnect disconnect interface="Wireless Network Connection"
Displays a configuration script.
»netsh »wlan »dump
C:\Windows>netsh wlan dump ? Usage: dump Remarks: Creates a script that contains the current configuration. If saved to a file, this script can be used to restore altered configuration settings.
Saves WLAN profiles to XML files.
»netsh »wlan »export
C:\Windows>netsh wlan export ? The following commands are available: Commands in this context: export profile - Export specified profiles to XML files.
Export specified profiles to XML files.
»netsh »wlan »export »profile
C:\Windows>netsh wlan export profile ? Usage: export profile [name=]<string> [folder=]<string> [[interface=]<string>] Parameters: Tag Value name - Name of the profile to export. folder - Name of the folder in which the profile XML files will be saved. interface - Name of the interface which has this profile configured. Remarks: Saves the selected profiles into XML files in the specified folder. For each exported profile, the output file will be named as "Interface Name-Profile Name.xml". Parameters folder, name and interface are all optional. If profile name is given then the specified profile will be saved. Otherwise profiles on any interface will be saved. If the folder parameter is provided it must specify an existing folder accessible from the local computer. It can either be an absolute path, or a relative path to the current working directory. In addition, "." refers to the current working directory, and ".." refers to the parent directory of the current working directory. The folder name cannot be a UNC (Universal Naming Convention) path. By default profiles will be saved in the current working directory. If interface name is given, only the specified profile on the given interface will be saved. Otherwise all profiles with the given name on the system will be saved. Examples: export profile name="profile 1" folder=c:\profiles interface="Wireless Network Connection" export profile name="profile 2" folder=.
Displays a list of commands.
»netsh »wlan »help
C:\Windows>netsh wlan help ? Usage: help Remarks: Displays a list of commands.
Sets configuration information.
»netsh »wlan »set
C:\Windows>netsh wlan set ? The following commands are available: Commands in this context: set autoconfig - Enable or disable auto configuration logic on interface. set blockednetworks - Show or hide the blocked networks in visible network list. set createalluserprofile - Allow or disallow everyone to create all user profiles. set profileorder - Set the preference order of a wireless network profile. set profileparameter - Set parameters in a wireless network profile. set tracing - Enable or disable tracing.
Enable or disable auto configuration logic on interface.
»netsh »wlan »set »autoconfig
C:\Windows>netsh wlan set autoconfig ? Usage: set autoconfig [enabled=]yes|no [interface=]<string> Parameters: Tag Value enabled - Set auto configuration logic to enabled or disabled. interface - Name of the interface for which the setting has to be changed. Remarks: Enable or disable the auto configuration logic on an interface. If it is, disabled then Windows will not connect to any wireless network automatically from the specified interface. Both parameters are required. Examples: set autoconfig enabled=yes interface="Wireless Network Connection"
Show or hide the blocked networks in visible
»netsh »wlan »set »blockednetworks
C:\Windows>netsh wlan set blockednetworks ? Usage: set blockednetworks [display=]show|hide Parameters: Tag Value display - Show or hide blocked networks in the visible network list. Remarks: Specify whether to show or hide blocked networks in the visible network list. If disabled then the blocked networks will not be displayed in the visible wireless network list. The parameter display is required. Examples: set blockednetworks display=show
Allow or disallow everyone to create all user
»netsh »wlan »set »createalluserprofile
C:\Windows>netsh wlan set createalluserprofile ? Usage: set createalluserprofile [[enabled=]yes|no] Parameters: Tag Value enabled - Allow or disallow everyone to create all user profiles. Remarks: If enabled is yes then everyone is allowed to create all user profiles. The enabled parameter is required. Examples: set createalluserprofile enabled=yes
Set the preference order of a wireless network profile.
»netsh »wlan »set »profileorder
C:\Windows>netsh wlan set profileorder ? Usage: set profileorder [name=]<string> [interface=]<string> [priority=]<integer> Parameters: Tag Value name - Name of the User profile whose priority is to be changed. interface - Name of the interface which has this profile configured. priority - The new priority of the User profile. Remarks: Set the preference order of a wireless network profile on an interface. All three parameters are required. Only the order of User profiles can be changed. Group policy profiles are read only. Group policy profiles always have higher precedency over User profiles. Parameter priority specifies the new position of the profile in the preferred profile list. If it is 1, the profile will be move to the first position in the User profile list. Examples: set profileorder name="profile1" interface="Wireless Network Connection" priority=1
Set parameters in a wireless network profile.
»netsh »wlan »set »profileparameter
C:\Windows>netsh wlan set profileparameter ? Usage: set profileparameter [name=]<string> [[interface=]<string>] [[authMode=]machineOrUser|machineOnly|userOnly|guest] [[ssoMode]=preLogon|postLogon|none] [[maxDelay]=1-120] [[allowDialog]=yes|no] [[userVLAN]=yes|no] [[FIPS]=yes|no] Parameters: Tag Value name - Name of the profile to be modified. interface - Name of the interface on which the profile is set. authMode - Type of credentials to be used for authentication. ssoMode - Type of single sign on to be attempted if any. maxDelay - Timeout value to establish single sign on connection. allowDialog - Allow or Disallow a dialog to be shown for preLogon. userVLAN - Specify if the network switches to a different VLAN on user authentication. FIPS - Enable or Disable FIPS mode. Remarks: Modifies the specified profile name. If the interface is specified then only profiles on that interface are modified. The name parameter is required. At least one other parameter besides interface must also be specified. Examples: set profileparameter name=Profile1 authMode=userOnly ssoMode=preLogon set profileparameter name=Profile2 ssoMode=none fips=yes
Enable or disable tracing.
»netsh »wlan »set »tracing
C:\Windows>netsh wlan set tracing ? Usage: set tracing [mode=]yes|no|persistent] Parameters: Tag Value mode - Enable, make it persistent or disable tracing. Remarks: Enabled or disable tracing, with the option to make tracing persistent. If enabled then the trace logs for wireless LAN will be collected and saved to the trace files. The parameter mode is required. Under persistent mode the tracing will still be effective after system reboot. If mode is set to disable, then both persistent and nonpersistent tracing will be stopped. Examples: set tracing mode=yes
Displays information.
»netsh »wlan »show
C:\Windows>netsh wlan show ? The following commands are available: Commands in this context: show all - Shows complete wireless device and networks information. show autoconfig - Shows whether the auto configuration logic is enabled or disabled. show blockednetworks - Shows the blocked network display settings. show createalluserprofile - Shows whether everyone is allowed to create all user profiles. show drivers - Shows properties of the wireless LAN drivers on the system. show filters - Shows the allowed and blocked network list. show interfaces - Shows a list of the wireless LAN interfaces on the system. show networks - Shows a list of networks visible on the system. show onlyUseGPProfilesforAllowedNetworks - Shows the only use GP profiles on GP configured networks setting. show profiles - Shows a list of profiles configured on the system. show settings - Shows the global settings of wireless LAN. show tracing - Shows whether wireless LAN tracing is enabled or disabled.
Shows complete wireless device and networks information.
»netsh »wlan »show »all
C:\Windows>netsh wlan show all ? Usage: show all Remarks: Shows the complete 802.11 wireless interface information, networks, and wireless settings on the system, including: - Wireless driver information - Wireless interface status - Wireless configuration settings - Wireless network filters - Wireless network profiles list and details - Visible wireless networks Examples: show all
Shows whether the auto configuration logic is enabled or
»netsh »wlan »show »autoconfig
C:\Windows>netsh wlan show autoconfig ? Usage: show autoconfig Remarks: Shows the global setting whether auto configuration logic is enabled or not on each interface. Examples: show autoconfig
Shows the blocked network display settings.
»netsh »wlan »show »blockednetworks
C:\Windows>netsh wlan show blockednetworks ? Usage: show blockednetworks Remarks: Shows the global setting whether to display the blocked networks in visible network list or not. Examples: show blockednetworks
Shows whether everyone is allowed to create all
»netsh »wlan »show »createalluserprofile
C:\Windows>netsh wlan show createalluserprofile ? Usage: show createalluserprofile Remarks: Shows the global setting whether creating all user profiles is allowed or disallowed for everyone. Examples: show createalluserprofile
Shows properties of the wireless LAN drivers on the system.
»netsh »wlan »show »drivers
C:\Windows>netsh wlan show drivers ? Usage: show drivers [[interface=]<string>] Parameters: Tag Value interface - Name of the interface for which to show driver information. Remarks: Shows the 802.11 wireless LAN interface and driver information on the system. Examples: show drivers
Shows the allowed and blocked network list.
»netsh »wlan »show »filters
C:\Windows>netsh wlan show filters ? Usage: show filters [permission=]allow|block Parameters: Tag Value permission - Select allow or block network list. Remarks: Shows the allowed and blocked network list configured on the system. Examples: show filters show filters permission=allow show filters permission=block
Shows a list of the wireless LAN interfaces on
»netsh »wlan »show »interfaces
C:\Windows>netsh wlan show interfaces ? Usage: show interfaces Remarks: Shows the wireless LAN interfaces configured on the system. There are no parameters for this command. Examples: show interfaces
Shows a list of networks visible on the system.
»netsh »wlan »show »networks
C:\Windows>netsh wlan show networks ? Usage: show networks [[interface=]<string>] [[mode=]ssid/bssid] Parameters: Tag Value interface - Name of the interface which has this profile configured. mode - Get detailed bssid information. Remarks: Shows the networks available to the system. Parameter interface and bssid are both optional. If interface name is given, only the networks on the given interface will be listed. Otherwise, all networks visible to the system will be listed. If mode=bssid is given then the visible bssids for each ssid will also be listed. Otherwise only ssids will be listed. Examples: show networks interface="Wireless Network Connection" show networks mode=Bssid show networks
Shows the only use GP profiles on GP configured networks setting.
»netsh »wlan »show »onlyUseGPProfilesforAllowedNetworks
C:\Windows>netsh wlan show onlyUseGPProfilesforAllowedNetworks ? Usage: show onlyUseGPProfilesforAllowedNetworks Remarks: Shows the global setting whether to only use GP profiles on GP configured networks or not. Examples: show onlyUseGPProfilesforAllowedNetworks
Shows a list of profiles configured on the system.
»netsh »wlan »show »profiles
C:\Windows>netsh wlan show profiles ? Usage: show profiles [[name=]<string>] [[interface=]<string>] Parameters: Tag Value name - Name of the profile to display. interface - Name of the interface which has this profile configured. Remarks: Shows the profile data or lists the profiles on the system. Parameter name and interface are both optional. If profile name is given then the content of the profile will be displayed. Otherwise only profile name and description will be listed. If interface name is given, only the specified profile on the given interface will be listed. Otherwise, all profiles with the given name on the system will be listed. Group Policy Profiles are read only. User Profiles are readable and writeable, and the preference order can be changed. Examples: show profiles name="profile 1" interface="Wireless Network Connection" show profiles name="profile 2" show profiles
Shows the global settings of wireless LAN.
»netsh »wlan »show »settings
C:\Windows>netsh wlan show settings ? Usage: show settings Remarks: Shows the global settings for the Wireless AutoConfig Service, including whether auto configuration logic is enabled or disabled on each interface, whether to show blocked networks in visible network list, and whether to only use GP profiles on GP configured networks. Allow and block filter lists are available by "show filters" command. Examples: show settings
Shows whether wireless LAN tracing is enabled or disabled.
»netsh »wlan »show »tracing
C:\Windows>netsh wlan show tracing ? Usage: show tracing Remarks: Shows whether wireless LAN tracing is enabled or disabled. Examples: show tracing
- de -/- en -