Prevent Network Profile Changes via Windows Registry
This guide explains how system administrators can prevent standard Windows users from altering network configuration profiles using the Registry Editor (Regedit). By adjusting Registry permissions on specific network profile keys and enforcing administrative restriction policies directly in the registry, administrators can secure network settings against unauthorized modifications on a local computer.
Step 1: Open the Registry Editor with Elevated Privileges
- Press
Win + Ron the keyboard to open the Run dialog. - Type
regeditand pressCtrl + Shift + Enter(or click OK and accept the User Account Control prompt) to launch the Registry Editor as an administrator.
Step 2: Restrict Permissions on Network Profile Registry Keys
Network profiles and connection types (Public, Private, Domain) are
stored under the NetworkList key. Restricting write access
prevents standard users from modifying existing profiles or their
properties.
In the Registry Editor, navigate to the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\ProfilesRight-click the Profiles folder (key) and select Permissions.
In the Permissions window, click the Advanced button.
Locate the Users or Authenticated Users group in the permission entries list.
Click Edit (or double-click the entry) and ensure the permission is set to Read only. Ensure Full Control and Write permissions are unselected.
Check the box at the bottom labeled Replace all child object permission entries with inheritable permission entries from this object.
Click Apply, confirm any prompt by clicking Yes, and then click OK.
Step 3: Enforce Network Configuration Policies via Registry
To completely lock down the ability to modify network adapter properties, TCP/IP settings, and network profile characteristics, configure the Network Connections policy keys:
Navigate to the following policy location:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Network Connections(If the
Network Connectionskey does not exist underWindows, right-clickWindows, select New > Key, and name itNetwork Connections.)Right-click in the right pane, select New > DWORD (32-bit) Value, and name it:
NC_EnableAdminProhibitsDouble-click
NC_EnableAdminProhibitsand set its Value data to1. This enforces connection settings restrictions on standard users and administrators alike.Create another DWORD (32-bit) Value named:
NC_StdDomainUserDouble-click
NC_StdDomainUserand set its Value data to1. This blocks standard users from accessing and modifying LAN connection properties.
Step 4: Apply the Changes
- Close the Registry Editor.
- Restart the Network List Service via
services.mscor restart the local computer to ensure all permissions and policy changes take full effect.