Read both proxy stores
**WinHTTP** is machine-wide and used by services, updates and installers. **WinINET** is per user and used by the browser stack. They are set in different places and fail independently.
netsh winhttp show proxy
Get-ItemProperty 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings' | Select-Object ProxyEnable,ProxyServer,AutoConfigURL