To manage a "shared Internet connection" in Win7, you must run net start SharedAccess or net stop SharedAccess .
You can also configure the service using sc config SharedAccess start= disabled or sc config SharedAccess start= auto and some others. Run sc config to find other options for "start =". The space between start = OPTION is a must.
source share