DEV Community

Mohan Sharma
Mohan Sharma

Posted on

Check Windows Proxy Status

# Get current value
Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\WinHttpAutoProxySvc" -Name "Start"

# Set to disabled (4)
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\WinHttpAutoProxySvc" -Name "Start" -Value 4

Top comments (0)