如果无线网卡支持virtual wi-fi,以管理员身份在命令行下执行
netsh wlan set hostednetwork mode=allow ssid=jia key=MyPassword keyUsage=persistent
netsh wlan start hostednetwork暂停wlan, net wlan stop hostednetwork
取消虚拟网卡, netsh wlan set hostednetwork mode=disallow
或者创建一个快捷方式:
Target [C:\Windows\System32\cmd.exe /c "netsh wlan set hostednetwork mode=allow ssid=jia key=MyPassword keyUsage=persistent && netsh wlan start hostednetwork && pause"]
From Properties=>Shortcut page:
Tick [Advanced=>Run as Administrator]
Icon from "%SystemRoot%\System32\WlanMM.dll"
没有评论:
发表评论