Share via


Enable or disable Internet Connection Sharing with Group Policy

Applies To: Windows Server 2008, Windows Server 2008 R2, Windows Server 7

You can use this procedure to enable or disable Internet Connection Sharing (ICS).

ICS allows a computer that is connected to both a private and public network to share access to the public network with all computers on the private network. In an enterprise environment where you want to control access to the public network, you can disable ICS on all other computers to reduce the risk of unmanaged access to the public network.

If you disable ICS on a computer, the following results occur:

  • The ICS service cannot be started or configured.

  • The Advanced tab in the Connection Properties dialog box is removed.

  • The Internet Connection Sharing page is removed from the New Connection page.

  • The Network Setup page is disabled.

Membership in the local Administrators group, or equivalent, is the minimum required to complete this procedure.

To enable or disable Internet Connection Sharing

  1. Open Group Policy Management Editor. To do so, click Start, and then in the Start Search box, type mmc gpedit.msc.

  2. In the navigation pane, open the following folders: Local Computer Policy, Computer Configuration, Administrative Templates, Network, and Network Connections.

  3. In the details pane, double-click Prohibit use of Internet Connection Sharing on your DNS domain network.

  4. Do one of the following:

    • To enable the Group Policy setting, and disable ICS, click Enabled.

    • To disable the Group Policy setting, and enable ICS, click Disabled.

  5. Click OK to save your changes.

Additional considerations

  • If you move the computer to a different Domain Name System (DNS) domain after applying or refreshing the Group Policy setting, the change will not take effect until the Group Policy setting is refreshed again.

  • If you edit policy settings locally on a computer, you will affect the settings on only that one computer. If you configure the settings in a Group Policy object (GPO) hosted in an Active Directory domain, then the settings apply to all computers that are subject to that GPO. For more information about Group Policy in an Active Directory domain, see Group Policy (https://go.microsoft.com/fwlink/?LinkId=55625).

See Also

Concepts

Configure Network and Sharing Center for a Managed Network
Administer Network and Sharing Center