networking - An error occurred while Internet Connection Sharing was being enabled

06
2014-04
  • SAM

    I want to share my lan internet connection over my hosted network. But it's being failed due to An error occurred while Internet Connection Sharing was being enabled...

    I found this post but all the services mentioned there are running and windows firewall is on too.

    Method 1: May be that, not all the services that run Internet Connection Sharing (ICS) are enabled. I’d suggest you to make sure the below dependency services are enabled. Refer the following steps: a. Click Start, Run, type services.msc, and click OK. b. To enable a service, find it, double click it, c. Make sure its startup Type is set to Automatic and service status to be started and click OK. All the following services must be configured in order to use ICS: a. Application Layer Gateway Service b. Network Connections c. Network Location Awareness (NLA) d. Plug And Play e. Remote Access Auto Connection Manager f. Remote Access Connection Manager g. Remote Procedure Call (RPC) h. Telephony After verifying and/or configuring Automatic startup for each of these services, close the Services window and restart the computer before attempting again to enable ICS. You may refer: Using ICS (Internet Connection Sharing) http://windows.microsoft.com/en-us/windows7/Using-ICS-Internet-Connection-Sharing

    Method 2: Based on my online research, the issue seems to occur on computers that have Windows Firewall disabled. Windows Firewall service has to be running even if you’re using another antivirus and firewall program on your computer. I’d recommend you to check for the status of the “Windows Firewall” service and set it to “Automatic”. Follow these steps: a. Click “Start”. b. Type “services.msc” in the Start search box and hit “Enter”. c. Right-click “Windows Firewall” and click “Properties”. d. In the “General” tab, select “Automatic” under the “Startup type”. e. Click “Start” to start the service. f. Click “Apply” and “OK”. Restart the computer and check if the issue gets fixed.

    How can I diagnose it?

  • Answers
    Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

    Related Question

    windows vista - Why is my Internet Connection Sharing mysteriously broken?
  • Bill Grey

    I have a strange problem with Internet Connection Sharing on a laptop running Vista Business. This laptop is connected to the internet via the ethernet port, which goes to an ADSL modem. it is automatically assigned the IP address 192.168.1.50, and the modem/gateway is 192.168.1.1

    My friends laptop is running Vista Home. Previously, I would create an ad hoc wireless network, enable ICS, and everything would be perfect. My friend would have internet access via this.

    However, something has now mysteriously broken. If I enable ICS on the wireless connection, it resets my Local Area Connection, assigning it the manual IP address of 192.168.0.1, which means my connection to the internet is destroyed. Both wireless adapters on each network are assigned auto configuration addresses, in the 168. range.

    They can see each other fine, but my friends laptop cannot access the internet via mine, even after I have restored the Local Area Connection settings.

    I understand the computer with ICS enabled must have the IP of 192.168.0.1, but previously, before whatever went wrong, my wireless adapter would be 192.168.0.1 and my friends computer would get an IP via DHCP.

    I have also tried setting static IP address and making a bridge, none of which works. How can I fix this problem, and prevent enabling ICS from touching my Local Area Connection?

    Both machines have no firewall, have appropriate settings etc...


  • Related Answers
  • Revolter

    this is perfectly normal. to enable ICS you'll need 2 NICs in your computer (or 1 modem + 1 NIC if on dial up).

    NIC #1 (192.168.1.50) connects to your router (the internet) via DHCP, NIC #2 is on a static address (IP 192.168.0.1/Subnet 255.255.255.0) and the internet connection on NIC #1 is shared. now another computer can connect to NIC #2 (either static with IP 192.168.0.21/Subnet 255.255.255.0/Gateway & DNS 192.168.0.1 or via DHCP).

    if NIC #2 is a wireless adapter it must support AP mode in order to get it working. so make sure access point mode is enabled for your wireless adapter.