Skip to content

Instantly share code, notes, and snippets.

@kkbruce
Created April 23, 2018 05:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kkbruce/f96b3eacfee12ca16121a2298b0a34ee to your computer and use it in GitHub Desktop.
Save kkbruce/f96b3eacfee12ca16121a2298b0a34ee to your computer and use it in GitHub Desktop.
Get-Set-Remove IE Proxy Settings by PowerShell
# Get IE Proxy Settings
Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings'
# Set IE Proxy Settings
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyEnable -value 1
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyServer -value [IPorDomain:Port]
# Remove IE Proxy Setings
Set-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyEnable -value 0
Remove-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' -Name ProxyServer
@Manish-Gupta16
Copy link

Hi bruce,

Can you please share the Powershell command for Get IE Proxy Settings for all the users on the server?

Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings'

Above mentioned command is user-specific only

I really appreciate any help you can provide.

@kkbruce
Copy link
Author

kkbruce commented Apr 13, 2023

I know that "HKCU:" is a global setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment