Policy
Prohibit use of Internet Connection Sharing on your DNS domain network
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2003, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016, WindowsVista, WindowsXP
Determines whether administrators can enable and configure the Internet Connection Sharing (ICS) feature of an Internet connection and if the ICS service can run on the computer. ICS lets administrators configure their system as an Internet gateway for a small network and provides network services, such as name resolution and addressing through DHCP, to the local private network. If you enable this setting, ICS cannot be enabled or configured by administrators, and the ICS service cannot run on the computer. The Advanced tab in the Properties dialog box for a LAN or remote access connection is removed. The Internet Connection Sharing page is removed from the New Connection Wizard. The Network Setup Wizard is disabled. If you disable this setting or do not configure it and have two or more connections, administrators can enable ICS. The Advanced tab in the properties dialog box for a LAN or remote access connection is available. In addition, the user is presented with the option to enable Internet Connection Sharing in the Network Setup Wizard and Make New Connection Wizard. (The Network Setup Wizard is available only in Windows XP Professional.) By default, ICS is disabled when you create a remote access connection, but administrators can use the Advanced tab to enable it. When running the New Connection Wizard or Network Setup Wizard, administrators can choose to enable ICS. Note: Internet Connection Sharing is only available when two or more network connections are present. Note: When the "Prohibit access to properties of a LAN connection," "Ability to change properties of an all user remote access connection," or "Prohibit changing properties of a private remote access connection" settings are set to deny access to the Connection Properties dialog box, the Advanced tab for the connection is blocked. Note: Nonadministrators are already prohibited from configuring Internet Connection Sharing, regardless of this setting. Note: Disabling this setting does not prevent Wireless Hosted Networking from using the ICS service for DHCP services. To prevent the ICS service from running, on the Network Permissions tab in the network's policy properties, select the "Don't use hosted networks" check box.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Windows\Network Connections\NC_ShowSharedAccessUI | REG_DWORD | 0 | 1 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- UserAbility to change properties of an all user remote access connectionAt least Windows 2000 Service Pack 1
- UserAbility to delete all user remote access connectionsWindows Server 2003, Windows XP, and Windows 2000 only
- UserAbility to Enable/Disable a LAN connectionWindows Server 2003, Windows XP, and Windows 2000 only
- UserAbility to rename all user remote access connectionsWindows Server 2003, Windows XP, and Windows 2000 only
- UserAbility to rename LAN connectionsWindows Server 2003, Windows XP, and Windows 2000 only
- UserAbility to rename LAN connections or remote access connections available to all usersMicrosoft Windows Server 2003, Windows XP, and Windows 2000 Service Pack 1 operating systems only
- ComputerDo not show the "local access only" network iconAt least Windows Server 2008 R2 or Windows 7
- UserEnable Windows 2000 Network Connections settings for AdministratorsWindows Server 2003 and Windows XP only
- UserProhibit access to properties of a LAN connectionAt least Windows 2000 Service Pack 1
- UserProhibit access to properties of components of a LAN connectionMicrosoft Windows Server 2003, Windows XP, and Windows 2000 Service Pack 1 operating systems only
- UserProhibit access to properties of components of a remote access connectionMicrosoft Windows Server 2003, Windows XP, and Windows 2000 Service Pack 1 operating systems only
- UserProhibit access to the Advanced Settings item on the Advanced menuMicrosoft Windows Server 2003, Windows XP, and Windows 2000 Service Pack 1 operating systems only