The method of changing the wireless LAN (WLAN) IP configuration on Windows Server 2019 depends on your system configuration. Here are some suggestions:
1. **Use Command Prompt (cmd)**
- Open Command Prompt (cmd). You can open the Command Prompt by searching for "cmd" in the Start menu, then right-clicking it and selecting "Run as administrator."
- In the command prompt, enter the following command and press Enter:
```
netsh wlan set hostednetwork mode=allow ssid=myNewSSID key=myNewKey
```
- Enter your desired wireless network name (SSID) and password.
- Enter the following command and press Enter:
```
netsh wlan set hostednetwork mode=allow ssid=myNewSSID key=myNewKey ipv4=***. ***.*.* mask=***.***.***.* gateway=***.***.*.*
```
- Enter the IPv4 address, subnet mask and default gateway of the wireless network you want to set up.
- Enter the following command and press Enter:
```
netsh wlan start hostednetwork
```
- Start wireless network.
2. **Using File Explorer**
- Navigate to the "C:\Windows\System32\drivers\etc" folder.
- Right click on the "hosts" file and select "Edit as Administrator".
- In the opened file, find the configuration section for the wireless network name (SSID) and password. Typically, this part is located in the lines from "***.*.*.* wireless network name" to "***.*.*.* wireless network name key".
- Replace the values in these lines with the values you just set (wireless network name, password and IPv4 address, subnet mask and default gateway).
- Save the file and close the editor.
- Open the command prompt (cmd) and enter the following command:
```
netsh wlan start hostednetwork
```
- Start wireless network.
3. **Using PowerShell**
- Open PowerShell. PowerShell can be opened by searching for "PowerShell" in the Start menu, then right-clicking it and selecting "Run as administrator."
- Enter the following command and press Enter:
```
***work.ConnectivityStack -Force
Set-Content C:\ Windows\System32\drivers\etc\hosts -Value "***.*.*.* myNewSSID" -Force
Start-Service NetworkManager
```
- Install the ***work.ConnectivityStack module so you can access IP configuration settings.
- Replace "myNewSSID" with your wireless network name.
- Start the NetworkManager service.
The above is the detailed content of How to change the IP configuration of a wireless LAN (WLAN) in Windows Server 2019?. For more information, please follow other related articles on the PHP Chinese website!