Skip to content

Commit bb01a4d

Browse files
committed
Minor edit
1 parent ddbab3a commit bb01a4d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WindowsServerDocs/administration/windows-commands/netsh-wlan.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ netsh wlan stop hostednetwork
129129
| wlan `set profileorder` | Sets the preference order of a wireless network profile for a specific interface. All three parameters (`name`, `interface`, and `priority`) are required. Only *User* profiles can have their order changed. Group Policy profiles are read-only and always take precedence over *User* profiles. The `priority` parameter determines the new position of the profile in the preferred *User* profile list. For example, setting `priority=1` moves the profile to the top of the *User* profile list. <br><br> `name` - Specifies the name of the wireless profile. <br> `interface` - Specifies the wireless network interface to apply the profile order. <br> `priority` - Sets the priority (integer value) of the profile. |
130130
| wlan `profileparameter` | Modifies the specified profile. If the interface is specified, then only the profile on that interface is modified. The `name` parameter is required. At least one other parameter besides the profile name and interface must also be specified. <br><br> `name`: Specifies the name of the wireless profile. <br> `interface`: Specifies the wireless network interface. <br> `SSIDname`: Specifies the SSID for the profile. <br> `ConnectionType` - Specifies whether the network is infrastructure (`ESS`) or ad-hoc (`IBSS`). <br> `ConnectionMode` - Sets the connection mode to automatic (`auto`) or manual (`manual`). Must be set to `manual` for ad-hoc (`IBSS`) networks. <br> `autoSwitch` - Determines if the device automatically switches to a more preferred network when available (`yes` or `no`). <br> `randomization` - Enables (`yes`) or disables (`no`) MAC address randomization for privacy. If `daily` is set, MAC address randomization refreshes every day. <br> `nonBroadcast` - Indicates whether to connect to a hidden (non-broadcast) network (`yes` or `no`). <br> `authentication` - Sets the authentication method used for the connection: <br> - `open`: No authentication (password) required. <br> - `shared`: Shared WEP key authentication. <br> - `WPA` <br> - `WPA2` <br> - `WPAPSK` <br> - `WPA2PSK` <br> `encryption` - Specifies the encryption protocol for wireless traffic (`WEP`, `TKIP`, `AES`, or `none`). <br> `keyType` - Defines if the shared key is a `networkkey` or a `passphrase`. <br> `keyIndex` - Selects the key index (`1` to `4`) used for encrypting WEP wireless traffic. The value represents one of four stored WEP keys. <br> `keyMaterial` - Specifies the network key or passphrase. <br> `PMKCacheMode` - Enables (`yes`) or disables (`no`) PMK caching (only for WPA2 networks). <br> `PMKCacheSize` - Sets the number of entries (`1` to `255`) in the PMK cache on the client. <br> `PMKCacheTTL` - Specifies how long in seconds (`300` to `86400`) a PMK cache entry is retained. <br> `preAuthMode` - Enables (`yes`) or disables (`no`) pre-authentication (only for WPA2 networks). <br> `preAuthThrottle` - Sets the number of pre-authentication attempts on neighboring access points from `1` to `16`. <br> `FIPS` - Turns on (`yes`) FIPS mode or off (`no`) for enhanced security compliance. <br> `useOneX` - Enables (`yes`) or disables (`no`) 802.1X authentication. <br> `authMode` - Selects the type of credentials used for authentication (`machineoruser`, `machineonly`, `useronly`, or `guest`). <br> `ssoMode` - Specifies the single sign-on mode to use, if any (`prelogon`, `postlogon`, or `none`). <br> `maxDelay` - Sets the maximum time in seconds allowed to establish a single sign-on connection (`1` to `120`). <br> `allowDialog` - Allows (`allow`) or prevents (`no`) dialog prompts during pre-logon. <br> `userVLAN` - Indicates if the network switches to a different VLAN after user authentication (`yes` or `no`). <br> `heldPeriod` - Sets the interval in seconds (`1` to `3600`) between authentication attempts. <br> `AuthPeriod` - Maximum time in seconds (`1` to `3600`) the client waits for a response from the authenticator. <br> `StartPeriod` - Time in seconds (`1` to `3600`) to wait before sending an EAPOL-Start message. <br> `maxStart` - Maximum number of EAPOL-Start messages sent during authentication from `1` to `100`. <br> `maxAuthFailures` - Maximum number of authentication failures allowed for a set of credentials from `1` to `100`. <br> `cacheUserData` - Enables (`yes`) or disables (`no`) caching of user credentials for future use. <br> `cost` - Sets the cost category for the network profile: <br> - `default`: Treats Wi-Fi as non-metered unless otherwise specified. <br> - `unrestricted`: Treats the network as unlimited. <br> - `fixed`: Marks the network as metered with a fixed data limit. <br> - `variable`: Marks the network as metered, but assumes the cost or data availability might change (roaming charges or dynamic pricing). |
131131
| wlan `set profiletype` | Changes the profile type for the specified profile. If the interface is specified, then only the profile on that interface is changed. The `name` and `profiletype` parameters are required. <br><br> `name` - The profile name to be changed. <br> `profiletype` - Specifies the desired profile type using `all` or `current` for a single user. <br> `interface` - Specifies the name of the interface on which the profile is set. |
132-
| wlan `set randomization` | `enabled` - Enables (`yes`) or disables (`no`) MAC address randomization. <br> `interface` - Specifies the wireless network interface. <br><br> This command fails if the interface doesn't support randomization or if randomization is blocked by the system admin. Both parameters are *required*. |
132+
| wlan `set randomization` | `enabled` - Enables (`yes`) or disables (`no`) MAC address randomization. <br> `interface` - Specifies the wireless network interface. <br><br> This command fails if the interface doesn't support randomization or if randomization is blocked by the system admin. Both parameters are required. |
133133
| wlan `set tracing` | `mode` - Enables (`yes`) or disables (`no`) tracing, with the option to make tracing `persistent`. If enabled, trace logs for wireless LAN are collected and saved to the trace files. Under persistent mode, tracing is still in effect after system reboot. If mode is set to disable, then both persistent and non-persistent tracing stops. |
134134
| wlan `show` | Displays the following information: <br><br> `all` - Provides detailed information about all wireless devices and networks on the system. <br> `allowexplicitcreds` - Displays the current configuration for using explicit user credentials with wireless connections. <br> `autoconfig` - Whether automatic wireless network configuration is enabled or disabled. <br> `blockednetworks` - Displays the current visibility settings for blocked wireless networks. <br> `createalluserprofile` - If users are permitted to create wireless profiles available to all users. <br> `drivers` - Lists properties and details of installed wireless LAN drivers. <br> `filters` - Displays the current lists of allowed and blocked wireless networks. <br> `hostednetwork` - Displays the status and properties of the hosted wireless network. <br> `interfaces` - Lists all wireless LAN interfaces detected on the system. <br> `networks` - Displays all visible wireless networks in range. <br> `onlyUseGPProfilesforAllowedNetworks` - Indicates whether only Group Policy-configured profiles are used for allowed networks. <br> `profiles` - Lists all configured wireless network profiles. <br> `randomization` - Indicates the status of MAC address randomization for wireless connections. <br> `settings` - Displays global configuration settings for wireless LAN. <br> `tracing` - Whether wireless LAN tracing is currently active. <br> `wirelesscapabilities` - Lists the wireless features and capabilities supported by the system. <br> `wlanreport` - Generates a report summarizing recent wireless network sessions and activity. |
135135
| wlan `start hostednetwork` | Starts the WLAN service on the hosted network. |

0 commit comments

Comments
 (0)