Aug 03, 2019
Internet Connection Sharing has been disabled by the Network Administrator – Windows 7, Windows 8, Windows 10. To manually workaround this issue you need to jump into the registry to enable ICS. This is usually deployed via Group Policy on a domain network. As usual, be careful editing the registry. ICS doesn't work after computer or service restart on Jul 22, 2019 How to Enable or Disable Network Connections in Windows May 09, 2020
Microsoft has a functionality called Internet Connection Sharing (ICS) that is made just for this purpose. If the solution below does not answer your question then do some Googling on "ICS", there is a ton more info out there on this topic. We will be using Windows 7, but earlier versions are similar.
c# - Windows-7:Disable internet connection sharing on @erm3nda. Thank you for the informative answer. Although it didn't fix the problem I'm facing with NetConlib.. SC config correctly shuts down ICS service. But the shared network adapter continues on being flagged as Shared 1.So ICS service being turned off doesn't seem to affect the adapters' settings.. Quite interestingly; when you try to share another adapter using windows GUI (Right click Windows 7 LAN Internet Connection and Sharing With PC Desktops
May 09, 2020
How to Share an Internet Connection in Windows 7 - dummies Follow these steps to set up the Windows 7 Internet Connection Sharing feature: 1 Choose Start→Control Panel→Network and Internet. Click the Network and Sharing Center link. The Network and Sharing Center opens. Services - Internet Connection Sharing (ICS) service