Skip to main content
Troubleshooting

How to Disable Proxy Server on Windows 11: The Complete 2026 Guide

8 min read

Introduction

In the modern networking landscape of 2025, proxies serve as critical intermediaries for security and privacy, but they can also become bottlenecks or points of failure. Whether you are troubleshooting a 'Connection Refused' error, preparing a machine for a direct connection, or removing a legacy configuration, knowing how to properly disable a proxy server on Windows 11 is an essential skill.

Windows 11 offers a centralized 'Settings' application for most users, but under the hood, it relies on the legacy Internet Properties (inetcpl.cpl) and Registry keys. This guide covers every method, from the graphical interface to advanced registry hacking and command-line automation suitable for enterprise deployment.

---

Method 1: Using the Windows Settings App (GUI)

This is the standard and safest method for most users. It updates the Windows Registry keys responsible for system-wide proxy configurations.

1. Open Settings: Press Windows Key + I to launch the Settings app. 2. Navigate to Network: Go to Network & internet from the left sidebar. 3. Select Proxy: Click on the Proxy tab in the main window. 4. Disable Automatic Setup: * Locate 'Automatic proxy setup'. * Ensure the 'Automatically detect settings' toggle is set to On (this allows the system to look for WPAD, but usually ignores manual proxies if they are off). If you have a specific script address configured here, click Edit and clear the field. 5. Disable Manual Setup: * Locate 'Manual proxy setup'. * Toggle the 'Use a proxy server' switch to Off. 6. Save: Windows 11 applies changes immediately, but it is good practice to close the window to ensure the settings commit to the registry.

Impact: This action immediately zeroes out the ProxyServer and ProxyEnable values in the Windows Registry for the current user.

---

Method 2: Using the Legacy Internet Properties

Sometimes, third-party VPN or security software modifies Internet Options in a way that doesn't sync perfectly with the modern Settings UI. If Method 1 didn't work, try this older, reliable control panel.

1. Open Run Dialog: Press Windows Key + R. 2. Launch Command: Type inetcpl.cpl and hit Enter. This opens the Internet Properties window. 3. Connections Tab: Click on the Connections tab at the top. 4. LAN Settings: Click the LAN settings button near the bottom. 5. Clear Proxies: In the Local Area Network (LAN) Settings dialog: * Uncheck 'Automatically detect settings' if you want a purely direct connection (though leaving it checked is usually fine). * Uncheck 'Use automatic configuration script'. * Uncheck 'Use a proxy server for your LAN'. 6. Confirm: Click OK, then Apply, and OK again to close the parent window.

---

Method 3: Using the Registry (Regedit)

Warning: Editing the Registry carries risks. Always create a backup before proceeding.

If you are infected with malware that forces a proxy (often redirecting traffic to localhost) or if the Settings app is greyed out by group policy, this is the most effective fix.

1. Open Registry Editor: Search for regedit in the Start menu and run it as Administrator. 2. Navigate to Path: Go to the following path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings 3. Modify ProxyEnable: Find the DWORD value named ProxyEnable. * Double-click it. * Change the 'Value data' to 0. 4. Delete ProxyServer: Find the String value named ProxyServer. * You can delete this key or simply leave it blank. Deleting it ensures no residual IP:Port remains. 5. Check for Migrated Settings: In 2025, some modern apps utilize a separate key. Check: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections * Look for DefaultConnectionSettings. This is a binary value. Often, simply deleting the ProxyEnable DWORD in the main folder is enough to force a reset here, but sometimes you may need to delete DefaultConnectionSettings to reset the stack entirely.

---

Method 4: Using Command Line (Netsh & PowerShell)

For system administrators and power users, the command line offers the fastest way to disable proxies across multiple machines.

Via Command Prompt (Netsh)

The netsh tool is a legacy command-line scripting utility that allows you to display or modify the network configuration of a computer.

Open Command Prompt as Administrator and run:

netsh winhttp reset proxy

*Note: This command specifically resets the WinHTTP proxy service, which is often used by background applications and update services, distinct from the browser proxy settings used in IE/Edge.*

To reset the specific user settings (Internet Settings), you can use this REG command via CMD:

REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f

Via PowerShell

PowerShell offers more granular control. You can query the current state and disable it programmatically.

1. Check current status:

Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" | Select-Object ProxyEnable, ProxyServer

2. Disable Proxy:

Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name ProxyEnable -Value 0

---

Method 5: Disabling Proxy via Python (Programmatic Approach)

If you are a developer building a Windows application or a scraper tool that needs to ensure a direct connection, you might need to toggle the proxy settings via Python. This is achieved by interacting with the Windows Registry API using the _winreg module (in Python 2) or winreg (in Python 3).

Here is a Python 3 script example that disables the system proxy:

import winreg

def disable_windows_proxy(): path = r"Software\Microsoft\Windows\CurrentVersion\Internet Settings" try: # Open the registry key key = winreg.OpenKey(winreg.HKEY_CURRENT_USER, path, 0, winreg.KEY_SET_VALUE)

# Disable ProxyEnable (0 = Off, 1 = On) winreg.SetValueEx(key, "ProxyEnable", 0, winreg.REG_DWORD, 0)

# Optional: Clear the ProxyServer address to ensure no lingering data # winreg.SetValueEx(key, "ProxyServer", 0, winreg.REG_SZ, "")

winreg.CloseKey(key) print("Success: System proxy has been disabled.") print("Please restart your browser for changes to take effect.") except Exception as e: print(f"Error modifying registry: {e}")

if __name__ == "__main__": disable_windows_proxy()

Why this works: Python acts as a wrapper around the Windows API. By modifying the ProxyEnable value to 0 directly in the registry, you achieve the exact same result as a user unchecking the box in Settings, but instantly automated.

---

Troubleshooting: Why Won't the Proxy Disable?

If you have followed the steps above and the proxy keeps re-enabling itself, you are likely dealing with a Group Policy or Malware.

1. Check for Group Policy Objects (GPO)

In corporate environments, IT administrators enforce proxy settings via Group Policy. You cannot override these via Settings.

  • Check: Press Windows Key + R, type gpedit.msc.
  • Path: User Configuration > Administrative Templates > Windows Components > Internet Explorer.
  • Look for: 'Disable changing proxy settings'. If this is set to 'Enabled', you will be unable to turn off the proxy.
  • 2. Malicious Proxy Servers

    Malware often acts as a 'Man-in-the-Middle' by setting a proxy to 127.0.0.1 (localhost) on a random high port (e.g., 1337) to intercept your traffic.

  • Symptoms: You disable the proxy, but as soon as you refresh a webpage, it reappears.
  • Fix: You must identify the process listening on that port. Use PowerShell:
    netstat -ano | findstr :

Identify the PID (Process ID) and terminate that malicious process via Task Manager before resetting the registry.

---

Comparison: Proxy vs. VPN

When disabling a proxy, ensure you are not confusing it with a VPN, as the steps are different.

| Feature | Proxy Server | VPN (Virtual Private Network) | | :--- | :--- | :--- | | Configuration Level | Application or System-level (OS). | Network Adapter Level (Global). | | Protocol Support | Usually HTTP/HTTPS. Some apps ignore proxy settings. | All traffic (TCP/UDP) is tunneled. | | How to Disable | Settings > Network > Proxy. | Settings > Network & Internet > VPN (Disconnect). | | Encryption | Often none (unless HTTPS). | Full end-to-end encryption. |

---

Conclusion

Disabling a proxy server on Windows 11 is generally straightforward via the Settings app, but underlying issues such as registry persistence or Group Policies can complicate the matter. By utilizing the Registry Editor or PowerShell methods detailed above, you can ensure that your machine reverts to a direct internet connection, which is crucial for accurate speed testing, accessing local network resources, or troubleshooting connectivity failures in 2025.

Share: