Skip to content

Instantly share code, notes, and snippets.

@MVoz
Forked from madhurjain/Windows WiFi HotSpot
Created March 30, 2018 04:10
Show Gist options
  • Save MVoz/d6871c426a58088c08214df4770a3433 to your computer and use it in GitHub Desktop.
Save MVoz/d6871c426a58088c08214df4770a3433 to your computer and use it in GitHub Desktop.
Create a WiFi HotSpot to share your Internet connection using this tiny batch script. Put each line in a separate .bat file
Create and Start Hotspot
netsh wlan set hostednetwork mode=allow ssid=MyHotspot key=MyPassword
Start Hotspot
netsh wlan start hostednetwork
Stop Hotspot
netsh wlan stop hostednetwork
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment