-
Notifications
You must be signed in to change notification settings - Fork 0
Home
- Windows 7: Home Premium, Pro, Ultimate, Enterprise
- Windows 8: Basic and Pro
- Windows 8.1
- Windows Server 2008 not tested
- Windows Server 2008 R2 not tested
- Windows Server 2012 not tested
- Windows Server 2012 R2 not tested
- Windows 10: Home and Pro
- Windows Server 2016 not tested
- A wireless card supporting hosted network mode.
Simply run the batch file as administrator and you are ready to go. The available files are as follows.
-
hostednetwork with uac.cmd
can be run directly and will invoke UAC as needed.Run as Administrator
is recommended for faster execution. -
hostednetwork.cmd
can be run directly by right-clicking the script and choosingRun as Administrator
or launched from cmd with Administrator privilege -
Other files are for my testing purpose. These files will be removed later.
Follow the on screen instruction to perform hosted network related tasks.
-
Message
Failure: Current permission inadequate
Solution: Verify your account has admin rights. Then rerun the script as admin, by right-clicking the script and choosing
Run as administrator
. -
The hosted network cannot be started.
Solution: Open an admin cmd window. Type the following command
netsh wlan show drivers
Scroll down and find the string
Hosted network supported : Yes
If it says yes, you need to ensure the device is enabled. Ensure the wireless hardware switch button is on. Also check if the wireless interface is disabled on device manager.
- Additional steps to ensure that the wireless device is enabled.
- For Windows 7 users: check Windows Mobility Center. If Wireless is turned off shown, click turn on to enable wireless.
- For Windows 8 users: switch airplane mode off.
If it says no, you need to update your wireless network driver. Check your vendor website to find if a newer driver exist. If it doesn't exist, unfortunately you need to replace your wireless network adapter.
-
I cannot get my device connected via wifi online
Solution: Enable internet connection sharing on the internet-faced network adapter. Read more here
If you find bugs in my scripts, please report it to me by creating new issue at this project bug tracker. It's preferred to include a patch or merge request with the bug report.
Let's get along by building software together.
MIT. See LICENSE
I hope you enjoy using the script as much as I enjoy writing it.