Whatever the reason may be to enable or disable proxy, here is a simple registry hack to turn it on or off.

Open powershell in admin mode.

Enable:

Disable:

The above method require an IE restart, alternatively if you don’t want to restart IE. Make similar change under:

To find your SID read here.