How to Lock Windows 11 Proxy Settings for Security
This guide explains how to lock proxy settings in Windows 11. This prevents unauthorized users from changing how your computer connects to the internet. By enforcing these restrictions, you ensure that network traffic remains routed through your approved security gateways.
Why Lock Proxy Settings?
A proxy server acts as a gatekeeper between your computer and the internet. Businesses use them to filter content and keep networks safe. If users can change these settings, they might bypass your security rules or expose the machine to malicious traffic. Locking these settings ensures that your internet connection stays secure and follows your organization’s security policy.
What Happens When Done?
Once you apply these steps, the proxy settings in the Windows Settings menu become “greyed out” or locked. No one will be able to turn off or modify the proxy configuration without administrative permission. This is a critical step in system administrator proxy management.
Before You Begin
It is important to note that the Local Group Policy Editor (gpedit.msc) is only available in Windows 11 Pro, Enterprise, and Education editions. If you are using Windows 11 Home, you will not have access to this tool and must use the Registry Editor method instead. Always back up your registry before making changes.
Locking Proxy Settings via Group Policy
Note: This process requires admin privileges.
To lock down proxy settings, open the Local Group Policy Editor by clicking the Start menu and searching for “Edit group policy.” Select it from the results.

In the window that opens, follow this path on the left side:
User Configuration > Administrative Templates > Windows Components > Internet Explorer
On the right side, find the setting named Prevent changing proxy settings and double-click it.

In the new window, select the Enabled button.

Click OK and close the editor. If you ever need to change this back, follow the same steps but select Not configured instead.

Locking Proxy Settings via Registry
Note: This process requires admin privileges and should be done carefully.
You can also use the Windows Registry to lock these settings. Open the Registry Editor and go to this path:
HKEY_CURRENT_USER\Software\Policies\Microsoft
Right-click the Microsoft folder, select New > Key, and name it Internet Explorer. Right-click that new folder, select New > Key, and name it Control Panel. Finally, right-click the Control Panel folder, select New > DWORD (32-bit) Value, and name it Proxy.

Double-click the Proxy value you just created. Change the “Value data” box to 1 and click OK.

Once finished, the proxy settings are locked.

Verification and Troubleshooting
To verify that your GPO proxy restrictions are active, open Command Prompt as an administrator and type gpresult /r. Look for the applied Group Policy objects. If you find that the settings are not applying, ensure you have refreshed your policy by running gpupdate /force. If you lose administrative access, you may need to boot into Safe Mode to revert registry changes or use a system restore point.
Summary
Locking your proxy settings ensures that your internet connection stays secure and follows your company’s rules. You can achieve this easily by using the Local Group Policy Editor to enable the “Prevent changing proxy settings” rule. For advanced users, creating a specific DWORD value in the Windows Registry achieves the exact same security result. Always verify your changes using gpresult to ensure the policy is active.
Can I lock proxy settings on Windows 11 Home edition?
Yes, you can lock proxy settings on Windows 11 Home, but you cannot use the Group Policy Editor. Instead, you must manually edit the Windows Registry by creating the specific DWORD value in the HKEY_CURRENT_USER path. Always exercise caution when editing the registry to avoid system instability.
Does locking proxy settings prevent VPN usage?
Generally, locking system-wide proxy settings does not prevent a VPN from working. VPNs typically create their own virtual network adapters and routing tables. However, if your organization uses a specific proxy configuration that conflicts with your VPN’s tunneling protocol, you might experience connectivity issues while the proxy lock is active.
Was this guide helpful?
i tried both, and settings menu cannot open after the policy applied