Let’s say your laptop’s WiFi button is not working… and you need to turn on your Wifi connection, what do you do? Is there any command in Windows to turn on WiFi ?
Yes, Its possible to turn it on by using the command prompt to do this you have to follow the following steps
Note that these commands are available only in Windows 7 or Windows 8 Ready PC.
Run. Press the “Windows key” and “R” buttons at the same time. The Run window will pop up.
Also Read: How to turn on or off wireless connectivity in Windows 7
Command Prompt. Type “cmd” in the box then hit “Enter” or OK. The Command Prompt will pop up, with Administrative Privileges.
It will show the output like the image.
In the output Hosted network supported :Yes means that your computer supports hosted networks. Verify this.
Create. Type netsh wlan set hostednetwork mode=allow ssid=Hotspotname key=password in Command prompt. This will create a Hotspot but it is currently offline.
Start. Type netsh wlan start hostednetwork in command prompt to start the hotspot you just created.
Stop. Type netsh wlan stop hostednetwork in command prompt to stop the hotspot.
Details. Type netsh wlan show hostednetwork to check the hotspot status.
Just like that and you’re done.
Using Administrator privileges for CMD is must to run this commands. It will show error without it.
Did this article help you? Just leave your comments bellow.