Windows: Show Proxy Settings – CMD & PowerShell

You may wonder how to find out what proxy server you are using on a Windows machine.

Proxy settings in Windows can be configured system-wide (for all users of the same computer) or per-user.

In this note i will show how to display system-wide and user-specific proxy settings in Windows from the command-line (CMD) and PowerShell.

Cool Tip: Check if TCP port is opened in PowerShell! Read more →

Show Proxy Settings in Windows

Show system-wide proxy settings using the netsh winhttp command:

C:\> netsh winhttp show proxy

Get user-specific proxy settings from PowerShell:

PS C:\> Get-ItemProperty -Path "Registry::HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings"

Show user-specific proxy settings from CMD:

C:\> reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings"