2022年5月21日星期六

Turn win7 or win 10 into Wireless router( desktop or notebook computer must with both LAN and Wireless interface cards)

Use command prompt with admin rights


NETSH WLAN show drivers

confirm the wireless interface is support the function

Hosted network supported : Yes

 

NETSH WLAN set hostednetwork mode=allow ssid=ssid key=passphase


NETSH WLAN start hostednetwork


NETSH WLAN stop hostednetwork


Other useful command

NETSH WLAN set hostednetwork mode=allow

NETSH WLAN set hostednetwork mode= disallow

NETSH WLAN set hostednetwork ssid=New_SSID

NETSH WLAN set hostednetwork key=New_Passphrase

NETSH WLAN show hostednetwork

NETSH WLAN show hostednetwork setting=security



If you want to remove the setting completely. Please do this as below:

User Regedit 

HKEY_LOCAL_MACHINE\system\currentcontrolset\services\wlansvc\parameters\hostednetworksettings

delete this DWORD in the above registry

HostedNetworkSettings