When I try to run
netsh wlan start hostednetwork, I get the following message:
The hosted network couldn't be started. A device attached to the system is not functioning.
What should I do?
Try the following three ways to see whether any of them helps:
Device Manager --> Network Adapter. On the menu, click View-->Show hidden devices, and see whether you can find the one (in Network Adapter) for hosted network. If yes, right click it and select "Enable" to enable it.
If it doesn't work, reinstall the wifi driver. Right click the wireless device in Network adapter and uninstall it. Then scan for hardware changes to re-install it automatically. See whether the hosted network can be started or not.
Otherwise, right click the wifi device in Network Adapter, and select Properties. In the Power Management tab, tick "Allow the computer to turn off this device to save power".