netsh wlan set hostednetwork mode=allow ssid=yourssid key=yourkey
netsh wlan start hostednetwork
To fix that go to Device Manager, then open the network adapters tree , right click button on Microsoft Hosted Network Virtual Adapter and click on enable.