Advertisement
Alive4ever

Windows 7/8 Easy Hostednetwork Setup

Jun 28th, 2013
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. @echo off
  2. TITLE Windows 7/8 hostednetwork easy-setup
  3. COLOR 27
  4. ECHO Welcome to Windows 7/8 Hostednetwork configuration
  5. ECHO You must run this script in administrator mode.
  6. ECHO If you have UAC enabled, right click this script file
  7. ECHO and choose Run as administrator
  8. pause
  9. ECHO Please be patient to follow these instructions
  10. set /p ssid=Type the name of your wireless SSID to create:
  11. set /p key=Type the key to use on created network (8 characters or more):
  12. netsh wlan set hostednetwork mode=allow key=%key% keyusage=persistent ssid=%ssid%
  13. ECHO Your hostednetwork has been configured
  14. netsh wlan start hostednetwork
  15. ECHO Your hostednetwork is ready. Connect to it using the following detail
  16. ECHO Wireless Network Name: %ssid%
  17. ECHO Password: %key%
  18.  
  19. ECHO Press anykey to stop using hostednetwork
  20. pause
  21. netsh wlan stop hostednetwork
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement