if you want to create on your Windows 7/8 an hotspot for your mobile device read below:
1. check wifi
check that the pc wireless is running (did you switched on the wireless switch?, did you move to "on" the software switch in windows?)
2. check the drivers
open a CMD prompt AS ADMINISTRATOR, run this command to verify the wifi driver support hotspot :
netsh wlan show drivers
you'll see a lot of information, but you are interested in this line:
Hosted network supported : Yes
if you have a "no" maybe you are using microsoft drivers from the OS, or an old driver from the manufacturer, so try to download the latest driver you can find for your wifi network card, install it, reboot and then check again if it turned to "yes". If you still see "no" maybe your network card simply DOESN'T SUPPORT creating hotspost, sorry, job finished.
3.create the hotspost network:
netsh wlan set hostednetwork mode=allow ssid=forandroid key=12345678
if you go in control panel , device manager, from menu view show hidden device, under network adapters section you should see something like
Microsoft Virtual WiFi Miniport Adapter
Microsoft Hosted Network Virtual Adapter
4. start it:
netsh wlan start hostednetwork
and if you open the "Control Panel\Network and Internet\Network Connections" from the control panel you should see the new virtual network card created, rename it something like "HotSpot" to better identify it
5. share the connection
now edit the properties for the network card that is connecting to internet on your pc (maybe the ethernet card, or a internet key etc), go to the sharing tab and select the "Allow other network users to connect through this computer internet connection"
from the dropdown menu select the hostednetwork adapter created before (the one renamed in point 4)
from now on you would be able to connect to the "forandroid" network using password "12345678".
From the next reboot the network should be still there, you would just need to start it with the last command
in case in step 4 you see someting like
"The hosted network couldn't be started.."
double check the initial steps in this guide, probably you don't have the wifi turned on, or the driver is not supporting the hostednetwork
in internet there are other cases/soultion about this type of error, about power saving and other, give it a try