Open Command Prompt as Run As Administrator
Write Following Command
C:\Windows\System32>netsh wlan set hostednetwork mode=allow ssid=NetworkName key=password
The hosted network mode has been set to allow.
The SSID of the hosted network has been successfully changed.
The user key passphrase of the hosted network has been successfully changed.
C:\Windows\System32>netsh wlan start hostednetwork
The hosted network started.
ssid = Your Preferred Network Name
key= Network Password
If you got “The hosted network couldn’t be started.” Error then please follow below steps
How To Steps:
- Open “Device Manager” and click on “View”-> “Show Hidden Devices”
- Now navigate to “Network Adapters” and browse to “Microsoft Hosted Network Virtual Adapter”
- Right click on it and choose “Enable”.
- Now the hosted network is connected.