Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- TITLE Windows 7/8 hostednetwork easy-setup
- COLOR 27
- ECHO Welcome to Windows 7/8 Hostednetwork configuration
- ECHO You must run this script in administrator mode.
- ECHO If you have UAC enabled, right click this script file
- ECHO and choose Run as administrator
- pause
- ECHO Please be patient to follow these instructions
- set /p ssid=Type the name of your wireless SSID to create:
- set /p key=Type the key to use on created network (8 characters or more):
- netsh wlan set hostednetwork mode=allow key=%key% keyusage=persistent ssid=%ssid%
- ECHO Your hostednetwork has been configured
- netsh wlan start hostednetwork
- ECHO Your hostednetwork is ready. Connect to it using the following detail
- ECHO Wireless Network Name: %ssid%
- ECHO Password: %key%
- ECHO Press anykey to stop using hostednetwork
- pause
- netsh wlan stop hostednetwork
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement