Skip to content

Instantly share code, notes, and snippets.

@aryabharat
Forked from Mithrandir0x/disable_wifi_hotspot.bat
Created December 22, 2017 19:41
Show Gist options
  • Save aryabharat/b45000de3cc6387a1df5a188e25f703e to your computer and use it in GitHub Desktop.
Save aryabharat/b45000de3cc6387a1df5a188e25f703e to your computer and use it in GitHub Desktop.
Two little batch files to create a cozy WiFi hotspot from the laptop Snatched from xda-developers, yet I don't remember the thread. Kudos to the author.

Woops! I forgot to mention that it is required to share the network connected to Internet with the Microsoft Virtual WiFi Miniport.

netsh wlan stop hostednetwork
pause
netsh wlan set hostednetwork mode=allow ssid=SSID_NAME key=PASSWORD
netsh wlan start hostednetwork
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment