I think you have not started wifi service or you missed to allow to use hosted network. see this command:
netsh wlan set hostednetwork mode=allow ssid=”QueryHome” key=”queryTech”
here mode =allow,after successful run,shows that the hosted network mode has been set to allow and now you can use this state to start hotspot.after running this command,To start hotspot,run below command and let me know if it is working properly.
netsh wlan start hostednetwork